Sun Cluster 2.2 System Administration Guide

8.1 Connecting to the Sun Cluster Console

You can perform administrative tasks from a window connected to any Sun Cluster node. The procedures for initial setup of a Terminal Concentrator and how to set up security are in the hardware planning and installation manual for your Sun Cluster node and the Terminal Concentrator documentation.

The following procedure describes how to create connections from the administrative workstation in a Sun Cluster configuration.

Because a shelltool(1) can be of variable size and the connection is made through a serial-port console interface, the console port is incapable of determining the window size of the shelltool(1) from which the connection was made. You must set the window size manually on the nodes for any applications that require information about row and column quantities.

8.1.1 How to Connect to the Sun Cluster Server Console

  1. Open a shelltool(1) window on the desktop of a workstation.

  2. Run the tput(1) command and note the size of the shelltool(1) window.

    These numbers will be used in Step 6.

    # tput lines
    35
    # tput cols
    80
  3. Enter the following command to open a telnet(1) connection to one of the Sun Cluster nodes, through the Terminal Concentrator.

    # telnet terminal-concentrator-name 5002
     Trying 192.9.200.1 ...
     Connected to 192.9.200.1.
     Escape character is '^]'.

    Note -

    Port numbers are configuration dependent. Typically, ports 2 and 3 (5002 and 5003 in the examples) are used for the first Solaris cluster at a site.


  4. Open another shelltool(1) window and enter the following command to open a telnet(1) connection to the other node.

    # telnet terminal-concentrator-name 5003
     Trying 192.9.200.1 ...
     Connected to 192.9.200.1.
     Escape character is '^]'.

    Note -

    If you set up security as described in the hardware planning and installation guide for your Sun Cluster node, you will be prompted for the port password. After establishing the connection, you will be prompted for the login name and password.


  5. Log in to the node.

    Console login: root
     Password: root-password
    
  6. Use the stty(1) command to reset the terminal rows and cols values to those found in Step 2.

    # stty rows 35
    # stty cols 80
    
  7. Set the TERM environment variable to the appropriate value based on the type of window used in Step 1.

    For example, if you are using an xterm window, type:

    # TERM=xterm; export TERM (sh or ksh)
     or
     # setenv TERM xterm (csh)