consider cluster is having 2 nodes - nodeA and nodeB. and i added stand by lan for nodeB.
>>Login to the server nodeA
STEP 1 : remove the node from all package configuration
#cmviewcl -v
#cmgetconf -v -p pkgname pkngname.conf_new
Then remove the below line from the conf file
#vi pkgname.conf_new
NODE_NAME nodeB
save and exit
# cmcheckconf -v -P pkngname.conf_new
# cmapplyconf -v -P pkngname.conf_new
#cmviewcl -v -p pkngname.conf_new -----> verify the node is removed from pkg config
=================================================
STEP 2: Halt the node nodeB and remove the node from cluster
#cmviewcl -v
#cmhaltnode -v nodeB
#cmgetconf -v -c clustername cluster.ascii
Edit the cluster.ascii file and remove the node - nodeB from that file
#NODE_NAME nodeB
NETWORK_INTERFACE lan0
HEARTBEAT_IP 10.161.1.58
NETWORK_INTERFACE lan2
HEARTBEAT_IP 10.160.7.72
save and exit
#cmcheckconf -v -C cluster.ascii
#cmapplyconf -v -C cluster.ascii
#cmviewcl -v
==================================================================================================
STPE 3 : Add the node nodeB to cluster with standby lan.
#cmgetconf -v -c cluster cluster.ascii
#edit the cluster.ascii and then add node nodeB with standby lan
NODE_NAME nodeB
NETWORK_INTERFACE lan0
HEARTBEAT_IP 10.161.1.58
NETWORK_INTERFACE lan2
HEARTBEAT_IP 10.160.7.72
NETWORK_INTERFACE lan3
save and exit.
#cmcheckconf -v -C cluster.ascii
#cmapplyconf -v -C cluster.ascii
Then start the cluster on nodeB
#cmrunnode -v nodeB
#cmviewcl -v
==================================================================================================
STPE 4 : Need to add the node to all the package where this node already configured.
#cmgetconf -v -p pkgname pkgname.conf_new
Then add the below line from the conf file
#vi pkgname.conf_new
NODE_NAME nodeb
# cmcheckconf -v -P pkgname.conf_new
# cmapplyconf -v -P pkgname.conf
#cmviewcl -v -p pkgname -----> verify the node is removed from pkg config
>>Login to the server nodeA
STEP 1 : remove the node from all package configuration
#cmviewcl -v
#cmgetconf -v -p pkgname pkngname.conf_new
Then remove the below line from the conf file
#vi pkgname.conf_new
NODE_NAME nodeB
save and exit
# cmcheckconf -v -P pkngname.conf_new
# cmapplyconf -v -P pkngname.conf_new
#cmviewcl -v -p pkngname.conf_new -----> verify the node is removed from pkg config
=================================================
STEP 2: Halt the node nodeB and remove the node from cluster
#cmviewcl -v
#cmhaltnode -v nodeB
#cmgetconf -v -c clustername cluster.ascii
Edit the cluster.ascii file and remove the node - nodeB from that file
#NODE_NAME nodeB
NETWORK_INTERFACE lan0
HEARTBEAT_IP 10.161.1.58
NETWORK_INTERFACE lan2
HEARTBEAT_IP 10.160.7.72
save and exit
#cmcheckconf -v -C cluster.ascii
#cmapplyconf -v -C cluster.ascii
#cmviewcl -v
==================================================================================================
STPE 3 : Add the node nodeB to cluster with standby lan.
#cmgetconf -v -c cluster cluster.ascii
#edit the cluster.ascii and then add node nodeB with standby lan
NODE_NAME nodeB
NETWORK_INTERFACE lan0
HEARTBEAT_IP 10.161.1.58
NETWORK_INTERFACE lan2
HEARTBEAT_IP 10.160.7.72
NETWORK_INTERFACE lan3
save and exit.
#cmcheckconf -v -C cluster.ascii
#cmapplyconf -v -C cluster.ascii
Then start the cluster on nodeB
#cmrunnode -v nodeB
#cmviewcl -v
==================================================================================================
STPE 4 : Need to add the node to all the package where this node already configured.
#cmgetconf -v -p pkgname pkgname.conf_new
Then add the below line from the conf file
#vi pkgname.conf_new
NODE_NAME nodeb
# cmcheckconf -v -P pkgname.conf_new
# cmapplyconf -v -P pkgname.conf
#cmviewcl -v -p pkgname -----> verify the node is removed from pkg config
3 Comments
#cmviewcl -v -p pkgname -----> verify the node is removed from pkg config..????? last line is meant to see the node removed???
ReplyDeleteAD5BC0DD56
ReplyDeletehacker kirala
hacker kiralama
tütün dünyası
hacker bulma
hacker kirala
D8E635A05D
ReplyDeletesteroid sipariş
Whatsapp Görüntülü Show Numaraları
sigara satın al