All the Interesting Things

This is a personal web log. All information posted here does not represent my employer. I do not speak for my employer.
Sunday Jul 23, 2006

amadmin command line tool trick

amadmin is a command line admin tool for Access Manager. We can use it to register or remove a service in AM. Normally, it takes a few seconds to remove a service in AM. However, when the number of entries in LDAP is very large( in my case, > 1 Million), the removal of a service became very slow. The slowness may be caused by the time needed to delete entries in LDAP, which is a very slow operation.

So we took another approach. We first export the core data from the production DS. Then we replicate this environment in a testing machine. The testing machine now has the same config as the production machine, but less data entry. We then perform the remove/add operation on the testing machine. This are done pretty quick. After that, we export the data from test machine and import it into the production machine. Problem solved!

Comments:

Post a Comment:
Comments are closed for this entry.

Archives
Links
Referrers