HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Rolling Upgrade

 
SOLVED
Go to solution
nightwich
Valued Contributor

Rolling Upgrade

Hi Gurus,

I have a two node cluster ( with oracle packages and Oracle Rac configured ) in hp-ux 11.11 with SG version A.11.16.00.

I want to do a upgrade to hp-ux 11.23.

I need to use the rolling upgrade

I will do the followins steps:

cmhaltnode -f node 1
Upgrade node 1 to 11iv2 with upgrade-ux
cmrunnode node 1

cmhaltnode -f node 2
Upgrade node 2 to 11iv2
cmrun node2

I have two questions, is this procedure safe ? ( anyone already try it )

Do I need to upgrade me SG version to the last one ?

Thanks in advance for the reply's.

Regards
12 REPLIES
Sharma Sanjeev
Respected Contributor
Solution

Re: Rolling Upgrade

Hi,

No need to upgrade SG version

1 Your procedure for upgrade is fine but take ignite backup.

2. Without ignite backup you can not rollback your OS to 11.11.

3. There are some other considrations also while upgrading OS from 11.11 to 11.23 like
Firmware version's of PDC/BMC
Disk space requirments for 11.23
os release etc

Regards
Sanjeev

Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Steven E. Protter
Exalted Contributor

Re: Rolling Upgrade

Shalom,

Any experienced system administrator would not use upgrade-ux.

What I would do is this:

Migrate all services to one node.
Do a cold OS install of 11.23
Install all needed applications including Serviceguard.

Schedule a down time to shut down the entire cluster and migrate services to the newly installed node.

Repeat the above on the second node.

Oracle does not support the use of upgrade-ux to upgrade the OS. People with experience support cold install of the OS.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sharma Sanjeev
Respected Contributor

Re: Rolling Upgrade

Hi SEP

If you are Using Two Oracle version than ?

Means Currently you are running with Oracle version 9 & you want to install oracle 10G as well is same box, than again you need to instal both, but if you upgrade it I think no harm in that.

I have done upgrade from 11.11 to 11.23 recently without any issues.

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Basheer_2
Trusted Contributor

Re: Rolling Upgrade

OS Rolling upgrades
1) Move all packages to node2 (cmhaltnode -v -f node1)
2) Update the os
Read the SG release notes. Older versions wont allow the COLD install, bcoz of changes to the instance numbers.

if you want to do the cold install, then print a full listing of ioscan prior to install. After this you can alter the instance numbers)

3) Apply patches, Kernel params, ioscan, insf -e

4) Install SG and patching
5) turn on auto cluster config /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD=1
5) cmrunnode -v

Repeat for the other node
nightwich
Valued Contributor

Re: Rolling Upgrade

Hi Step

I do not want to lose all my SG configurations ( packages configurations )

How can I migrate those configurations in a cold install, can you right a simple procedure !!?

Thanks in advance

Regards
Sharma Sanjeev
Respected Contributor

Re: Rolling Upgrade

Hi

Cold Install means Fresh Install,If yo want to do cold install than manually you need to copy all your configuration files & after installing you need to configure tham again.

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE

Re: Rolling Upgrade

SEP said:

> Any experienced system administrator would not use upgrade-ux.

I think that's unfair SEP... It wouldn't be my starting position for a 11.11-11.23 upgrade, but it can and does work - and as long as you have an Ignite backup to fall back to is no more risky than a cold install.

I've even see it work well on 10.10-10.20, 10.20-11.00 and 11.00-11.11 upgrades. You just have to be careful and follow the instructions in the manual carefully:

http://docs.hp.com/en/5992-1978/5992-1978.pdf

Other things to look at prior to an update-ux run:


- Ensure there are no unconfigured filesets on the system... something like this should return nothing:

swlist -l fileset -a state | sed -e '/^#.*$/d' -e '/^$/d' | grep -v configured

- ensure that you at least review a run of "swverify \*" - in general you don't need to worry too much about the WARNING levels, but you shoulkd always try and resolve the ERROR levels.

- if you have non-HP kernel filesets (such as EMC PowerPath or IBM atdd tape drivers), you should consider removing it for the course of the upgrade...

- always run a preview of the update-ux process and resolve *all* reported issues before proceeding


HTH

Duncan

HTH

Duncan
Sharma Sanjeev
Respected Contributor

Re: Rolling Upgrade

Hi

If Above replies helped you please assign points as per ITRC rules

http://forums11.itrc.hp.com/service/forums/helptips.do?#33

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
nightwich
Valued Contributor

Re: Rolling Upgrade

Hi Sharma,

I will assign some points when I finish my setup.

I run Update-ux and I get some erros, with space openssl and ssh.

space -> not enought space in /opt
openssl ->
openssh -> a higher revision was already installed

I running now the recover tape to re-dimension the size of /opt, then i will try to uninstall ssh e openssl and at last run again update-ux.

After I try that I will summarize my conclusions.

Any advice ?

I think this is the correct approach.

Regards
Sharma Sanjeev
Respected Contributor

Re: Rolling Upgrade

Hi

As I have advised in my first post that you need to take care of Disk Space. 11i v2 requires little bit more space

Atleast below 3 Filesystems required these minimum space

/var should be 4.7 GB
/opt should be 3.8 GB
/usr should be 5.1 GB

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
nightwich
Valued Contributor

Re: Rolling Upgrade

Hi,

I already have the first node in 11iv2.

A little resume of what I do, to the community:

- Resize the FS with ( Tape_recovery )
- Check firmware ( update if necessary )
- Update update-ux ( latest version )
- uninstall ssh ( the version is more recent than that will be installed )
- Run upgrade-ux

The only issue that I have is that upgrade-ux remove my Mirror software, I have to re-install the software.

The SG is in same version and working. Today I will do the same procedure to the other node and summarize.

Thanks to all !! ..
Points Assign !!

Regards.
nightwich
Valued Contributor

Re: Rolling Upgrade

Hi All

I already finish the upgrade from both nodes to 11iv2.

I only have a little problem with space in FS and some software that already have installed a recent version that the one it will be installed in 11iv2.

SG is running with 25 packages including 1 Oracle RAC.

Regards!! ..