- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgexport for map file on inactive VG
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
тАО12-22-2009 11:24 AM
тАО12-22-2009 11:24 AM
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 11:30 AM
тАО12-22-2009 11:30 AM
Re: vgexport for map file on inactive VG
# vgexport -p vg03
vgexport: Volume group "vg03" is still active.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 11:33 AM
тАО12-22-2009 11:33 AM
Re: vgexport for map file on inactive VG
The command that I run is:
vgexport -v -s -p -m file.map vgxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 11:54 AM
тАО12-22-2009 11:54 AM
Solutionvgchange -a n
vgchange -c y
See my point...
My other reason is, if it's inactive, ..why is it inactive and do I really need it. Must not, cause it's inactive. Or it's inactive cause something is not right with it, so before I'd make a mapfile I'd make sure it was okay and could be activated. Then I'd make the mapfile.
But that's just me....
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 12:00 PM
тАО12-22-2009 12:00 PM
Re: vgexport for map file on inactive VG
So I would like to vgexport -p and create map files from all active and inactive VGs from one node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 12:47 PM
тАО12-22-2009 12:47 PM
Re: vgexport for map file on inactive VG
Why would you want to vgeport the inactive/failover nodes volume group? The one that really counts and would be up to date is the one on the primary node. Where your package is running.
This guarantees that you have the latest, correct volume group information. Can't count how many I got interupted and one the multi-node cluster here I missed vgimporting the latest vg mapfile. Don't realize till I do a failover and it doesn't come up right.
Now, with your logic, you are going to make a mapfile from a node where the volume is not active. Sorry I don't see any reasonable reason to do what you are suggesting. In fact I predict your mapfiles will get confused or you'll copy over some potentially old mapfile from some inactive volume group and maybe overwrite a good one.
I'm sorry, I can not follow your logic or the benefit of it. If I understand what you're trying to do correctly.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 04:13 AM
тАО12-23-2009 04:13 AM
Re: vgexport for map file on inactive VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 04:23 AM
тАО12-23-2009 04:23 AM
Re: vgexport for map file on inactive VG
So the goal is always to ensure that your failover nodes vg information is the same as the primary. Hence, making your mapfile from your primary node that you know is running correctly, and then importing that mapfile into the other nodes.
If something goes awry on a failover, you know it's not the mapfile - it's strictly something on that node that you missed.
Kindest regards & happy clustering,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 04:24 AM
тАО12-23-2009 04:24 AM
Re: vgexport for map file on inactive VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 05:57 AM
тАО12-23-2009 05:57 AM
Re: vgexport for map file on inactive VG
Pete, the question was 'to get a vg map file' and not 'to export it'. You can everytime get a mapfile from your inactive VG, but as Rita said it's not the recommended way.
# vgexport -p -m mapfile.map vghomeora
vgexport: Volume group "vghomeora" is still active.
#
This "still active" message is only a warning that the VG hasn't been exported. But the mapfile is there..
Unix operates with beer.