Performing Oracle Database Application Migration to an Amazon EC2 Instance

Updated

When you migrate the application, you specify both the AMI and the Amazon EC2 instance.

You can use an existing EC2 instance, or you can specify a new EC2 instance name and the Commvault software creates the instance in the Amazon cloud.

If you use an need additional storage for the data, you can add a new storage device for the new or existing instance.

Before You Begin

  • Verify that the source on-premises database is running on a Red Hat Enterprise Linux 7 (RHEL 7) system and that the Oracle version is Oracle 11gR2 or 12c. These are the only supported environments for the source database that is to be migrated.

  • Complete the Amazon EC2 configuration. For more information, see Configuration for Oracle Database Application Migration to an Amazon EC2 Instance.

  • Verify that the AMI or the destination VM being used for the migration is preconfigured with dependent Oracle libraries.

  • If you plan to use an existing EC2 instance as the destination VM, verify that you have the Oracle and File System agent packages installed on the VM and register the VM with the same CommCell as the source client.

  • Have the backup administrator configure the system for Database Application Migration to an Amazon EC2 instance.

  • Make sure that you have the following information:

    • The Amazon account information.

    • The Amazon Machine Image name.

    • The Amazon key pair. For more information, go to the Amazon Web Services website, Amazon EC2 Key Pairs.

    • The VM lifecycle policy.

  • Enable client data collection for Oracle database application migration.

Procedure

  1. From the navigation pane, go to Protect > Databases.

    The Instances page appears.

  2. Click the instance.

    The instance page appears.

  3. On the upper-right corner of the page, click the menu icon , and then click Migrate to cloud.

    The Migrate to cloud page appears.

  4. Specify the cloud destination information.

    1. From the Cloud type list, select Amazon.

    2. From the Select VM list, select an existing VM for the migration. To create a new VM, select Create a new VM.

  5. Expand the Cloud compute configuration node, and then specify the AMI information

    1. From the VM Name list, select or type the instance.

      If you enter a new instance name, the Commvault software creates a new VM in the Amazon cloud.

      If you chose to use an existing EC2 instance, and do not want to modify the instance storage, then you do not need to take any action on this page.

      If you chose to use a new EC2 instance, specify the instance information.

    2. From the Recovery Target list, select the lifecycle policy.

    3. From the Image list, select the Amazon Machine Image that will host the instance.

    4. From the Instance Type list, select the type of Amazon instance to create.

      For information on Amazon EC2 instance types, go to the Amazon EC2 documentation website, Instance Types.

    5. In the No of CPUs box, type the number of CPUs you require for the migration.

    6. In the Memory (GB) box, type the required memory size in GB.

  6. Optional: Expand the Storage Configuration node, and then click Add storage.

    The Add storage dialog box appears.

    1. In the Mount points box, type a unique name for the mount point.

    2. From the Size(GB) box, type the mount point size.

    3. In the Description box ,type the name or phrase to describe the mount point.

    4. Click OK.

  7. Optional: To modify the mount points. In the row for the mount point, click the edit button.

    The Edit storage dialog box appears.

    1. In the Mount points box, type a unique name for the mount point.

    2. From the Size(GB) box, type the mount point size.

    3. In the Description box, type the name or phrase to describe the mount point.

    4. Click OK.

  8. Expand the Software Configuration node, and then specify the Oracle application location.

    • To clone the Oracle Home directory from the source machine, select Clone from source.

      Note: This option is not available when the migration source database is on an AIX or Solaris configuration.

    • To use the Oracle Home directory that exists on the destination, select Use installed on the target.

      Note: You can select this option when you created the compute node that has Oracle preinstalled, and you know the Oracle Home directory.

    • Optional: Specify a new install directory. In the Install directory on cloud box, type the full path to the Oracle Home directory.

      Use this option when you want to use a different Oracle Home path from the source, or when you want to specify the pre-installed AMI Oracle Home path.

  9. Optional: Expand the Network route configuration node, and then configure the required firewall configuration.

    1. Select the There is firewall between client machine and CommServe check box.

    2. To allow connection to CommServe on the tunnel port, select Client machines can open connection to CommServe on tunnel port.

    3. To allow an open connection from CommServe to the client machine, select CommServe can open connections to client machines.

    4. To configure the connection using a proxy, select CommServe is reachable only through proxy.

      In the CommServe HTTP/HTTPS tunnel port number, type the port number. For example, 8403.

  10. Expand the Migration Options node, and then specify the migration options.

    1. In the Migration area, select whether this operation is a one-time operation, or continuous.

      • To have this be a one-time operation, select One time.

      • To have this be a continuous operation that uses the replication feature, select Continuous (Live sync).

      • To restore the data from a specific copy, in the Restore from copy box, select the copy from which you want to restore the data.

    2. In the Post migration Validation Script box, type the full path and script name for the script that you use to validate the Oracle database.

  11. Click OK.

What to Do Next

You can control or view the job. For more information, see Jobs.