mrhankey

Active Member
Apr 6, 2012
30
0
56
cPanel Access Level
Root Administrator
hi,

what can i install in cpanel to easily setup load balancing between my other cpanel server?

haproxy or is there a way i can setup this in cpanel with easy configuring?

thanks again
 

NetMantis

BANNED
Apr 22, 2012
116
1
66
Utah
cPanel Access Level
DataCenter Provider
Yes, it can be done with haproxy

(I know this because I have actually done it before using haproxy but it's not an easy setup)

Generally speaking, Cpanel doesn't support load balancing in and of itself so you will need the haproxy.
 

mrhankey

Active Member
Apr 6, 2012
30
0
56
cPanel Access Level
Root Administrator
thanks, so what you recommend using? or is haproxy the best?

i am looking for the easiest way to do it.

is memcached the same thing as haproxy?

many thanks
 

mrhankey

Active Member
Apr 6, 2012
30
0
56
cPanel Access Level
Root Administrator
ok so how does it work, does haproxy sync your files in real time amongst the servers?

i have tried googling but not much is coming up.

basically if a users uploads a photo to say server 2 and then someone wants to view that photo who is on server 1, does haproxy sync all files setup in real time or do i need some other software?

many thanks
 

garconcn

Well-Known Member
Oct 29, 2009
157
12
68
ok so how does it work, does haproxy sync your files in real time amongst the servers?

i have tried googling but not much is coming up.

basically if a users uploads a photo to say server 2 and then someone wants to view that photo who is on server 1, does haproxy sync all files setup in real time or do i need some other software?

many thanks
I doubt haproxy will sync files for you. You may need to use other way to sync the files between two servers. I use Rsync + LVS for load balancing on two cPanel servers.
 

MilesWeb

Well-Known Member
PartnerNOC
May 23, 2012
173
2
68
India
cPanel Access Level
Root Administrator
Twitter
If you want to sync files, you either use rsync OR mount the drives using NFS. Yes, I have used haproxy and it works properly for apache on cPanel server. You can use rsync OR NFS depending on how often the data gets updated.