how to configure load balancer and fail over in server

Issues related to configuring your network
Post Reply
mahesh561
Posts: 45
Joined: 2013/09/28 07:04:15
Contact:

how to configure load balancer and fail over in server

Post by mahesh561 » 2014/02/26 09:24:16

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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

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

Post by gerald_clark » 2014/02/26 14:08:28

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.

mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

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

Post by mghe » 2016/03/18 12:13:16

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!

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2016/03/18 13:25:23

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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply