View previous topic :: View next topic |
Author |
Message |
tongyan
Joined: 04 Apr 2005 Posts: 6
|
Posted: Mon May 23, 2005 12:44 am Post subject: HTTP test of many virtual hosts |
|
|
hi Alex,
we have lot of servers running for one domain, DNS robin like this:
www.a.com 192.168.11.1
www.a.com 192.168.11.2
www.a.com 192.168.11.3
and all the servers are virtual host, so I can't use 192.168.11.1 to visit the website. how can I know all the www.a.com is ok? |
|
Back to top |
|
|
timn
Joined: 20 Nov 2003 Posts: 184 Location: United States
|
Posted: Mon May 23, 2005 8:20 am Post subject: |
|
|
Tongyan:
We have this issue in several places. One very effective way to
solve this is to have a Host Monitor RMA running on the same
physical network as the virtual hosts - that way RMA can use
the real addresses of the host...
192.168.11.1
192.168.11.2
192.168.11.3
...
Then just a single modification to firewall will allow Host Monitor
to speak to RMA Agent. We have a web farm of 60 servers and
another one of 10 servers for which this solution works quite well. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon May 23, 2005 10:39 am Post subject: |
|
|
May be Tongyan doesn't have any problems with firewall but his web server returns error when receives URL request with IP address (e.g. http://192.168.11.3/index.htm)?
Do I understand the problem correctly?
Regards
Alex |
|
Back to top |
|
|
ctino
Joined: 17 Feb 2005 Posts: 6
|
Posted: Mon Jun 06, 2005 7:34 am Post subject: |
|
|
At our site we have a similar problem. I want to be able to check many virtual hosts on a single ipaddress.
An http 1.1 example conversation looks like this:
telnet [ipnumber] [portnumber]
GET /somefile.html HTTP/1.1 [enter]
Host: myfirstvirtualhost.mysite.com [enter] [enter]
followed by output...preferably '200 OK' ...
Hostmonitor gives you the possibility to send an extra header field. Specifiying a host there doesn't seem to solve our problem
Definitely one for the wishlist... |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Jun 06, 2005 1:57 pm Post subject: |
|
|
Probably it doesn't work because HostMonitor always sends standard headers (including 'host:') plus your custom headers.
H'm.. we can make some changes in the code - replace standard headers with your custom parameters (if any)
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
|
Back to top |
|
|
ctino
Joined: 17 Feb 2005 Posts: 6
|
Posted: Thu Jun 09, 2005 8:02 am Post subject: |
|
|
Wow! Really neat that patch!
It's working great ;c)
Now I can setup individual checks on _all_ virtual hosts.
Thnx a lot Alex |
|
Back to top |
|
|
|