I was meeting a customer today. He is interested in migrating from Sun Directory Server 5.2 to Sun OpenDS Standard Edition 2.0 (target release date is Mid July 2009).
Why Sun OpenDS SE 2.0 and not Sun Directory Server 6.3.1? I was told the price for commercial support differ by quite a lot, at least S$12k for his case. Wow!
Anyway, that's not my objective. I'm providing Professional Service/Consultancy. I'll leave the pricing to the folks.
So, I asked during the meeting when is the peak period and what is the concurrent hit like? I was given figures ranging from 70-80k per hour to 5 millions hit per day.
I was not convinced. Thus I asked for facts which can be easily extracted with the tools provided by Sun Directory Server 5.2.
You can use the GUI to monitor the suffix status online. (Click on "Continuous refresh") Otherwise, for people like me, command-line is best.
bash-3.00# ldapsearch -D "cn=Directory Manager" -w password -b "cn=monitor,cn=userRoot,cn=ldbm database,cn=plugins,cn=config" objectclass=*
version: 1dn: cn=monitor,cn=userRoot,cn=ldbm database,cn=plugins,cn=configobjectClass: topobjectClass: extensibleObjectcn: monitordatabase: ldbm databasereadonly: 0nextid: 10dbentrycount: 9ldapentrycount: 9entrycachehits: 26entrycachetries: 36entrycachehitratio: 72currententrycachesize: 14796maxentrycachesize: 10485760currententrycachecount: 9maxentrycachecount: -1
Remember to execute the above command over a period of time in order to capture the overall statistics. A cron job will help.
Hi Chong, Thank you very much for the post..
ReplyDeleteI am also working on Sun DS 5.2 and I have some doubts on How both DB and entry cache hit ratios affect the performance of a Directory server and
what is the difference between currententrycachecount, ldapentrycount.
because in our case values showing are
currententrycachecount: 44000
ldapentrycount: 168630
and
enreycachehitratio: 99
entrycachehits: 144920341
entrycachetries: 145715488
It would be helpful, if you refer any document which explains all monitoring attributes.
Thank you.