Configure stand by LAN for node on running Cluster : How to ??

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

Post a Comment

5 Comments

  1. #cmviewcl -v -p pkgname -----> verify the node is removed from pkg config..????? last line is meant to see the node removed???

    ReplyDelete

  2. Phishing-Simulationen sind heute eine bewährte Methode, um die Sicherheitskultur in Unternehmen zu stärken. Dabei werden gezielt gefälschte E-Mails versendet, um Mitarbeitende auf Betrugsversuche aufmerksam zu machen. Die Ergebnisse lassen sich mit klaren KPIs messen, etwa wie viele Nutzer den Link klicken oder Passwörter preisgeben. Für eine effektive Cybersecurity Weiterbildungsmaßnahme sollte man diese Daten regelmäßig auswerten und daraus konkrete Schulungspläne ableiten. Auf https://csvisor.de/ zeigt sich, dass Firmen mit einer Erfolgskontrolle ihrer Awareness-Programme nach ISO 27001 besser auf Angriffe vorbereitet sind.

    ReplyDelete