C H A P T E R  7

Cannot Add Nodes to a Running Cluster

When you have a running cluster of two master-eligible nodes, you can add diskless nodes and dataless nodes. For information about supported cluster configurations, see the Netra High Availability Suite 3.0 1/08 Foundation Services Getting Started Guide. For information about how to add a node to a running cluster, see the Netra High Availability Suite 3.0 1/08 Foundation Services Cluster Administration Guide.

If you cannot add a node to a cluster, read the following section.


Cannot Add a Node to a Running Cluster by Using the nhinstall Tool

For information about how to add diskless nodes to a cluster by using the nhinstall tool, see the Netra High Availability Suite 3.0 1/08 Foundation Services Cluster Administration Guide. If the node or nodes are not added successfully, perform the following procedure.

procedure icon  To Investigate Why You Cannot Add a Diskless Node to a Running Cluster by Using the nhinstall Tool

  1. Confirm that you are able to add nodes to your cluster without generating an unsupported cluster configuration.

    For information about supported cluster configurations, see the Netra High Availability Suite 3.0 1/08 Foundation Services Getting Started Guide.

    1. Log in to a peer node.

    2. Establish your current cluster configuration:


      # nhcmmstat -c all
      

      The nhcmmstat tool displays information about the nodes in the cluster. For information, see the nhcmmstat1M man page.

    3. Confirm that you will not generate an unsupported cluster configuration by adding your new nodes.

      • If your new cluster configuration is supported, go to Step 7.

      • If your new cluster configuration is not supported, you cannot add the new nodes.

  2. Verify that your cluster has a Solaris environment for diskless nodes.

    On a master-eligible node, look for a directory called /export/os, where os is Solaris_9 or Solaris_10.

    • If the environment exists, go to Step 10.

    • If the environment does not exist, do the following:

      a. Create the Solaris environment.

      For information, see the Netra High Availability Suite 3.0 1/08 Foundation Services Manual Installation Guide for the Solaris OS.

      b. Add the new diskless node.

  3. Verify that the nodes that you want to install are defined in the cluster_definition.conf file and are used in the nhinstall add command.

    For example, the cluster_definition.conf file for a cluster of two master-eligible nodes would contain the following lines:


    NODE=10 08:00:20:f9:b3:6a
    NODE=20 08:00:20:f9:aa:66
    

    To add two diskless nodes, you edit the cluster_definition.conf file to add the two new nodes. For example, to add node 30 and node 40, edit the file as follows:


    NODE=10 08:00:20:f9:b3:6a
    NODE=20 08:00:20:f9:aa:66
    NODE=30 08:00:20:f9:b3:aa 08:00:20:f9:b3:ab node30
    NODE=40 08:00:20:f9:b3:bb 08:00:20:f9:b3:bc node40
    

    When you run the nhinstall add command, identify both of the nodes:


    # /opt/SUNWcgha/sbin/nhinstall -r /home/nhasconf add 30 40
    

    where /home/nhasconf is the directory containing the nhinstall configuration files.

    The installation fails if you identify one node only, for example:


    # /opt/SUNWcgha/sbin/nhinstall -r /home/nhasconf add 30
    

    If the installation fails, rerun the nhinstall add command and identify all of the new nodes that are defined in the cluster_definition.conf file.

  4. Determine whether you have changed any options in the cluster_definition.conf file since you installed the master-eligible nodes.

    The cluster_definition.conf file must contain the same options as it had at the initial installation of the master-eligible nodes.

  5. Verify that the addon.conf file, if present, is configured correctly.

    For information about the addon.conf file, see the addon.conf4man page.

  6. If you still cannot add diskless nodes to the cluster, reinstall your cluster. Include the diskless nodes in your new cluster definition.