Removing nodes and configuration objects using the Configure CRG Container command

Remove objects and cluster nodes with the Configure CRG Container (CFGCRGCNR) command

Refer to the topics Configuring a Cluster Resource Group container and Create a cluster resource group (CRG) container for the information about the setup of the cluster, CRGs and CRG container used in the example steps. Here, across two sites, the cluster has a CRG container, HACNR, that contains the device and data CRGs.

To run the Configure CRG Container (CFGCRGCNR) command and make changes to the nodes or CRGs of the cluster resource group (CRG) container, the cluster and container must meet these requirements:
  • The cluster node running the command must have a status of Active within the cluster.
  • At least one node in the current recovery domain for the CRG container must have the status of Active.
Depending on the specific action, additional requirements of conditions will apply.

These examples demonstrate the removal functions of the Configure CRG Container (CFGCRGCNR) command. The cluster HA_CLSTR is operating with two nodes at SITE01, NODE01 and NODE02. SITE02 has a single node, NODE03, The CRG container, HACNR is currently operating with one device CRG and two data CRGs. The configuration must be changed and DATACRG02 must be removed and NODE02 removed from the recovery domain of HACNR.

Removing a CGR from a CRG container

Before removing DATACRG02 from HACNR, make sure in addition to other restrictions that:
  • the CRG container must be ended first to a status of Inactive if removing the last CRG.
  • the CRG itself cannot have the status of Active.

To remove DATACRG02 from HACNR.

  1. At the command line type in CFGCRGCNR and press enter.
  2. On the Configure CRG Container (CFGCRGCNR) command screen, type in the name of the CRG container to start in the Container field.
    Here, HACNR is typed into the field.
  3. Type the specific action in the Action field and press Enter.
    In this case, the action is *RMVCRG.
    If necessary, press F4 to view all the parameter options.
  4. The Configuration object list field appears. Enter the name of the CRG, DATACRG02 to remove from the container. Press Enter.
DATAGRG02 is removed from the CRG container HACNR.

Another method of removing a CRG from the CRG container is through the Work with Cluster (WRKCLU) command screen > 9. Work with Cluster Resource Groups > option 7 = Configuration objects for the CRG container, to open the Work with Configured objects screen, here, select option 4 = Remove.

Removing a cluster node from the recovery domain of a CRG container

Before removing NODE02 from HACNR, the CRG DATACRG02 was removed. Now NODE02 can be removed from the recovery domain of the CRG container because no longer required. To remove a node from the recovery domain of the CRG container make sure in addition to other restrictions that:
  • If a CRG container has no backup nodes, the primary node cannot be removed.
  • The status of the CRG container cannot be Active.

Remove NODE02 from HACNR.

  1. At the command line type in CFGCRGCNR and press enter.
  2. On the Configure CRG Container (CFGCRGCNR) command screen, type in the name of the CRG container to start in the Container field.
    Here, HACNR is typed into the field.
  3. Type the specific action in the Action field and press Enter.
    In this case, the action is *RMVNOD.
    If necessary, press F4 to view all the parameter options.
  4. The Configuration object list field appears. Enter the name of the node, NODE02 to remove from the CRG container. Press Enter.
NODE02 is removed from the CRG container HACNR.

Another method of removing a cluster node from the CRG container is through the Work with Cluster (WRKCLU) command screen > 9. Work with Cluster Resource Groups > option 6 = Recovery domain for the CRG container, to open the Work with Recovery Domain screen, select option 4 = Remove node.