- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Removing a VG from a Running Package
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
тАО02-06-2006 03:20 AM
тАО02-06-2006 03:20 AM
All LV's within the VG are free, no PIDs running on any of them. Can I do something like this while the package is still online?:
# vgchange -a n vg-NAME
# vgchange -c n vg-NAME
# vgexport vg-NAME
# -- Edit RC file and remove VG --
Note, there are no filesystems in the VG and no active processes running against it. I'm just worried that deactivating a VG that is part of a running package may cause the package to failover.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 03:25 AM
тАО02-06-2006 03:25 AM
Solutionhttp://docs.hp.com/en/B3936-90079/ch07s05.html
Remove a volume group -
Package must not be running.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 03:47 AM
тАО02-06-2006 03:47 AM
Re: Removing a VG from a Running Package
You have to stop a package to reconfigure its resources. No way around that. It makes sense. So long as the package is running how can it release the vg?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 04:37 AM
тАО02-06-2006 04:37 AM
Re: Removing a VG from a Running Package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 04:54 AM
тАО02-06-2006 04:54 AM
Re: Removing a VG from a Running Package
Do you have a test environment?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 05:09 AM
тАО02-06-2006 05:09 AM
Re: Removing a VG from a Running Package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 01:31 PM
тАО02-06-2006 01:31 PM
Re: Removing a VG from a Running Package
1, Backup your data before doing
2, I had done it many time! I am sure it will be ok.
3, copy cluster binary file as a copy
#cp /etc/cmcluster/cmclconfig /etc/cmcluster/cmclconfig.bak
4, halt package
#cmhaltpkg pkg1
5, get pakage conf file
#cmgetconf -p pkg1 pkg1.ascii
6,Edit the ASCII package configuration file
#vi pkg1.ascii
7, verify it by
# cmcheckconf -v -P pkg1.ascii
8, apply new conf
# cmapplyconf -v -P pkg1.ascii
Remember to copy the control script to the /etc/cmcluster/pkg1 directory on all nodes that can run the package.
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 03:19 PM
тАО02-06-2006 03:19 PM
Re: Removing a VG from a Running Package
You can not remove a VG from a running package!
Actually what do you want when remove a VG from a package without halt the package?
Don't have to stop the application, do you?
So, as your think with doing vgreduce and them import the new configruration to the other node in the cluster without halt the package. You still have to shutdown or stop all application first.
Halt the package and remove the VG is the best recommendation, I think so :)
Hope this helps
Hoang Chi Cong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 01:12 AM
тАО02-07-2006 01:12 AM
Re: Removing a VG from a Running Package
Looks like I'll schedule an outage for this though! :) I do wish I had a test cluster around! Anyway, thanks all for the help with this, I really do appreciate all of the excellent advice.
Tom