On Tuesday 03 March 2009 10:27:56 Andy White wrote:
> Please be gentle if this is a stupid question of epic proportions!

Ha! Not at all. It took much trial and error for me to get something close to 
working and I'm still not sure if I'm doing it right. If you don't get the 
answers you need keep trying. This list is pretty dead, but seems to come back 
every so often.

> For a single SGD server you could configure the external dns to be
> www.mysgdserver.com and dispense with the need to do anything clever
> with dns.  If you had two SGD servers in an array could you do this for
> both of them?  If you then added in the load balancing jsp you need to
> put the external dns names of the servers in the load balancing group
> into the jsp page of the primary server, however they would both have
> the same external dns name and presumably you would only need to add the
> name once.  Would this configuration even work?
>
> This is only a theoretical situation (thankfully), we are just trying to
> understand what is possible with the load balancing and what is not.

I'm not an expert as SGD loadbalancing my any means, but I don't think you can 
do that. The jsp redirect page checks if a server is up and then redirects to 
it. Thus, I think you would want to have the actual hostname there. 

In our setup we have two machines in an array, host1 and host2 along with a 
dns name, sgd. So users access sgd (one of the servers) and then click the 
login button. This kicks off the jsp script that then redirects to either 
https://host1/sgd or https://host2/sgd where they actually type login creds.

Since we are also running linux LVS loadbalancers, I'm considering dropping 
all of this and just letting the loadbalancer detect if <hostname>/sgd is up 
and running everything through the loadbalancer. But I don't know if sgd can 
cope with the arp/ip addr craziness that entails.

Good luck!
Christian McHugh
_______________________________________________
SGD-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sgd-users

Reply via email to