Linux operating systems

Configuring the primary node

To set up the two-node topology, configure the IBM Storage Protect components on both nodes. First, you must configure the IBM Storage Protect instance on the primary node.

Before you begin

  • Verify that a local IBM Storage Protect instance user and a local home directory for the instance user is defined on each node in the cluster. The instance user's home directory must be local to each node in the cluster and not NFS mounted.
  • Verify that the IBM Storage Protect instance owner has the same user and group ID for all of the nodes in the cluster domain.
  • Verify that the IBM Storage Protect instance owner has the same password for all of the cluster nodes.

Procedure

  1. For detailed instructions about creating the directories and the user ID for the server instance, see Linux®: Creating the user ID and directories for the server instance.
  2. Verify that the IBM Storage Protect server, the IBM Db2 instance, the active and archive log directories, and the mirror log directory, if applicable, are shared.
  3. Define the mount points by adding entries to the /etc/fstab file.

    When you add mount points on the cluster nodes, use the noauto option to prevent the mount points from being automatically mounted on more than one node in the cluster.

  4. Set the following permissions on each of the mount points:
    • The 755 permission. For example, the following command sets the 755 permission on the /tsminst1 mount point:
      chmod -R 755 /tsminst1
    • IBM Storage Protect server instance owner. For example, the following command sets the permissions for the instance owner:
      chown -R  tsminst1  /tsminst1
    • IBM Storage Protect server group that the instance owner belongs to. For example, the following command sets the permissions for the instance owner's group:
      chgrp tsmsrv_1_group /tsminst1 
  5. Mount the shared resources.
  6. Create the IBM Storage Protect server instance by issuing the db2icrt command. For instructions, see Creating the server instance. Alternatively, use the configuration wizard to create the server instance. For instructions, see Creating the server instance.
    Important: The home directory for the instance user cannot be shared between the primary and secondary cluster nodes or the db2icrt command will fail. For example, if the user ID for the instance is tsminst1 and the user's home directory is /home/tsminst1, you cannot mount to home directory /home/tsminst1 on two or more nodes in the cluster.
  7. Log in to the primary node by using the instance user ID. Change to the instance directory and start the IBM Storage Protect server instance on the primary node by using the DSMSERV utility.
    For example, the following command starts the server for normal operation:
    /opt/tivoli/tsm/server/bin/dsmserv
  8. Verify that the IBM Storage Protect components are started without any errors.
  9. Halt the IBM Storage Protect server.
  10. Log in with the root user ID and unmount the shared drives.