- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to change cluster configuration
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
03-02-2011 05:13 AM
03-02-2011 05:13 AM
I have a requirement for a cluster configuration to avoid restarting packages with out deleting cluster package !
mean halt the package + modify cluster configuration to avoid the pkg restart in case of cluster reboot/node reboot.
"stopping packages (halt)
modyfying cluster configuration to avoid restart of packages"
is it possble? with out deleting the package?
thanks in advance.
Rgds
Sree
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2011 06:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2011 05:30 AM
03-03-2011 05:30 AM
Re: Need to change cluster configuration
The answer is: it depends. Which version of Serviceguard do you have?
# cmversion
The more newer your SG is, the more property you can configure in SG online. For this, you should figure out your SG version, and look for the appropriate SG document on BSC to get the answer.
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2011 05:44 AM
03-03-2011 05:44 AM
Re: Need to change cluster configuration
My SG version is ==> A.11.16.00
I reached a work around:
1. Halt the PKG
2. edit the package configuration file
change AUTO RUN NO
3. check package conf files using:
cmcheckconf -v -P /etc/cmcluster/package_name/pkg.conf
4. apply the changes:
cmapplyconf -v -P /etc/cmcluster/package_name/pkg.conf
Pls correct me in case Iam wrong in accordance with the SG version.
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2011 06:37 AM
03-03-2011 06:37 AM
Re: Need to change cluster configuration
the process you described was correct.
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2011 06:43 AM
03-03-2011 06:43 AM
Re: Need to change cluster configuration
Thanks a lot for your help !!
@ Sajjath the document you provided is excellent I was waiting for a such one!!!
Do you have any such cookbook for VPAR/NPAR environment?If so pls send to us.
Thanks again :-)
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2011 11:16 PM
03-05-2011 11:16 PM
Re: Need to change cluster configuration
VPAR admin guide
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02029116/c02029116.pdf
NPAR config guide:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01868281/c01868281.pdf
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2011 04:22 AM
03-16-2011 04:22 AM
Re: Need to change cluster configuration
Iam in my work to modify few packages..
1. Halt the PKG
2. edit the package configuration file
change AUTO RUN NO
3. check package conf files using:
cmcheckconf -v -P /etc/cmcluster/package_name/pkg.conf
4. apply the changes:
cmapplyconf -v -P /etc/cmcluster/package_name/pkg.conf
here the issue is the modified package.conf file is not getting distributed to all other cluster nodes even after using cmapplyconf !!
Could you pls support.thanks in advance.
n4sp1 $ root:/etc/cmcluster/prda3501# cmcheckconf -v -P /etc/cmcluster/prda3501/prda3501.conf
Checking existing configuration ... Done
Gathering configuration information ... Done
Parsing package file: /etc/cmcluster/prda3501/prda3501.conf.
Package prda3501 already exists. It will be modified.
Maximum configured packages parameter is 80.
Configuring 37 package(s).
43 package(s) can be added to this cluster.
200 access policies can be added to this cluster.
Modifying the package configuration for package prda3501.
Verification completed with no errors found.
Use the cmapplyconf command to apply the configuration.
n4sp1 $ root:/etc/cmcluster/prda3501# cmapplyconf -v -P /etc/cmcluster/prda3501/prda3501.conf
Checking existing configuration ... Done
Gathering configuration information ... Done
Parsing package file: /etc/cmcluster/prda3501/prda3501.conf.
Package prda3501 already exists. It will be modified.
Maximum configured packages parameter is 80.
Configuring 37 package(s).
43 package(s) can be added to this cluster.
200 access policies can be added to this cluster.
Modify the package configuration ([y]/n)? y
Modifying the package configuration for package prda3501.
There were no configuration changes to apply.
Completed the cluster update.
n4sp1 $ root:/etc/cmcluster/prda3501# ls -l
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2011 04:27 AM
03-16-2011 04:27 AM
Re: Need to change cluster configuration
>There were no configuration changes to apply.
Review that you saved your changes indeed, and this is the config file you have modified. IMHO Serviceguard didn't recognize any changes to the package config.
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2011 04:56 AM
03-16-2011 04:56 AM
Re: Need to change cluster configuration
Sorry Iam not clear...If we do cmappyconf package.conf file...will it distribute the modified config file to all nodes?
like cmclconfig file in cluster???
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2011 05:01 AM
03-16-2011 05:01 AM
Re: Need to change cluster configuration
yes, cmapplyconf will distribute the package config, so you don't need to distribute the conf file.
However, if you are using the legacy package format with separate conf and cntl files, you should manually distribute the _control_file. This is the file which incorporates all the vg activating, fs mounting and application starting scripts. There must be a reference in the conf file to that starting script file.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2011 09:35 AM
03-16-2011 09:35 AM
Re: Need to change cluster configuration
Thanks for help.
As we discussed the cmapplyconf file is not distributing the "package.conf" files ato all cluster nodes.
Idont know why.
I copied manually to all nodes!!! which is not recommended!!
Still waiting for a solution ....
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 06:46 AM
03-17-2011 06:46 AM
Re: Need to change cluster configuration
the cmapplyconf command distribute the package.conf indirectly, which means that it compiles this ascii file to a binary and this binary will be distributed in the end. so you don't need to scp the conf file manually.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 07:21 AM
03-17-2011 07:21 AM
Re: Need to change cluster configuration
here is the exact wording from "Managing Serviceguard Eighteenth Edition, September 2010" which you can find here:
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?contentType=SupportManual〈=en&cc=hu&docIndexId=64902&taskId=120&prodTypeId=18964&prodSeriesId=4162060
##
When cmcheckconf has completed without errors, apply the package configuration,
for example:
cmapplyconf -P $SGCONF/pkg1/pkg1.conf
This adds the package configuration information to the binary cluster configuration
file in the $SGCONF directory (normally /etc/cmcluster) and distributes it to all
the cluster nodes.
##
so you don't need to distribute the package conf file manually, this is the task of cmapplyconf, it distributes it in binary form.
Unix operates with beer.