cancel
Showing results for 
Search instead for 
Did you mean: 

How to check status off Application to selective server member in pool

Cl__i_14987
Nimbostratus
Nimbostratus

Dear all

 

I have situation to ask you for suggestion. Now I have on VS for Web server (2 members in pool) and each of Web server(Web1, Web2) has own interactive with application server(App1, App2) on port TCP 1935.

 

So when I want to track on application servers status if one of them down I will switch to web server to another one. example when App1 down I will connect to Web2 instead for accessing.

 

But now F5 monitoring only Web1 and Web2. it cannot track on App1 and App2 so I think I need to do iRule for App1 and App2 status checking. How can I create the iRule for this situation.

 

 

Thanks you

 

 

 

3 REPLIES 3

nitass
F5 Employee
F5 Employee
But now F5 monitoring only Web1 and Web2. it cannot track on App1 and App2isn't health monitor with specifying app server in alias address/service port and assigning it to web server usable?

nitass
F5 Employee
F5 Employee
e.g.

 

 

[root@ve10:Active] config b pool foo list pool foo { monitor all myhttp and mytcp1935 members 200.200.200.101:80 {} } [root@ve10:Active] config b monitor myhttp list monitor myhttp { defaults from http recv "200 OK" send "GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n" } [root@ve10:Active] config b monitor mytcp1935 list monitor mytcp1935 { defaults from tcp dest 200.200.200.111:1935 } [root@ve10:Active] config b self 200.200.200.10 list self 200.200.200.10 { netmask 255.255.255.0 vlan internal allow default } pool status [root@ve10:Active] config b pool foo |grep -i pool\ member +-> POOL MEMBER foo/200.200.200.101:80 active,up tcpdump [root@ve10:Active] config tcpdump -nni 0.0 -s0 port 80 or port 1935 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on 0.0, link-type EN10MB (Ethernet), capture size 65535 bytes 11:17:01.127056 IP 200.200.200.10.51288 > 200.200.200.101.80: S 1740295:1740295(0) win 5840 out slot1/tmm0 lis= 11:17:01.127731 IP 200.200.200.101.80 > 200.200.200.10.51288: S 3622615798:3622615798(0) ack 1740296 win 5792 in slot1/tmm0 lis= 11:17:01.128051 IP 200.200.200.10.51288 > 200.200.200.101.80: . ack 1 win 46 out slot1/tmm0 lis= 11:17:01.128379 IP 200.200.200.10.51288 > 200.200.200.101.80: P 1:46(45) ack 1 win 46 out slot1/tmm0 lis= 11:17:01.129725 IP 200.200.200.101.80 > 200.200.200.10.51288: . ack 46 win 46 in slot1/tmm0 lis= 11:17:01.129735 IP 200.200.200.101.80 > 200.200.200.10.51288: P 1:352(351) ack 46 win 46 in slot1/tmm0 lis= 11:17:01.129739 IP 200.200.200.101.80 > 200.200.200.10.51288: F 352:352(0) ack 46 win 46 in slot1/tmm0 lis= 11:17:01.130410 IP 200.200.200.10.51288 > 200.200.200.101.80: . ack 352 win 54 out slot1/tmm0 lis= 11:17:01.130739 IP 200.200.200.10.51288 > 200.200.200.101.80: F 46:46(0) ack 353 win 54 out slot1/tmm0 lis= 11:17:01.131997 IP 200.200.200.101.80 > 200.200.200.10.51288: . ack 47 win 46 in slot1/tmm0 lis= 11:17:02.159136 IP 200.200.200.10.49192 > 200.200.200.111.1935: S 1333436345:1333436345(0) win 5840 out slot1/tmm0 lis= 11:17:02.161051 IP 200.200.200.111.1935 > 200.200.200.10.49192: S 584352362:584352362(0) ack 1333436346 win 5792 in slot1/tmm0 lis= 11:17:02.162395 IP 200.200.200.10.49192 > 200.200.200.111.1935: . ack 1 win 46 out slot1/tmm0 lis= 11:17:02.162403 IP 200.200.200.10.49192 > 200.200.200.111.1935: F 1:1(0) ack 1 win 46 out slot1/tmm0 lis= 11:17:02.163795 IP 200.200.200.111.1935 > 200.200.200.10.49192: F 1:1(0) ack 2 win 46 in slot1/tmm0 lis= 11:17:02.164792 IP 200.200.200.10.49192 > 200.200.200.111.1935: . ack 2 win 46 out slot1/tmm0 lis=

Cl__i_14987
Nimbostratus
Nimbostratus
Thanks you for your suggestion. It's work!!!!