Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IP address of load balanced server

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS 6.0 exe/dll download from /bin directory  
Author Message
just1coder2

External


Since: Oct 21, 2004
Posts: 101



(Msg. 1) Posted: Thu Oct 21, 2004 3:19 pm
Post subject: IP address of load balanced server
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have two IIS server behind a load balancer. The LB has 1 public IP
that is mappted to two private IPs on the servers. How can I find out
what server served the page?

 >> Stay informed about: IP address of load balanced server 
Back to top
Login to vote
just1coder2

External


Since: Oct 21, 2004
Posts: 101



(Msg. 2) Posted: Fri Oct 22, 2004 10:24 am
Post subject: Re: IP address of load balanced server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ah, but each server is serving the same page Smile

I ended up using the Instance ID in IIS as they are unique between the
two.

Thanks Bernard!

 >> Stay informed about: IP address of load balanced server 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 3) Posted: Fri Oct 22, 2004 1:17 pm
Post subject: Re: IP address of load balanced server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What I normally do is I have a simple html file. inside it I put in detail
of each server. So when I try to access via the virtual IP, based on the
file content, I will know which server it is reading from...

another way is to look at each IIS log file.

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://www.tryiis.com/" target="_blank">http://www.tryiis.com/</a>
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.msmvps.com/bernard/" target="_blank">http://www.msmvps.com/bernard/</a>



"J1C" <just1coder RemoveThis @yahoo.ca> wrote in message
news:1098386395.414859.66260@f14g2000cwb.googlegroups.com...
 > I have two IIS server behind a load balancer. The LB has 1 public IP
 > that is mappted to two private IPs on the servers. How can I find out
 > what server served the page?
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IP address of load balanced server 
Back to top
Login to vote
user2324

External


Since: Oct 23, 2004
Posts: 8



(Msg. 4) Posted: Sat Oct 23, 2004 9:51 pm
Post subject: Re: IP address of load balanced server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The server must return a unique identifier to identify the server. Your load
balancers may be injecting a cookie or a header that would uniquely identify
the server - if they don't, you could always add a header on both IIS
servers with a unique value.



What type of load balancers are you using?



Seth



"J1C" <just1coder.DeleteThis@yahoo.ca> wrote in message
news:1098386395.414859.66260@f14g2000cwb.googlegroups.com...
 > I have two IIS server behind a load balancer. The LB has 1 public IP
 > that is mappted to two private IPs on the servers. How can I find out
 > what server served the page?
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IP address of load balanced server 
Back to top
Login to vote
just1coder2

External


Since: Oct 21, 2004
Posts: 101



(Msg. 5) Posted: Mon Oct 25, 2004 10:28 am
Post subject: Re: IP address of load balanced server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 6) Posted: Mon Oct 25, 2004 2:18 pm
Post subject: Re: IP address of load balanced server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I know. but there are two different html file.

this is the simple way to browse the page and identify the server.

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://www.tryiis.com/" target="_blank">http://www.tryiis.com/</a>
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.msmvps.com/bernard/" target="_blank">http://www.msmvps.com/bernard/</a>



"J1C" <just1coder.RemoveThis@yahoo.ca> wrote in message
news:1098455050.178016.273510@z14g2000cwz.googlegroups.com...
 > Ah, but each server is serving the same page Smile
 >
 > I ended up using the Instance ID in IIS as they are unique between the
 > two.
 >
 > Thanks Bernard!
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IP address of load balanced server 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]