Technical Documentation

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

This information is not displayed in the Junos Space user interface. However, you can find this information by logging into the console or management port of any of the Junos space nodes in the fabric.

At the shell prompt type the following command:


# netstat -an | grep 3306

3306 is the port used by MySQL. 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.


Published: 2009-12-15