Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a server and I need to make load balancing for it(master,slave)
So I know I need to create a slave. But how can I install load balancing on master so it would work on slave aswell?
I finally know more information about the server.
So my "load balancer" is running debian Linux.
Other terminals are windows 2008 servers.
I need to load balance RDP connections(remote desktops).
I'm an intern and I'm really bad with Linux I have been reading a lot but didn't find anything worth trying.
So in short my debian server needs to balance windows RDP between 2 or 3 windows servers.
This was not very clear. I copied haproxy.cfg and changed stuff I need. But I couldn't find where to put the startup script.
Apart from that if I did everything good should this balancing work? Because my debian server isn't connected to anywhere.
cant restart haproxy getting some errors. tried restarting whole server still getting error. the error outputs just loaded started etc etc.. and failure=1.
and for the startup script
"You will need to change your HAProxy start up scripts:" this line is from that link you gave me
where is this script located?
Ah, I see now. You are following the instructions in the link I provided. That is now what I intended. There should be tons of links on the internet explaining how to setup TCP load balancing, and they'll be easy enough to follow.
Configuring the RDP session cookie is more advanced and will require installing a specific development version (might be in a more stable version as well, I have no idea). I only provided the link as some extra information if you want to take your configuration to the next level. It's always best to start simple.
I'm not sure if its working or not, no error logs. And no I have not tried to connect RDP. The servers are linked
and at first table some numbers are changing. but at the second table nothing is changing except for time.
The first table is the "stats" server. The one that you are connecting to to see that image. That's why it is updating. Try to connect RDP and see if it works. Then the other table should update.
I just tried to connect with remote desktop connection to the ip of my debian server, it connected me to 1 of the windows servers.. so I guess its working?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.