How to load balance SSH logins?

My cluster has multiple login nodes, and an haproxy server which distributes the requests. I wanted to configure OOD to send SSH requests through this haproxy, but OOD must use host based authentication, and I don’t think that can work through a proxy:

userauth_hostbased mismatch: client sends <ood-head-hostname>, but we resolve <haproxy-IP> to <haproxy-hostname>

Does everybody use just one login node? Is this functionality built in to OOD and I overlooked it?

I found one solution.
I defined a new host in the central dnsmasq server “login-node-round-robin” and I made duplicate entries for it pointing to each of the login nodes.

Thanks Simon.

Yes. DNS Round Robin would be a way to do it.

Thanks,
-gerald

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.