Operating System - HP-UX
1748072 Members
5596 Online
108758 Solutions
New Discussion юеВ

HPUX 11.11 split the Root mirror disk

 
sfgroups
Advisor

HPUX 11.11 split the Root mirror disk

I am planning OS Upgrade from HPUX 11v1 to 11v2. For this upgrade I have to increase root(/) and /stand file system. Before the upgrade I want to split the mirror disk and keep it for backup-out procedure. Even though we have ignite backup keeping mirror disk will save us the time ( just reboot from mirror disk).
1. Take the OS Ignite backup
2. Split the mirror disk
3. Test the mirror disk, by booting from mirror disk.
4. Boot from orginal root disk
5. Increase the root(/) and /stand file system and restore from backup
6. Test the restore, check OS configuration and mounted all file system, test application.
7. Update OS to HPUX 11v2
8. Test the upgrade
9. Mirror the root disk

I am looking for the correct step to split the mirror and after upgrade mirroring the root disk. since we are changing the root and /stand file system, does lvmerge work?

1. Is there the better procedure to split the mirror disk?

I am allowed to use only HP supported procedure.

Thanks
SR
5 REPLIES 5
Tim Nelson
Honored Contributor

Re: HPUX 11.11 split the Root mirror disk

there are more steps when booting a split mirror disk..

e.g. the root lvol for the split will be lvol3b when you boot the mirror, all the configs reference lvol3.. so booting from the mirror will simply mount the other copy...

once split you need to mount the split(b) vols, edit the fstab, and lvlnboot for sure..

it has been a long time since I have done this so you may have to do some trial and error boots.

You may be better off simply yanking the mirrored disk and setting it aside.. then use it to boot from if in danger. ( your boot string needs to say hpux -lq )


Also, beware that it is not recommended to update from 11iv1 to 11iv2, a cold install of 11iv2 is the preferred method... the update may work but with a less than 50-50 chance you should cross your fingers.

Make sure your ignite images are good !!

You may be better off simply yanking the mirrored disk and setting it aside.. then use it to boot from if in danger. ( your boot string needs to say hpux -lq )


Steven E. Protter
Exalted Contributor

Re: HPUX 11.11 split the Root mirror disk

Shalom,

There are problems with this plan:

1. Take the OS Ignite backup
2. Split the mirror disk
3. Test the mirror disk, by booting from mirror disk.
4. Boot from orginal root disk
5. Increase the root(/) and /stand file system and restore from backup

To increase / and /stand you need to restore from an Ignite backup and intervene to change the filesystems.

6. Test the restore, check OS configuration and mounted all file system, test application.
7. Update OS to HPUX 11v2
# Bad idea. update-ux fails half the time on simple systems. Better to do a cold install on second disk, followed by application installation.

8. Test the upgrade
9. Mirror the root disk

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
chris huys_4
Honored Contributor

Re: HPUX 11.11 split the Root mirror disk

Hi SR,

Reboot the system before beginning with anything. Nothing like halfway through your procedure seeing that the system isnt bootable. ;)

Like Tim said, forget about splitting the mirrordisk, as a safeguard, should the update process/increase of root/stand, go wrong. Splitting, without some extensive testing, and while good for datadisks, will not do a whole lot of good, for bootdisks.

If I would need a second option, I would probably take apart from the standard ignite/ux backup, a fbackup backup of vg00.

For increasing the root and stand filesystem use Ignite/ux. Its what HP would advise anyway. ;)

The update/ux process should normally work ok.

Greetz,
Chris
Chandrahasa s
Valued Contributor

Re: HPUX 11.11 split the Root mirror disk

sfgroups
Advisor

Re: HPUX 11.11 split the Root mirror disk

Since we run really old application cold install is not an option for us. We decided to remove the mirror disk before upgrade.
Here is the steps I have.
1. Take the backup using make_net_recovery command
2. Shutdown the OS, remove the primary disk
3. Boot from the mirror disk (/dev/dsk/c2t6d0 (1/0/0/3/0.6.0)) alternate boot path
4. Shutdown the OS
5. Remove the mirror disk and insert primary root disk.
6. Restore Ignite-UX image and resize /root and /stand file system.
7. Reboot check OS configuration and mounted all file system, test application.
8. Shutdown the application and unmount all application file system.
9. Using DVD upgrade the OS to HPUX 11.23 (11v2) (/usr/sbin/update-ux -s /cdrom HPUX11i-OE-MC)
10. Test the upgrade, check OS configuration and mounted file system, test application.
Now I have to look for ignite boot image.

Thanks for all your reponse.