How To Set Up A Load-Balanced MySQL Cluster - Page 7
6.4 Create A Database Called ldirectorNext we create the ldirector database on our MySQL cluster nodes sql1.example.com and sql2.example.com. This database will be used by our load balancers to check the availability of the MySQL cluster nodes. sql1.example.com: mysql -u root -p sql2.example.com: mysql -u root -p
6.5 Prepare The MySQL Cluster Nodes For Load BalancingFinally we must configure our MySQL cluster nodes sql1.example.com and sql2.example.com to accept requests on the virtual IP address 192.168.0.105. sql1.example.com / sql2.example.com: apt-get install iproute Add the following to /etc/sysctl.conf: sql1.example.com / sql2.example.com: vi /etc/sysctl.conf
sysctl -p Add this section for the virtual IP address to /etc/network/interfaces: sql1.example.com / sql2.example.com: vi /etc/network/interfaces
ifup lo:0
|
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
2 hours 1 min ago
2 hours 46 min ago
4 hours 36 min ago
4 hours 47 min ago
6 hours 47 min ago
16 hours 2 min ago
16 hours 31 min ago
18 hours 13 min ago
20 hours 13 min ago
20 hours 48 min ago