Sun Cluster 3.0-3.1 Hardware Administration Manual for Solaris OS

Configuring the Terminal Concentrator

This section describes the procedure for configuring the terminal concentrator's network addresses and ports.

ProcedureHow to Configure the Terminal Concentrator

  1. From the administrative console, add the following entry to the /etc/remote file.


    tc:\
    :dv=/dev/term/a:br#9600:
    
  2. Verify that the server and the terminal concentrator are powered on and that the cabinet keyswitch (if applicable) is in the ON position.

  3. Establish a connection to the terminal concentrator's serial port:


    # tip tc
    
  4. Hold down the terminal concentrator Test button (Figure 2–6) until the power LED flashes (about three seconds), then release the Test button.

  5. Hold down the terminal concentrator Test button again for one second, then release it.

    The terminal concentrator performs a self-test, which lasts about 30 seconds. Messages display on the administrative console. If the network connection is not found, press the Q key to stop the message.

    Figure 2–6 Terminal Concentrator Test Button and LEDs

    Illustration: The preceding context describes the graphic.

  6. Observe the terminal concentrator front-panel LEDs and use the information in the following table to decide your course of action.

    Power (Green) 

    Unit (Green) 

    Net (Green) 

    Attn (Amber) 

    Load (Green) 

    Active (Green) 

    Test (Orange) 

    ON 

    ON 

    ON 

    ON 

    OFF 

    Intermittent blinking 

    ON 

    • If the front-panel LEDs light up as shown in the table above and the administrative console displays a monitor:: prompt, go to Step 7.

    • If the front-panel LEDs do not light up as shown in the table above, or the administrative console does not display a monitor:: prompt, use the following table and the documentation that shipped with your terminal concentrator to troubleshoot the problem.

      Mode 

      Power (Green) 

      Unit (Green) 

      Net (Green) 

      Attn (Amber) 

      Load (Green) 

      Active (Green) 

      Hardware failure 

      ON 

      Blinking 

      OFF 

      Blinking 

      OFF 

      OFF 

      Network test failure 

      ON 

      ON 

      Blinking 

      OFF 

      OFF 

      Intermittent blinking 

      Network test aborted, or net command failed 

      ON 

      ON 

      OFF 

      Blinking 

      OFF 

      Intermittent blinking 

      Booted wrong image 

      ON 

      ON 

      ON 

      Blinking 

      OFF 

      OFF 

      Other failure 

      One or more Status LEDs (1-8) are ON 

       

       

       

       

       

  7. Use the addr command to assign an IP address, subnet mask, and network address to the terminal concentrator.

    In the following example (Class B network, Class C subnet), the broadcast address is the terminal concentrator's address with the host portion set to 255 (all binary 1's).


    monitor:: addr
    Enter Internet address [<uninitialized>]:: 172.25.80.6
     Internet address: 172.25.80.6
    Enter Subnet mask [255.255.0.0]:: 255.255.255.0
     Subnet mask: 255.255.255.0
    Enter Preferred load host Internet address [<any host>]:: 172.25.80.6
    *** Warning: Load host and Internet address are the same ***
     Preferred load host address: 172.25.80.6
    Enter Broadcast address [0.0.0.0]:: 172.25.80.255
     Broadcast address: 172.25.80.255
    Enter Preferred dump address [0.0.0.0]:: 172.25.80.6
     Preferred dump address: 172.25.80.6
    Select type of IP packet encapsulation (ieee802/ethernet) [<ethernet>]:: 
     		Type of IP packet encapsulation: <ethernet>
    Load Broadcast Y/N [Y]:: n
        		Load Broadcast: N
  8. After you finish the addr session, power-cycle the terminal concentrator.

    The Load and Active LEDs should briefly blink, then the Load LED should turn off.

  9. Use the ping(1M) command to confirm that the network connection works.

  10. Exit the tip utility by pressing Return and typing a tilde, followed by a period.


    <Return>~.
    ~
    [EOT]
    #
Next Steps

Go to How to Set Terminal Concentrator Port Parameters.

ProcedureHow to Set Terminal Concentrator Port Parameters

This procedure explains how to determine if the port type variable must be set and how to set this variable.

The port type parameter must be set to dial_in. If the parameter is set to hardwired, the cluster console might be unable to detect when a port is already in use.

  1. Locate the Sun serial number label on the top panel of the terminal concentrator (Figure 2–7).

  2. Check if the serial number is in the lower serial-number range. The serial number consists of 7 digits, followed by a dash and 10 more digits.

    • If the numbers after the dash start with 9520 or higher, the port type variable is set correctly. Go to Step 4.

    • If the numbers after the dash start with 9519 or lower, you must change the port type variable. Go to Step 3.

    Figure 2–7 Determining the Version From the Serial Number Label

    Illustration: The preceding context describes the graphic.

  3. Use the administrative console to change the port type variable to dial_in by setting the port parameters, then reboot the terminal concentrator as shown in the following example.

    The boot command causes the changes to take effect. The terminal concentrator is unavailable for approximately one minute.


    admin-ws# telnet tc_name
    Trying terminal concentrator IP address 
    Connected to tc_name
    Escape character is "^]".
    Rotaries Defined:
        cli                              -
    Enter Annex port name or number: cli
    Annex Command Line Interpreter  *  Copyright 1991 Xylogics, Inc.
    annex: su
    Password: password
    (The default password is the terminal concentrator IP address)
    annex# admin
    Annex administration MICRO-XL-UX R7.0.1, 8 ports
    admin : set port=1-8 type dial_in imask_7bits Y
      You may need to reset the appropriate port, Annex subsystem or
            reboot the Annex for changes to take effect.
    admin : set port=1-8 mode slave
    admin : quit
    annex# boot
    bootfile:  <return>
    warning:   <return>
    

    Note –

    Ensure that the terminal concentrator is powered on and has completed the boot process before you proceed.


  4. Verify that you can log in from the administrative console to the consoles of each node.

    For information on how to connect to the nodes' consoles, see How to Connect to a Node's Console Through the Terminal Concentrator.

