Adding nodes and configuration objects using the Configure CRG Container command

Adding 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.

Configure CRG Container (CFGCRGCNR) command allows users to make changes to the cluster resource group (CRG) container by either adding or removing cluster nodes or by adding or removing CRGs to the CRG container.

To run the Configure CRG Container (CFGCRGCNR) command and make changes to the nodes or CRGs of the 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 or conditions will apply.

These examples demonstrate the addition functions of the Configure CRG Container (CFGCRGCNR) command. The cluster HA_CLSTR is operating with one node on each of the two sites NODE01 at SITE01 and NODE03 at SITE02. The CRG container, HACNR currently is operating with one device CRG and one data CRG. The configuration must be changed to include a second data CRG named DATACRG02, and another node, NODE02 will be added to SITE01.

Adding a cluster node to the recovery domain of a CRG container

Before adding DATACRG02 to HACNR, another node, NODE02 must be added to recovery domain of the CRG container because it is part of the recovery domain of DATACRG02. To add a node to the recovery domain of the CRG container make sure in addition to other restrictions that:
  • A member of the cluster containing the other nodes, CRG, and CRG container.
  • The node is not already a member of the recovery domain of the CRG Container.
  • If the node being added is a primary node, then the CRG container status must be changed to Inactive.

Add the new node, NODE02 to 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 *ADDNOD.
    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 add to the CRG container. Press Enter.
NODE02 is added to the CRG container HACNR.

Another method of adding a cluster node to 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 1 = Add node.

Adding a CRG to a CRG container

To add DATACRG02 to the CRG container HACNR, the CRG must be:
  • Configured for use in the cluster.
  • Must not be a managed CRG inside another CRG container.
  • All cluster nodes assigned to the CRG recovery domain must be included in the recovery domain of the CRG container.

When ready, add DATACRG02 to 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 *ADDCRG.
    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 add to the CRG container. Press Enter.
DATACRG02 is added to the CRG container HACNR.

Another method of adding a CRG to 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 1 = Add.