clRGinfo command
****************

Syntax

clRGinfo [ -p ]	[ -s ] [ groupname1 ] [	groupname2 ]
clRGinfo [ -h ]

Description

The clRGinfo command can be used from the command line to display the
location and state of the specified resource groups.  If cluster
services are running on	the node on which the command is run then
clRGinfo will get resource group information from the local cluster
manager.  If cluster services are not running on the node on which the
command	is run then clRGinfo will attempt to get resource group
information from any other nodes in the	cluster	on which cluster
services are running.  If cluster services are not running on any node
in the cluster,	then the state of every	resource group will be listed
as OFFLINE.

The exit values	for this command are:

0 Success
1 Operation could not be performed

Note: When the cluster is stable, resource groups should be in either
an ONLINE or OFFLINE state. If an error	occurs during event
processing, a resource group may be left in a transitory state
(ACQUIRING for example).  If clRGinfo indicates	any groups in this
condition, you must manually re-run the	events to update the resource
group state.  If the group state is not	correct, subsequent cluster
events will not	handle resource	group movement correctly.

Parameters

-p   Display Priority Override Locations.

-s   Display in	colon (shortened) format.

-h   Print usage message.


A sample report	is shown below in normal format:

-----------------------------------------------------------------------------
Group Name     Type	  State		       Location
-----------------------------------------------------------------------------
casc_rg	       cascading  OFFLINE	       central
			  ONLINE	       davis

rot_rg	       rotating	  ONLINE	       davis
			  OFFLINE	       central

conc_rg	       concurrent OFFLINE	       central
			  ONLINE	       davis


A sample report	is shown below with the	-p flag:

-----------------------------------------------------------------------------
Group Name     Type	  State		       Location	    Priority Override
-----------------------------------------------------------------------------
casc_rg	       cascading  OFFLINE	       central	    davis (PERSISTENT)
			  ONLINE	       davis	    davis (PERSISTENT)

rot_rg	       rotating	  ONLINE	       davis
			  OFFLINE	       central

conc_rg	       concurrent OFFLINE	       central	    OFFLINE (PERSISTENT)
			  ONLINE	       davis


A condensed colon separated format follows with	the -p flag:

casc_rg:OFFLINE:central:cascading:davis:PERSISTENT
casc_rg:ONLINE:davis:cascading:davis:PERSISTENT
rot_rg:ONLINE:davis:rotating::
rot_rg:OFFLINE:central:rotating::
conc_rg:OFFLINE:central:concurrent:OFFLINE:PERSISTENT
conc_rg:ONLINE:davis:concurrent::


Implementation Specifics

This command is	part of	High Availability Cluster Multi-Processing for
AIX (HACMP for AIX).

Files

/usr/es/sbin/cluster/utilities/clRGinfo	  The clRGinfo command executable
					  file.

Suggested Reading

HACMP for AIX Planning and Installation	Guide

Prerequisite Information

Related	Information

The clRGmove command.