Creating an Environment

Create a source environment within Oracle Cloud Migrations as the first step for discovery and migration.

    1. Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Remote Connections. On the Source environments page, click Create source environment.
    2. In the Create source environment panel, provide the following details:
      • Enter a name.
      • Select the compartment where you want to create the environment.
      • (Optional) Add tags to organize your 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 the administrator.
    3. Click Create source environment.
    You are redirected to the environment details page.

    You can now download an appropriate remote agent appliance Open Virtualization Application (OVA) file and install the agent. See Installing a Remote Agent Appliance for VMware vCenter.

  • To create a source environment, use the create command with the required parameters.

    oci cloud-bridge ocb-agent-svc environment create --compartment-id target_compartment_ID [OPTIONS]

    The required parameter for the create command is:

    --compartment-id: Specifies the OCID of the compartment.

    To get all the commands for ocb-agent-svc environment, run:

    oci cloud-bridge ocb-agent-svc environment -h

    To get help for the create command, run:

    oci cloud-bridge ocb-agent-svc environment create -h

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

  • To create a source environment, use the CreateEnvironment operation.