cctrl [ -admin
] [ -expert
] [ -host
] [ -logical
] [ -multi
] [ -no-history
] [ -physical
] [ -port
] [ -proxy
] [ -service
] [ -timeout
]
Where:
− -admin
Table 9.1. cctrl Command-line Options
Option | -admin | |
Description | Enter admin mode when connecting | |
Value Type | string |
Automatically enters
admin
mode when
cctrl connects to the cluster:
shell> cctrl -admin
Tungsten Clustering (for MySQL) 7.1
alpha: session established, encryption=false, authentication=false
[ADMIN] /alpha >
− -expert
Table 9.2. cctrl Command-line Options
Option | -expert | |
Description | Enter expert mode when connecting | |
Value Type | string |
Automatically enters
expert
mode when
cctrl connects to the cluster:
shell> cctrl -expert
Tungsten Clustering (for MySQL) 7.1
alpha: session established, encryption=false, authentication=false
LOGICAL:EXPERT] /alpha >
− -host
Table 9.3. cctrl Command-line Options
Option | -host | |
Description | Host name of the service manager to use | |
Value Type | string | |
Default | localhost |
Allows you to specify the host to connect to when looking for a manager. By default, cctrl will connect to the local host:
shell> cctrl -host host1
Tungsten Clustering (for MySQL) 7.1
alpha: session established, encryption=false, authentication=false
[LOGICAL] /alpha >
− -logical
Table 9.4. cctrl Command-line Options
Option | -logical | |
Description | Enter logical mode when connecting | |
Value Type | string |
Automatically enters
logical
mode when
cctrl connects to the cluster. This mode is
the default when connecting to a typical; using this option
forces this mode:
shell> cctrl -expert
Tungsten Clustering (for MySQL) 7.1
alpha: session established, encryption=false, authentication=false
LOGICAL:EXPERT] /alpha >
− -multi
Table 9.5. cctrl Command-line Options
Option | -multi | |
Description | Allow support for connecting to multiple services | |
Value Type | string |
Allow support for connecting to multiple services
Table 9.6. cctrl Command-line Options
Option | -no-history | |
Description | Disable command history | |
Value Type | string |
Prevents cctrl from accessing or recording command history during interaction.
Table 9.7. cctrl Command-line Options
Option | -physical | |
Description | Enter physical mode when connecting | |
Value Type | string |
Automatically enters
logical
mode when
cctrl connects to the cluster. This mode is
the default when connecting to a typical; using this option
forces this mode:
shell> cctrl -physical
Tungsten Clustering (for MySQL) 7.1
alpha: session established, encryption=false, authentication=false
[PHYSICAL] resource://>
− -port
Table 9.8. cctrl Command-line Options
Option | -port | |
Description | Specify the TCP/IP port of the service manager | |
Value Type | string | |
Default | 9997 |
Specify the TCP/IP port of the service manager
− -proxy
Table 9.9. cctrl Command-line Options
Option | -proxy | |
Description | Operate as a proxy service | |
Value Type | string |
Operate as a proxy service
− -service
Table 9.10. cctrl Command-line Options
Option | -service | |
Description | Connect to a specific service | |
Value Type | string |
Enables the selection of a specific service when first connecting to the cluster. For example:
shell > cctrl -service east_from_west
Tungsten Clustering (for MySQL) 7.1
east: session established, encryption=false, authentication=false
east_from_west: session established, encryption=false, authentication=false
[LOGICAL] /east_from_west >
− -timeout
Table 9.11. cctrl Command-line Options
Option | -timeout | |
Description | Specify timeout (in seconds) to determine how long to wait before timing out when unable to connect to the manager. Default 30 seconds | |
Value Type | string |