.TH "ccs_tool" "8" "" "" "" .SH "NAME" ccs_tool \- The tool used to make online queries to the cluster configuration. .SH "SYNOPSIS" .B ccs_tool [\fIOPTION\fR].. <\fBcommand\fP> .SH "DESCRIPTION" \fBccs_tool\fP is part of the Cluster Configuration System (CCS). It used to peform different kind of queries to the cluster configuration and has support for some cluster.conf editing functions. .SH "OPTIONS" .TP \fB\-h\fP Help. Print out the usage. .TP \fB\-V\fP Print the version information. sub\-commands have their own options, see below for more detail .SH "COMMANDS" .TP \fBquery\fP \fI\fP Perform an xpath query on running cluster configuration. .TP \fBaddnode\fP [options] \fI []...\fP Adds a new node to the cluster configuration file. Fencing device options are specified as key=value pairs (as many as required) and are entered into the configuration file as is. See the documentation for your fencing agent for more details (eg a powerswitch fence device may need to know which port the node is connected to). .br \fIOptions:\fP .br \-v Number of votes for this node (mandatory) .br \-n Node id for this node (optional) .br \-i Network interface to use for this node. Mandatory if the cluster is using multicast as transport. Forbidden if not. .br \-m Multicast address for cluster. Only allowed on the first node to be added to the file. Subsequent nodes will use either multicast or broadcast depending on the properties of the first node. .br \-f Name of fence device to use for this node. The fence device section must already have been added to the file, probably using the addfence command. .br \-c Config file to use. Defaults to /etc/cluster/cluster.conf .br \-o Output file. Defaults to the same as -c .TP \fBdelnode\fP [options] \fI\fP Delete a node from the cluster configuration file. Note: there is no "edit" command so to change the properties of a node you must delete it and add it back in with the new properties. .br \fIOptions:\fP .br \-c Config file to use. Defaults to /etc/cluster/cluster.conf .br \-o Output file. Defaults to the same as -c .TP \fBaddfence\fP [options] \fI [