Operating System - HP-UX
1836768 Members
2361 Online
110109 Solutions
New Discussion

Re: Error when running cmcheckconf

 
Dan Moloisane
Occasional Advisor

Error when running cmcheckconf

hi all,

i 'm getting the ff. error msg when running cmcheckconf -P pkgname. I have already increased the number of configure Pkg parameter to 20 and i have only 3 packages configured.

"Error: The number of packages exceeds the maximum configured packages parameter.
cmcheckconf : Unable to verify package."
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: Error when running cmcheckconf

Hi Dan,

did you apply the changed value first?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
melvyn burnard
Honored Contributor

Re: Error when running cmcheckconf

you say you have changed the max packages to 20, but have you applied this change with the cmapplyconf yet?
To do this you must first halt the cluster.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Luk Vandenbussche
Honored Contributor

Re: Error when running cmcheckconf

Hi,

Try the following command to see if your modifications are actif

cmgetconf | grep MAX_CONFIGURED_PACKAGES
Geoff Wild
Honored Contributor

Re: Error when running cmcheckconf

Did you do a cmapplyconf on the cluster ascii file?

Also - what version of MC/SG are you running?

Do a:

what /usr/lbin/cmcld |grep Date

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Stephen Doud
Honored Contributor

Re: Error when running cmcheckconf

The original version of Serviceguard permits up to 30 packages. Later versions permit even more packages, so 20 packages is not a ceiling for the product.
Later versions of Serviceguard add the MAX_CONFIGURED_PACKAGES parameter to the cluster configuration ASCII file.
We need to know what version of Serviceguard you are working with:
# what /usr/lbin/cmcld | grep Date
This will report both the version and the patch level.

Next, try this:
# cmviewconf | grep max
Example output:
maximum configured packages: 7

This is the value embedded in the cluster binary file (/etc/cmcluster/cmclconfig).
If the value is less than you thought it should be, then you have not updated the binary file.

To locate the cluster configuration file, try this:
# cd /etc/cmcluster
# grep ^MAX *

If more than one file appear, create a current version:
# cmgetconf CLUSTER.CONF

Edit the file, increase MAX_CONFIGURED_PACKAGES to the value you need and save the file.

Then with the cluster down (cmhaltcl -f), perform:
# cmapplyconf -f -C CLUSTER.CONF

To add another package:
# cmapplyconf -f -P /

To start the cluster:
# cmruncl