Table of Contents
Tungsten Clustering™ has a wide range of tools and functionality available for checking and managing the status of a dataservice. The majority of the management and information structure is based around a small number of command-line utilities that provide a complete range of tools and information, either through a direct command-line, or secondary shell like interface.
When installing the dataservice using tpm , if requested,
the login script for the staging user (for example
.bashrc ) will have been updated to
execute a script within the installation directory called
env.sh . This configures the location of the
installation, configuration, and adds the script and binary directories to
PATH so that the commands can be executed without having
to use the full path to the tools.
If the script was not added to the login script automatically, or needs to
be added to the current session, the script is located within the
share directory of the installation directory. For
/opt/continuent/share/env.sh. To load into the
current session use source. See
Section 5.2, “Establishing the Shell Environment” for more information.
The main tool for controlling dataservices is cctrl. This provides a shell like interface for querying and managing the dataservice and includes shell-like features such as command history and editing. Commands can be executed using cctrl either interactively:
cctrlconnect to 'alpha@host1' alpha: session established [LOGICAL:EXPERT] /alpha >
Or by supplying a command and piping that as input to the cctrl shell:
echo 'ls' | cctrl