Friday, April 25, 2008

Importing Connector XML more than once

Sometimes there is a need to duplicate a resource object, IT Resource, Process Definitions, Forms, Adapters etc. So, the easiest way to do this to reimport the out of the box connector xml or export the connector xml from your environment if you have customizations on the connector. The following example lists the minimal changes that need to be done in order for this xml to be reimported successfully. I am using Unix SSH Connector to demonstrate what changes need to be done.

Firstly, backup your OIM database. Even if you are on a VMWare, remember, Database export is always good.

Next, get a free tool like "xml notepad" from Microsoft or any other xml editor tool.

Open the xml with the editor and do the following:

1. Replace All the "SSH User" to "Linux02" (or choose whatever name you want).

2. Go to the Form Name node and replace it from "UD_SSH" to "UD_L02".

3. Delete objectDataDefinition node.

4. Just import and its all done.

5. Occasionally, if the import fails, do a reimport again. Delete the nodes from the selections in deployment manager which are already in the OIM from the first import (They come with a big X mark on the side).

No comments: