Operating System - HP-UX
1822513 Members
2557 Online
109642 Solutions
New Discussion юеВ

Cluster: Doing CMAPPLYCONF online

 
SOLVED
Go to solution
Bharat Katkar
Honored Contributor

Cluster: Doing CMAPPLYCONF online

Hi,
I want to update cmclconf binary file (My HBeat Lan Card slot has changed) and putting the cluster down is very critical for me. So i would like to know whether i can use "cmapplyconf" command online while cluster is still running. Please let me know the exact sequence of commands as to how can i do that..

Thanks
You need to know a lot to actually know how little you know
3 REPLIES 3
Bernhard Mueller
Honored Contributor

Re: Cluster: Doing CMAPPLYCONF online

Hi,

you cannot do LAN changes with the cluster up and running, you cannot change the lock disk with the cluster up and running.

You can add/delete/change Packages, VGs, LVOLs, IPs and other things.

Regards,
Bernhard
Robert-Jan Goossens
Honored Contributor
Solution

Re: Cluster: Doing CMAPPLYCONF online

Bernhard Mueller
Honored Contributor

Re: Cluster: Doing CMAPPLYCONF online

Girsih,

sorry for giving you (potentially) wrong information! You can do that if you have another LAN which is also used as a HEARTBEAT LAN (i.e. typically if your production lan is also denoted as HEARTBEAT in the cluster.conf.

Then it would be a switch of packages to one node A (supposing a two node cluster)
cmhaltnode of the other node B making it a one-node cluster of node A

disabling cluster service startup in /etc/rc.config.d/cmcluster on B
changing the LAN card on B
boot B into single user mode
check your new lan card
edit /etc/rc.config.d/netconf of B
reboot B
check lan settings on B
# optionally gather current cluster data with cmquerycl on A
change the LAN data in clusterconf.ascii on node A
cmcheckconf (on node A)
cmapplyconf (on node A)
cmrunnode (on node B)
cmviewcl (to verify on A and B)
enable cluster service startup in /etc/rc.config.d/cmcluster on B
switch all packages to node B
# from here on same procedure with A and B reversed
starting with cmhaltnode A
....

finally switch packages to where they should run.

Regards
Bernhard

Note: if you still run HP-UX 10.20 this will NOT work!