Documentation Home
MySQL Cluster Manager 8.4 User Manual
Related Documentation Download this Manual
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb


5.2.8 The list sites Command

list sites

This 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 of list 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 of Local or Remote.

  • Hosts A comma-separated list of the hosts making up the site.