It is assumed that you are logged in to a node that is part of the cluster you want to set up. If that is not the case, you must be connected to the target cluster through one of the following alternative methods:
If the node you are logged in to is not part of any cluster, set the SUNHPC_CLUSTER environment variable to the name of the target cluster. For example,
# setenv SUNHPC_CLUSTER node0
makes node0 the default cluster. Remember, a cluster's name is the same as the host name of its master node.
Once you are connected to the cluster, you can start using mpadmin to perform the administrative tasks describedbelow.
When you start up an mpadmin interactive session, you begin at the Cluster level. Table 6-3 lists the mpadmin commands that can be used in the Cluster context.
Table 6-3 Cluster-Level mpadmin Commands
Command |
Synopsis |
---|---|
connect cluster-name |
Connect to a Sun HPC cluster named cluster-name. You will not need to use this command. |
show |
Show cluster attributes. |
dump |
Show all objects in the Sun HPC cluster. |
set attribute[=value] |
Set a cluster-level attribute. |
unset attribute |
Delete a cluster-level attribute. |
node |
Enter the node context. |
partition |
Enter the partition context. |
echo ... |
Print the rest of the line on the standard output. |
quit / exit |
Quit mpadmin. |
help [command] / ? |
Show information about commands. |