Tuesday, May 26, 2009

HACMP - AIX Common Commands


BASIC COMMANDS IN HACMP



The following commands can be run from the command line to obtain information about your
HACMP for AIX cluster environment. 

cl_convert - Converts Configuration Database of previous HACMP release to Configuration Database of current release. Run from the command line only if installation fails. Otherwise, it runs automatically with installation.

clconvert_snapshot Upgrades cluster snapshots.

clRGinfo Displays the status and location of a given resource group in the
cluster configuration.

clgetaddr Returns IP address for the specified node name.

clpasswd Changes a user’s password on each node in the cluster.

cllscf Lists cluster topology information.

cllsdisk Lists PVIDs of accessible disks in a specified resource chain.

cllsfs List filesystems accessible in a specified resource chain.

cllslv List the names of filesystems accessible by nodes in a specified resource chain.

cllsgrp Lists all resource groups.

cllsnim Lists contents of HACMPnetwork interface module Configuration Database class.

cllsparam Lists runtime parameters.

cllsres Lists Configuration Database resource data by name and arguments.

cllsserv Lists application servers by name.

cllsvg List volume groups accessible in a specified resource chain.

clshowres Shows node environment resources.

clstat Monitors status of cluster.

cltopinfo Lists all topology information: cluster, nodes, networks, interfaces.

get_local_nodename Retrieves the name of the local node.

clgetactivenodes Retrieves the names of all active cluster nodes.

clresactive Retrieves the names of all active resources.

HACMP for AIX C-SPOC Common Commands

The following C-SPOC commands function in cluster environments and can be run from the command line to manage the cluster. 

cl_clstop Stops cluster services on nodes running C-SPOC.

cl_lsfs Displays shared filesystem attributes for all cluster nodes.

cl_lsgroup Displays group attributes for all cluster nodes.

cl_lslv Displays shared logical volume attributes for cluster nodes.

cl_lsuser Displays user account attributes for all nodes.

cl_lsvg Displays shared volume group attributes for cluster nodes.

cl_nodecmd Runs a given command in parallel on a given set of nodes.

cl_rc.cluster Sets the operating environment and starts cluster daemons.

 

No comments:

Post a Comment