Creating a Migration Plan

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

    1. Open the navigation menu  and select Migration & Disaster Recovery. Under Cloud Migrations, select Migrations.
    2. On the Migrations projects list page, select the active migration project for which you want to create a migration plan.
    3. On the migration project details page, select Migration plans, and then select Create migration plan.
    4. In the Basic information section, provide the following information:
      • Enter a display name for the plan, for example, vSphere6.5MigrationPlan2. Avoid entering confidential information.
      • Select the compartment where you want to create the migration plan.
      • Select a target compartment.
    5. In the Strategies section, specify the migration strategy. For more information about the recommendation strategies, see Understanding Recommendation Strategies and Cost Estimates.
      • Resource type: Select Default, CPU, or Memory.

        If you don't 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 and metric time window.
        • If you select Percentile, you can specify the metric time window and percentile.
      • Adjustment Multiplier: (Optional) Enter a numeric value as the adjustment multiplier.

        As an example, 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.

        • Resource type: CPU
        • Strategy type: Average
        • Metric type: Runtime, to use the metrics that are available from vCenter
        • Metric type window: One day
        • Adjustment multiplier as 1.2.
    6. In the Target environment section, provide the following information about the virtual machine:
      • Select the virtual machine shape type. 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.

    7. (Optional) Add tags to organize the 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're not sure whether to apply tags, skip this option (you can apply tags later) or ask your administrator.
    8. Select 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 CLI Command Reference.

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