- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Capture Existing Info for VG's, LVs etc 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
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
тАО08-10-2009 08:43 AM
тАО08-10-2009 08:43 AM
Thanks
Mike.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 08:57 AM
тАО08-10-2009 08:57 AM
Re: Capture Existing Info for VG's, LVs etc for DR
Simply record your configuration with standard LVM commands ('lvdisplay', 'vgdisplay') and/or examine your Ignite print_manifest.
From this, you can easily create a "script" that performs 'pvcreate'; 'vgcreate', 'lvcreate' and 'mkfs' commands at the Disaster Recovery site. You can simply stub-in physical device addresses ('/dev/rdsk/cXtYdZ') since you won't know these until you are actually at the site.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 09:00 AM
тАО08-10-2009 09:00 AM
Re: Capture Existing Info for VG's, LVs etc for DR
for the LVM Part vgcfgbackup(1M)could help you:
http://docs.hp.com/en/B2355-90692/vgcfgbackup.1M.html
You can as well export all vg's with preview option to a map file.
3rd Party tool would be config2html:
http://come.to/cfg2html
As last step i would take a fresh ignite of the box.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 07:08 PM
тАО08-10-2009 07:08 PM
Solutionvgexport -ps -m myvg.mapfile myvgname
The only practical way to restore the DR system is with Ignite/UX. Naturally you need similar (ideally, identical) hardware. And finally a copy of /etc/fstab. I would spend time writing down all the steps to creating needing information, then the steps to bringing the system(s) up at the DR site. This includes networking, power and UPS, physical access control and security, etc.
Finally, rehearse, rehearse, rehearse. Assume the worst (smoke and rubble) at your production site and then start writing down all the questions...
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 08:23 PM
тАО08-10-2009 08:23 PM
Re: Capture Existing Info for VG's, LVs etc for DR
You can get information's by the below simple script,
#script /tmp/info.txt <<==Staring the script and the output will save in /tmp/info.txt file.
#echo "General System informations"
#echo "==========================="
#uname -a
#model
#ioscan
#echo "LVM Informations"
#echo "================="
#vgdisplay -v
#lvdisplay -v
#strings /etc/lvmtab
#bdf
#cat /etc/fstab
#lvlnboot -v
#setboot
#echo "Kernel informations"
#echo "==================="
#kcmodule
#kctune
#echo "Disk Informations"
#echo "================="
#ioscan -fnC disk
#diskinfo
#echo "Installed software informations"
#echo "==============================="
#swlist -l bundle
#swlist -l product
#swlist -l product|grep PH
#exit
#echo "Network informations"
#echo "===================="
#ioscan -funC lan
#netstat -in
#netstat -rn
#exit <<===Exit the script
Check /tmp/info.txt file, it will have all the above command outputs.
Hope this will help you.
Regards,
LIJEESH N G