A Cleaning Up an Environment Before Rerunning IAM Deployment

This appendix describes how to clean up an environment before rerunning Identity and Access Management Deployment.

When you deploy Oracle Identity and Access Management using the runIAMDeployment.sh command, you must complete each stage in the topology before beginning the next stage. If a stage fails, you must clean up and start over.

To clean up a deployed environment before starting another cycle of deployment, proceed as follows:

  1. On each host, stop all Identity and Access Management processes, services and servers using idmtop/config/scripts/stopall.sh.

  2. Reboot the system to ensure that all server instances are stopped.

  3. On each host, remove the contents of the directory LOCAL_ROOT.

    This is the location on local storage where the OIM managed servers, SOA managed servers, and the OHS instances are stored, for example: /u02/private/oracle/config. Note that this directory is available only if you enabled and selected Local Configuration Location option on the Select Installation and Configuration Locations screen. For more information, see Section 4.4.1.8, "Select Installation and Configuration Locations".

  4. Remove the contents of the directories LCM_HOME (or IDMLCM_HOME) and IDMTOP on shared storage.

    LCM_HOME (or IDMLCM_HOME) is the Lifecycle Management Store Location directory and IDMTOP is the Software Installation Location directory you specified on the Select Installation and Configuration Locations screen. For more information, see Section 4.4.1.8, "Select Installation and Configuration Locations". For information about Oracle and Middle homes, see Section 2.2.3, "Summary of Oracle Homes".

    Note:

    If you are using a Windows system, some Oracle services must be deleted manually. To do this, find the following Oracle services, stop them and then delete each service using the sc delete command:
    • Oracle VM Service

    • Oracle WebLogic NodeManager (C_IDMPROV_BASEDIR_IDMTOP_products_identity_wlserver_10.3)"

    • OracleProcessManager_ohs1

    • Oracleagent10gAgent

    • Oracleagent10gAgentSNMPPeerEncapsulator

    • Oracleagent10gAgentSNMPPeerMasterAgent

    Example: sc delete "Oracle VM Service"

  5. Drop the database schema using RCU. When dropping the schema, ensure that you check the ODS schema because it is not checked by default. IAM deployment will fail during the next run if you do not perform this step correctly.

After you have performed these steps, you can rerun runIAMDeployment.sh.