I was configuring MySQL Cluster where the application servers use a properties file to connect to the MySQL Data/Storage node (I configured both Data and Storage nodes on same physical server).
I want the application to use a single IP address, to access the DB servers in cluster. Since if any of the nodes fail, the application servers should still be able to query the databases.
Hence I thought of using LVS so that multiple application servers can access the DB servers through VIP. To achieve the same I have configured LVS, thought of sharing the same.
RHEL Linux LVS setup:
REDHAT Linux Cluster Packages
Configuration for LB server:
Configure packet forwarding on LB server
vi /etc/sysctl.conf[Read more...]