5 Replies Latest reply: May 12, 2013 5:57 AM by SAISRINIVAS RSS

    OIM 11gR2 : Export from MDS

    IDM_newbie
      Hello Experts,

      For exporting MDS data from enterprise manager, i followed the steps mentioned in the developer's guide for OIM 11gR2. I was successfully able to take a backup of the MDS data.
      But i was unable to find the /db, /metadata or /custom folders in the directory structure retrieved from MDS.

      Kindly Help.
        • 1. Re: OIM 11gR2 : Export from MDS
          Rajiv Dewan
          Why don't you try weblogicExportMetadata.sh
          • 2. Re: OIM 11gR2 : Export from MDS
            user651347
            What is the path you mentioned in the weblogic.properties file?
            • 3. Re: OIM 11gR2 : Export from MDS
              chinni
              Hi,

              Check out this link:

              http://www.iamidm.com/2013/03/oim-11g-r2-exporting-and-importing-mds.html

              Regards,
              Chinni
              • 4. Re: OIM 11gR2 : Export from MDS
                IDM_newbie
                Kindly share the steps to use weblogicExportMetadata.sh
                Also, just for clarifying, the MDS export done through Enterprise Manager must also give these results. Is it that there is some specific step which i am missing out or which is not updated in the document available ? I followed these steps:

                *1. Login to Oracle Enterprise Manager as the administrator.*
                *2. On the landing page, click oracle.iam.console.identity.self-service.ear(V2.0).*
                *3. From the Application Deployment menu at the top, select MDS configuration.*
                *4. Under Export, select the Export metadata documents to an archive on the machine where this web browser is running option, and then click Export.*

                All the metadata is exported in a ZIP file.
                • 5. Re: OIM 11gR2 : Export from MDS
                  SAISRINIVAS
                  Hi,
                  Below steps also works, please try this.

                  [oracle@oim ~]$ cd /opt/oracle/Middleware/user_projects/domains/OIMDomain/bin
                  [oracle@oim bin]$ . setDomainEnv.sh
                  *****************************************************
                  ** Setting up SOA specific environment...
                  *****************************************************
                  EXTRA_JAVA_PROPERTIES= -da:org.apache.xmlbeans...
                  .
                  LD_LIBRARY_PATH=/opt/oracle/Middleware/patch_wls1033/profiles/default/native:/opt/oracle/Middleware/patch_ocp353/profiles/default/native:/opt/oracle/Middleware/patch_jdev1111/profiles/default/native:/opt/oracle/Middleware/wlserver_10.3/server/native/linux/i686:/opt/oracle/Middleware/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/oracle/Middleware/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin
                  .
                  USER_MEM_ARGS=-Xms512m -Xmx1024m
                  .
                  *****************************************************
                  ** End SOA specific environment setup
                  *****************************************************
                  [oracle@oim OIMDomain]$ mkdir -p /tmp/OIM/MDSData
                  [oracle@oim OIMDomain]$ cd $OIM_ORACLE_HOME/common/bin
                  [oracle@oim bin]$ pwd
                  /opt/oracle/Middleware/Oracle_IDM1/common/bin
                  [oracle@oim bin]$ ./wlst.sh
                  CLASSPATH=/opt/oracle/Middleware/wlserver_10.3/server/ext/jdbc/oracle/11g/ojdbc6dms.jar:...
                  ...
                  Your environment has been set.
                  ...
                  Initializing WebLogic Scripting Tool (WLST) ...

                  Welcome to WebLogic Server Administration Scripting Shell

                  Type help() for help on available commands
                  wls:/offline> connect()
                  Please enter your username [weblogic] :
                  Please enter your password [welcome1] :
                  Please enter your server URL [t3://localhost:7001] :
                  Connecting to t3://localhost:7001 with userid weblogic ...
                  Successfully connected to Admin Server 'AdminServer' that belongs to domain 'OIMDomain'.

                  Warning: An insecure protocol was used to connect to the
                  server. To ensure on-the-wire security, the SSL port or
                  Admin port should be used instead.
                  wls:/OIMDomain/serverConfig> exportMetadata(application='OIMMetadata', server='oim_server1', toLocation='/tmp/OIM/MDSData')
                  Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
                  For more help, use help(domainRuntime)

                  Executing operation: exportMetadata.

                  Operation "exportMetadata" completed. Summary of "exportMetadata" operation is:
                  List of documents successfully transferred:
                  /adf/META-INF/connections.xml
                  /db/GTC/ProviderDefinitions/CSVReconFormat.xml
                  /db/GTC/ProviderDefinitions/Concatenation.xml
                  /db/GTC/ProviderDefinitions/IsBlankOrNullValidatorProvider.xml
                  ...
                  /db/form-metadata/FormMetaData.xml
                  /db/identity/entity-definition/OIMOrgDataProvider.xml
                  /db/identity/entity-definition/OIMRoleCategoryDataProvider.xml
                  ...
                  /db/oim-config.xml
                  /db/task.xml
                  /file/RECON_USER_OLDSTATE.xml
                  /file/User.xml
                  /file/async-messaging.xml
                  /metadata/iam-features-OIMMigration/EventHandlers.xml
                  /metadata/iam-features-Scheduler/EventHandlers.xml
                  /metadata/iam-features-accesspolicy/event-definition/EventHandlers.xml
                  /metadata/iam-features-asyncwsclient/EventHandlers.xml
                  /metadata/iam-features-asyncwsclient/plugin.xml
                  /metadata/iam-features-authzpolicydefn/plugin.xml
                  /metadata/iam-features-autoroles/event-definition/EventHandlers.xml
                  /metadata/iam-features-callbacks/CallbackConfiguration.xsd
                  /metadata/iam-features-callbacks/event_configuration/EventHandlers.xml
                  /metadata/iam-features-configservice/event-definition/EventHandlers.xml
                  /metadata/iam-features-configservice/plugin.xml
                  /metadata/iam-features-identity/IdentityNotificationEvent.xml
                  /metadata/iam-features-identity/event-definition/EventHandlers.xml
                  /metadata/iam-features-identity/plugin.xml
                  /metadata/iam-features-ldap-sync/LDAPContainer.xml
                  /metadata/iam-features-ldap-sync/LDAPDataProvider.xml
                  ...
                  /metadata/iam-features-notification/EventHandlers.xml
                  /metadata/iam-features-notification/NotificationEvent.xsd
                  /metadata/iam-features-passwordmgmt/event-definition/EventHandlers.xml
                  /metadata/iam-features-passwordmgmt/notification/ResetPasswordEvent.xml
                  /metadata/iam-features-reconciliation/ProfileConfig.xsd
                  /metadata/iam-features-reconciliation/entity-definition/OperationalDB.xml
                  /metadata/iam-features-reconciliation/entity-definition/RDBMSChildDataProvider.xml
                  ...
                  /metadata/iam-features-request/ApprovalCategory.xml
                  /metadata/iam-features-request/ApprovalProcess.xsd
                  /metadata/iam-features-request/ReqHistory.xjb
                  ...
                  /metadata/iam-features-requestactions/event-definition/EventHandlers.xml
                  /metadata/iam-features-requestactions/model-data/AssignRolesDataset.xml
                  /metadata/iam-features-requestactions/model-data/AssignRolesRequest.xml
                  ...
                  /metadata/iam-features-selfservice/event-definition/EventHandlers.xml
                  /metadata/iam-features-selfservice/notification/AddProxyUser.xml
                  /metadata/iam-features-selfservice/notification/CreateNewSelfUser.xml
                  /metadata/iam-features-sil/db/Registration.xml
                  /metadata/iam-features-sil/db/Registration.xsd
                  /metadata/iam-features-sil/db/SILConfig.xml
                  /metadata/iam-features-sod/EventHandlers.xml
                  /metadata/iam-features-system-configuration/EventHandlers.xml
                  /metadata/iam-features-system-configuration/plugin.xml
                  /metadata/iam-features-tasklist/EventHandlers.xml
                  /metadata/iam-features-tasklist/plugin.xml
                  /metadata/iam-features-templatefeature/EventHandlers.xml
                  /metadata/iam-features-transUI/EventHandlers.xml
                  /metadata/iam-features-transUI/plugin.xml

                  145 documents successfully transferred.
                  wls:/OIMDomain/serverConfig> disconnect()
                  Disconnected from weblogic server: AdminServer
                  wls:/offline> exit()