Clist

Section: C3 User Manual (1)
Updated: 4.0
Index Return to Main Contents
 

NAME

clist - A utility that lists the names and types of clusters in the cluster configuration file.

 

SYNOPSIS

Usage: clist [OPTIONS]  

DESCRIPTION

clist is a utility that lists the names and types of clusters in a cluster configuration file. The different types of clusters are as follows:

direct local
All the information about the cluster is known before run time and the head node is the machine on which the command is run
direct remote
All the information about the cluster is known before run time and the head node is not the machine from which the command is run
indirect remote
Only the head node of the cluster is known at run time and is not the machine from which the command is run from

for more information on these three types of clusters see the c3.conf(5) help file  

OPTIONS

--help -h
:display help message

--file -f <filename>
:alternate cluster configuration file, if one is not supplied then /etc/c3.conf will be used
 

GENERAL

There are two ways to call clist:

1. To list all clusters from the default configuration file:

clist

This prints each cluster and its type, one per line

2. To list all clusters from an alternate configuration file

clist -f alt.cluster

This prints each cluster and its type, one per line
 

SETUP

See the C3 INSTALL file for installation instructions.  

ENVIRONMENT

C3_CONF

C3's default configuration file is /etc/c3.conf. If you wish an alternate default configuration file set this to point to the file
For example, if you keep a special c3.conf file in your home directory you may use:

export C3_CONF=/home/sgrundy/.c3conf
 

FILES

/etc/c3.conf

This file is the cluster configuration file that contains the names of the nodes to which commands will be sent. The cluster configuration file of nodes may also be specified from the command line. The format of both files is identical.
see the c3.conf(5) man page for format
 

SEE ALSO

cexec(1), c3(1), cget(1), ckill(1), cpush(1 ), cpushimage(4), crm(1), cshutdown(4), cname(1), cnum(1), clist(1), c3.conf(5), c3-scale(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
GENERAL
SETUP
ENVIRONMENT
FILES
SEE ALSO

Last Modified: