A P P E N D I X A |
Cluster Console Manager Tools |
This appendix describes a set of cluster administration tools that are installed with the Sun HPC ClusterTools software release.This toolset, called the Cluster Console Manager, allows you to issue commands to all nodes in a cluster simultaneously through a graphical user interface. The CCM offers three modes of operation:
Each of these modes creates a command entry window, called the Common Window, and a separate console window, called a Term Window, for each node. Each command typed in the Common Window is echoed in all Term Windows (but not in the Common Window). Every Term Window displays commands you issue as well as system messages logged by its node.
Note - If the cluster nodes are not connected to a terminal concentrator, only ctelnet and crlogin can be used, not cconsole. |
All Cluster Console tools are launched using the same command-line form:
% tool_name cluster_name
where tool_name is cconsole, ctelnet, or crlogin, and cluster_name is a name given to the cluster. For example,
If you want to use cconsole to monitor messages generated while rebooting the cluster nodes, you will need to launch it from a machine outside the cluster. If you launch it from a cluster node, it will be disabled when the node from which it is launched reboots.
Note - Because cconsole accesses the console ports of every node in the cluster, no other accesses to any console in the cluster will be successful while the cconsole session is active. |
All three Cluster Console commands take the standard X/Motif command-line arguments.
The Common Window is the primary window used by the system administrator to send input to all the nodes. This window has a menu bar with three menus and a text field for command entry. The Common Window is always displayed when the Cluster Console is launched.
The Common Window menu bar has three menus:
In this manual, the Cluster Console term Hosts refers to Sun HPC cluster nodes.
The Hosts menu displays a list of the nodes contained in the cluster, plus two other entries, Select Hosts and Exit. TABLE A-1 describes these menu choices.
The Select Hosts dialog enables you to add or delete nodes during the current Cluster Console session. The scrolled text window in the Select Hosts dialog displays a list of the nodes that are currently connected to the Cluster Console.
There are three Select Hosts dialog buttons, which are described in TABLE A-2.
1. Enter the hostname in the Hostname text field.
Entering a valid host name opens a Term Window for the specified host and establishes a connection to that host. The name of the selected host appears in the scrolled text window and in the hosts list on the Hosts menu in the Common Window.
1. Enter the clustername in the Hostname text field.
The Cluster Console automatically expands the cluster name into its constituent host names and then opens one Term Window for each node. A connection is established for each of the constituent host names. The Cluster Console automatically displays the names of the hosts in the cluster in the scrolled text window and in the hosts list on the Hosts menu in the Common Window.
1. Select the name of the host in the list in the scrolled text window.
This closes the corresponding Term Window and disconnects the host. The name of the removed host disappears from the scrolled text window and from the hosts list on the Hosts menu in the Common Window.
The Options menu has one entry, Group Term Window; see TABLE A-3 for a description.
The Help menu has three entries; see TABLE A-4 for a description.
The text field is where you enter commands that you want to have executed simultaneously on multiple nodes. The state of the host toggle buttons under the Hosts menu determines which nodes receive this input.
The Term Window is just like a normal terminal window. To type on only one host, move the cursor to the Term Window of the desired host and type directly into it.
The Cluster Console Term Windows are like other terminal programs, such as xterm, cmdtool, and shelltool, except that they can also receive input from the Common Window. The Term Windows use VT220 terminal emulation.
The environment variable TERM informs your editor of your terminal type. If you are having display problems from vi or any other tools, set the environment variable using the appropriate commands for your shell.
The Term Window contains additional functionality, which you can access by positioning the pointer over the Term Window and pressing the right mouse button. This displays the menu described in TABLE A-5.
Toggles the scroll bar display on and off in the Term Window. |
|
To issue commands to multiple nodes simultaneously:
Position the cursor in the text field of the Common Window and enter your command.
Every keystroke entered in this field is sent to all hosts that are currently selected for input.
To issue commands to a single node:
Position the cursor in the corresponding Term Window and enter your command.
Alternatively, you can turn off all hosts in the Hosts menu, except the one you want to access. Then issue your commands from the Common Window.
Two configuration files are used by Cluster Console: /etc/clusters and /etc/serialports. These files are created automatically.
The clusters configuration file maps a cluster name to the list of hostnames that make up the cluster. Each line in this database corresponds to a cluster. The format is:
clustername hostname-1 hostname-2 [...] hostname-n
cities chartres izmir tampico inchon essen sydney
The clusters file is used to map cluster names to host names on the command line and in the Select Hosts dialog.
The serialports file maps each host name to the terminal concentrator and the terminal concentrator serial port to which it is connected. Each line in this database specifies a separate serial port using the format:
hostname terminal_concentrator serial_port
chartres cities-tc 5002
izmir cities-tc 5003
The serialports file is used by cconsole to determine which terminal concentrator and serial ports to connect to for the various cluster nodes that have been specified on the command line or the Select Hosts dialog.
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.