From 4389cb06da42389bffd144cca425e5fbbfdde98c Mon Sep 17 00:00:00 2001 From: Mark Riddoch Date: Fri, 14 Nov 2014 10:36:32 +0000 Subject: [PATCH] Add the CLI to the template configuration file --- server/MaxScale_template.cnf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/server/MaxScale_template.cnf b/server/MaxScale_template.cnf index c322fec8f..6c980b03b 100644 --- a/server/MaxScale_template.cnf +++ b/server/MaxScale_template.cnf @@ -131,6 +131,24 @@ service=HTTPD Router protocol=HTTPD 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 [server1]