Add the CLI to the template configuration file
This commit is contained in:
@ -131,6 +131,24 @@ service=HTTPD Router
|
|||||||
protocol=HTTPD
|
protocol=HTTPD
|
||||||
port=6444
|
port=6444
|
||||||
|
|
||||||
|
# Enable the maxadmin interface to MaxScale
|
||||||
|
#
|
||||||
|
# Listen on the default port of 6603 and restrict
|
||||||
|
# to connections from localhost only.
|
||||||
|
# Remove the address=localhost entry to enable
|
||||||
|
# maxadmin connections from any host
|
||||||
|
|
||||||
|
[CLI]
|
||||||
|
type=service
|
||||||
|
router=cli
|
||||||
|
|
||||||
|
[CLI Listener]
|
||||||
|
type=listener
|
||||||
|
service=CLI
|
||||||
|
protocol=maxscaled
|
||||||
|
address=localhost
|
||||||
|
port=6603
|
||||||
|
|
||||||
# Definition of the servers
|
# Definition of the servers
|
||||||
|
|
||||||
[server1]
|
[server1]
|
||||||
|
Reference in New Issue
Block a user