Re: Health Check for load balancer?

2013-04-10 Thread Axton
I am not clear on whether you want to monitor the servers outside the LTM
or via the LTM.  If outside the LTM I imagine it is for alerting purposes.
 You should be able to hit each node in the VIP independantly by addressing
the hosts individually (versus the VIP name).  If you want to monitor it
via the LTM, you should be able to configure a health check inside the VIP
that does some action, such as StatusCheck.jsp.

I am not too familiar with StatusCheck.jsp, so I can't speak to how well it
works, or what it checks, but I would imagine it sufficient to meet your
needs.  If not, there are many tools out there that can go a step further.
 Within the LTM, you can use iRules to execute a series of events (e.g.,
log into midtier and open the home page).  If outside the LTM, there are a
plethora of monitoring tools available, such as HP BSM, that can
record/replay a web session and act on failures.


On Wed, Apr 10, 2013 at 4:44 AM, Terje Moglestue  wrote:

> Thanks,
>
> Load balancer : F5 6400’s.
> All servers are virtual under VMware platform except for Oracle DB.
> OS: Windows 2012. (There are discussions running Linux on WebServers and
> Mid-tier.)
>
> All serves with a fixed IP address.
> Network servers: All servers within the same data ware house.
> Network local users:  shall reach it via the ASPAN  (Area Service
> Pan-European Network) and VPN’s. ( via either the Cisco VPN concentrator or
> Checkpoint firewalls.)
>
> I tried to use http:///arsys/samples/StatusCheck.jsp a
> few yeas back. I found it incomplete and undocumented.
>
> There must be a better way of doing this?
>
> Thanks,
> Terje
>
> From: Action Request System discussion list(ARSList) on behalf of Thad
> Esser
> Sent: 10 April 2013 05:10 AM
> To: arslist@ARSLIST.ORG
> Subject: Re: Health Check for load balancer?
>
> **
>
> Terje,
>
>
> http:///arsys/samples/StatusCheck.jsp has been there
> since at least 7.1 and probably earlier.  It will return a simple "200 OK"
> if everything is good.  Your load balancer can use that to validate a
> healthy node.
>
>
> Thad
>
>
>
> On Tue, Apr 9, 2013 at 8:57 PM, Axton  wrote:
>  **
> Lots of variables that go into answering that question.  Most of the
> variables are specific to your environment.  The more information you can
> share about your current configuration, the better your answers will be.
>  For example:
> - What type of LB are you using?
> - How are the networks around the LB arranged?
> - Are the machines in the VIP multi-homed?
>
>
> Typically, people want the load balancer to check the health of each
> individual node so that the load balancer can automatically remove nodes in
> the event they fail.
>
>
>
> On Tue, Apr 9, 2013 at 4:17 PM, Terje Moglestue   wrote:
>  Folks,
>
> My infrastructure team want to build a Health Check procedure that checks
> all the nodes behind the load balancer.
> If we just sent a URL request to the LB in front of the mid-tier servers,
> we do not know which path the request will go.
>
> How can be best determine the path?
>
> We could implement a servlet in the mid-tier tomcat that connects to each
> AR Server. If LB routes the sessions depending on the TCP port (e.g. port
> 2001 goes to AR Server node 1, port 2002 to AR Server 2 etc.) we could have
> a simple servlet with 2 parameters:
> Server name (which is always the LB alias) and port (allows us to choose
> the AR Server we want to check). The servlet should implement one or more
> API calls to the AR Server, e.g. retrieve data from a table. We might be
> able to implement this as a JSP.
>
> Have anyone done this? Or is the another simple solution out there?
>
> Thanks,
> Terje
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at  www.arslist.org
> "Where the Answers Are, and have been for 20 years"
>
>  _ARSlist: "Where the Answers Are" and have been for 20 years_
>  _ARSlist: "Where the Answers Are" and have been for 20 years_
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> "Where the Answers Are, and have been for 20 years"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"


Re: Health Check for load balancer?

2013-04-10 Thread Terje Moglestue
Thanks,

Load balancer : F5 6400’s.
All servers are virtual under VMware platform except for Oracle DB. 
OS: Windows 2012. (There are discussions running Linux on WebServers and 
Mid-tier.)

All serves with a fixed IP address.
Network servers: All servers within the same data ware house.
Network local users:  shall reach it via the ASPAN  (Area Service Pan-European 
Network) and VPN’s. ( via either the Cisco VPN concentrator or Checkpoint 
firewalls.)

I tried to use http:///arsys/samples/StatusCheck.jsp a few 
yeas back. I found it incomplete and undocumented.

There must be a better way of doing this?

Thanks,
Terje

From: Action Request System discussion list(ARSList) on behalf of Thad Esser
Sent: 10 April 2013 05:10 AM
To: arslist@ARSLIST.ORG
Subject: Re: Health Check for load balancer?
  
**

Terje,


http:///arsys/samples/StatusCheck.jsp has been there since at 
least 7.1 and probably earlier.  It will return a simple "200 OK" if everything 
is good.  Your load balancer can use that to validate a healthy node.


Thad 



On Tue, Apr 9, 2013 at 8:57 PM, Axton  wrote:
 **
Lots of variables that go into answering that question.  Most of the variables 
are specific to your environment.  The more information you can share about 
your current configuration, the better your answers will be.  For example:
- What type of LB are you using?
- How are the networks around the LB arranged?
- Are the machines in the VIP multi-homed?


