Wednesday, August 8, 2012

OIM 11g: How to remove | uninstall connector


Follow the steps to remove OIM connector installed into your environment:
Step 1: Update ConnectorUninstall.properties according to your environment, connector and Objects that you want to remove:
Step 2-run {OIM_HOME/server/bin}uninstallConnector.sh script.
[oracle@thiagoserver bin]$ ./uninstallConnector.sh
*********************************************************************
* This utility deletes data from the OIM database directly and is *
* meant to be used in development/staging environments. *
* *
* WARNING: DO NOT USE IN PRODUCTION. *
*********************************************************************
Step 3-Run DeleteJars :
[command prompt will show:]

elem.type = “JavaTasks”;
elem.type = “ScheduleTask”;
elem.type = “ThirdParty”;
elem.type = “ICFBundle”;

DeleteJars script:
[oracle@thiagoserver bin]$ ./DeleteJars.sh
[command prompt]
[Enter Xellerate admin username :]xelsysadm
[Enter the admin password :]
[Enter serverURL :[ t3://localhost:7001 ]]t3://localhost:80
[Enter context Factory :[ weblogic.jndi.WLInitialContextFactory ]]
Enter the jar type
1.JavaTasks
2.ScheduleTask
3.ThirdParty
4.ICFBundle
Enter the name of jar to be deleted from DB :
OIDProv.jar or OIDRecon.jar(for this example: OID connector)
org.identityconnectors.siebel-1.0.1.jar(for example: Siebel connector)
Do u want to delete more jars [y/n] :y
Step 4- Run DeleteResourceBundles.sh and deleting all resources that are associated with the connector from Oracle Identity Manager database.
Check the successfully logs and run PurgeCache.sh utility as ./PurgeCache.sh ALL.
Done.
More details: http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/conn_mgmt.htm
I hope this helps,
Thiago Leoncio