- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgexport and vgimport in MC/ServiceGuard Cluster P...
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
09-27-2004 07:45 PM
09-27-2004 07:45 PM
Currently I need to remove a filesystem /mnt/PACKAGEA/data from a package named PACKAGEA. This requires me to perform a vgexport and vgimport subsequently.
Query: The package is running on the secondary node instead of primary node. Can I perform the mentioned below on the secondary node?
- Filesystem removal
- vgexport -p -s -v -m /tmp/vg.map
And then perform the following on the primary node using the map file generated from the secondary node:
- vgexport vg
- vgimport -v -s -m /tmp/vg.map
thanks/cliff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 08:04 PM
09-27-2004 08:04 PM
Re: vgexport and vgimport in MC/ServiceGuard Cluster Pairs
What i would do is:
1. Halt the package PACKAGEA on secondary node.
2. Remove the concerned VG from Cluster.
vgchange -c n
3. Activate VG and do vgexport -p to create map file
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 08:28 PM
09-27-2004 08:28 PM
Re: vgexport and vgimport in MC/ServiceGuard Cluster Pairs
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=180447
See instruction 6 on Chris McCray's answer.
I also don't think service guard cares whether the volume group is mounted on the primary node or not.
Guru's if I'm wrong please say.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 08:40 PM
09-27-2004 08:40 PM
Re: vgexport and vgimport in MC/ServiceGuard Cluster Pairs
Can I conclude that the vgexport at secondary to generate map file and follow by vgexport and vgimport at primary node does not matter even though the package was suppose to be running on the primary node?
regards/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 08:48 PM
09-27-2004 08:48 PM
Re: vgexport and vgimport in MC/ServiceGuard Cluster Pairs
If not, then there is no need to vgexport/vgimport.
If you are removing the lvol, then you need to ensure that the file system is not in use, unmmount it, remove any reference to it in the package control script on all nodes to prevent any attempt to unmount/mount it.
Then you need to remove the lvol on the vg (on the secondary node I guess), which will sort out the vg/lv info on that node.
Then do a vgexport -p of the vg to a map file, copy the map file to the primary node, vgexport the vg there, make the directory and group file correctly, then vgimport.
Of course, if you have to stop the application to unmount the file system, you will have to halt the package first, then vgchange -a e the vg to do the work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 09:23 PM
09-27-2004 09:23 PM
Re: vgexport and vgimport in MC/ServiceGuard Cluster Pairs
I will be removing the logical volume. I understand I will need to modify the package control file at secondary node and sync it to the primary node.
Query: Can I conclude that the vgexport at secondary to generate map file and follow by vgexport and vgimport at primary node does not matter even though the package was suppose to be running on the primary node? Will there be any concern/issue with that?
Regards/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 09:36 PM
09-27-2004 09:36 PM
Solution