Configuring NNMi on the Secondary Cluster Nodes

Complete the following procedure on one secondary cluster node at a time.

  1. If you have not already done so, complete the procedure for Configuring NNMi on the Primary Cluster Node.
  2. If you have not already done so, complete the procedure for Verifying the Prerequisites to Configuring NNMi for High Availability.
  3. If you have not already done so, install NNMi (including the latest consolidated patch, if any), and then verify that NNMi is working correctly.
  4. Install the NNM iSPIs that you installed in step 3 of Configuring NNMi on the Primary Cluster Node.
  5. Stop NNMi:

    ovstop -c

  6. Create a mount point for the shared disk (for example, S:\ or /nnmmount).

    Note This mount point must use the same name as the mount point you created in step 6 of the procedure Configuring NNMi on the Primary Cluster Node.

  7. (RHCS only) Perform the following to add the necessary NNMscript resource to the /usr/share/cluster/cluster.rng file:

    1. Save a copy of the cluster.rng file.
    2. Edit the /usr/share/cluster/cluster.rng file as follows:

      1. Find <define name=”CHILDREN”>
      2. Embed the contents of the file /opt/OV/misc/nnm/ha/NNMscript.rng ahead of the statement found in the previous step.

        For example go one line above <define name=”CHILDREN”>, and type:

        :r /opt/OV/misc/nnm/ha/NNMscript.rng
      3. In the CHILDREN XML block, add the text that is bold in the following:

        <define name=”CHILDREN”>
         <zeroOrMore>
          <choice>
               <ref name=”SCRIPT”/>                
               <ref name=”NNMSCRIPT”/>
               <ref name=”NETFS”/>
      4. Save the cluster.rng file.
  8. (RHCS only) Copy the NNMi custom script into place, and then restart the HA cluster daemons.

    1. Copy the /opt/OV/misc/nnm/ha/NNMscript.sh file to the following location:

      /usr/share/cluster/NNMscript.sh
    2. Stop and then restart the /sbin/ccsd process.
  9. Configure the NNMi HA resource group:

    • Windows: %NnmInstallDir%\misc\nnm\ha\nnmhaconfigure.ovpl NNM
    • Linux: $NnmInstallDir/misc/nnm/ha/nnmhaconfigure.ovpl NNM

    Supply the HA resource group name when the command requests this information.

  10. Verify that the configuration was successful:

    • Windows:

      %NnmInstallDir%\misc\nnm\ha\nnmhaclusterinfo.ovpl 
      -group
      <resource_group> -nodes
    • Linux:

      $NnmInstallDir/misc/nnm/ha/nnmhaclusterinfo.ovpl 
      -group
      <resource_group> -nodes

    The command output lists all configured nodes for the specified HA resource group.

  11. Optionally, test the configuration by taking the NNMi HA resource group on the primary node offline and then bringing the NNMi HA resource group on the secondary node online.