GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: View Package info and add VG to a package
Operating System - HP-UX
1844638
Members
3244
Online
110233
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-29-2009 04:54 AM
10-29-2009 04:54 AM
View Package info and add VG to a package
We have a 2 node cluster and I want to add a volume group to one of the packages.
HPUX 11.11.
I have created the VG and added FS.
the VG is active right now. I want to add the package to an existing package in the cluster.
I have seen several different commands to do this and want to make sure I get it right.
I have also read that the package can stay up when I add the new VG.
I know I need to add the vg to the cntl file and add the lv data to it as well.
I also know I need to run cmcheckconf and cmapplyconf.
Another question is, how do I see all VG's attached to a package.
Thanks,
Keith
HPUX 11.11.
I have created the VG and added FS.
the VG is active right now. I want to add the package to an existing package in the cluster.
I have seen several different commands to do this and want to make sure I get it right.
I have also read that the package can stay up when I add the new VG.
I know I need to add the vg to the cntl file and add the lv data to it as well.
I also know I need to run cmcheckconf and cmapplyconf.
Another question is, how do I see all VG's attached to a package.
Thanks,
Keith
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2009 05:21 AM
10-29-2009 05:21 AM
Re: View Package info and add VG to a package
Shalom Keith,
The location of the package control script is up to the administrator, but here is the standard.
/etc/cmcluster
# package configuration
package name folder is here, referred to by the ascii cluster configuration file.
Modify the package control script to add the activation of the volume group and the filesystem.
Commands are listed here and can save you the trouble of looking around.
http://docs.hp.com/en/B3936-90117/apa.html
Once running, you can use cmviewcl -v to see details on any running packages. Before they are running, you look at the configuration files use the commands in the link above.
Hopefully your SG version is 11.16
SEP
The location of the package control script is up to the administrator, but here is the standard.
/etc/cmcluster
# package configuration
package name folder is here, referred to by the ascii cluster configuration file.
Modify the package control script to add the activation of the volume group and the filesystem.
Commands are listed here and can save you the trouble of looking around.
http://docs.hp.com/en/B3936-90117/apa.html
Once running, you can use cmviewcl -v to see details on any running packages. Before they are running, you look at the configuration files use the commands in the link above.
Hopefully your SG version is 11.16
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
10-29-2009 06:51 AM
10-29-2009 06:51 AM
Re: View Package info and add VG to a package
Thanks for the quick response.
I will take a look at the document and
make sure in isn't the same one I have.
As for cmviewcl. I was looking to see if
there was a command that showed what volume groups were in what packages. cmviewcl doesn't seem to do that.
Keith
I will take a look at the document and
make sure in isn't the same one I have.
As for cmviewcl. I was looking to see if
there was a command that showed what volume groups were in what packages. cmviewcl doesn't seem to do that.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2009 05:00 PM
10-29-2009 05:00 PM
Re: View Package info and add VG to a package
do a cmviewcl and get the package name
do a cmgetconf -p file.conf
vi file.conf
This will tell you where the run script is
Then
vgchange -c y vgxx (new volume group)
vgchange -a n vgxx (deactivate it)
I assume that you imported the VG on the other nodes and created the mount point.
cmhaltpkg
edit the run/halt script to add the vg and fs
run the package on all of the nodes to test the package and then you are good.
do a cmgetconf -p
vi file.conf
This will tell you where the run script is
Then
vgchange -c y vgxx (new volume group)
vgchange -a n vgxx (deactivate it)
I assume that you imported the VG on the other nodes and created the mount point.
cmhaltpkg
edit the run/halt script to add the vg and fs
run the package on all of the nodes to test the package and then you are good.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP