- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re-creating vg's and lv's after make_recovery
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
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
тАО04-27-2001 11:32 AM
тАО04-27-2001 11:32 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2001 11:52 AM
тАО04-27-2001 11:52 AM
SolutionI just finished a D/R test last month. I use(d) make_tape_recovery for my vg00 restoration. I would construct basic scripts that compose skeletal volume groups and logical volumes ahread of time. You will not be able to provide the actual disk device (/dev/dsk/xXtYdZ) files ahead of time since you probably will not know the actual hardware available until the time of your test, but you can go a long way to shortening and documenting the process by building scripts to create these entities.
Once volume groups and logical volumes are created and mounted, you can load your data accordingly.
In a D/R scenario, I personally am not too worried about creating mirrors for data; at least not until I am fully up and running.
It will take about 45-minutes just to load the golden image from the Ignite tape. All displayed messages will be written to /var/opt/ignite/local/install.log. Do *not* dispair if at the end you see a block-letter "FAILURE" message. The Ignite recovery will attempt to process the non-zero volume groups and fail due to differing/missing devices files in the vg map files it's using.
I'd make sure to use the latest Ignite software:
http://www.software.hp.com/products/IUX/index.html
Use the new 'make_tape_recovery' which replaces 'make_recovery'. The command I use for doing this is:
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
Note that the "-I" in 'make_tape_recovery' causes the recovery process to be interactive and is the replacement for the "-i" option in the old 'make_recovery'. If you use the '-I' option, booting from tape will automatically offer the interactive Ignite session.
Choose the Advanced Installation mode and on the FileSystem tab note the "Additional Tasks" option. Selecting this will offer you the ability to change the physical vg attributes and set things like 'largefiles' etc.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2001 11:54 AM
тАО04-27-2001 11:54 AM
Re: Re-creating vg's and lv's after make_recovery
However, if you are paranoid, you could do the following:
vgexport -m mapfile_name -v -p -s /dev/vg??
Do this for all your VGs on the system and make sure the mapfile is somewhere where it will get backed up by the make_recovery.
Then afte_r you restore the system from tape and need to recover the VGs, you do a:
mkdir /dev/vg??
mknod c 64 0x0?0000 /dev/vg??/group
vgimport -m mapfile_name -s -v /dev/vg??
Do this for all of your VGs. The -s option with vgexport puts a VGID at the beginning of each mapfile. Using this with vgimport allows you to NOT put in all device names for the VG. It will scan the devices on your system for ones that have that VGID and import them for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 11:31 AM
тАО04-30-2001 11:31 AM
Re: Re-creating vg's and lv's after make_recovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 11:45 AM
тАО04-30-2001 11:45 AM
Re: Re-creating vg's and lv's after make_recovery
This way, if you lose a root disk, but still have all other disks from all other VGs attached, and have to restore from tape, then all your VGs will be seen.
If you have to use your tape to bring up another system, then you will have to recreate all your VGs from scratch.
It just depends on which scenario you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 11:48 AM
тАО04-30-2001 11:48 AM
Re: Re-creating vg's and lv's after make_recovery
The point I was trying to reinforce was that while the volume group map files are present on the make_recovery (make_tape_recovery) tape, the specificiation of the actual device files in their map files may not match the hardware at the time of the restoration.
Specifically, if you are recovering at a remote disaster recovery site (as I was recently), the Ignite recovery process for importing the volume groups would *fail* because of mismatched (missing) device files. If I were recovering on the same hardware at home, all device and configuration files whould be the same (including /etc/lvmtab), and no manual intervention would be necessary.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2001 06:56 AM
тАО05-01-2001 06:56 AM