Forum Discussion
hooleylist
Feb 17, 2011Cirrostratus
Can you add logging to the oam_mux_request iRule to see which pool and member was selected? You might also want to explicitly call the other pool if it's not a test request.
when CLIENT_ACCEPTED {
log "Client access from [IP::client_addr]"
TCP::collect 300
}
when CLIENT_DATA {
log "OAM request received [TCP::payload 300]"
if { [TCP::payload 300] contains "swstest.mycompany.com" } {
log "OAM request contains swstest.mycompany.com - using oam_test_pool"
pool OAM_TEST_POOL
} else {
log "OAM request does not contain swstest.mycompany.com - using oam_prod_pool"
pool OAM_PROD_POOL
}
TCP::release
}
when LB_SELECTED {
log local0. "[IP::client_addr]:[TCP::client_port]: [LB::server]"
}
when SERVER_CONNECTED {
log local0. "[IP::client_addr]:[TCP::client_port]: [IP::server_addr]:[TCP::server_port]"
}
Aaron