Tuesday, February 24, 2015

Roll back/Revert a published Sandbox in OIM 11GR2

Reverting a Published Sandbox in OIM 11g R2

So many times, you would like to roll back the changes made by a published sandbox. Once published, there is no option available in OIM admin or identity interface to roll back the published sandbox. However, starting 11GR2, you could roll back the published sandbox through Enterprises Manager interface.



1. Login to Enterprise Manager(EM Console).



2> Enter into MDS schema by clicking “Identity and Access” à OIM à oim(11.1.2…..)



3> Start MBean Browser



4> Goto oracle.mds.lcm à Server: oim_server1 à Application: oracle.iam.console.identity.self-service.ear à MDSAppRuntime à MDSAppRuntime





5> On the right side, click the “listMetadataLabels”. There are 2 of them, choose the one that does not require parameter.



6> For each sandbox there will be 3 entrees, creation_<sandbox>…., pre_<sandbox>…., and post_<sandbox>…. . To go back to the oim status before the sandbox was created ( roll back the sandbox), copy the name of the SB starting with creation…..example Creation_OIM_testbox_10:30:00 . Copy the name

7> Click on “Return” to go to previous page (Operations).

Find the operation “promoteMetadataLabel”. There are 2 of them, use the one that takes one parameter only.





8> Paste the sandbax name you copied (Creation_OIM_testbox_10:30:00).

9> Click “Invoke.

10> Restart the OIM

Have fun....


1 comment:

  1. In the case we need to revert multiple sandboxes is a restart required after each invoke? Or will one restart after reverting all sandboxes suffice

    ReplyDelete