Home | History | Annotate | Download | only in man4
 te
CDDL HEADER START

The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.

You can obtain a copy of the license at CDDL.txt
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.

When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at CDDL.txt.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]

CDDL HEADER END
Copyright 2006 Sun Microsystems, Inc. All rights
reserved. Use is subject to license terms.
clusters 4 "26 Jun 2006" "Sun Cluster 3.2" "Sun Cluster File Formats"
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 Sun Cluster system administration tools, like cconsole(1M) 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

.na /etc/clusters .ad

.na /etc/nsswitch.conf .ad

ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWsczu
Interface StabilityUncommitted
SEE ALSO

cconsole(1M), chosts(1M), serialports(4), nsswitch.conf(4), attributes(5)