cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

802
Views
0
Helpful
1
Replies
krinlaurek
Beginner

ACE socket graceful

Hello,

     I have some issues when use the graceful argument in a TCL script. I know that previously this feathre was not available, but it seems that in      version A4(2.0) is available. But I have the same issues as previuos versions. I use the following commands for trouble shooting:

switch/Admin# show script LDAP1 LDAP

script         : LDAP1

scripted probe : LDAP

instance

-----------------------------------------

   probe-association(s) : (count=1)

   ----------------------------------

    rserver     : TEST2

    --------------- script statistics --------------

     Exit code          = 30006

     Child PID          = 9054

     Exit Message       = :170.25.56.99:389: opening socket

     Panic String       =

     Internal error     = bad option "-graceful": must be -async, -myaddr, -myport, -server, -sslversion,

     Last RunStart count= 186  , Last RunStart time= Mon Aug 15 18:39:19 2011

     Last RunEnd count  = 186  , Last RunEnd time  = Mon Aug 15 18:39:19 2011

     Last Probe OK count= 0    , Last Probe OK time= Never

     Last ProbeFail     = 0    , Last ProbeFail    = Never

     count                     , time

     Last ForkFail count= 0    , Last ForkFail time= Never

     Last Kill count    = 0    , Last Kill time    = Never

     Last Panic count   = 0    , Last Panic time   = Never

     Last Nodecreate    = 0    , Last Nodecreate   = Never

     Error count               , Error time

     Last Unassociated  = 0    , Last Unassociated = Never

     Script count              , Script time

     Last Fail Internal = 186  , Last Fail Internal= Mon Aug 15 18:39:19 2011

     Last Socket-Limit  = 0    , Last Socket-Limit = Never

     count                     , time

     Last PV-Read count = 0    , Last PV-Read Time = Never

     Last PData-Null    = 0    , Last PData-Null   = Never

     count                     , time

     Last Unknown count = 0    , Last Unknown time = Never

switch/Admin# show probe LDAP detail

probe       : LDAP

type        : SCRIPTED

state       : ACTIVE

description :

----------------------------------------------

   port      : 0       address     : 0.0.0.0         addr type  : -

   interval  : 5       pass intvl  : 5               pass count : 3

   fail count: 3       recv timeout: 10

   script filename  : LDAP1

                ------------------ probe results ------------------

   associations ip-address      port  porttype probes   failed   passed   health

   ------------ ---------------+-----+--------+--------+--------+--------+------

   rserver     : TEST2

                170.25.56.99    0     --       231      231      0        FAILED

   Socket state        : RESET

   No. Passed states   : 0         No. Failed states : 1

   No. Probes skipped  : 0         Last status code  : 30006

   No. Out of Sockets  : 0         No. Internal error: 0

   Last disconnect err : Internal error: Script error

   Last probe time     : Mon Aug 15 18:43:04 2011

   Last fail time      : Mon Aug 15 18:23:55 2011

   Last active time    : Never

     I only do a change in the LDAP script:

     Previously:

          set sock [ socket $ip $port ]

     Now:

          set sock [socket -graceful $ip $port ]

     I think this enough, so the appliacen sends a FIN instead RST. Has anyone succeeded in configuring?

Thanks!

1 REPLY 1