Loading...

Performing Oracle Database Application Migration to an Amazon EC2 Instance

You can create instances (virtual computing environments) based on Amazon Machine Images (AMIs). You can create an AMI from a predefined template, or a custom template that meets the Amazon requirements.

An Amazon environment includes regions for different geographical areas, and regions contain different locations referred to as availability zones. Instances are associated with regions and zones.

When you initiate the migration operation, the Commvaultsoftware uses the File System Agent to copy the Oracle application to the specified AMI. It then sends the Oracle database backup to Amazon. The software then performs the Live Sync operation according to options that you choose.

After the migration is complete, the Amazon Machine Image (AMI) contains the Oracle application Amazon EC2 instance that contains the Oracle application and Oracle database backup.

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

  1. Complete the Amazon EC2 configuration. For more information, see Configuration for Oracle Database Application Migration to an Amazon EC2 Instance.
  2. Have the backup administrator configure the system for Database Application Migration to an Amazon EC2 instance.
  3. 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.

Procedure

  1. You can perform the database application migration operation from the DB Instances page or the instance details page.
    • From the navigation page, click Solutions > DB Instances, in the Actions column for the instance, click the action button action_button, and then click Migrate to cloud.
    • From the navigation page, click Solutions > DB Instances > instance.Then, in the upper right of the page, click Migrate to cloud.

      The Server configuration page appears.

  2. Specify the cloud destination information.
    1. From the Cloud type list, select Amazon.
    2. From the Provisioning Policy list, select the lifecycle policy.
    3. From the Compute node list, select or type the instance.

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

  3. Click Next.

    The Cloud compute configuration page appears

  4. Specify the AMI information.

    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:

    • From the Image list, select the Amazon Machine Image that will host the instance.
    • From the Shape 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. Optional: add storage. 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. From the Volume type list, select the volume type.
    4. In the IOPS limit box, type the input and output limit.
    5. In the Description box ,type the name or phrase to describe the mount point.
    6. Click OK.
  6. Optional: modify the mount points. In the row for the mount point, click the edit 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. From the Volume type list, select the volume type.
    4. In the IOPS limit box, type the input and output limit.
    5. In the Description box ,type the name or phrase to describe the mount point.
    6. Click OK.
  7. Click Next.

    The Software Configuration page appears.

  8. On the , 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. Click Next.

    The Firewall configuration page appears.

  10. Specify the firewall options.
    • Select the There is a firewall between client machine and CommServe check box.
    • If you use have a proxy server, then select the following options:
      • Select CommServe is reachable only through proxy.
      • In the Local HTTP/HTTPS tunnel box, type the port that you configured for the firewall, for example, 443.
      • From the Proxy Client Name list, select the proxy server.
    • If you have a one-way firewall topology, then select Client machines can open connection to CommServe on tunnel port.
  11. Click Next.

    The Migration Options page appears.

  12. 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 a continuous operation that uses the Live Sync feature, select Continuous (Live Sync).
    2. In the Baseline area, select the backup to use for migration
      • To use the latest full backup, select Use most recent full backup.
      • To run a new backup for the Live Sync operation, select Run a new full backup.
    3. To have the destination database come up in standby mode, select the Restore destination in standby mode check box.
    4. To migrate from a copy precedence, select the Copy precedence check box, and then in the box, type the copy precedence number.
    5. In the Post migration area, in the Validation Script box, type the full path and script name for the script that you use to validate the Oracle database.
  13. Click Submit.

What to Do Next

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

Last modified: 4/15/2019 3:57:47 PM