Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

serialports(4) [opensolaris man page]

serialports(4)						     Sun Cluster File Formats						    serialports(4)

serialports - name to serial port database SYNOPSIS
/etc/serialports serialports NIS or NIS+ maps DESCRIPTION
The serialports database maps a name to a server name and TCP port number that represents the serial port connected to the specified termi- nal server host. The database is typically used to map host names to their consoles, but may also be used to provide access to printers, modems, and the like. The mapping is used when the service is being provided by a network based terminal concentrator. For each name a sin- gle line should be present with the following information: host-name concentrator-hostname tcp-port-number Items are separated by any number of blanks or TAB characters. A pound sign (#)indicates the beginning of a comment. Characters between the pound sign and the end of the line are not interpreted by routines that search the file. This information is used by the cconsole or cssh command to establish connection to a group of consoles of a cluster of network hosts. The names that are used in this database must be host names, as used in the /etc/inet/hosts database. To support Secure Shell connections to node consoles through the cssh command, specify in the /etc/serialports file the name of the con- sole-access device and the Secure Shell port number for each node. If you use the default Secure Shell configuration on the console-access device, specify port number 22. For E10000 nodes, the entries are different. This is because E10000 uses netcon for console purposes, which operates over a network and executes on the SSP. The following is the generic format for the entry. hostname SSPname 23 The database is available from either the NIS or NIS+ maps or a local file. Lookup order is specified by the serialports entry in the /etc/nsswitch.conf file, if present. If no search order is specified, the default order is nis files. EXAMPLES
Example 1 A Sample /etc/serialports File The following is an example /etc/serialports file: # Network host to port database # NFS server cluster mercury planets-tc 5001 venus planets-tc 5002 # E10000 server cluster cashews nuts-ssp-1 23 pecans nuts-ssp-2 23 Example 2 A Sample /etc/nsswitch.conf File Entry The following is a typical /etc/nsswitch.conf entry: serialports: nis files FILES
/etc/serialports /etc/nsswitch.conf ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscdev | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
cconsole(1M), chosts(1M), cports(1M), cssh(1M), clusters(4), nsswitch.conf(4), attributes(5) Sun Cluster 3.2 8 Sep 2007 serialports(4)

Check Out this Related Man Page

HOSTS(5)						      BSD File Formats Manual							  HOSTS(5)

hosts -- host name data base DESCRIPTION
The hosts file contains information regarding the known hosts on the network. It can be used in conjunction with the DNS, and the NIS maps 'hosts.byaddr', and 'hosts.byname', as controlled by nsswitch.conf(5). For each host a single line should be present with the following information: address hostname [alias ...] These are: address Internet address hostname Official host name alias Alias host name Items are separated by any number of blanks and/or tab characters. A hash sign (``#'') indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines which search the file. When using the name server named(8), or ypserv(8), this file provides a backup when the name server is not running. For the name server, it is suggested that only a few addresses be included in this file. These include address for the local interfaces that ifconfig(8) needs at boot time and a few machines on the local network. This file may be created from the official host data base maintained at the Network Information Control Center (NIC), though local changes may be required to bring it up to date regarding unofficial aliases and/or unknown hosts. As the data base maintained at NIC is incomplete, use of the name server is recommended for sites on the DARPA Internet. As network addresses, both IPv4 and IPv6 addresses are allowed. IPv4 addresses are specified in the conventional dot (``.'') notation using the inet_pton(3) routine from the Internet address manipulation library, inet(3). IPv6 addresses are specified in the standard hex-and-colon notation. Host names may contain any printable character other than a field delimiter, newline, or comment character. FILES
/etc/hosts The hosts file resides in /etc. SEE ALSO
gethostbyname(3), nsswitch.conf(5), ifconfig(8), named(8) Name Server Operations Guide for BIND. HISTORY
The hosts file format appeared in 4.2BSD. BSD
November 17, 2000 BSD
Man Page

Featured Tech Videos