
Command Reference
74
HP StorageWorks NAS 8000 Command Reference
High Availability Cluster Settings
The following commands let you create and control a high-availability cluster.
setSystemHostsFileEntry
Adds an entry to the system hosts file list.
■
inParam[0] = Host name
■
inParam[1] = IP address
■
inParam[2] = Domain name
deleteSystemHostsFileEntry
Removes the designated entry from the system hosts file list.
■
inParam[0] = Host name
applyClusterConfiguration
Creates a cluster using either default values or values set by other setCluster* commands.
After this completes, the nodes are considered to be in a cluster.
When this command is executed, the cluster is defined, but it is not started and no packages are
running. Registries on all the nodes are synchronized using the node on which the command
was executed as the master.
deleteClusterConfiguration
Deletes the cluster configuration, including package configurations and restores the registry to
default values. Nodes are now running as separate NAS servers.
startCluster
Starts a cluster after it has been created with the applyClusterConfiguration command.
Starting a cluster causes three things to happen:
■
Synchronizes the registries of all nodes using the node on which the startCluster
command was executed, as the master.
■
Deactivates storage on all the nodes. This guarantees that volume groups, volumes and
shares are active on only one node and under control of a package.
■
Starts all the packages that have been configured.
stopCluster
Stops the cluster and all packages. The nodes are still considered to be in a cluster, but the
cluster is down.
startClusterNode
Brings a node that was previously stopped back into the cluster.
■
InParam[0] = Node name
stopClusterNode
Takes a node out of the cluster and transfers all it’s running packages to an alternate node.
■
InParam[0] = Node name