Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Reference Manual Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

### 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`(5) for descriptions of the following attributes:

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

## See Also

`serialports`(4), `nsswitch.conf`(4), `attributes`(5)

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |