cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
849
Views
0
Helpful
1
Replies

Using LDAP_PROBE for IBM tivoli directory server

sanjaysutar
Level 1
Level 1

                   Hi All,

               Anyone tried using LDAP_PROBE (that is shipped by default) for load-balancing/fail-over of IBM Tivoli Directory Server?

I have tried the default script that does ananymous bind , but it doesnt do the job. I suspect if the response returned from Tivoli directory server is not in same format as expected but how do i check the response format and check the offset of status in response.

Attaching the script and debug output.

probe scripted LDAP-Probe-389

  port 389

  interval 5

  faildetect 2

  passdetect count 2

  script LDAP_PROBE_3.tcl DEBUG

Error output:

2013 Oct 31 09:47:35.478652 scripted_hm: (ctx:3) TCLWT (scripted_hm_run_probe_msg): Received MTS_RUN_MSG

2013 Oct 31 09:47:35.478732 scripted_hm: (ctx:3)tcl_wt_create_qnode: temp_qnode 0x100301a0 em_msg 0x2c94f854

2013 Oct 31 09:47:35.478764 scripted_hm: (ctx:3) TCL_UTIL(hm_tcl_associate_script_buf) - ENTER em_msg = 0x2c94f854

2013 Oct 31 09:47:35.478791 scripted_hm: (ctx:3) TCL_UTIL (hm_tcl_associate_script_buf) : Associating script-buf with LDAP_PROBE_3.tcl em_msg = 0x2c94f854

2013 Oct 31 09:47:35.478821 scripted_hm: (ctx:3) TCL_UTIL(hm_tcl_find_script_buf) - ENTER

2013 Oct 31 09:47:35.478848 scripted_hm: (ctx:3) TCL_UTIL(hm_tcl_find_script_buf) - Found script buf

2013 Oct 31 09:47:35.478872 scripted_hm: (ctx:3)TCL_UTIL(hm_tcl_associate_script_buf) - EXIT

2013 Oct 31 09:47:35.478899 scripted_hm: (ctx:3) TCLWT(tcl_wt_create_qnode): Created qnode 100301a0

2013 Oct 31 09:47:35.483629 scripted_hm: (ctx:3)hm_tcl_run: pid 9916 return_fd 17 

2013 Oct 31 09:47:35.490360 scripted_hm: (ctx:3) TCL_UTIL(hm_tcl_set_env_vars): arg list = DEBUG

2013 Oct 31 09:47:35.490416 scripted_hm: (ctx:3) TCL_UTIL(hm_tcl_get_argcount) - ENTER, argv(DEBUG)

2013 Oct 31 09:47:35.490618 scripted_hm: (ctx:3)hm_tcl_run: About to run the TCL interpreter

2013 Oct 31 09:47:35.498609 scripted_hm: (ctx:3)Tcl_Itasca_SocketObjCmd: g_num_socket 1

2013 Oct 31 09:47:35.502149 scripted_hm: (ctx:3)  TCLPROBE(hm_tcl_exit_proc): File open failed

2013 Oct 31 09:47:35.502169 scripted_hm: (ctx:3)TCL-WT(tcl_wt_process_interp_return) - ENTER

2013 Oct 31 09:47:35.502226 scripted_hm: (ctx:3) TCLWT(tcl_wt_process_interp_return): received error from scripted probe!

2013 Oct 31 09:47:35.502265 scripted_hm: (ctx:3) TCLWT(tclwt_send_em_msg): ENTER

2013 Oct 31 09:47:35.502290 scripted_hm: (ctx:3)  TCL-WT(tclwt_send_em_msg): exit msg = Response: 0آ\204ہ\200ہ\200ہ\200^P^B^A^Aaآ\204ہ\200ہ\200ہ\200

2013 Oct 31 09:47:35.502402 scripted_hm: (ctx:3) TCLWT(tclwt_send_em_msg): EXIT without Error

2013 Oct 31 09:47:35.502577 scripted_hm: (ctx:3)TCL-WT(tcl_wt_process_interp_return) – EXIT

Thanks in advance.

1 Reply 1

Kanwaljeet Singh
Cisco Employee
Cisco Employee

Hi Sanjay,

If you want to see what the server is response is then you can take a pcap on ACE itself or on server or on switch between ACE and server. That should show you what server is responding.

Regards,

Kanwal

Review Cisco Networking for a $25 gift card