Thursday, August 30, 2007

Remove a realm

Playing around with OID and Application Server Hosting, I created some realms. Quite easy to add one, but there's no delete, drop or remove realm option.

So: how to drop a realm, without painstakingly going through the ODM (Oracle Directory Manager) screens, that do not support a cascaded delete?

Appears to be quite simple:
login on the machine your OID runs on, and:

opmnctl stopall
./ -connect [tns_alias] \
-base "dc=test2,dc=home,dc=local"

The base is the actual realm you want to drop.


kwfarrell said...

thanks Frankie

mr-noname said...

Very good!!