sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
1. 2. Chapter 8 # 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 Foundation Services 2.1 6/03 Hardware Guide. For information about how to add a node to a running cluster, see the Netra High Availability Suite Foundation Services 2.1 6/03 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 Foundation Services 2.1 6/03 Cluster Administration Guide. If the node or nodes are not added successfully, perform the following procedure. Note - You cannot add dataless nodes to a cluster by using the `nhinstall` tool. ### To Investigate Why You Cannot Add a Diskless Node to a Running Cluster by Using the `nhinstall` Tool 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 Foundation Services 2.1 6/03 Hardware Guide. Log in to a peer node. Establish your current cluster configuration:
          # nhcmmstat -c all
3. The `nhcmmstat` tool displays information about the nodes in the cluster. For information, see the `nhcmmstat`(1M) man page. 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 2. If your new cluster configuration is not supported, you cannot add the new nodes. 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_8` or `Solaris_9`. If the environment exists, go to Step 3. If the environment does not exist, do the following: Create the Solaris environment. For information, see the Netra High Availability Suite Foundation Services 2.1 6/03 Custom Installation Guide. Add the new diskless node. 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 -							- node30
       NODE=40 -							- 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. 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. Verify that the `addon.conf` file, if present, is configured correctly. For information about the `addon.conf` file, see the `addon.conf`(4)man page. If you still cannot add diskless nodes to the cluster, reinstall your cluster. Include the diskless nodes in your new cluster definition.
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems