Thursday, January 30, 2014

Export/Import policies in OAM11gR2

Exporting and Importing Policies in OAM11gR2

 Using the WLST Scripting tool we can export or import the policies from OAM . The steps for exporting and importing policies in OAM11gR2 is given below,

Steps for Exporting OAM Policies


  1. Navigate to $ORACLE_HOME/common/bin
  2. Run ./wlst.sh
  3. Enter connect()
  4. Enter the weblogic username , password and server url for weblogic 
  5. Execute the command   exportPolicy(pathTempOAMPolicyFile=’/tmp/oam_policies.xml’)
  6. The following message will be displayed.                                                                                                                                                 


                                      


                                                                                                                                                                                       Steps for Importing the OAM Policies 
  1. Navigate to $ORACLE_HOME/common/bin
  2. Run ./wlst.sh
  3. Enter connect()
  4. Enter the weblogic username , password and server url 
  5. Execute the command      importPolicy(pathTempOAMPolicyFile,’/tmp/oam_policies.xml’)
  6.    The following message will be displayed.