Home | History | Annotate | Download | only in man1m
 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 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
chosts 1M "8 Sep 2007" "Sun Cluster 3.2" "System Administration Commands"
NAME
chosts - expand cluster names into host names
SYNOPSIS

$CLUSTER_HOME/bin/chosts name [name.\|.\|.]
DESCRIPTION

The chosts utility expands the arguments into a list of host names.

OPERANDS

The following operands are supported:

.na name .ad The parameter name can be a hostname or a cluster name. If name is a hostname, it is expanded to be a hostname. If name is a cluster name, that is, an entry exists in the /etc/clusters database (or a NIS or NIS+ map), it is expanded into the list of hosts that make up that cluster, as specified in the database. The list is typically used by programs that wish to operate on a list of hosts. If an entry for clusters has been made in the /etc/nisswitch.conf file, then the order of lookups is controlled by that entry. If there is no such file or no such entry, then the nameservice look up order is implicitly nis files.

ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWccon
Interface StabilityEvolving
SEE ALSO

ccp(1M), cconsole(1M), cports(1M), crlogin(1M), cssh(1M), ctelnet(1M), clusters(4), attributes(5)