PingDirectory

Monitoring the server using the status tool

The PingDirectoryProxy server provides a status tool that provides basic server status information, including version, connection handlers, a table of LDAP external servers, and the percent of the global index being used.

Steps

  1. To view the current state of the server, run the status tool.

    $ bin/status
  2. Enter the LDAP connection parameters.

    >>>> Specify LDAP connection parameters
    
    Administrator user bind DN [cn=Directory Manager]:
    
    Password for user ‘cn=Directory Manager’:

    Result:

              --- Server Status ---
    Server Run Status:    Started 07/Jan/2011:10:59:52.000 -0600
    Operational Status:   Available
    Open Connections:     4
    Max Connections:      8
    Total Connections:    25
    
              --- Server Details ---
    Host Name:            example
    Administrative Users: cn=Directory Manager
    Installation Path:    /path/to/PingDirectoryProxy
    Version:              PingDirectoryProxy 8.0.0.0
    Java Version:         jdk-7u9
    
              --- Connection Handlers ---
    
    Address:Port : Protocol : State
    -------------:----------:---------
    
    Step 0.0.0.0:1689 : JMX      : Disabled
    Step 0.0.0.0:636  : LDAPS    : Disabled
    Step 0.0.0.0:9389 : LDAP     : Enabled
    
             --- LDAP External Servers ---
    
    Server         : Status    : Score : LB Algorithm
    ---------------:-----------:-------:----------------------
    localhost:389  : Available : 10    : dc_example_dc_com-failover
    localhost:1389 : Available : 10    : dc_example_dc_com-failover
    
             --- LDAP External Server Op Counts ---
    
    Server         : Add : Bind:Compare:Delete:Modify:Mod DN:Search : All
    ---------------:-----:----:------:-------:-------:------:-------:----
    localhost:11389: 0   : 0  : 0    : 0     : 0     : 0    : 1249  : 1249
    localhost:12389: 0   : 0  : 0    : 0     : 0     : 0    : 494   : 494
    
             --- Entry Balancing Request Processors ---
    
     Base DN                     : Global Index % Used
    ----------------------------:--------------------
    ou=people,dc=example,dc=com : 33
    
             --- Global Index Stats for ou=people,dc=example,dc=com ---
    
    Index : Total Bytes : Key Bytes : Keys : Size (# Keys) : Inserted :
    Removed : Replaced: Hits : Misses : Discarded : Duplicates
    ------:-------------:-----------:---------:---------------:----------
    rdn   : 30667304    : 14888906  : 1000001 : 3464494 0 :0 :0 :0 :0 :0
    uid   : 26523480    : 10888902  : 1000001 : 3464494 0 : 0 : 3583 : 0 : 0 : 0
    
              --- Operation Processing Time ---
    
    Op Type   : Total Ops : Avg Resp Time (ms)
    ----------:-----------:-------------------
    Add       : 0         : 0.0
    Bind      : 0         : 0.0
    Compare   : 0         : 0.0
    Delete    : 0         : 0.0
    Modify    : 0         : 0.0
    Modify DN : 0         : 0.0
    Search    : 3583      : 117.58
    All       : 3583      : 117.58
    
              --- Work Queue ---
    
               : Recent : Average : Maximum
    -----------:--------:---------:--------
    Queue Size : 0      : 0       : 1
    % Busy     : 0      : 1       : 19