Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Cluster Recovery (CHGCLURCY) command is used for problem recovery. Use this command only when directed by service provider. It directs a node in a cluster resource group to perform a specific recovery action. The recovery action can cancel the current protocol, force a recovery of the cluster resource group object associated with the cluster resource group, force a rejoin with the cluster resource group, end the job that is associated with the cluster resource group, cause a CRG job to be submitted on the node where the CHGCLURCY command was executed. The CRG job being submitted must not be currently running.
The actions are intended to be used when a cluster resource group is experiencing a problem, and you need to force some recovery action onto the group. The problem may not be due to Cluster Resource Services. For example, Cluster Resource Services submits a job to invoke user exit programs. If the job is held, then it appears to a user that the cluster resource group is hung. A user may not know what exit program job was submitted, and so cannot perform any recovery outside of the cluster. Performing the appropriate recovery action with CHGCLURCY can satisfy Cluster Resource Services so it can fail the protocol that invoked the exit program job and continue.
Restrictions:
Warning: Use caution with this command, recovery actions cannot be undone or canceled.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CLUSTER | Cluster | Name | Required, Positional 1 |
CRG | Cluster resource group | Name, *ALL | Required, Positional 2 |
NODE | Node identifier | Name, *ALL | Required, Positional 3 |
ACTION | Action | *CANCEL, *RESTART, *REJOIN, *END, *STRCRGJOB | Required, Positional 4 |
Top |
Specifies the cluster that is to be operated upon.
This is a required parameter.
Top |
Specifies the cluster resource group that is to be operated upon.
This is a required parameter.
Top |
Specifies the cluster node that is to be operated upon.
This is a required parameter.
Top |
Specifies a recovery action for the specified cluster resource group on the specified node.
This is a required parameter.
Notes:
Top |
Example 1: Recovery Action for One Node in One Cluster Resource Group
CHGCLURCY CLUSTER(EXAMPLE) CRG(CRG1) NODE(NODE1) ACTION(*CANCEL)
This command cancels the current protocol in cluster resource group CRG1 on node NODE1 in cluster EXAMPLE.
Example 2: Recovery Action for a Reserved Cluster Resource Group
CHGCLURCY CLUSTER(EXAMPLE) CRG(QCSTCRGM) NODE(NODE1) ACTION(*RESTART)
This command causes node NODE1 of cluster resource group QCSTCRGM in cluster EXAMPLE to end clustering on NODE1. Clustering on NODE1 will attempt to automatically restart itself as though NODE1 was started with the Start Cluster Node (STRCLUNOD) command.
Example 3: Recovery Action for All Nodes
CHGCLURCY CLUSTER(EXAMPLE) CRG(CRG1) NODE(*ALL) ACTION(*END)
This command causes all cluster jobs on all nodes associated with cluster resource group CRG1 in cluster EXAMPLE to end. No further operations on CRG1 can be performed on a given node until that node has clustering ended, and then started. The End Cluster Node (ENDCLUNOD) and STRCLUNOD commands may be used for ending and starting a cluster node.
Example 4: Recovery Action for All Groups
CHGCLURCY CLUSTER(EXAMPLE) CRG(*ALL) NODE(NODE1) ACTION(*END)
This command causes all cluster jobs on node NODE1 in cluster EXAMPLE to end. This has the effect of ending clustering on NODE1. To start the cluster jobs on NODE1 requires NODE1 to have clustering started on it. The STRCLUNOD command may be used for starting a cluster node.
Example 5: Start CRG1 Job on Node NODE1
CHGCLURCY CLUSTER(EXAMPLE) CRG(CRG1) NODE(NODE1) ACTION(*STRCRGJOB)
This command will cause cluster resource group job, CRG1, on node NODE1 to be submitted. To start the cluster resource group job on NODE1 requires NODE1 to have clustering started on it. The STRCLUNOD command may be used for starting a cluster node.
Top |
*ESCAPE Messages
Top |