Aix HACMP
id : nfrkfo11ai
category : computer
blog : unix
created : 08/25/10 - 09:53:57

  • Logging :
# cd /var/hacmp/log

  • Move a ressource group to another node :
/usr/es/sbin/cluster/utilities/clRGmove -s 'false'  -m -i -g '<ressource_group>' -n '<node>'   

  • Show status :
# clstat
# cldump
# clfindres

  • Show config :
# cllscf

  • Verify :
# smit clverify

  • Start and stop cluster on node (you can stop or start all RG in the same time) :
    • Start :
# smit clstart

    • Stop :
# smit clstop

  • Ressources groups state :
# clRGinfo -v

  • List ressources groups :
# cllsserv

  • Get ressource group details :
# cmmsres -g <rgname>

  • Cluster status :
#lssrc -ls clstrmgrES

  • Cluster services :
# clshowsrv -av

  • If clstat do not work :
    • Try to refresh clinfoES
# refresh -s clinfoES
or
# stopsrc -s clinfoES
# startsrc -s clinfoES

    • If still not working :
# ps -ef | grep clinfo
# kill -9 <pid_of_clinfo>
# stopsrc -s snmpd
# stopsrc -s clinfoES
# startsrc -s clinfoES
# startsrc -s snmpd
... wait here for 2 minutes
# clstat -o