Configuring highly available production servers - Option 1 - assure_mimix - assure_mimix_for_aix - 6.0

Assure MIMIX for AIX Guide

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure MIMIX™ Software for AIX
Version
6.0
ft:locale
en-US
Product name
Assure MIMIX for AIX
ft:title
Assure MIMIX for AIX Guide
Copyright
2025
First publish date
2003
ft:lastEdition
2025-03-12
ft:lastPublication
2025-03-12T05:07:12.494000

Follow the steps below to configure a Highly Available production server environment:

Note: In the steps below, APPLICATION_RG is used as the name of the PowerHA Resource Group that contains the application (production) logical volumes and file systems that would be protected by Assure MIMIX for AIX. MIMIX_COMMON_RG is used as the name of PowerHA Resource Group, containing the Assure MIMIX for AIX configuration. MIMIX_VG is the name of the shared volume group containing the logical volumes of Assure MIMIX for AIX containers. You can use any other names to suit your environment. 1 and 17 are used as the Primary and Failover Context IDs respectively. If 1 and 17 are already used by another Assure MIMIX for AIX Replication Group configuration, change these values to next available unique ID values such as 2 and 18.
  1. On the primary production server and recovery server, varyonvg all volume group(s) associated with the Assure MIMIX for AIX configuration.

  2. On the primary production server, use PowerHA C-SPOC to create file systems /usr/scrt/run/c<Primary Context ID> and /usr/scrt/run/c<FailOver Context ID> with inline logs on one of the shared enhanced concurrent mode volume groups that contains the production server logical volumes you want protected. The filesystem must be at least 128 MB in size.

  3. On the primary production server, mount the file systems associated with the Assure MIMIX for AIX configuration.

    • mount /usr/scrt/run/c<Primary Context ID>

    • mount /usr/scrt/run/c<Failover ContextID>

  4. Use the Replication Group wizard to configure the Primary Context.

    Refer to the section Chapter 6, Configuring Replication Groups.

    After the creation of the Assure MIMIX for AIX Replication Group Configuration perform the following steps.

    Note: You must manually copy and load the Assure MIMIX for AIX configuration onto the failover production server.
  5. On the primary production server, create a file with the Primary Context ID configuration.

    • odmget -q ContextID=<Primary Context ID> SCCuObj SCCuAttr SCCuRel >/tmp/C<Primary Context ID>.cfg

    • Copy this configuration file to /tmp on the Failover Production Server.

  6. On the primary production server, create a file with the Failover Context ID configuration.

    • odmget -q ContextID=<Failover Context ID> SCCuObj SCCuAttr SCCuRel >/tmp/C<Failover Context ID>.cfg

    • Copy this configuration file to /tmp on the Failover Production Server.

  7. On the failover production server use rthostid to obtain its “HostId”.

    /usr/scrt/bin/rthostid
  8. On the failover production server edit the production HostId stanza in the /tmp/C<Primary Context ID>.cfg file. Replace the contents of the “ObjectAttributeValue” field with the output from the "rthostid" command.

    SCCuAttr:
    ObjectName = "production"
    ConfigObjectSerial = 15
    ObjectType = "SCRT/info/host"
    ObjectAttributeName = "HostId"
    ObjectAttributeValue = "6CABA7DF"
    ObjectAttributeType = "ulong"
    SerialNumber = 15006
    ObjectNlsIndex = 0
    SC_reserved = 0
    ContextID = 1
  9. On the failover production server edit the backup HostId stanza in the /tmp/C<Failover Context ID>.cfg file replacing the content of the “ObjectAttributeValue” field with the output from the “rthostid” command.

    SCCuAttr:
    ObjectName = "backup"
    ConfigObjectSerial = 4
    ObjectType = "SCRT/info/host"
    ObjectAttributeName = "HostId"
    ObjectAttributeValue = "5FBBC3EF"
    ObjectAttributeType = "ulong"
    SerialNumber = 4006
    ObjectNlsIndex = 0
    SC_reserved = 0
    ContextID = 11
  10. On the failover production server, use sccfgd_putcfg to load the configurations onto the node.

    • /usr/scrt/bin/sccfgd_putcfg <Primary Context ID> /tmp/C<Primary Context ID>.cfg

    • /usr/scrt/bin/sccfgd_putcfg<Failover Context ID> /tmp/C<Failover Context ID>.cfg

  11. On the primary production server, use /usr/sbin/lvlstmajor to obtain a list of unused device major numbers:

    lvlstmajor

    46,50,54,57,64,67,70,73..75,82..93,95...

  12. On the failover production server, use /usr/sbin/lvlstmajor to obtain a list of unused device major numbers:

    lvlstmajor

    51,54,57,61,65,69,82...

  13. On the primary production server, use es_ha_config to configure a device major number for the Primary Context ID. Choose a device major number that is the same on both production servers.

    es_ha_config <Primary ContextID> [NewMajorNumber]

    For example, when you execute:

    es_ha_config 1 82

    The Primary Context ID is 1, and the new device major number 82, is available on both production servers.

  14. On the failover production server, use es_ha_config to configure a device major number for the Primary Context ID. Choose a device major number that is the same on both production servers.

    es_ha_config<Primary ContextID>[NewMajorNumber]

    For example, when you execute

    es_ha_config 1 82

    The Primary Context ID is 1, and the new device major number 82, is available on both production servers.

  15. On the primary production server, unmount the file systems associated with the Assure MIMIX for AIX configuration.

    • unmount /usr/scrt/run/c<Primary Context ID>

    • unmount /usr/scrt/run/c<Failover Context ID>

  16. On the primary production server, varyoff all volume group(s) associated with the Assure MIMIX for AIX configuration.

  17. On both production servers, the file systems protected by Assure MIMIX for AIX should not be automatically mounted at system restart. Change the auto-mount attribute to “no”.

  18. On the secondary production server, add the replication group port numbers to /etc/services.

    The port numbers to add can be found in the /etc/services file on the primary production server.

    For example, these port numbers are for primary context id 1 and failover context id 17:

    sc1aba_dchannel            5779/tcp
    sc1aba_dchannel            5783/tcp
    sc1lca_channel             5780/tcp
    sc1lca_dchannel            5784/tcp
    sc1aa_channel              5778/tcp
    sc1aa_achannel             5782/tcp
    sc1ra_channel              5785/tcp
    sc1ca_channel              5781/tcp 
    sc17aba_channel            5787/tcp
    sc17aba_dchannel            5791/tcp
    sc17lca_channel            5788/tcp
    sc17lca_dchannel            5792/tcp
    sc17aa_channel             5786/tcp
    sc17aa_achannel            5790/tcp
    sc17ra_channel             5793/tcp
    sc17ca_channel             5789/tcp
  19. Before starting Assure MIMIX for AIX on the production server, you must stop your application and unmount the protected file systems.