Typically, people want the load balancer to check the health of each individual 
node so that the load balancer can automatically remove nodes in the event they 
fail. 



On Tue, Apr 9, 2013 at 4:17 PM, Terje Moglestue   wrote:
 Folks,

My infrastructure team want to build a Health Check procedure that checks all 
the nodes behind the load balancer.  
If we just sent a URL request to the LB in front of the mid-tier servers, we do 
not know which path the request will go.

How can be best determine the path?

We could implement a servlet in the mid-tier tomcat that connects to each AR 
Server. If LB routes the sessions depending on the TCP port (e.g. port 2001 
goes to AR Server node 1, port 2002 to AR Server 2 etc.) we could have a simple 
servlet with 2 parameters:
Server name (which is always the LB alias) and port (allows us to choose the AR 
Server we want to check). The servlet should implement one or more API calls to 
the AR Server, e.g. retrieve data from a table. We might be able to implement 
this as a JSP.

Have anyone done this? Or is the another simple solution out there?

Thanks,
Terje

___
UNSUBSCRIBE or access ARSlist Archives at  www.arslist.org
"Where the Answers Are, and have been for 20 years"
 
 _ARSlist: "Where the Answers Are" and have been for 20 years_  
 _ARSlist: "Where the Answers Are" and have been for 20 years_
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"


Re: Health Check for load balancer?

2013-04-09 Thread Thad Esser
Terje,

http:///arsys/samples/StatusCheck.jsp has been there since
at least 7.1 and probably earlier.  It will return a simple "200 OK" if
everything is good.  Your load balancer can use that to validate a healthy
node.

Thad


On Tue, Apr 9, 2013 at 8:57 PM, Axton  wrote:

> **
> Lots of variables that go into answering that question.  Most of the
> variables are specific to your environment.  The more information you can
> share about your current configuration, the better your answers will be.
>  For example:
> - What type of LB are you using?
> - How are the networks around the LB arranged?
> - Are the machines in the VIP multi-homed?
>
> Typically, people want the load balancer to check the health of each
> individual node so that the load balancer can automatically remove nodes in
> the event they fail.
>
>
> On Tue, Apr 9, 2013 at 4:17 PM, Terje Moglestue  wrote:
>
>> Folks,
>>
>> My infrastructure team want to build a Health Check procedure that checks
>> all the nodes behind the load balancer.
>> If we just sent a URL request to the LB in front of the mid-tier servers,
>> we do not know which path the request will go.
>>
>> How can be best determine the path?
>>
>> We could implement a servlet in the mid-tier tomcat that connects to each
>> AR Server. If LB routes the sessions depending on the TCP port (e.g. port
>> 2001 goes to AR Server node 1, port 2002 to AR Server 2 etc.) we could have
>> a simple servlet with 2 parameters:
>> Server name (which is always the LB alias) and port (allows us to choose
>> the AR Server we want to check). The servlet should implement one or more
>> API calls to the AR Server, e.g. retrieve data from a table. We might be
>> able to implement this as a JSP.
>>
>> Have anyone done this? Or is the another simple solution out there?
>>
>> Thanks,
>> Terje
>>
>>
>> ___
>> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
>> "Where the Answers Are, and have been for 20 years"
>>
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"


Re: Health Check for load balancer?

2013-04-09 Thread Axton
Lots of variables that go into answering that question.  Most of the
variables are specific to your environment.  The more information you can
share about your current configuration, the better your answers will be.
 For example:
- What type of LB are you using?
- How are the networks around the LB arranged?
- Are the machines in the VIP multi-homed?

Typically, people want the load balancer to check the health of each
individual node so that the load balancer can automatically remove nodes in
the event they fail.


On Tue, Apr 9, 2013 at 4:17 PM, Terje Moglestue  wrote:

> Folks,
>
> My infrastructure team want to build a Health Check procedure that checks
> all the nodes behind the load balancer.
> If we just sent a URL request to the LB in front of the mid-tier servers,
> we do not know which path the request will go.
>
> How can be best determine the path?
>
> We could implement a servlet in the mid-tier tomcat that connects to each
> AR Server. If LB routes the sessions depending on the TCP port (e.g. port
> 2001 goes to AR Server node 1, port 2002 to AR Server 2 etc.) we could have
> a simple servlet with 2 parameters:
> Server name (which is always the LB alias) and port (allows us to choose
> the AR Server we want to check). The servlet should implement one or more
> API calls to the AR Server, e.g. retrieve data from a table. We might be
> able to implement this as a JSP.
>
> Have anyone done this? Or is the another simple solution out there?
>
> Thanks,
> Terje
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> "Where the Answers Are, and have been for 20 years"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"


Health Check for load balancer?

2013-04-09 Thread Terje Moglestue
Folks,

My infrastructure team want to build a Health Check procedure that checks all 
the nodes behind the load balancer.  
If we just sent a URL request to the LB in front of the mid-tier servers, we do 
not know which path the request will go. 

How can be best determine the path?

We could implement a servlet in the mid-tier tomcat that connects to each AR 
Server. If LB routes the sessions depending on the TCP port (e.g. port 2001 
goes to AR Server node 1, port 2002 to AR Server 2 etc.) we could have a simple 
servlet with 2 parameters:
Server name (which is always the LB alias) and port (allows us to choose the AR 
Server we want to check). The servlet should implement one or more API calls to 
the AR Server, e.g. retrieve data from a table. We might be able to implement 
this as a JSP.

Have anyone done this? Or is the another simple solution out there?

Thanks,
Terje

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"