1834673 Members
2447 Online
110069 Solutions
New Discussion

cluster configuratio

 
Filosofo
Regular Advisor

cluster configuratio

Hello all,
I have a cluster with 8 pkgs, I must add 4 new pkgs.... I must edit cmclconfig.ascii file. My question is if I must stop the cluster or no.
I have SG 11.14 on hpux 11i.

Thanks for any helps.

Filo
Sistem engeneer expert
4 REPLIES 4
Massimo Bianchi
Honored Contributor

Re: cluster configuratio

Hi,
yes, you must stop the cluster, because you will change its config.


It's best practice to keep that value high, just to avoid such problems.

Put a nice 20 in it...

HTH,
Massimo
melvyn burnard
Honored Contributor

Re: cluster configuratio

I assume you need to change the cluster ascii file to increase the max number of pkgs.
If you do, then you have to stop the cluster to change this parameter.
If the parameter is already high enough , i.e. >=12, then you can simply add the packages with the cluster running.

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
John Poff
Honored Contributor

Re: cluster configuratio

Hi,

One other thing to check is your 'maxvgs' kernel parameter, which defaults to 10. If you are adding a bunch of packages you might need volume groups for all of them and the maxvgs parameter could bite you.

JP
Enrico P.
Honored Contributor

Re: cluster configuratio

Hi,
if you must modify the max_configured_package you need to stop the cluster.
If you need modify the cmclconfig.ascii to add new VG for new PKG you can do it with cluster up and running.

From manual:

Using MC/ServiceGuard Commands to Change the LVM
Configuration While the Cluster is Running
Use the cmgetconf command to obtain a current copy of the cluster???s
existing configuration. Example:
# cmgetconf -C clconfig.ascii
Edit the file clconfig.ascii to add or delete volume groups. Then use
the cmcheckconf command to verify the new configuration. Use the
cmapplyconf command to apply the changes to the configuration and
send the new configuration file to all cluster nodes.

Enrico