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 click Migration & Disaster Recovery. Under Cloud Migrations, click Remote Connections.
    2. On the Source environments page, from the list of environments, select the active environment to which you can add the agent dependency.
    3. On the environment details page, under the Source environment section, click Agent dependencies.
    4. On the Agent dependencies page, click Create agent dependency.
    5. In the Create agent dependency window, perform one of the following options to generate a dependency:
      Create agent dependency by selecting from object storage.
      1. Click Select from Object Storage and provide the following information:
        • Select the compartment where you want to create the agent dependency.
        • Enter a name.
        • (Optional) Enter a description for the agent dependency. Avoid entering confidential information.
        • In the Dependency type field, select VDDK.
      2. In the Select your dependency package from object storage section, select one of the following options:
        • Import from an object storage bucket : If you select this option, choose a bucket and object name. For example: VDDK library version can 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 where the agent dependency package exists.
      3. Click Create.

        When the agent dependency is getting created, it is in the verifying state.

      Create agent dependency from existing agent dependencies.
      1. Click Select from existing agent dependencies and choose from the list of agent dependencies by selecting the compartment in which the source agent dependency exists.
      2. Click Add dependencies.

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

      3. Click Close and return to the page with a list of agent dependencies.
      Create agent dependency by uploading a new dependency package.
      1. Click Upload new dependency package and enter the following information:
        • Select the compartment where you want to create the agent dependency.
        • Enter a name.
        • (Optional) Enter a description for the agent dependency. Avoid entering confidential information.
        • In the Dependency type field, select VDDK.
        • In the Upload your dependency package to object storage section, provide the following details:
          • Select a bucket.
          • (Optional) Provide the object name prefix to be uploaded.
          • Select a storage tier.
          • Add the VDDK library from your local device.
      2. Click Upload.

        The new dependency package is uploaded to the object storage.

        To create an agent dependency after the package is successfully uploaded, click Create.

    6. (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 are not sure whether to apply tags, skip this option (you can apply tags later) or ask your administrator.
    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 Command Line 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 Create AgentDependency operation to create a dependency for the specific environment.