Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Add Cluster Resource Group Node Entry (ADDCRGNODE) command is used to add a new node to the recovery domain of an existing cluster resource group. This command results in the preferred recovery domain and the current recovery domain being updated.
For primary-backup model cluster resource groups, the node can be added as another backup node, as a replicate node, or as the new primary node in the cluster resource group's recovery domain. A node can only be added as a primary node if the cluster resource group has a status of Inactive. When a new node is added as the primary, the old primary node becomes the last backup. If the cluster resource group has a status of Active, a node can be added as either a backup or a replicate.
For peer model cluster resource groups, the node can be added as a peer node or a replicate node. If the cluster resource group has a status of Active (10) and a peer node is added, the node will be added as an active access point.
A node can be added to a resilient device cluster resource group even if it has no device entries. Device entries must be added using the Add Cluster Resource Group Device Entry (ADDCRGDEVE) command before the cluster resource group can be started. If the node being added to a device cluster resource group is to become the new primary node, ownership of the devices specified are switched from the current primary to the new primary if none of the devices are varied on for the current primary. If any devices are varied on, an error message is returned. Devices are not varied on after the ownership is switched.
If a node is being added to a resilient device cluster resource group recovery domain with a site name and data port IP address, the node will be added to the recovery domain and then the QcstChangeClusterResourceGroup API will be used to add the site name and data port IP address to the node. If there is a failure due to the QcstChangeClusterResourceGroup call, then the node will be removed from the recovery domain.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CLUSTER | Cluster | Name | Required, Positional 1 |
CRG | Cluster resource group | Name | Required, Positional 2 |
RCYDMN | Recovery domain node list | Element list | Required, Positional 3 |
Element 1: Node identifier | Name | ||
Element 2: Node role | *CRGTYPE, *PRIMARY, *BACKUP, *REPLICATE, *PEER | ||
Element 3: Backup sequence number | 1-127, *LAST | ||
Element 4: Site name | Name, *NONE | ||
Element 5: Data port IP address |
Single values: *NONE Other values (up to 4 repetitions): Character value |
Top |
Specifies the cluster where the cluster resource group exists.
This is a required parameter.
Top |
Specifies the cluster resource group that will have the new node added to its recovery domain.
This is a required parameter.
Top |
Specifies the node and role for the node being added to the recovery domain of the cluster resource group specified for the Cluster resource group (CRG) parameter.
This is a required parameter.
Element 1: Node identifier
Specifies the node being added.
Element 2: Node role
Specifies the role the node being added is to have in the recovery domain of the cluster resource group specified. For primary-backup model cluster resource groups a node can have one of three roles: primary, backup, or replicate. For peer model cluster resource groups a node can have one of two roles: peer or replicate. Any number of nodes can be designated as a peer or replicate. The following summarizes the valid values for the node being added:
Element 3: Backup sequence number
Specifies the backup order for a node with role of *BACKUP. If there is already a node with the same backup order, the new node is inserted in the position requested. At the completion of the request, the nodes with backup roles will be sequentially renumbered from the first backup to the last. The first backup will always be 1.
Element 4: Site name
Specifies the site name of the recovery domain node. This is valid only for a device cluster resource group, specifically for geographic mirroring. A site contains a subset of recovery domain nodes in the same physical location. All nodes at a site have access to the same copy of auxiliary storage pool.
Element 5: Data port IP address
Specifies the data port IP address for the recovery domain node. This is valid only for a device cluster resource group, specifically for geographic mirroring. The data port IP address is used to to send updates from a source node that owns the production copy of auxiliary storage pool to a target node that owns the mirror copy of auxiliary storage pool.
Single values
Other values (up to 4 repetitions)
Top |
Example 1: Adding a Backup Node to a CRG Recovery Domain
ADDCRGNODE CLUSTER(MYCLUSTER) CRG(MYCRG) RCYDMN(NODE1 *BACKUP 3)
This command adds node NODE1 to the recovery domain of cluster resource group MYCRG in the cluster called MYCLUSTER. The node is added as the third backup node. Any existing backup nodes will be renumbered sequentially.
Example 2: Adding a Node with Multiple Dataport IP Addresses
ADDCRGNODE CLUSTER(MYCLUSTER) CRG(MYCRG) RCYDMN(NODE1 *BACKUP *LAST MYSITE ('1.1.1.1' '2.2.2.2'))
This command adds node NODE1 to the recovery domain of cluster resource group MYCRG in the cluster called MYCLUSTER. The node is added as the last backup node in the site MYSITE with 2 data port IP addresses.
Top |
Top |