- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror Disks for Disaster Recovery when Patchi...
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
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
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
тАО12-07-2006 10:06 PM
тАО12-07-2006 10:06 PM
I want to patch the server. The patches are fragile and I want to be able to move quickly back to a working system in case of a problem.
I plan to remove one of the mirror disks while performing the patch.
If the patch is successful I will replace the disk and sync the mirror. If not I want to boot off the backup disk and sync the patched disk with the backup (go back to starting point).
In the latter disaster scenario is it enough to boot off the backup disk and run vgsync vg00?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 11:13 PM
тАО12-07-2006 11:13 PM
Re: Mirror Disks for Disaster Recovery when Patching
If your server is not mission critical, you can do the following:
reduce mirroring, copy system disk to the second one by dd, upgrade the system and, if everything is OK, restore mirroring.
I use dd copy instead of mirroring. Firstly, I always have yesterday disk copy, secondly I don't have to pay for mirroring license.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2006 04:10 AM
тАО12-11-2006 04:10 AM
Re: Mirror Disks for Disaster Recovery when Patching
Your approach using mirroring should work fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 03:49 AM
тАО12-12-2006 03:49 AM
Re: Mirror Disks for Disaster Recovery when Patching
The vgsync failed with the following
vgsync /dev/vg00
Resynchronized logical volume "/dev/vg00/lvol1".
Resynchronized logical volume "/dev/vg00/lvol2".
Resynchronized logical volume "/dev/vg00/lvol3".
vgsync: Couldn't re-synchronize stale partitions of the logical volume:
Device offline/Powerfailed
vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol4".
vgsync: Couldn't resynchronize volume group "/dev/vg00".
LVM: vg[0]: pvnum=2 (dev_t=0x1f020000) is POWERFAILED
# LVM: Recovered Path (device 0x1f020000) to PV 2 in VG 0.
LVM: Restored PV 2 to VG 0.
I think the only way out of this is to Ignite the server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 05:57 AM
тАО12-12-2006 05:57 AM
Re: Mirror Disks for Disaster Recovery when Patching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 08:42 AM
тАО12-12-2006 08:42 AM
Re: Mirror Disks for Disaster Recovery when Patching
1. get boot definition: lvlnboot -v vg00
2. /usr/sbin/sync
3. split the logical volumes: lsdplit /dev/vg00/lvol9...do lvol3 last
4.fsck -F hfs /dev/vg00/lvol1b...do for each one
5. mount /dev/vg00/lvol1b /tmp make sure mountable, then unmount them
6.patching
7. patching successful, lvmerge /dev/vg0/lvol9b /dev/vg00/lvol9
8. patching failed do:
a)boot to lvm mode, mount /dev/vg00/lvol3b /tmp
b) vi /tmp/etc/fstab to change lvol1 to lvol1b for all LVs
c)remove boot definition:lvrmboot -r vg00
d)add the split LVs: lvlnboot -b /dev/vg00/lvol1b /dev/vg00...do -r -s -d
e) verify lvlnboot -v vg00
f) change the /tmp/stand/bootconf to point the splpit disk
g)lvlnboot -R vg00
h)reboot the system to boot from the split disk by interrut the boot sequence
i) once system is up, lvmerge /dev/vg00/lvol9 /dev/vg00/lvol9b, do for all LVs
j)lvlnboot -v vg00 to verify again
k)reboot to lvm mode, to change LVs name back to normal: cd /dev/vg00; mv lvol1b lvol1;do for all Lvs
l) update /etc/fstab to go back to original
m)shutdown -ry 0 should bring your system back to the stage before patching.
The other way is much straigh forward is make an ignite image. Back out will be boot from the ignite tape.
Hope helps.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 02:51 PM
тАО12-12-2006 02:51 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 07:11 AM
тАО12-13-2006 07:11 AM
Re: Mirror Disks for Disaster Recovery when Patching
I think I will abandon the disk mirroring backup strategy. The lifeboat looks a better method. Have to persuade the boss to buy 3x36GB disks though.