Creating an Agent Dependency for an Environment

Create an agent dependency for a specific environment in Oracle Cloud Migrations.

    1. Open the navigation menu  and select Migration & Disaster Recovery. Under Cloud Migrations, select Remote Connections.
    2. In the navigation pane, select Agent Dependencies.
    3. On the Agent dependencies list page, select Create agent dependency.
      The Create agent dependency panel opens. First select how you want to generate the agent dependency, and then provide the necessary information.
    4. To create the agent dependency by selecting from Object Storage, select Select from object storage and enter the following information:
      • Compartment: Select the compartment where you want to create the agent dependency.
      • Name: Enter a name for the dependency. Avoid entering confidential information.
      • Description: (Optional) Enter a description for the agent dependency. Avoid entering confidential information.
      • Dependency type: Select VDDK.
      • Select your dependency package from object storage: Select one of the following options:
        • Import from an object storage bucket : If you select this option, select a bucket and object name. For example: VDDK library version could be, VMware-vix-disklib-7.0.2-17696664.x86_64.tar.gz.
        • Import from an object storage URL: If you select this option, provide the URL of the Object Storage bucket where the agent dependency package exists.

      Skip to step 7.

    5. To create the agent dependency by uploading a new dependency package to Object Storage, select Upload new dependency package and enter the following information:
      • Compartment: Select the compartment where you want to create the agent dependency.
      • Name: Enter a name for the dependency. Avoid entering confidential information.
      • Description: (Optional) Enter a description for the agent dependency. Avoid entering confidential information.
      • Dependency type: Select VDDK.
      • Upload your dependency package to object storage: In this section, follow these steps to upload the package to Object Storage:
        1. Select a bucket.
        2. (Optional) Provide the object name prefix to be uploaded.
        3. Select a storage tier.
        4. Add the VDDK library from the local device.
        5. Select Upload.

          The new dependency package is uploaded to the Object Storage bucket.

      After the package is successfully uploaded, skip to step 7.

    6. To create agent dependency from existing agent dependency, select Select from existing agent dependencies and follow these steps:
      1. Select the compartment in which the source agent dependency exists.
      2. Select the agent dependency to use.
      3. Select Add agent dependencies.

        The Create agent dependency confirmation window appears if you added the dependency successfully.

      4. Select Close.

      The Agent dependencies tab lists the dependency. You're done with this task.

    7. (Optional) Add tags to organize the 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 your administrator.
    8. Select Create.
      When the agent dependency is being created, it's in the verifying state.
    You can now proceed with asset discovery. See Managing External Asset Discovery.
  • To get a list of source environments and then create an agent dependency for a specific environment, use the list and create commands.

    The syntax for the list command is as follows:

    oci cloud-bridge ocb-agent-svc environment list --compartment-id target_compartment_id [OPTIONS]

    The required parameter for the list 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 list command, run:

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

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

  • To create an agent dependency for a specific environment, use the ListEnvironments operation to get to know a list of all source environments.

    Next, use the CreateAgentDependency operation to create a dependency for the specific environment.