router
The router command allows for control of the connectors.
The following sub-commands are available:
| Option | Description | Version |
|---|---|---|
offline | Take one or more connectors offline. | |
online | Bring one or more connectors online. | |
status | Show the status of the connector including number of connections per connector, per node. |
The command can be used to take a connector offline or online and can be applied to a specific host or all hosts using the * wildcard, for example:
To take all connectors offline, issue:
[LOGICAL] /alpha > router * offline
To take a specific connector offline, issue:
[LOGICAL] /alpha > router connector@db1[5080] offline
Note, that in the above example, the host name needs to match the name as listed within the ls output.
note
Regardless of the cluster AUTOMATIC policy mode, an offline router will not automatically be brought back online.