Note:

Configure Exadata Cloud Infrastructure Migration Automation Utility for Oracle Exadata Database Service on Dedicated Infrastructure

Introduction

Users can now configure Exadata Cloud Infrastructure Migration Automation Utility for Oracle Exadata Database Service on Dedicated Infrastructure. This utility will help users migrate their Oracle Exadata Database Service deployments with no downtime from one Oracle Exadata Cloud Infrastructure to another. Key use cases include moving between hardware generations, or rebalancing databases across infrastructures.

Exadata Cloud Infrastructure Migration Automation Utility is a simple tool that can be installed on any Linux client machine with access to the Oracle Cloud Infrastructure (OCI) control plane. Based on the given source Infrastructure OCID, the utility will discover and capture the configuration of the current environment and create input templates for the Oracle Exadata Cloud Infrastructure, cloud VM clusters, and databases. These templates can be modified as required to accommodate the intended migration target. The utility will validate the template, checking for any potential problems in the setup and configuration. Upon successful validation, the utility will provision a new Oracle Exadata Cloud Infrastructure, create desired cloud VM cluster, and migrate the databases. Databases are migrated with no downtime by instantiating standby databases on the target infrastructure and switching over to the standby on the target infrastructure.

Objectives

Current Capabilities

Migration Workflows Supported by Utility

Prerequisites

Task 1: Discover Environment by Generating Input Templates for Infrastructure, VM Clusters, and Databases

  1. Run the following command to generate input templates for Infrastructure, VM Clusters and Databases.

    Image showing generating input templates

  2. Discover the content of the Infrastructure, Cloud VM Cluster, and Database inputs template files.

    • Sample content of the Infrastructure inputs template file.

      Image showing content of Infrastructure

    • Sample content of the Cloud VM Cluster inputs template file.

      Image showing content of Cloud VM Cluster

    • Sample content of the Database inputs template file.

      Image showing content of Database

Task 2: Create the new Oracle Exadata Cloud Infrastructure

  1. Modify the Infrastructure input template file with the following information.

    Note: Modify the infrastructure input template file to accommodate the target infrastructure as required.

    • displayName: Enter the new infrastructure display name (ecma-lhrcabcei).
    • exadataInfraModel Enter new target model Exadata.X11M.
    • databaseServerType Enter database server type X11M.
    • storageServerType Enter storage server type X11M-HC.

    Image showing modify infrastructure input template file

  2. Run the following command to validate the infrastructure input template file.

    Image showing validate infrastructure input template file

  3. Create the new Oracle Exadata Cloud Infrastructure using the following command.

    exacloudmigration create_infra -i inputs/infra_lhrcabcei/infrastructure_inputs
    

    Image showing create new infrastructure

    The Exadata Cloud Infrastructure Details page is now displayed. While the creation process is running, the lifecycle state of the Oracle Exadata Cloud Infrastructure shows PROVISIONING.

    Image showing provisioning of new infrastructure

    When the Oracle Exadata Cloud Infrastructure creation process completes, the state of the Oracle Exadata Cloud Infrastructure changes to AVAILABLE.

    Image showing provisioning of new infrastructure

Task 3: Create the Cloud VM Cluster

  1. Modify Cloud VM Cluster input template file with the following information.

    Note: Modify the cloud VM cluster input template file as per target requirement.

    • create=yes: To create cloud VM cluster.
    • createAppVIP=yes: To create appvip.
    • cpuCountPerVM=8: To set OCPU count per VM.
    • u02SizeInGBsPerVM=500: To set u02 file system size.

    Image showing modify cloud vm cluster

  2. Run the following command to validate the Cloud VM Cluster input template file.

    Image showing validate cloud vm cluster

  3. Create new Cloud VM Cluster using the following command.

    exacloudmigration create_vmcluster -i inputs/infra_lhrcabcei/cloudvmcluster_inputs
    

    Image showing create cloud vm cluster

    The Cloud VM Cluster Details page is now displayed. While the creation process is running, the lifecycle state of the cloud VM cluster shows PROVISIONING.

    Image showing provisioning of new cloud vm cluster

    When the cloud VM cluster creation process completes, the state of the cloud VM cluster changes to AVAILABLE.

    Image showing provisioning of new cloud vm cluster

Task 4: Create and Migrate the Database

  1. Modify the Database input template file for Oracle Data Guard association with the following information.

    Note: Modify the database input template file as per target requirement.

    • targetVmClusterOCID: Enter the new target cloud VM cluster OCID.
    • create=yes: To set up Oracle Data Guard association.

    Image showing modify database

  2. Run the following command to validate the database input template file.

    Image showing validate the database

  3. Run the following command to set up Oracle Data Guard association to migrate database.

    Image showing setup data guard association

    Image showing setup data guard association

    During the Oracle Data Guard association setup, the console should look like as shown in the following image.

    Image showing setup data guard association

    After Oracle Data Guard setup, the console should look like as shown in the following image.

    Image showing setup data guard association

  4. Modify Database input template file to configure switchover.

    Note: For example, standbyDatabaseOCID with the new standby database OCID for switchover.

    Image showing data guard association setup

  5. Run the following command to perform database switchover to the new standby database.

    Image showing data guard switchover

  6. Run the following command to delete standby database by modifying database input template file.

    Note: Modify database_inputs file for the parameter standbyDatabaseOCID with the standby database OCID for deletion.

    Image showing standby database deletion

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.