- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root disk mirror
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 12:56 AM
02-26-2003 12:56 AM
Root disk mirror
I wish to upgrade my hp11.00 server to 11.11 .The root VG of the server is mirrored . My plan is to split the mirror and use one disk for installing 11.11 , once every thing is fine i will do mirroring again ..
The above server is the Cell Manger of Omni back too. PLease suggest the steps to follow for a successful installation
Thanks,
SPV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 01:29 AM
02-26-2003 01:29 AM
Re: Root disk mirror
before upgrade , check to see if you can create the kernel successfully.
Also check the OB dependencies if any with the new OS and any specific config changes are required for 11.11.
If upgrade failes, just put the recovery tape in and boot from there , you should be up and running in an hour or two..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 02:02 AM
02-26-2003 02:02 AM
Re: Root disk mirror
First take a make_recovery and then split the mirrors using lvreduce and then use vgreduce to remove one disk off the mirror.
Once done reboot the system with the left over root disk to make sure you are safe in using this book disk in case of emergency
Then you can start loading the 11.11 on the other free root disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 03:12 AM
02-26-2003 03:12 AM
Re: Root disk mirror
there isnt any issue with the mirror that your server is a CELL server of omniback .
do a make_tape_recovery to your system .
boot in lm mode and do :
vgchange -a y -q n /dev/vg00
lvreduce -m 0 /dev/vg00/lvolX /dev/dsk/cXtXdX .
boot from the cd install disk and do the install on the hp-ux 11.11 .
you need to remember that you will need to install all the software that you had on the hp-ux 11.00 .
also save on the side all the config files that you need like :
/etc/passwd
/etc/group
/etc/rc.config.d/netconf
/etc/rc.config.d/nfsconf .
and any config file that is impotent to you .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 07:03 AM
02-26-2003 07:03 AM
Re: Root disk mirror
I guess you want to have the mirror as a sort of backup of your
root volume group. In that case you are still able to fallback if
anything is messed after the upgrade.
I would rather do a lvsplit than reducing the logical volume. In
that case you have the backup on the logical volumes with an
extension 'b'. Afterwards you can perform the upgrade on the
primary disk. If the system is fine afterwards you can merge the
disks again (take care about the syncronisation direction
lvmerge /dev/vg01/lvol1b /dev/vg01/lvol1 will overwrite lvol1b).
The sizes may not change during the upgrade otherwise you
cannot merge without an extend of the old lvol beforehand.
In case of a disaster you can fallback to the old disks (by
using setboot and lvlnboot).
Regards,
Matthias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 09:20 AM
02-26-2003 09:20 AM
Re: Root disk mirror
lifcp /dev/dsk/c_t_d_:AUTO -
where that is the disk you want to keep to use as the backup. It should say something like this:
root>lifcp /dev/dsk/c0t5d0:AUTO -
hpux -lq 52.5.0;0)/stand/vmunix
where "hpux -lq" means it is not looking for a quorum and will boot off of that disk. Then shutdown and boot off of the CD and install to the other disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 08:03 AM
02-27-2003 08:03 AM
Re: Root disk mirror
mkboot
mkboot -a "hpux -lq"
for both rootvg disks.
If you get a non boot disk message with mkboot your mirror disk is not bootable.
step 2 make a make_recovery tape If possible use the option -A.
step 3 stop all applications or even better go in single user mode.
step 4 just physically remove 1 disk from the system.
step 5 lvreduce all lv's and do a vgreduce -f vg00
step 6 upgrade to 11i
step 7 install the 11i mirroring software B2491BA and put the disk in the system again
step 8 pvcreate -fB
/dev/rdsk/c#t#d0
vgextend vg00
for f in `find /dev/vg00 - type b`
do
lvextend -m 1 $f
done
mkboot
mkboot -a "hpux -lq"
I just did such upgrade. It went without any problems only the root file system was 15 Mb too small so I had to restore the make_recovery tape first to increase the root file system. I tried some LVM tricks but extending the root file system is not easy. Next time root is too small I shall try a hpux -lm.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2003 12:42 PM
03-01-2003 12:42 PM
Re: Root disk mirror
mkdir /usr_backup /var_backup, etc
reboot
interrupt boot
ISL>hpux -lm -is
lvsplit -s backup /dev/vg00/lvolxx, etc.
fsck /dev/vg00/lvolxxbackup
vgchange -a y vg00
mount /dev/vg00/lvolbackup /usr_backup
Note A: Some people don't mirror lvol2, swap, and this procedure wouldn't apply in this case.
Note B: All rules for boot disks apply but don't invoke lvlnboot, etc., unless rollback is needed.
Note C: Verify you're alternate boot path is pointing at the CDROM instead of the old version of the O/S.
Note D: Make an ignite make_recovery tape immediately after the new O/S install since this now becomes your alternate until re-mirroring.
Some people consider this a lot of work and somewhat obsolete since ignite make_recovery became so easy but I believe this to be an additional safeguard in the event of a problem. When your point of no return occurs and you no longer need the old version of the O/S just pvcreate and follow the mirroring of the boot disk procedure.