Friday, April 10, 2009

HACMP Tips II - Utility Commands

Following utility commands are available under /usr/es/sbin/cluster/utilities.
If you use it very frequently, its better to add it to your PATH variable.

To list cluster and node topology information :
# cltopinfo (or) cllscf

To show the config for the nodes :
# cltopinfo -n

To show all networks configured in the cluster :
# cltopinfo -w

To show resources defined for all groups :
# clshowres

To show resources defined to selected the group :
# clshowres -g

To list all resource groups :
# cllsgrp

To list all file systems :
# cllsfs

To list the service IPs configured for a node :
# cllsip nodename

To show the whole cluster configuration :
# cldump

To show adapter information :
# cllsif

To show network information :
# cllsnw

To show the status of resource groups :
# clfindres

To list all resources :
# cllsres

To list all tape resources :
# cllstape

To list all nodes in a cluster :
# cllsnode

To list all application servers alongwith their start and stop scripts :
# cllsserv

To list all logical volumes in a cluster :
# cllslv

To list all IP networks in a cluster :
# cllsipnw

To list all alive network interfaces :
# cllsaliveif

1 comment:

Anonymous said...

nice post
thanks