Advisors - Multiple Virtual Hosts.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Edge Server > Advisors - Multiple Virtual Hosts.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Advisors - Multiple Virtual Hosts.  
Patrick Finnegan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-04 08: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.





[ Post a follow-up to this message ]



    Re: Advisors - Multiple Virtual Hosts.  
Ben_


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-04 11: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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:09 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register