- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root mirror fall back
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
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
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
тАО10-06-2008 06:53 AM
тАО10-06-2008 06:53 AM
i am patching my server, which has root mirror.
if patching goes bad, i want to boot from alternate mirror disk and copy it to primary disk to make the server in old state.
can u guide me to a doc which clearly exlains how to do it.
thanks,
pradep
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 06:57 AM
тАО10-06-2008 06:57 AM
SolutionSo if you patch your system, patches will be written to both disks.
Your possibilities:
1) create an ignite backup
2) use DRD - dynamic root disk
3) shutdown the server, remove 1 disk, boot up (using -lq option) and install.
If this goes wrong, shutdown and use the other disk - take care, remove the disk with the "bad data" first.
IMHO you should always create an ignite backup, no matter what you do next (2 or 3).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 07:33 AM
тАО10-06-2008 07:33 AM
Re: root mirror fall back
Easiest way is to take ignite backup and patch. If things went wrong after patching then restore from ignite.
Other way is, If you have physical access to the server remove the mirror disk physically(not LVM break). Boot from primary disk. Patch the server. Everything is ok put back and sync. If things went wrong boot from alternate and sync to primary.
There is a way to break the mirror online and patch then remirror. But that is tedious job.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 03:01 PM
тАО10-06-2008 03:01 PM
Re: root mirror fall back
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 04:02 PM
тАО10-06-2008 04:02 PM
Re: root mirror fall back
Once system boots from secondary. Insert back the primary and do a resync. That will be done from secondary to Primary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 04:29 PM
тАО10-06-2008 04:29 PM
Re: root mirror fall back
A few people have actually given the right anawer already. While possible, it's not really practical to protect a root mirror then resilver the mirror if the patching goes bad.
The right answer is the make_net_recovery or make_tape_recovery that comes with the (free) ignite software. You can recover a system to full operational status inside of 45 minutes. That 45 minutes is a lot cheaper in terms of time, energy, potential issues than would be the tear the alternate root disk out of the system approach.
HTH;
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 12:47 AM
тАО10-07-2008 12:47 AM
Re: root mirror fall back
when i am booting from Pri in -lq mode. and inserted sec disk, the isocan says disks claimed, but sync is not starting. and pvdisplay says pvchange: Couldn't query physical volume "/dev/dsk/c3t6d0":
The specified path does not correspond to physical volume attached to
this volume group.
what should be the command sequence to do it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 02:09 AM
тАО10-07-2008 02:09 AM
Re: root mirror fall back
where are you up to? It reads like you've succesfully done the patching and now want to sync the removed disk back with the primary?
Is that the case? If so and you've re-inserted the 2nd disk and proved you can read from it by doing a diskinfo or using dd, then you should just be able to run:
vgchange -a y vg00
To bring the disk back in and sync now, or:
vgchange -a y -s vg00
to bring the disk back in followed by:
lvsync /dev/vg00/lvol1
lvsync /dev/vg00/lvol2
etc.
to resync your LVs at your leisure.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2008 10:07 PM
тАО10-15-2008 10:07 PM