- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MCSG : Adding a Package to a Running Cluster
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
тАО06-03-2009 05:39 AM
тАО06-03-2009 05:39 AM
I'm a bit confused about the task of adding a package to a running cluster
The manual says:
do not specify the cluster ASCII file when verifying and distributing the configuration with HP-UX commands.
But the Cluster ASCII file has a section with the list of cluster aware LVM Volume Groups
So if a new package uses a new cluster aware VG which I have to put in the cluster ASCII file than this contradicts to the manual entry that I do NOT need to specify the cluster ASCII file.
What is the correct procedure to add a new package which uses a new VG to an existing cluster ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 05:47 AM
тАО06-03-2009 05:47 AM
Re: MCSG : Adding a Package to a Running Cluster
The new package needs to activate the volume group it is going to use.
There should be no entries with regards to the volume group being activated by the package in the cluster.ascii file.
Hope this helps.
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
тАО06-03-2009 06:01 AM
тАО06-03-2009 06:01 AM
Re: MCSG : Adding a Package to a Running Cluster
the new package will activate it's VG using vgchange -a e
But I still can't understand the sectzion in the cluster ASCII file sayin:
# List of cluster aware LVM Volume Groups. These volume groups will
# be used by package applications via the vgchange -a e command.
# Neither CVM or VxVM Disk Groups should be used here.
# For example:
# VOLUME_GROUP /dev/vgdatabase
# VOLUME_GROUP /dev/vg02
If I need to mention the new VG in this file
then surely I have to do something like
cmapplyconf -C Cluster ASCIIFile -P package_conf_file
but the manual only says
cmapplyconf -P package_conf_file
so my question still is do I need to enter the VG in the cluster ASCII file ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 08:23 AM
тАО06-03-2009 08:23 AM
SolutionNow pkg up and running.....
Then you can go back afterwards and update the current cluster ascii file (provided it is current) with the new VG info and run
cmcheckconf -k -v -C
...when runs clean...
cmapplyconf -k -v -C
(-k option is optional)
You can do this later step with the cluster up and running.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 01:19 PM
тАО06-03-2009 01:19 PM
Re: MCSG : Adding a Package to a Running Cluster
for the Vgs to be used in the packages, the Vgs need to be cluster aware.
now you can make a VG cluster aware using ( provided Cluster is up) using either putting them into the cluster.ascii file and doing a cmapplyconf -v -C
The other way is that with the cmcld running you achieve the same using the command
vgchange -c y
that shall make that VG Clutser aware and package can use that by activating that in a vgchange -a e
So in case you have the VGs made cluser aware using vgchange -c y
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 01:32 PM
тАО06-03-2009 01:32 PM
Re: MCSG : Adding a Package to a Running Cluster
This is the second post, please do not assign any points to this.
to sum up a clearer approach should be:
1) make the VGs cluster aware first to be used in the package using either of the following:
a) vgchange -c y
or
b)put the entry in the cluster.ascii file and do a cmacheckconf and cmapplyconf like
#cmcheckconf -v -C
#cmapplyconf -v -C
then step2;
2) edit the pkc.cntl as well as pkg.conf files and distribute the contriol files to the desired nodes,then
#cmcheckconf -v -P
#cmapplyconf -v -P
Please note that in simple failover packages with LVM vgs and LVs the package VG necessarily is not reqd in the cluster.ascii file.
Also this 2 step appraoch makes things easier to diagnose in case of problems/issues.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 04:54 PM
тАО06-03-2009 04:54 PM
Re: MCSG : Adding a Package to a Running Cluster
After you create the VG using option -c y, do a cmgetconf to see the configuration.
You'll most likely notice that the new VG is already listed. Doing a cmcheckconf/applyconf using this new ascii file will say some thing like "nothing to apply".
From the man page for cmapplyconf:
"The cluster ASCII file only needs to be specified if configuring the cluster for the first time, or if adding or deleting nodes to the cluster."
In your case, you just need to create a cluster aware VG, create the package file (cmmakepkg or copy/modify another existing package) , check it using cmcheckconf and apply it using cmapplyconf.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 07:23 AM
тАО06-04-2009 07:23 AM
Re: MCSG : Adding a Package to a Running Cluster
You have to following this setps:
1 - mkdir /etc/cmcluster/package_name
2 - cmmakepkg -p pkg.conf ( Create pkg.conf )
3 - Edit pkg.conf vi pkg.conf (customize )
4 - cmmakepkg -s pkg.cntl ( create pkg.cntl)
5 - edit pkg.cntl vi pkgcntl
6 - copy the pkg to all nodes
8 - cmcheckconf -C /etc/cmcluster/cmclconf.ascii -P /etc/cmcluster/pkg_name/pkg.conf
9 - cmapplyconf -C /etc/cmcluster/cmclconf.ascii -P /etc/cmcluster/pkg_name/pkg.conf
10 - cmrunpkg pkg_name
You also need to update the information that you have in:
/etc/cmcluster/cmclconf.ascii
# List of cluster aware LVM Volume Groups. These volume groups will
# be used by package applications via the vgchange -a e command.
# Neither CVM or VxVM Disk Groups should be used here.
# For example:
# VOLUME_GROUP /dev/vgdatabase
# VOLUME_GROUP /dev/vg02
VOLUME_GROUP /dev/ORARAC
VOLUME_GROUP /dev/CCW
Regards !! ..