Configuring the multicluster proxy to point to a new primary host

If you have added a new primary host to multicluster's primary cluster to replace the existing one, you will need to configure the SMCP service profile so that it points to the new primary cluster.

Procedure

  1. Log on to your IBM® Spectrum Symphony primary host.
  2. Linux® hosts only: set your environment:
    • For csh or tcsh, use cshrc.platform.
      For example, run:
      source /opt/ibm/spectrumcomputing/multicluster/cshrc.platform
    • For sh, ksh, or bash, use profile.platform.
      For example, run:
      . /opt/ibm/spectrumcomputing/multicluster/smc/profile.platform
  3. Stop the multicluster proxy service:
    egosh service stop SMCP
  4. Switch to the following directory:
    • Linux: $EGO_CONFDIR/../../eservice/esc/conf/services
    • Windows: %EGO_CONFDIR%\..\..\eservice\esc\conf\services
  5. Edit the smcp.xml file as follows:
    1. Change the value of the environment variable SMC_KD_MASTER_LIST to specify the new primary cluster as first in the list.
    2. If you changed the port number for your primary cluster, change the value of SMC_KD_PORT to the new port number.
    3. Set the SMCP service to automatically start when the cluster starts or restarts by changing MANUAL to AUTOMATIC for the service.
    4. Save your changes.
  6. Start the multicluster proxy service:
    egosh service start SMCP
    Note: If a repurposing request instance is running while you are specifying a new multicluster primary cluster, the request instance will receive the status ERROR.
  7. Shut down and restart IBM Spectrum Symphony primary daemons:
    egosh ego shutdown
    egosh ego start