- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- script to rebuild lvm for DR
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
05-29-2002 05:32 AM
05-29-2002 05:32 AM
script to rebuild lvm for DR
I was curious if anyone knew of a script that would recreate the LVM setup of a hp ux box from the /etc/fstab in a DR situation. My search didn't find much.
I'm recovering vg00 via ignite so I have the fstab after I boot off the tape, but I need to rebuild all my file systems before I can start restoring everything else via NetBackup.
I will try to write it myself if nothing is found--but I have a DR test in two weeks and I'm really busy.
tia,
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 05:40 AM
05-29-2002 05:40 AM
Re: script to rebuild lvm for DR
Since it appears that you will be doing your D/R at a remote site, you really have no way of knowing before hand the actual devices and configuration (number of physical volumes, size of physical volumes, etc.) you will have.
I simply keep simple scripts for each server I recover. The scripts offer skeletal 'pvcreate', 'vgcreate', 'lvcreate', and 'newfs' commands for each filesystem I'll need. Since you are using Ignite to recover vg00, your LVM group files and mountpoint directories will be recovered for you, although for documentary purposes it doesn't hurt to add these to your "build".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 06:06 AM
05-29-2002 06:06 AM
Re: script to rebuild lvm for DR
Everything else I have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 06:30 AM
05-29-2002 06:30 AM
Re: script to rebuild lvm for DR
In such a case , I would first recover the root voulme and then rebuild the other moun points , I am assuming you are looking for a script which would automate the creation , I would prefer to do it maunally one at a time .
The only this that can be used as refernce it to document the current setting in terms of bdf , dmesg , ioscan ,sysinfo and keep these documents at the Second site.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 07:41 AM
05-29-2002 07:41 AM
Re: script to rebuild lvm for DR
Script is attached - Its really geared at recreating the many chunks for our Informix database but may give you some ideas .It has been used in anger to recover our systems successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 07:46 AM
05-29-2002 07:46 AM
Re: script to rebuild lvm for DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 07:52 AM
05-29-2002 07:52 AM