Configuring a stray node disaster recovery environment

To set up a stray node disaster recovery environment, deploy your pattern across a primary rack and a standby rack to have stray nodes and auxiliary IBM® DB2® on the standby rack.

About this task

This procedure assumes that Rack A is defined to deploy IBM ODM primary servers, and Rack B is defined to deploy standby deployment manager stray nodes and auxiliary IBM DB2.

After you configure a stray node disaster recovery environment, if you restart the virtual system instance that you deployed, change the instance to the running status first. When you see that the instance status is changed to running, log in to the auxiliary DB2 virtual machine and run the db2 activate db odm command to activate your database.

Procedure

  1. Create block storage for General Parallel File System (GPFS™) on both Rack A and Rack B. Make the size of the block storage on Rack A and Rack B the same. For information about creating the storage for GPFS, see PureApplication® System: Add storage volumes.
  2. Set up block storage replication for GPFS on Rack A, and then accept the storage replication on Rack B:
  3. On Rack B, deploy the GPFS passive server by using the block storage:
    1. In the Environment Profile field, select the environment profile that supports a multisystem environment.
    2. Click Prepare to deploy to open the Deploy Pattern: GPFS Passive Server window.
    3. Set the file system name for selected storage volumes to odm.
    4. Ensure that the cloud group is consistent with the block storage on Rack B.
    For information about deploying the GPFS passive server, see PureApplication System: Deploying a single server topology.
  4. On Rack A, deploy the GPFS primary server:
    1. In the Environment Profile field, select the environment profile that supports a multisystem environment.
    2. In the GPFS Configurations field, select Passive Configuration.
    3. Click Prepare to deploy.
    4. Set the file system name for selected storage volumes to odm.
    5. Ensure that the cloud group is consistent with the block storage on Rack A.
    For information about deploying the GPFS primary server, see PureApplication System: Deploying a single server topology.
  5. On Rack A, retrieve the GPFS client key, selecting Client in the Key Type field. For information about retrieving the GPFS client key, see PureApplication System: Retrieve Key.
  6. On Rack A, deploy IBM Shared Service for GPFS with the GPFS client key that is under the environment profile that supports a multisystem environment. For information about deploying IBM Shared Service for GPFS, see PureApplication System: Deploying IBM Shared Service for GPFS.
  7. On Rack A, select the predefined pattern for stray node disaster recovery, and then configure the pattern for deployment:
    1. Click Workload Console > Patterns > Virtual Systems.
    2. Select a predefined pattern for stray node disaster recovery, and then click Deploy.
    3. In the Environment Profile field, select the environment profile that supports a multisystem environment.
    4. In the Pattern attributes list, display and modify the GPFS parameters:
      • If you deployed the IBM ODM 8.9.0 Decision Server Rules for Stray Node DR predefined pattern, under the Decision Server Rules Dmgr node and the Decision Server Rules Standby Dmgr node, expand the GPFS Client Policy subsection to modify the GPFS parameters.
      • If you deployed the IBM ODM 8.9.0 Decision Center for Stray Node DR predefined pattern, under the Decision Center Dmgr node and the Decision Center Standby Dmgr node, expand the GPFS Client Policy subsection to modify the GPFS parameters.
      For information about the parameters of GPFS Client Policy, see PureApplication System: Allocate Directories on Shared File Server.
    5. Complete the other information that is required.
    6. Click Prepare to deploy, and then drag the virtual machines of the following components to Rack B:
      • Decision Server Rules Standby Dmgr or Decision Center Standby Dmgr, which depends on the predefined pattern that you deployed
      • Decision Server Rules Stray Node or Decision Center Stray Node, which depends on the predefined pattern that you deployed
      • Auxiliary DB2
      • ODM IHS
        Note: Each predefined pattern for stray node disaster recovery has two IBM HTTP Server (IHS) instances, so ensure that both Rack A and Rack B have one IHS instance.
  8. On Rack B, check whether the stray nodes are correctly configured:
    1. Click Patterns > Pattern Instances > Virtual Systems, select the predefined pattern for stray node disaster recovery, and click Manage.
    2. Click Operations in the Instance Console window, and then click ODM_890_CustomNode.
    3. Click start all application servers in current custom profile > Submit, and then in the Operation Execution Results section check if the stray nodes are correctly configured.
    4. Click stop all application servers in current custom profile > Submit.
  9. To prepare for DB2 takeover, reduce the takeover time on Rack B by modifying the host mapping of the auxiliary DB2 in the /etc/hosts file on the stray custom nodes:
    1. In the /etc/hosts file, keep the host name of the auxiliary DB2 host mapping unchanged.
    2. Change the DB2 host IP so that it is the same as the auxiliary DB2 IP on Rack B.

What to do next

Recover your servers from a disaster. For more information, see Recovering from a disaster.