Page 1 of 1

how to configure load balancer and fail over in server

Posted: 2014/02/26 09:24:16
by mahesh561
Dear Centos Experts

i have one dedicated whm Cpnael ..i want to configure the manually load balancer and fail over in dedicated whm Cpanel....
in my center having only two servers ..one is Dedicated server and another one backup server ..

my Questions.
how to configure the load balancer and fail over in server .
i want server architecture using this function ..
now i have only two servers running one is Dedicated and backup server ..
i want load balance and fail over commands ..please help me i am fresher so asking Example :server architecture using this configuration (load balance and fail over )

please help me ..and forward the Your Email id are Skype Ids

Regard's&Thank's
mahesh
Email id: madudhula.mahesh@ymail.com
Skype Id: madudhula.mahesh

Re: how to configure load balancer and fail over in server

Posted: 2014/02/26 14:08:28
by gerald_clark
CPanel is an invasive commercial product that replaces core components of CentOS.
We cannot support it here.
You will need to use your cPanel support channel.

Re: how to configure load balancer and fail over in server

Posted: 2016/03/18 12:13:16
by mghe
Hi,

I don't know cPanel, but You should have 3 servers.

1. LVS as load balance between 2 servers, and add HAProxy to better performance.
2. 2 server to HA config.

Good luck!

Re: how to configure load balancer and fail over in server

Posted: 2016/03/18 13:25:23
by TrevorH
If you are setting this up on CentOS 5 now then be aware that it goes EOL in just over 1 year from now. This means no more security patches for critical security bugs. You would do better to look at deploying a version with more life left: 6 is supported until 2020, 7 until 2024.