HP 1032 Manual page 135

Clusterpack v2.4 tutorial
Table of Contents

Advertisement

3.1.10 clinfo - Shows nodes and cluster information.
The clinfo command lists which hosts make up a cluster. By default, with no arguments, the
current cluster is listed. Non-flag arguments are interpreted as cluster names. Three different
output modes are supported.
Short format (enabled by the -s option)
The short format lists the cluster (followed by a colon) and the hosts it
contains; one cluster per line. Long lines do not wrap. If there is only one
cluster to be listed and the -v option has not been used, the leading cluster
and colon are omitted. This is the default mode if the output is not to a tty
device; facilitating the use of clinfo as a component in a larger script.
Medium format (enabled by the -m option)
The medium format is tabular. It is easier to read, but harder on programs.
Long lines wrap and the cluster name is always given, even when there is
only one cluster. This is the default mode if the output is to a tty device,
like the user's screen.
Long format (enabled by the -l option)
The long format is essentially a dump of the internal database maintained
by cladmin. The cluster name is always output, followed by one record per
host. Each field of the record occurs by itself on a line, a blank line
separates each record.
The -a option instructs clinfo to display information about all defined clusters, regardless of
the -C option or the CLUSTER environment variable setting.
The -C is entirely optional, and is supplied only for consistency with other cluster commands.
clinfo is used as follows:
% clinfo [-a] [-v] [-s|-m|-l] [[-C] cluster ...]
For more details on the usage of clinfo, invoke the command:
% man clinfo
Back to Top
3.1.11 clgroup - Creates a logical cluster group of nodes.
The clgroup command allows the user to create, modify, remove, and list node groups in the

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents