Hello,
What I wish to succeed is to setup loadbalancing between two dedicated servers. Here is my case:
What I accomplished is only HTTP balancing for port 80. I setup LBIP as loadbalance ip for DS1 and DS2 servers. When I try to open webpage in LB server, it redirects me to DS1 page or DS2 webpage in comply with weight parameter. As long as I refresh the webpage, my pc goes to DS1 or DS2.
My main aim: When a php request sent to port, for example 21000, not to 80, LB server will redirect the user to DS1 or DS2 at port 21000 and communicate mysql databases from LB server to DS1 and DS2
I have searched on the net about possible solutions:
1) HAProxy, i found a tutorial which is supporting port 80. No good for me
2) ZenLoadBalancer which is not free of charge and very expensive.
Could you please redirect me to a new keyword to examine on it?
PS: If I had known how to setup my LB IP into my LB server (VPS), maybe I could have been running it. But could not found an answer on the net.
Thanks in advance
Boris
Moderator's Comments:
First: Please use CODE tags when posting sample input, sample output (including file contents), and code segments.
Second: Rather than changing the thread title to show that your problem has been solved, please just add the "solved" keyword to the keywords associated with the thread.
Last edited by Don Cragun; 01-09-2016 at 07:43 PM..
Reason: [solved]
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
i've created a custom profile that contains custom functions and alias' etc...
it's called .jason_profile
currently we ssh to the server then load the profile manually from the cmd line i.e
. /home/jack/.jack_profile
we want to be able to ssh and source the profile automatically but... (4 Replies)
Hi, I have text file abc.txt. In this file, I have the following data.
Input:
Mr Smith & Mrs Smith
Mr Smith &apos Mrs Smith
Mr Smith & Mrs Smith
Mr Smith& Mrs Smith
Mr Smith &Mrs Smith
Output:
Mr Smith & Mrs Smith
Mr Smith &apos Mrs Smith
Mr Smith & Mrs Smith
Mr Smith&... (4 Replies)
Hello All
I have a xml file with many sets of records
like this
<mytag>mydata</mytag>
<tag2>data&</tag2>
also same file can be like this
<mytag>mydata</mytag>
<tag2>data&</tag2>
<tag3>data2&data3</tag3>
Now i can grep & and replace with & for whole file but it will replace all... (4 Replies)
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Deal All,
I'm writing a simple awk to generate some sort of report. The awk will check 24 files (file generated each one hour in a wholoe day) and then it will print one field to another file for counting purposes.
The script is working fine but the problem is that the CPU load is very high... (10 Replies)
Hi all,
I tried to install Solaris 10 and then VMware ESX server v3.02 on the same PC (or hard drive). But after successfully installing Solaris 10, when I installed Vmware ESX Server on the same drive(but on different partition, boot menu is not coming.
It is just booting Vmware only.
Pls... (1 Reply)
I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers.
Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)