Configuring a Target Asset

Configure a target asset for migration.

    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 configure a target asset.
    3. On the migration project details page, select Migration plans.
    4. Select the active migration plan that has the target assets.
    5. On the migration plan details page, select Target assets.
    6. Select the target asset you want to configure.
    7. On the target asset details page, select Configure.
      The Configure target asset panel opens.
    8. Enter a display name for the target asset instance. Avoid entering confidential information.
    9. Select the compartment to create the target asset in.
      Note

      This compartment controls where the migrated compute instance is launched. It can be the customer-selected destination compartment. It's different from the Migration working compartment used for OCM-managed migration resources and prerequisite-stack-scoped service policies.

      Oracle Cloud Migrations uses two different compartments during migration:
      • Migration compartment: Create OCM-managed migration resources in the Migration compartment created or reused by the prerequisite stack. These resources include source environments, remote connection agents, asset sources, inventory assets, migration projects, migration plans, hydration agents, replicated snapshots, temporary volumes, and prerequisite-stack-created replication bucket resources.
      • Destination compartment: Use the Destination compartment for final migrated OCI instances and post-migration resources.
      Don't use the Destination compartment for OCM-managed migration resources unless explicitly instructed. The Migration compartment is where OCM stages and manages the migration workflow; the Destination compartment is where the migrated workload is deployed.
    10. In the VM configuration section, provide the following information:
      • Select one of the following capacity types:
        • On-demand capacity: Places the target asset instance on a shared host using on-demand capacity.
        • Preemptible capacity: Places the target asset instance on a shared host using preemptible capacity.
        • Capacity reservation: Places the target asset instance on a shared host and have the count against a capacity reservation.
        • Dedicated host: Places the target asset instance on a dedicated virtual machine host.
      • Select a shape:
        • Select the Select preferred shape option.
        • Select Change shape.
        • On the Browse all shapes page, to select a different shape, select a shape name and then select Select shape.
      • Windows VM Licensing Configuration: Select one of the following values:
        • OCI Provided: Uses the Windows Server license provided by OCI for the target instance.
        • Bring Your Own License: Uses your existing eligible Microsoft license for the target instance.
    11. In the Network section, configure the network for the target asset instance, as required.
      • Select the VCN and subnet to which the migrated VMs are connected.
      • Specify whether to assign a public IPv4 address to the instance.
    12. In the Block volumes section, specify the block volume performance. Select Custom to modify the block volume performance.
    13. Select Submit.
    Next, you can generate a Resource Manager stack.
  • To create a target asset and configure it, use the create command.

    oci cloud-migrations target-asset create --is-excluded-from-execution yes|no --migration-plan-id migration_plan_ID --type asset_type [OPTIONS]
    The required parameters for the create command are:
    • --is-excluded-from-execution: Specifies whether an asset can be migrated.
    • --migration-plan-id: Specifies the OCID of the migration plan.
    • --type: Specifies the type of the target asset. The accepted value is, INSTANCE.

    To get all the commands for target-asset, run:

    oci cloud-migrations target-asset -h

    To get help for the create command, run:

    oci cloud-migrations target-asset create -h

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

  • To configure a target asset, use the CreateTargetAsset operation.