KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

HTTP test of many virtual hosts

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
tongyan



Joined: 04 Apr 2005
Posts: 6

PostPosted: Mon May 23, 2005 12:44 am    Post subject: HTTP test of many virtual hosts Reply with quote

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
View user's profile Send private message
timn



Joined: 20 Nov 2003
Posts: 184
Location: United States

PostPosted: Mon May 23, 2005 8:20 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Mon May 23, 2005 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ctino



Joined: 17 Feb 2005
Posts: 6

PostPosted: Mon Jun 06, 2005 7:34 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Mon Jun 06, 2005 1:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Tue Jun 07, 2005 7:27 am    Post subject: Reply with quote

Update available at www.ks-soft.net/download/hm531e.zip

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
ctino



Joined: 17 Feb 2005
Posts: 6

PostPosted: Thu Jun 09, 2005 8:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index