Creating a Discovery Work Request
After creating an asset source, run the Oracle Cloud Migrations external asset discovery.
- Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Discovery.
- On the Asset sources page, from the list of asset sources, click an active asset source. The Asset source details page opens and you can view the active connectors that connect the discovery plugin with the source environment.
- Click Run Discovery to start a discovery job by refreshing the asset source.
- Under Resources, click Work requests and find the discovery job.
- Wait for the Status of a work request to change to Succeeded.
- Under Resources, click Assets.
You can now see a mapping between the VMs in the source environment and the discovered assets. To run the external asset discovery for an asset source and get details of the discovery work request, use the asset source
refresh
command.oci cloud-bridge discovery asset-source refresh --asset-source-id asset_source_ID [OPTIONS]
The required parameter for the
refresh
command is:--asset-source-id
: Specifies the OCID of the asset source.To get all the commands for
discovery asset-source
, run:oci cloud-bridge discovery asset-source -h
To get help for the
refresh
command, run:For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.oci cloud-bridge discovery asset-source refresh -h
To get details of a discovery request for an asset source, use the asset source
RefreshAssetSource
operation.