Generating a Resource Manager Stack for a Migration Plan

In Oracle Cloud Migrations, learn how to generate a Resource Manager stack from a migration plan by using the OCI Resource Manager.

Using the Console

To generate a Resource Manager stack, do the following:
  1. Open the Oracle Cloud Console navigation menu and click Migration. Under Cloud Migrations, click Migrations.
  2. Click the active migration project name link, which includes the plan for which you want to generate the Resource Manager stack (RMS).
    You are redirected to the Migration project details page.
  3. Under Migration plans, click the active migration plan name link for which you want to generate the RMS stack.
    The Migration plan details page is displayed and under Migration plan information, you can see that the Resource Manager stack is created.
  4. Click Generate RMS stack and then again click Generate RMS stack.

    This action generates an RMS stack for all target assets that are successfully replicated.

At the end of generating an RMS stack, the Migration plan details page includes a link to the RMS stack.

You can now deploy the RMS stack that you have generated.

Using the CLI

To run a migration plan and generate an RMS, use the execute command.

oci cloud-migrations migration-plan execute --migration-plan-id migration_plan_ID [OPTIONS]

The required parameter for the execute command is:

--migration-plan-id: Specifies the OCID of the migration plan.

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

oci cloud-migrations migration-plan -h

To get help for the execute command, run:

oci cloud-migrations migration-plan execute -h

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

Using the API

To run a migration plan or generate an RMS stack, use the ExecuteMigrationPlan operation.