Linux operating systems

Activating the base policy

After you configure the resources, you must activate the policy on the primary and secondary nodes to create any remaining resources and the resource group.

About this task

To activate the base policy, you must create the Service IP resource and IBM Storage Protect application resources for the IBM Storage Protect server instance. Then, you must create the resource group and the policies to manage the cluster.

Procedure

Complete the following steps on all nodes in the cluster:

  1. Go to the /opt/tivoli/tsm/server/bin/tsam/bin directory.
  2. Update the following variables in the base_cluster_variables.sh script:
    • NODE1 specifies the host name for node 1 (primary node) in the cluster.
    • NODE2 specifies the host name for node 2 (secondary node) in the cluster.
    • IP_GATEWAY specifies the gateway of the Service IP.
    • SUBNET_MASK specifies the subnet mask of the Service IP.
    • NET_INT specifies the network interface name of a specific node in the cluster. This name must be the same for all the nodes in the cluster.
  3. Run the configureHA.sh configuration script by issuing the ./configureHA.sh command on all of the nodes in the cluster.
    If the configureHA.sh script fails with the -bash: ./configureHA.sh: /bin/bash^M: bad interpreter: No such file or directory error, issue the dos2unix command on all of the scripts in the bin directory. For example, for each script run the following command:
    dos2unix -o <filename>
  4. Verify that the configuration is a success by verifying that the configuration script runs successfully.
  5. Attention: Complete this step on the primary node only.
    Run the setup script by issuing the ./setup.sh command.
    For example, the following command runs the setup script on the inst1 IBM Storage Protect server instance for the dbinst1 instance user in the /tsminst1 IBM Storage Protect server instance directory with 9.11.142.129 as the service IP.
    ./setup.sh inst1 dbinst1 /tsminst1 9.11.142.129
  6. Verify that an IP resource group was created by running the following command:
    lssam -V
  7. Repeat step 3 for all of the IBM Storage Protect instances that you have in your IBM Storage Protect server environment.