Forum Discussion
ILIAS_g_183177
Nimbostratus
Apr 20, 2015Difference between "Health Monitors" and "service port"
Hello,
I would like to verify that the service port dominates the health port at the pool configuration. In other words, when we set up the service port at the member and is different than the h...
nitass
Employee
Apr 21, 2015I meant what is the tmsh for pool creation if I want to inherit address and port from pool member.
if you want to monitor pool member port, you do not need to specify port when creating health monitor. by default, health monitor inherits port from pool member.
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) create ltm monitor tcp mytcp
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm monitor tcp mytcp
ltm monitor tcp mytcp {
adaptive disabled
defaults-from tcp
destination *:*
interval 5
ip-dscp 0
time-until-up 0
timeout 16
}
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) create ltm pool foo members add { 200.200.200.101:8080 } monitor mytcp
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm pool foo
ltm pool foo {
members {
200.200.200.101:8080 {
address 200.200.200.101
session monitor-enabled
state up
}
}
monitor mytcp
}
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) q
[root@ve11c:Active:In Sync] config
[root@ve11c:Active:In Sync] config tcpdump -nni 0.0 -s0 port 8080
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on 0.0, link-type EN10MB (Ethernet), capture size 65535 bytes
18:59:57.180432 IP 200.200.200.13.33873 > 200.200.200.101.8080: S 2810917797:2810917797(0) win 14600 out slot1/tmm1 lis=
18:59:57.181936 IP 200.200.200.101.8080 > 200.200.200.13.33873: S 1824924698:1824924698(0) ack 2810917798 win 5792 in slot1/tmm1 lis=
18:59:57.184047 IP 200.200.200.13.33873 > 200.200.200.101.8080: . ack 1 win 115 out slot1/tmm1 lis=
18:59:57.184057 IP 200.200.200.13.33873 > 200.200.200.101.8080: F 1:1(0) ack 1 win 115 out slot1/tmm1 lis=
18:59:57.187998 IP 200.200.200.101.8080 > 200.200.200.13.33873: F 1:1(0) ack 2 win 46 in slot1/tmm1 lis=
18:59:57.190237 IP 200.200.200.13.33873 > 200.200.200.101.8080: . ack 2 win 115 out slot1/tmm1 lis=
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects