How To Set Up A Load-Balanced MySQL Cluster - Page 4
5 How To Restart The ClusterNow let's asume you want to restart the MySQL cluster, for example because you have changed /var/lib/mysql-cluster/config.ini on loadb1.example.com or for some other reason. To do this, you use the ndb_mgm cluster management client on loadb1.example.com: loadb1.example.com: ndb_mgm On the ndb_mgm console, you type shutdown; You will then see something like this:
This means that the cluster nodes sql1.example.com and sql2.example.com and also the cluster management server have shut down. Run quit; to leave the ndb_mgm console. To start the cluster management server, do this on loadb1.example.com: loadb1.example.com: ndb_mgmd -f /var/lib/mysql-cluster/config.ini and on sql1.example.com and sql2.example.com you run sql1.example.com / sql2.example.com: ndbd or, if you have changed /var/lib/mysql-cluster/config.ini on loadb1.example.com: ndbd --initial Afterwards, you can check on loadb1.example.com if the cluster has restarted: loadb1.example.com: ndb_mgm On the ndb_mgm console, type show; to see the current status of the cluster. It might take a few seconds after a restart until all nodes are reported as connected. Type quit; to leave the ndb_mgm console.
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video




print: 

Recent comments
21 hours 48 min ago
1 day 2 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 13 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 17 hours ago
1 day 17 hours ago
1 day 19 hours ago