Manually adding resource group and node entries to an application group - assure_mimix - 10.0

Assure MIMIX Administrator Reference

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure MIMIX™ Software
Version
10.0
Language
English
Product name
Assure MIMIX
Title
Assure MIMIX Administrator Reference
Copyright
2023
First publish date
1999
ft:lastEdition
2024-05-07
ft:lastPublication
2024-05-07T13:36:02.962500

For some environments, you need to manually update the configuration information needed for application groups. This includes environments that perform bi-directional replication and environments where data groups broadcast the same replicated data to multiple systems using data groups that do not have the same name. For these environments, the following instructions replace Step 3 and Step 4 of the Checklist: converting to application groups.

Do the following to manually add a data resource group entry and identify it within the data groups, and assign node roles within an application group:

  1. Use the ADDDTARGE command to add a data resource group entry of type *DTA to an application group.

  2. For each data group to be associated in the same data resource group, use the CHGDGDFN command and specify the name of the data resource group entry added in Step 1 as the value for DTARSCGRP.

  3. For each node (system) included in the data groups, use the ADDNODE command to specify the node’s role (ROLE) and add the node to the application group.

Example: simple three-node broadcast environment

This example manually sets up configuration information for a simple three-node broadcast environment controlled by an application group. In this example, all objects and changes on SYSA will be replicated to SYSB and SYSC.

The following data groups to accomplish this exist:
DTA1 SYSA SYSB
DTA2 SYSA SYSC
DTA3 SYSB SYSC

Also, the application group, APPGRP1, has already been created.

For this example, the following steps create a data resource group entry, add the data groups to the resource group entry, and define the node role of each system within the application group.

  1. Add a data resource group entry to the application group APPGRP1.

    ADDDTARGE AGDFN(APPGRP1) DTARSCGRP(RCSGRP1) TYPE(*DTA)
  2. Change the data group definitions, specifying RSCGRP1 as the value for the Data resource group entry.

    CHGDGDFN DGDFN(DTA1) DTARSCGRP(RSCGRP1)
    CHGDGDFN DGDFN(DTA2) DTARSCGRP(RSCGRP1)
    CHGDGDFN DGDFN(DTA3) DTARSCGRP(RSCGRP1)
  3. Define the correct node role for each node as you add the nodes to the application group.

ADDNODE AGDFN(APPGRP1) RSCGRP(*AGDFN) NODE(SYSA) ROLE(*PRIMARY)
ADDNODE AGDFN(APPGRP1) RSCGRP(*AGDFN) NODE(SYSB) ROLE(*BACKUP) POSITION(1)
ADDNODE AGDFN(APPGRP1) RSCGRP(*AGDFN) NODE(SYSC) ROLE(*BACKUP) POSITION(2)