MDS Data Purpose: Some configurations for Oracle Identity Manager (OIM) are now stored in an MDS repository rather than on a file system on the OIM Server. Troubleshooting configuration issue can sometimes require exporting MDS data.
Follow below step to Export and Import MDS Data
1) Create directory where you want to export your MDS Data.
2) Go to IDM_HOME/common/bin folder and run wlst.cmd (in windows) or wlst.sh (in unix)
3) Run "connect()" command
4) Enter following details
Please enter your username: weblogic (Enter weblogic username)
Please enter your password: ****** (Enter weblogic Password)
Please enter your server URL: t3://localhost:7001 (Enter weblogic server URL)
5) Run the following command to export data.
exportMetadata(application='OIMMetadata', server='oim_server1', toLocation='provide full location')
6) Data will be exported to given directory as shown below.
Below are steps for importing MDS Data.
1) Add or Modify files (below I have added one file, I used it for creating custom schedule task)
2) Run below command to import.
3) Out put looks like this
4) use "disconnect()" to disconnect.
Follow below step to Export and Import MDS Data
- Weblogic Server should be running while doing following operation
1) Create directory where you want to export your MDS Data.
2) Go to IDM_HOME/common/bin folder and run wlst.cmd (in windows) or wlst.sh (in unix)
3) Run "connect()" command
4) Enter following details
Please enter your username: weblogic (Enter weblogic username)
Please enter your password: ****** (Enter weblogic Password)
Please enter your server URL: t3://localhost:7001 (Enter weblogic server URL)
5) Run the following command to export data.
exportMetadata(application='OIMMetadata', server='oim_server1', toLocation='provide full location')
6) Data will be exported to given directory as shown below.
Below are steps for importing MDS Data.
1) Add or Modify files (below I have added one file, I used it for creating custom schedule task)
2) Run below command to import.
3) Out put looks like this
4) use "disconnect()" to disconnect.