Creating a Migration Plan

Create a migration plan to test different configurations, compare cost models, and so on.

    1. Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Migrations.
    2. On the Migrations page, select the active migration project for which you want to create a migration plan.
    3. From the Migration project details page, under Resources, select Migration plans and then click Create migration plan.
    4. On the Create migration plan page, in the Basic info section, provide the following information:
      • Enter a display name. For example, vSphere6.5MigrationPlan2
      • Select the compartment.
      • Select a target compartment.
      • Specify the migration strategy:
        • Resource type: Select Default, CPU, or Memory.

          If you do not define any resource type, the strategy type is applied to CPU and memory.

        • Strategy type: Select As is, Average, Peak, or Percentile. By default, the strategy type used is As is. If you select Average or Peak, you can specify the metric type or metric type window.
        • If you select Percentile, you can specify the metric time window and percentile.
      • (Optional) Enter a numeric value as the adjustment multiplier.

        To know more about the recommendation strategies based on migration strategies, see Understanding Recommendation Strategies and Cost Estimates. An example for a migration strategy type with resource type is as follows:

        Use the following settings for a strategy based on the CPU utilization runtime metrics of the last 24 hours. The strategy is scaled up to 20% above average, so that any extra CPU usage is accounted for.

        Set the resource type as CPU, strategy type as Average, metric-type as Runtime to use the metrics that are available from vCenter, metric-type window as one day, adjustment multiplier as 1.2.

    5. In the Target environment section, provide the following information about the virtual machine:
      • Select the virtual machine shape. The available options are as follows:
        • Use system recommendation: Provides a virtual machine shape based on source metadata.
        • Select preferred shape type: Allows you to define the shape of the OCI virtual machine.

          For information about changing a shape type, see Configuring a Target Asset.

      • Select a VCN and subnet in the target compartment.

        You can use an OCI-managed host as a target for migration instead of using a shared OCI compute environment.

    6. (Optional) Add tags to organize your resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you are not sure whether to apply tags, skip this option (you can apply tags later) or ask your administrator.
    7. Click Create migration plan.
    You can now generate a Resource Manager stack or configure target assets.
  • To create a migration plan, use the create command.

    oci cloud-migrations migration-plan create --compartment-id target_compartment_ID --display-name migration_plan_name --migration-id migration_ID [OPTIONS]
    The required parameters for the create command are:
    • --compartment-id: Specifies the OCID of the compartment name.
    • --display-name: Specifies a unique name for the migration plan.
    • --migration-id: Specifies the OCID of the associated migration.

    To get all the commands for migration-plan, run:

    oci cloud-migrations migration-plan -h

    To get help for the create command, run:

    oci cloud-migrations migration-plan create -h

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • To create a migration plan, use the CreateMigrationPlan operation.