Documentation Home
MySQL Cluster Manager 1.4 User Manual
Related Documentation Download this Manual
PDF (US Ltr) - 2.2Mb
PDF (A4) - 2.2Mb
EPUB - 1.4Mb
HTML Download (TGZ) - 1.4Mb
HTML Download (Zip) - 1.4Mb


4.4.3 The list clusters Command

list clusters site_name

This command lists all clusters defined for a given management site named site_name, together with the package used by each cluster. For example, the command shown here displays a list of all clusters defined for the site named mysite:

 
mcm> list clusters mysite;
+------------------+----------+
| Cluster          | Package  |
+------------------+----------+
| mycluster        | m-7.1.26 |
| yourcluster      | y-7.1.26 |
| someothercluster | s-7.2.9  |
+------------------+----------+
3 rows in set (2.07 sec)

If site_name is omitted, the command fails with an error, as shown here:

mcm> list packages;
ERROR 6 (00MGR): Illegal number of operands

User Comments
Sign Up Login You must be logged in to post a comment.