Creating Migration Assets in a Migration Project

Add assets to a migration project using the Oracle Cloud Migrations inventory. You can add only those assets that are not associated with any other migration projects.

    1. Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Migrations.
    2. On the Migrations page, click the active migration project for which you want to add migration assets.
    3. On the Migration project details page, from Resources, click Migration assets, and then click Add migration assets.
    4. On the Add assets from OCM inventory page, click Add from OCM inventory.
    5. In the Add migration assets window, select the assets that you want to add, and click Add migration assets. You are redirected to the Add assets from OCM inventory page.
    6. Click Next.
    7. For the Replication location step, in the Default replication location box, select the volume availability domain, replication compartment, and replication bucket, and then click Select. To modify an existing replication location, select the asset and click Edit replication location. To reset, click Reset to default.

      You can't modify the replication compartment or bucket after creating a migration asset.
    8. Click Submit.
    You can now modify the migration plan, if required.
  • To add inventory assets to a migration project, use the create command.

    oci cloud-migrations migration-asset create --availability-domain region_availability_domain --inventory-asset-id inventory_asset_ID --migration-id migration_ID --replication-compartment-id replication_compartment_ID --snap-shot-bucket replication_bucket [OPTINS]
    The required parameters for the create command are:
    • --availability-domain: Specifies the availability domain within a region where OCI is hosted.
    • --inventory-asset-id: Specifies the OCID of an inventory asset.
    • --migration-id: Specifies the OCID of the associated migration project.
    • --replication-compartment-id: Specifies the unique identifier for the replication compartment.
    • --snap-shot-bucket: Specifies the replication bucket for the migration assets.

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

    oci cloud-migrations migration-asset -h

    To get help for the create command, run:

    oci cloud-migrations migration-asset create -h

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

  • To add inventory assets to a migration project, use the CreateMigrationAsset operation.