Sun Cluster 2.2 System Administration Guide

Modifying the serialports File

The serialports file maps a host name to the Terminal Concentrator and Terminal Concentrator serial port to which the console of the host is connected. This file can be created as an NIS or NIS+ map or locally in the /etc directory.

The serialports file requires updating only if:

Refer to the Sun Cluster 2.2 Software Installation Guide for information about creating the /etc/serialports file. For more information about NIS and NIS+ maps, refer to the NIS/NIS+ System Administration Guide.

How to Modify the serialports File
  1. As root, create a serialports file in the /etc directory.

  2. For a Sun Enterprise(TM) 10000 system, enter hostname sspname 23 in the serialports file. For all other hardware systems, enter hostname terminal_concentrator serial_port in the serialports file.

    For Sun Enterprise 10000:


    # Sun Enterprise Cluster nodes
      phys-hahost1 sspname 23
      phys-hahost2 sspname 23
      phys-hahost3 sspname 23
      phys-hahost4 sspname 23
    

    For all other hardware systems:


    # Sun Enterprise Cluster nodes
      phys-hahost1 hacluster-tc    5002
      phys-hahost2 hacluster-tc    5003
      phys-hahost3 hacluster-tc    5004
      phys-hahost4 hacluster-tc    5005
    

How to Create the serialports Table
  1. In an NIS+ environment, you need to create a serialports table. The entries in this table are the same as the entries in the /etc/serialports file.

    To create a serialports table in a domain named mydomain in an NIS+ environment, use the following command:


    # nistbladm -c key-value key=SI value=clusters.mydomain.
    


    Note -

    The trailing period (.) at the end of the nistbladm command is required.