Connector Command-Line Interface
The connector command is used for various operations that affect the Tungsten Connector, for example, starting and stopping the
Tungsten Connector, getting status, updating and debugging.
When using the connector command-line tool, the following sub-commands are available:
| Option | Description | Version |
|---|---|---|
client-list | Return a list of the current client connections through this connector. | |
cluster-status | Return the cluster status, as the connector currently understands it. This is the command-line alternative to the inline cluster status command | |
condrestart | Restart only if already running. | |
console | Launch in the current console (instead of a daemon) | |
drain [seconds] | An alias for connector graceful-stop | 7.0.0 |
dump | Request a Java thread dump (if connector is running) | |
graceful-stop [seconds] | Stops the connector gracefully, allowing outstanding open connections to finish and close before the connector process is stopped. | |
install | Install the service to automatically start when the system boots. | |
mode | Displays the mode the connector is running in, either "proxy" or "bridge". | 7.0.2 |
reconfigure | Reconfigure the connector by forcing the connector to reread the configuration, including the configuration files and user.map file. | |
remove | Remove the service from starting during boot. | |
restart | Stop connector if already running and then start. | |
start | Start in the background as a daemon process. | |
status | Query the current status. | |
stop | Stop if running (whether as a daemon or in another console) From v7.0.2, an optional timeout in seconds can also be provided. |
For more information on each of these options, click the option name in the table above, or see "The connector Command"