1834882 Members
2409 Online
110071 Solutions
New Discussion

cluster

 
himacs
Super Advisor

cluster

Hi Admins,

Scenario..
1.Created new VG
2.modified cluster and pkg config files using vi
3. And executed cmapplyconf for both cluster and pkg.

1.While doing this i should down the cluster or pkg..?
2.Whether 3rd step [ cmapplyconf ] is really required..?

B.11.23
SG 11.17

Please suggest
Regards
Pavan
8 REPLIES 8
Uday_S_Ankolekar
Honored Contributor

Re: cluster

You don't have to halt the cluster, but you need to run cmapplyconf after editing cluster configuration file for the new LVM
Good Luck..
himacs
Super Advisor

Re: cluster

Hi Uday,

Thanks for the reply.
But last time i have modified pkg config file after adding new LV and didnot run cmapplyconf.

Regards
himacs
Uday_S_Ankolekar
Honored Contributor

Re: cluster

Didn't you add the new VG reference to the cluster configuration ASCII file?
Good Luck..
himacs
Super Advisor

Re: cluster

Hi Uday,
I have added new LV.So modified only pkg file.

TO execute cmapplyconf do we need to down cluster/pkg..?

Regards
himacs
Uday_S_Ankolekar
Honored Contributor

Re: cluster

you don't have to stop the cluster or package, but need to edit package script accordingly.


Add the VG, LVOL and mount points to the package control script that controls the new VG
Check the script for syntax errors.
Ensure the modified package control script works by testing package startup and stop when downtime is available.

If the legacy package is already running, activate the VG and mount its logical volume(s). This will ensure the package halts and starts properly when necessary.
Good Luck..
INH
Regular Advisor

Re: cluster

Pavan,

You can refer this below link
http://docs.hp.com/en/ha.html

You can follow below steps

1. Edit the package ASCII file

2. Edit the package control script

3. Distribute the control script to the cluster nodes

4. Apply the package ASCII file



1.While doing this i should down the cluster or pkg..?
Yes i would halt the package not the cluster
2.Whether 3rd step [ cmapplyconf ] is really required..?
Yes


Regards,
INH

Knowledge is power
Manix
Honored Contributor

Re: cluster

Hello Pavan,

cmapplyconf is of course required as the new cluster/package binaries are distributed across
the nodes to make new configuration usable when you stop/start any package or cluster.

But right now you may manually activate the VG
& mount the lvols and start the application .

But files should be updated & applied for future usage.

Hope this will help.

Regards

Manix
HP-UX been always lovable - Mani Kalra
Rita C Workman
Honored Contributor

Re: cluster

The command cmcheckconf is there for a reason.

You do NOT just edit a pkg or cluster and then run cmapplyconf!!!!
Uday made one reference to checking the script, I'm suspecting he was referring to the cmcheckconf command.

So...check it / fix all errors / check it again ..and then run cmapplyconf when it is clean.

Rgrds,
Rita