Migrating Environment Using Zero Downtime Migration (ZDM)

To migrate an environment to Cloud Manager using ZDM, perform the following steps:

  1. Create a DB System in OCI.

  2. Use ZDM to migrate the database to the DB System in OCI.

  3. Import the DB System environment in Cloud Manager.

  4. Perform an application lift to lift ps app home and ps cust home.

  5. Add middle tier node to the running database environment.

Refer to Creating DB System to create the DB System.

The DB System needs to be accessible to Cloud Manager. Keep the following in mind when creating the DB System:

  • Passwords used while creating DB System should be same as source database.

  • Container Database (CDB) Name should be same as source database.

  • Oracle Database software version should be the same as the source database.

  • Cloud Manager must be able to access the DB System.

    It is not necessary for Cloud Manager and the DB System to be in the same VCN, however if they are in different VCNs, then VCN peering has to be done before the database import.

    See VCN Peering.

  • Cloud Manager SSH public key must be added to the DB System in order for the import to work.

    Add the SSH key with one of these methods:

Prerequisites

Migrating the Database

Follow the steps in the ZDM documentation for Migrating Your Database with Zero Downtime Migration.

Note: Migration method in the ZDM response file should be "MIGRATION_METHOD=BACKUP_RESTORE_OSS".

Import the DB System Environment. See Importing Environment for Add DB System Node.

Perform an application lift to create the Application DPK which includes ps app home and ps cust home.

See Performing Application Lift

To add the middle tier node to the running database environment:

  1. Select the Environments tile.

  2. Select Manage Node action for your imported DB System environment.

  3. Expand the Select Action section and add a middle tier node.

    Image: Add Middle Tier Node example

    This example illustrates the fields and controls on the Manage Node page to add a Linux middle tier node.

    Add Middle Tier Node example
  4. Expand the Settings section and select the location for the Application DPK.

    • Object Store

      When you select Object Store, the DPK Object Name drop down list will display all the application DPK files in Object Store.

      Image: Application DPK in Object Store

      This example illustrates the fields and controls on the Manage Node page where the Application DPK location is Object Store.

      Application DPK in Object Store
    • File Server

      If you manually copied app home and cust home to the file server provide the relative path to the file server.

      Image: Application DPK in File Server

      This example illustrates the fields and controls on the Manage Node page where the Application DPK location is File Server.

      Application DPK in File Server
  5. Enter the remaining required credentials and submit.