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 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 add migration assets.
    3. On the migration project details page, select Migration assets, and then select Add migration assets.
    4. For the Assets step, select Add from OCM inventory.
    5. In the Add migration assets panel, select the assets that you want to add, and then select Add from OCM inventory. You're redirected back to the workflow.
    6. Select Next.
    7. For the Replication location step, in the Default replication location area, to change an existing replication location, select the asset and select Edit replication location. To reset, select Reset to default.
      Note

      You can't change the replication compartment or bucket after creating a migration asset.
    8. In the Review and Create step, review the information and select Submit.
    You can now change 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 CLI Command Reference.

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