Files
MaxScale/Documentation/Routers/CLI.md
Markus Makela e2588e3c95 Moved all limitations to Limitations.md
This removes duplicate information and keeps the list of limitations
in a central place.
2016-03-09 15:00:53 +02:00

25 lines
870 B
Markdown

# CLI
The command line interface as used by `maxadmin`. This is a variant of the debugcli that is built slightly differently so that it may be accessed by the client application `maxadmin`. The CLI requires the use of the `maxscaled` protocol.
## Configuration
There are two components to the definition required in order to run the command line interface to use with MaxAdmin; a service and a listener.
The default entries required are shown below.
```
[CLI]
type=service
router=cli
[CLI Listener]
type=listener
service=CLI
protocol=maxscaled
address=localhost
port=6603
```
Note that this uses the default port of 6603 and confines the connections to localhost connections only. Remove the address= entry to allow connections from any machine on your network. Changing the port from 6603 will mean that you must always pass a -P option to the maxadmin command.