MySQL Cluster Manager 8.0 User Manual / ... / MySQL Cluster Manager Client Commands / MySQL Cluster Manager Site and Agent Commands / The list sites Command
list sitesThis command returns a list of the sites known to the management agent. It does not require any arguments. An example is shown here:
mcm> list sites;+--------+------+-------+-----------------+| Site | Port | Local | Hosts |+--------+------+-------+-----------------+| mysite | 1862 | Local | tonfisk,flundra |+--------+------+-------+-----------------+1 row in set (0.06 sec) The output oflist sites contains the following columns:
Site. The name of the site.Port. The TCP/IP port used for communications between clients and management agents.Local. Either one ofLocalorRemote.Hosts. A comma-separated list of the hosts making up the site.