Sunday 23 February 2014

RG offline with "unmanaged resource group"



Before rebooting cluster nodes, makesure to check the inittab... If someone could have bring the RG offline with "unmanaged resource group" earlier, you may this see this entry in inittab.

hacmp6000:2:wait:/usr/es/sbin/cluster/etc/rc.cluster -boot -i -b -A   # Bring up Cluster

All you need to delete this enty in inittab and reboot the server.. or else, once the server gets rebooted, it will try to  Bring up Cluster and the applications online, which is not required.



server1:/var/hacmp/log # lsitab -a | grep hacmp
hacmp:2:once:/usr/es/sbin/cluster/etc/rc.init >/dev/console 2>&1
hacmp6000:2:wait:/usr/es/sbin/cluster/etc/rc.cluster -boot -i -b -A   # Bring up Cluster


server1:/var/hacmp/log #
server1:/var/hacmp/log #
server1:/var/hacmp/log # rmitab hacmp6000


server1:/var/hacmp/log # lsitab -a | grep hacmp
hacmp:2:once:/usr/es/sbin/cluster/etc/rc.init >/dev/console 2>&1
server1:/var/hacmp/log #

2 comments:

  1. Very usefull information to AIX Admin. Thanks sankar !!!

    ReplyDelete
  2. Hi Sankar. Thank you for this blog. I have one question.

    Newbie question here. Just got thrown to PowerHA, took first class but still have not put this into practical use. My senario.

    2 node cluster, DATABASE(resources) is running on secondary server.

    I need to perform maintenance on primary. Which and why option to use? Unmanage Resource Groups or Bring Resource Group Offline. To me they seem to perform the same action IF nothing is running on the primary server in my example.

    ReplyDelete