ProcedureHow to Correct a Port Configuration Access Error

A misconfigured port that does not accept network connections might return a Connect: Connection refused message when you use telnet(1). Use the following procedure to correct the port configuration.

  1. Connect to the terminal concentrator without specifying a port.


    # telnet tc_name
    
    tc_name 

    Specifies the hostname of the terminal concentrator

  2. Press Return again after you make the connection, then specify the port number.


    Trying ip_address ..
    Connected to 192.9.200.1
    Escape character is "^]".
    ...
    [RETURN]
    Rotaries Defined:
          cli                              -
    Enter Annex port name or number: 2
    
    • If you see a Port(s) busy, do you wish to wait? (y/n) message, answer N and go to How to Reset a Terminal Concentrator Port.

    • If you see an Error: Permission denied message, the port mode is configured incorrectly to the command-line interface and must be set to slave. Go to Step 3.

  3. Select the terminal concentrator's command-line interface.


    ...
    Enter Annex port name or number: cli
    annex:
  4. Type the su command and password.

    The default password is the terminal concentrator's IP address.


    annex: su
    Password:
  5. Reset the port.


    annex# admin
    Annex administration MICRO-XL-UX R7.0.1, 8 ports
    admin: port 2
    admin: set port mode slave
    	You may need to reset the appropriate port, Annex subsystem or
    	reboot the Annex for changes to take effect.
    admin: reset 2 
    

Example 2–1 Correcting a Terminal Concentrator Port Configuration Access Error

The following example shows how to correct an access error on the terminal concentrator port 4.


admin-ws# telnet tc1
Trying 192.9.200.1 ...
Connected to 192.9.200.1.
Escape character is '^]'.
[Return]
Enter Annex port name or number: cli
...
annex: su
Password: root_password
annex# admin
Annex administration MICRO-XL-UX R7.0.1, 8 ports
admin: port 4
admin: set port mode slave
	You may need to reset the appropriate port, Annex subsystem or
	reboot the Annex for changes to take effect.
admin: reset 4

ProcedureHow to Establish a Default Route for the Terminal Concentrator


Note –

This procedure is optional. By setting a default route, you prevent possible problems with routing table overflows (see the following paragraphs). Routing table overflow is not a problem for connections that are made from a host that resides on the same network as the terminal concentrator.


A routing table overflow in the terminal concentrator can cause network connections to be intermittent or lost altogether. Symptoms include connection timeouts and routes that are reestablished, then disappear, even though the terminal concentrator itself has not rebooted.

The following procedure fixes this problem by establishing a default route within the terminal concentrator. To preserve the default route within the terminal concentrator, you must also disable the routed feature.

  1. Connect to the terminal concentrator.


    # telnet tc_name
    
    tc_name

    Specifies the name of the terminal concentrator

  2. Press Return again after you make the connection, then select the command-line interface to connect to the terminal concentrator.


    ...
    Enter Annex port name or number: cliannex:
  3. Type the su command and password.

    The default password is the terminal concentrator's IP address.


    annex: su
    Password:
  4. Start the editor to change the config.annex file.


    annex# edit config.annex
    

    Note –

    The keyboard commands for this editor are Control-W: save and exit, Control-X: exit, Control-F: page down, and Control-B: page up.


    The config.annex file, which is created in the terminal concentrator's EEPROM file system, defines the default route. The config.annex file can also define rotaries that enable a symbolic name to be used instead of a port number.

  5. Add the following lines to the file.

    Substitute the appropriate IP address for your default router.


    %gateway
    net default gateway 192.9.200.2 metric 1 active ^W
    
  6. Disable the local routed feature.


    annex# admin set annex routed n
    
  7. Reboot the terminal concentrator.


    annex# boot
    bootfile: <reboot>
    warning: <return>
    

    While the terminal concentrator is rebooting, you cannot access the node consoles.


Example 2–2 Establishing a Default Route for the Terminal Concentrator

The following example shows how to establish a default route for the terminal concentrator.


admin-ws# telnet tc1
Trying 192.9.200.1 ...
Connected to 192.9.200.1.
Escape character is '^]'.
[Return]
Enter Annex port name or number: cli
...
annex: su
Password: root_password
annex: edit config.annex
(Editor starts)
Ctrl-W:save and exit Ctrl-X:exit Ctrl-F:page down Ctrl-B:page up
%gateway
net default gateway 192.9.200.2 metric 1 active ^W
annex# admin set annex routed n
You may need to reset the appropriate port, Annex subsystem or
reboot the Annex for changes to take effect.
annex# boot