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

| Previous Contents Index Next
2. Chapter 9 # Adding a Node to a Cluster For a description of the options for adding a diskless node or dataless node to a cluster, see the following sections: Deciding How to Add a Node to a Cluster Determining Whether a Cluster Has Predefined Nodes ## Deciding How to Add a Node to a Cluster Before adding a node to a cluster, ask the following questions: Is the node of a supported hardware type? For information about supported hardware types, see the Netra High Availability Suite Foundation Services 2.1 6/03 Hardware Guide and the Netra High Availability Suite Foundation Services 2.1 6/03 Release Notes. How was the cluster originally installed? The way you add a node to a cluster depends on how the cluster was originally installed. A cluster can be installed by the `nhinstall` tool or manually. To determine whether a cluster was installed by the `nhinstall` tool or manually, consult the system operator who installed the cluster. Is the node already defined in the cluster configuration? A node that is defined as part of a cluster but is not physically connected to the cluster is called a predefined node. To find out if your cluster contains predefined nodes, see To Determine Whether the Cluster Has Predefined Nodes. For information about how to add a node to a cluster installed by the `nhinstall` tool or manually, see the Netra High Availability Suite Foundation Services 2.1 6/03 Custom Installation Guide. To use the CMM API to add or remove a node from a cluster, see the `cmm_config_reload`(3CMM) man page. ## Determining Whether a Cluster Has Predefined Nodes To determine whether a cluster has predefined nodes, perform the following procedure. ### To Determine Whether the Cluster Has Predefined Nodes Log in to the master node as superuser. Determine how many nodes are up and running in the cluster:
       # nhcmmstat -c all
This command returns information about the nodes that are up and running in the cluster, but does not return information about nodes that are physically present but down. Determine how many nodes are defined in the cluster configuration. Look at the `cluster_nodes_table` file. The `/etc/opt/SUNWcgha/cluster_nodes_table` file contains a line for each node in the cluster definition. Count the number of nodes configured in this file. If there is an `/export/root` directory on the master node, examine its contents. There is one `/`diskless-node-name directory for each diskless node in the cluster. Count the number of nodes physically present in the cluster. Use the output of the `nhcmmstat` command and your knowledge of any nodes that are physically present but down. If a cluster has predefined nodes that are not diskless nodes, they are dataless nodes.
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems