#管理服务监听 [MaxAdmin Listener] type=listener service=MaxAdmin Service protocol=maxscaled socket=default Maxscale提供了maxadmin命令用于查看管理
[root@server ~]# maxadmin list - Unknown or missing option for the list command. Valid sub-commands are: clients List all the client connections to MaxScale dcbs List all the DCBs active within MaxScale filters List all the filters defined within MaxScale listeners List all the listeners defined within MaxScale modules List all currently loaded modules monitors List all monitors services List all the services defined within MaxScale servers List all the servers defined within MaxScale sessions List all the active sessions within MaxScale threads List the status of the polling threads in MaxScale [root@server ~]# maxadmin list servers Servers. -------------------+-----------------+-------+-------------+-------------------- Server | Address | Port | Connections | Status -------------------+-----------------+-------+-------------+-------------------- server1 | 192.168.10.1 | 3306 | 0 | Master, Running server2 | 192.168.10.2 | 3306 | 0 | Slave, Running -------------------+-----------------+-------+-------------+-------------------- 三、高可用性