Upgrading Solaris 11 11/11 to 11.3 - best practice


 
Thread Tools Search this Thread
Operating Systems Solaris Upgrading Solaris 11 11/11 to 11.3 - best practice
# 1  
Old 07-05-2017
Upgrading Solaris 11 11/11 to 11.3 - best practice

Got a mix of servers. Some 11 11/11, some 11.1, and some 11.2

None of these servers have direct access to the internet. However, we do have one server that has and, for which, work started to create a local respository. Unfortunately, that person left and theres no documentation. I can see the 11.2 and 11.3 zip files there - but how do I find out if repository is set up?

I understand procedure (for 11 11/11 servers at least) is:-

1. Upgrade tp 11.0 SRU 10.5
2. Upgrade to 11.3

Both steps possible using local repository?

Also, does server I plan to use as local repository have to be at 11.3 itself (this one is 11.2)?
# 2  
Old 07-05-2017
Check out the services involved :
Code:
svcs -a | grep pkg

Notice in the output looking for application/pkg/server
When smf service (or services, same name with suffix ../server:custom_name) is located use the following command to identify the location on the filesystem.
Code:
svccfg -s application/pkg/server listprop pkg/inst_root

This will show the location of the repository for that instance.

As for repositories, you shall need IPS for 11.0,11.1,11.2 and 11.3 (full IPS iso + SRU from oracle support site) in one big repository.
Follow the instructions to upgrade the repositories, you will require disk space and location you got from above.


You can have multiple repositories as well, but read about how to update (as you noticed for some older releases).
Updating a System to Oracle Solaris 11.3 -
Updating to Oracle(R) Solaris 11.3




Other the mentioned in the docs good practice is to :

Seperate the repo filesystem, this will give you zfs snapshot / clone abilities to revert to old version of repo in case of mistake or bug.

Before the patching, create a boot environment by hand best (beadm create <meaningfull name with release number best>.
That is your point to rollback in case of failure.
In most cases the pkg will do it for your, but it doesn't hurt.
Do not issue zpool upgrade after patching, since if you upgrade your zfs/zpools you will not be able to revert to former version. Do this after some time.

Be sure you meet the disk requirements before issuing update.
dry run is your friend pkg update -nv
If you have solaris clusters, there is more work.

Hope that helps a bit
Regards
Peasant
# 3  
Old 07-06-2017
Thanks Peasant,

To clarify, would I need separate repositories for each version (11.0, 11.1 etc) or add them all into one big one?

Also, if I've got an existing 11.2 server, can I use this to host an 11.3 repository or not?
# 4  
Old 07-06-2017
I would go two repositories.

One default (port 80 pkg/server) with 11.0 (full) + SRU 10.5
You will use this repository to upgrade your 11.0 release to 11.0.10.5

Second on port 81 (pkg/server:sol_11_3 for instance)
Here you will have 11.3 (full) + SRU
You will switch to this repository / publisher on clients after you used above to get to 11.0.10.5

After you have completed the update, you can remove 11.0 + SRU 10.5 repository since you will not need it anymore.

You can use 11.2 to host the repositories.

I would recommend going latest 11.3 (11.3.21.5) there are some nasty bugs introduced with KOM (kernel object manager) in solaris 11.3, involving kernel memory allocation / returning to free pool involving kom_reap().

Of course, test your applications, don't go big bang.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Upgrading a Solaris host.

Am looking to go from Solarus Update 4 to Solaris Update 6. I've downloaded the U6 patch cluster and installed, but it seems to me this ins't a true upgrade. Am I wrong? Is there a better way to upgrade my system? (2 Replies)
Discussion started by: akbar
2 Replies

2. Solaris

Upgrading Solaris - what happens to zpool/zfs versions

Hi everyone, I'm hoping someone can help me out here. I've googled lots and don't think I can find an easy answer to this. We're in the process of upgrading Solaris from v10 5/08 to v10 9/10. The zpools for luns are currently at version 10, and I understand Solaris v10 9/10 has support for... (3 Replies)
Discussion started by: badoshi
3 Replies

3. Solaris

Upgrading java on solaris 10 x86 32 bit

I have java installed on my solaris 10 as /usr/jdk/jdk1.5.0 , but i need to install Weblogic for that i need -- JDK Sun Java 2 JDK 6.0 Update 05 with the Java HotSpot™ Client and Server VMs (32-bit) and all later service packs of 6.0 How can i upgrade my java for this. (3 Replies)
Discussion started by: jain_sharad143
3 Replies

4. Solaris

impact of upgrading the SOLARIS OS from 5.6to 5.8

Please give me some idea about the impact of upgrading the SOLARIS OS from 5.6 to 5.8. We are using object store database of version 5.1. will there be any impact on this. Please help me in this regard. Thanks in advance. (1 Reply)
Discussion started by: vamshikrishnab
1 Replies

5. Solaris

Solaris 10 network teaming best practice

Hi there, I would like to know if there is any best practice white page for network teaming with fail over / load balancing under solaris 10. Just using the wizard to enable the fail over / load balancing on a SunFire v245 with 4 NIC have BAD result. randomly, once few user connect to the... (2 Replies)
Discussion started by: Siffleu
2 Replies

6. Solaris

upgrading to solaris 9

Hey All We are having ORacle 8.1.7 and ORacle 9.2.0.4 installed in our Sun sparc Servers(oON SOLARIS 8). We are going to upgrade our servers to SOLARIS Ver 9 Solaris ver 9 supports the above mentioned Oracle versions. Can any one help me out how to upgrade from solaris 8 to solaris 9. ... (2 Replies)
Discussion started by: solaris8in
2 Replies

7. UNIX for Dummies Questions & Answers

Upgrading to Solaris 8 from 2.6

Hello, First of all I don't know much about the different between sun or Solaris :confused: This is my scenario We have 6 WS and server running DNS, Oracle DB and Apache server. I type uname -a -- the result is "SunOS omjs06 5.6 Generic_105181-13 sun4u sparc SUNW,Ultra-2" I guess... (3 Replies)
Discussion started by: geoquest
3 Replies
Login or Register to Ask a Question