WebSphere Edge Server - Advisors - Multiple Virtual Hosts.

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Edge Server > June 2004 > Advisors - Multiple Virtual Hosts.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Advisors - Multiple Virtual Hosts.
Patrick Finnegan

2004-06-29, 3:22 am

I need to configure custom advisors for several IHS virtual hosts
running on the same machine to detect whether a single virtual host is
down.

For example lets say I have 4 virtual hosts all resolving to the same
IP defined under a single instance of IHS listening on port 80.

patrick1.com.au 1.0.0.1
patrick2.com.au 1.0.0.1
patrick3.com.au 1.0.0.1
patrick4.com.au 1.0.0.1

I need four separate advisors, one for each VH, but I can only start 1
advisor on port 80.

P:\>ndcontrol advisor start patrick2 80
Active code page: 850
Error: Port '80' is already being monitored.

Can I code four separate advisor send requests in a single custom
advisor? If so can someone post an example.

Thanks in advance.
Ben_

2004-06-30, 6:04 pm

If I understand correctly, you have defined only one server item to
load-balance.

What you need instead is "server partitioning" (you can search ndguide.pdf
for details). That is, when you define a new server, you don't give the
physical host or IP as name but another unique name, like "ndcontrol server
add 1.2.3.4:80:VHost1_at_myserver address 1.2.3.5 ...".

This way you can define as many virtual hosts as you require pointing to the
same web server instance. Additionaly, when you have defined two servers
that way, you have two advisor requests, which is what you need, instead of
two advisors.

Hope this helps already.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com