Cisco Load Balancer

Hi

I am trying to test individual portal servers to ensure they are working correctly. We currently have 5 Portal Servers, 1 Calendar, 1 Resource Server. The load balancer seems to put me onto Portal Server 2 everytime I try.

I cannot take down servers 2 and 3 because we have users piloting the luminis system.

It would also be nice if someone could point me in the direction of some code that would monitor each of the servers to ensure they are up and running, functioning correctly etc...

Regards Glenn Aitchison
Luminis System Consultant/Admin
Victoria University
glenn.aitchison@vuw.ac.nz

0
No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

One way

One way: If you want to ensure that we go to a particular app server, set the ip address and virtual host name(e.g. myportal.edu) in your local hosts file (usually something like: c:\WINDOWS\system32\drivers\etc\hosts).

--
David McMillan

Cisco Load balancer

Hi

I have tried setting my hosts file, but have found the calendar fails to function - as soon as I turn it off it works fine.

Thanks

Glenn Aitchison
System Consultant/Administrator for Luminis
Victoria University
Wellington, NZ.

Netstat

When you attempt to launch the calendar, does it try to resolve to another device where you don't have a session? Can you run netstat and see what attempts to resolve that might not be in your host file?

Portal Server

Hi

I have found the calendar does not work with the hosts entry because it goes to port 6785 of the universities load balancer. The load balancer then redirect this to the calendar server to action.

I think the main issue is the output from the cptool list sessions command.

Should it continue to say something like:

server1:~ 501> cptool list sessions
Active sessions on server2.domain.com: 2

Total number of active sessions: 2

User name
---------
user1
user2
server1:~ 502>

See the part which says 'Active sessions on server2.domain.com: 2'
Is this specific to the portal you log onto?
Everytime I try to log onto server 1 it says with cptool im on server
2

Thanks

Glenn Aitchison
System Consultant/Administrator for Luminis
Victoria University
Wellington, NZ.

Edit your cookies

If you want to force your load balancer to give you a specific web server, then edit these two cookies while you are on the login screen but before you submit your login credentials:
fos.web.server
fos.secure.web.server

I use the "AnEC Cookies" extension to Firefox to do this.
http://addneditcookies.mozdev.org/installation.html
If you're using Firefox 2, you'll have to search for an updated XPI, or hack it yourself (read the forums for this extension and you'll see).

Todd

That Helped!

Hi

Thank you for the information. It helped me to connect to a specific server.

Regards

Glenn Aitchison
System Consultant/Administrator for Luminis
Victoria University
Wellington, NZ.