Skip to main content
Common Reference

cctrl Commands

Applies to: Tungsten Clustering for MySQL

The following commands can be executed from within the cctrl CLI interface

OptionDescriptionVersion
adminChange to admin mode.
clusterIssue a command across the entire cluster.
create compositeCreate a composite dataservice.
datasourceIssue a command on a single datasource.
dropUsed to remove a composite level datasource. Can only be used in admin mode.
expertChange to expert mode.
failoverPerform a failover operation from a primary to a replica.
helpDisplay the help information.
lsShow cluster status.
membersList the managers of the dataservice.
physicalEnter physical mode.
pingTest host availability.
quit
Aliases: exit
Exit cctrl.
recoverAttempt to recover all dataservices within a cluster.
replicatorIssue a command on a specific replicator.
rmRemove a datasource. Can only be issued in admin mode.
routerIssue a command on a specific router (connector)
serviceRun a service script.
setSet management options.
show topologyShows the currently configured cluster topology.
switchPromote a replica to a primary.
system summaryOutputs useful information and statistics regarding the manager on the host on which the command was executed.
use
Aliases: cd
In composite clusters, use (or cd) will switch the working context to a different cluster service.