cctrl Commands
Applies to: Tungsten Clustering for MySQL
The following commands can be executed from within the cctrl CLI interface
| Option | Description | Version |
|---|---|---|
admin | Change to admin mode. | |
cluster | Issue a command across the entire cluster. | |
create composite | Create a composite dataservice. | |
datasource | Issue a command on a single datasource. | |
drop | Used to remove a composite level datasource. Can only be used in admin mode. | |
expert | Change to expert mode. | |
failover | Perform a failover operation from a primary to a replica. | |
help | Display the help information. | |
ls | Show cluster status. | |
members | List the managers of the dataservice. | |
physical | Enter physical mode. | |
ping | Test host availability. | |
quitAliases: exit | Exit cctrl. | |
recover | Attempt to recover all dataservices within a cluster. | |
replicator | Issue a command on a specific replicator. | |
rm | Remove a datasource. Can only be issued in admin mode. | |
router | Issue a command on a specific router (connector) | |
service | Run a service script. | |
set | Set management options. | |
show topology | Shows the currently configured cluster topology. | |
switch | Promote a replica to a primary. | |
system summary | Outputs useful information and statistics regarding the manager on the host on which the command was executed. | |
useAliases: cd | In composite clusters, use (or cd) will switch the working context to a different cluster service. |