Go to main content

Reference for Oracle Solaris Cluster 4.4

Exit Print View

Updated: August 2018
 
 

clusters (5)

Name

clusters - cluster names database

Synopsis

/etc/clusters 

Description

The clusters file contains information regarding the known clusters in the local naming domain. For each cluster a single line should be present with the following information:

clustername		whitespace-delimited list of hosts

Expansion is recursive if a name on the right hand side is tagged with the expansion marker: ``*''.

Items are separated by any number of blanks and/or TAB characters. A `#' indicates the beginning of a comment. Characters up to the end of the line are not interpreted by routines which search the file.

Cluster names may contain any printable character other than an upper case character, a field delimiter, NEWLINE, or comment character. The maximum length of a cluster name is 32 characters.

This information is used by Oracle Solaris Cluster system administration tools, like the pconsole command, to specify a group of nodes to administer. The names used in this database must be host names, as used in the hosts database.

The database is available from either NIS or NIS+ maps or a local file. Lookup order can be specified in the /etc/nsswitch.conf file. The default order is nis files.

Examples

Example 1 A Sample /etc/clusters File

Here is a typical /etc/clusters file:

bothclusters		*planets *wine
planets			mercury venus
wine				zinfandel merlot chardonnay riesling

Here is a typical /etc/nsswitch.conf entry:

clusters: nis files

Files

  • /etc/clusters
  • /etc/nsswitch.conf

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
ha-cluster/system/core
Interface Stability
Evolving

See Also

nsswitch.conf(5), serialports(5), attributes(7)