- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove decommsion VG from cluster.config fi...
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
01-20-2010 08:03 PM
01-20-2010 08:03 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2010 10:54 PM
01-20-2010 10:54 PM
Re: How to remove decommsion VG from cluster.config file.
vgchange -c n /dev/vg_name
Removes cluster lock on VG
#vgchange -a n /dev/vg_name
Deactivated the VG
vgexport /dev/vg_name
exporting vg will remove entire vg and associated files from your system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2010 11:36 PM
01-20-2010 11:36 PM
Re: How to remove decommsion VG from cluster.config file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2010 11:40 PM
01-20-2010 11:40 PM
SolutionYou need to remove it from the cluster ascii file, if you go to the end of your cluster.ascii file, normally stored in /etc/cmcluster
you will see lines with your cluster vgs similar to this ones:
# Cluster-aware LVM Volume Groups
VOLUME_GROUP /dev/vg1
VOLUME_GROUP /dev/vg2
VOLUME_GROUP /dev/vg3
just delete the line with the vg youi want to remove.
then cmcheckconf and cmapplyconf the modified ascii file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2010 11:41 PM
01-20-2010 11:41 PM
Re: How to remove decommsion VG from cluster.config file.
Few things to add to jupinder's reply.
1) Do the cmgetconf to get the current cluster ascii file.
2) remove the VG from the cluster ascii file.
3) If any package is using that VG, then you need to remove that package too or reconfigure your package again.
4) Remove the VG and its LVs from the package control script.
5) so, cmcheckconf and cmapplyconf. you are ok now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2010 06:27 AM
01-21-2010 06:27 AM