Technical Documentation

How can I find out which Junos Space node in the fabric has the standby MySQL database currently?

To find out which node has the standby MySQL, follow these steps:

  1. Determine which node has the active MySQL database. To do this, at the shell prompt type the following command:

    # netstat -an | grep 3306

    3306 is the port used by the MySQL database. All nodes in the fabric will connect to port 3306 of the node where MySQL is active. So the output of the above command will show the IP address of the node where MySQL is currently active.

  2. In the Junos Space user interface, access the Fabric Monitoring screen to determine which nodes have MySQL running. In step 1, you determined which node was active. The other node is the standby.

Published: 2009-12-15