12-13-2011 08:05 PM
configured an SMTP application on ACE,
probe smtp PROBE_SMTP
port 25
interval 20
passdetect interval 5
passdetect count 2
receive 1
open 1
expect status 211 250
getting probe failed error ,Please assist me on this ,if I need to change the probe settings.
even tried various expect status 211 211 ,and expect status 252 254 ,but still getting the probe failed error
production# sh serverfarm SMTP1
serverfarm : SMTP1, type: HOST
total rservers : 2
state : INACTIVE
DWS state : DISABLED
---------------------------------
----------connections-----------
real weight state current total failures
---+---------------------+------+------------+----------+----------+---------
rserver: smtp01p
x.x.x.x:0 8 PROBE-FAILED 0 0 0
rserver: smtp02p
x.x.x.x:0 8 PROBE-FAILED 0 0 0
Solved! Go to Solution.
12-15-2011 12:54 AM
If your rservers are up, the VIP will forward your packets as your configured your ACE. If the rservers are down, nothing will be forwarded. But depending on your rservers, you can trigger the way how the VIP is responding to ICMP.
01-10-2012 04:20 AM
Hello!
As long as you dont fix the 554-status, your vip will not come up. Does the servers respont normally to SMTP if you reach them directly (not over ACE)?
12-13-2011 11:36 PM
What is "show probe xxxx detail" saying?
12-14-2011 07:41 AM
production# sh probe PROBE_SMTP1 detail
probe : PROBE_SMTP1
type : SMTP
state : ACTIVE
description :
----------------------------------------------
port : 25 address : 0.0.0.0
addr type : - interval : 20 pass intvl : 5
pass count: 2 fail count: 3 recv timeout: 1
conn termination : GRACEFUL
expect offset : 0 , open timeout : 1
expect regex : -
send data : -
------------------ probe results ------------------
associations ip-address port porttype probes failed passed health
------------ ----------------------+----+--------+------+------+------+------
serverfarm : SMTP1
real : smtp01p[0]
x.x.x.x 25 PROBE 8552 8552 0 FAILED
Socket state : CLOSED
No. Passed states : 0 No. Failed states : 1
No. Probes skipped : 0 Last status code : 554
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : Received invalid status code
Last probe time : Sat Jun 4 01:18:42 2011
Last fail time : Fri Jun 3 13:25:45 2011
Last active time : Never
real : smtp02p[0]
x.x.x.x 25 PROBE 8549 8549 0 FAILED
Socket state : CLOSED
No. Passed states : 0 No. Failed states : 1
No. Probes skipped : 0 Last status code : 554
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : Received invalid status code
Last probe time : Sat Jun 4 01:18:43 2011
Last fail time : Fri Jun 3 13:26:01 2011
Last active time : Never
12-14-2011 07:46 AM
I guess you can nearly answer the question by yourself now ;-)
serverfarm : SMTP1
real : smtp01p[0]
x.x.x.x 25 PROBE 8552 8552 0 FAILED
Socket state : CLOSED
No. Passed states : 0 No. Failed states : 1
No. Probes skipped : 0 Last status code : 554
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : Received invalid status code
Last probe time : Sat Jun 4 01:18:42 2011
Last fail time : Fri Jun 3 13:25:45 2011
Last active time : Never
real : smtp02p[0]
x.x.x.x 25 PROBE 8549 8549 0 FAILED
Socket state : CLOSED
No. Passed states : 0 No. Failed states : 1
No. Probes skipped : 0 Last status code : 554
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : Received invalid status code
Last probe time : Sat Jun 4 01:18:43 2011
Last fail time : Fri Jun 3 13:26:01 2011
Last active time : Never
The explaination you will find here:
12-14-2011 01:54 PM
Marko thanks for your reply
554 -status code ,it looks like coming from the server ,they need to change the settings at there end .
But even if the probes are failing ,vip always need to be in the active state.or does it become active when the probes are successfull.
Please help in understanding this
12-15-2011 12:54 AM
If your rservers are up, the VIP will forward your packets as your configured your ACE. If the rservers are down, nothing will be forwarded. But depending on your rservers, you can trigger the way how the VIP is responding to ICMP.
12-15-2011 08:46 AM
Marko
This is how I set up my SMTp application ,instead of using SMTP1 probe when i configure ICMP probe ,servers are operational ,but still I am unable to ping the VIP.
Tried pinging the vip from different servers in the same subnet and vlan ,no response .
Let me know if I am missing any config in this
probe smtp PROBE_SMTP1
port 25
interval 20
passdetect interval 5
passdetect count 2
receive 1
open 1
expect status 211 250
serverfarm host SMTP
predictor leastconns
probe PROBE_SMTP1
rserver smtp01
inservice
rserver smtp02
inservice
class-map match-all SMTP1_CLASS
2 match virtual-address 10.12.133.27 tcp eq smtp
sticky ip-netmask 255.255.255.255 address source SMTP1_STICKY
replicate sticky
serverfarm SMTP1
policy-map type loadbalance first-match SMTP1_POLICY
class class-default
sticky-serverfarm SMTP1_STICKY
policy map multimatch PoLICY
class SMTP1_CLASS
loadbalance vip inservice
loadbalance policy SMTP1_POLICY
loadbalance vip icmp-reply active
12-16-2011 01:09 AM
Where did you applied your service-policy? Global or local on the interface?
12-16-2011 06:37 AM
Its applied globally .
01-04-2012 09:35 PM
Marko
Please help me on this,as tried various options still no using getting the SMTP status code as 554.
Tried pinging the vip from different servers in same subnet ,vip is not pingable.not sure if I am missing any of the config
servers are pingable ,but not the vip
01-10-2012 04:20 AM
Hello!
As long as you dont fix the 554-status, your vip will not come up. Does the servers respont normally to SMTP if you reach them directly (not over ACE)?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide