CL Command Reference - ENDCRG

CL Command List > ENDCRG Reference

Description:

The End Cluster Resource Group (ENDCRG) command disables resiliency of the specified cluster resource group. The cluster resource group status is set to Inactive if the resilency is ended on all nodes in the recovery domain. The resources associated with the cluster resource group are no longer resilient. That is, there is no failover or switchover action provided for these resources while the cluster resource group is ended.

Ending a device cluster resource group will not change the ownership of devices. The devices remain on whatever nodes owns them at the time the command is run. Also, the devices are not varied off when the cluster resource group is ended.

Ending a peer cluster resource group will end the access point for the cluster resources on all nodes defined as a peer node.

If an exit program is specified for the cluster resource group, it is called with an action code of End on each active node in the recovery domain. When the exit program is called, the cluster resource group status is set to End Pending. Successful completion of the exit program sets the cluster resource group status to Inactive. In addition, for an application cluster resource group:
1. The current exit program job on the primary node will be cancelled with the *IMMED option.
2. The takeover IP interface for the cluster resource group will be ended for the application cluster resource group.

If the exit program fails and the original state of the cluster resource group cannot be recovered, the cluster resource group status is set to Indoubt.


Examples:

ENDCRG CLUSTER(MYCLUSTER) CRG(MYCRG)
EXITPGMDTA(¡¯important information¡¯)

This command ends resiliency of the cluster resource group called MYCRG in the cluster called MYCLUSTER. When the cluster resource group exit program is called, it will be passed the exit program data ¡¯important information¡¯ on all active nodes in the recovery domain.