Validating a Fleet
Validate OCI Compute resources so that they're available in Fleet Application Management.
- You have added matching rule in the "fams-customer-dg" dynamic group and have added the OCI
Compute instance as member of the group. For example,
All {instance.id = 'ocid1.instance1.oc1.iad:sampleuniqueid1'}
Or
You have added all instances that are part of a compartment. For example,
All {instance.compartment.id = 'ocid1.compartment.oc1.iad:sampleuniqueid2'}
- You have enabled OS Management Hub to discover and apply patches for Oracle Linux and Microsoft Windows OS. For more information, see Migrating from OS Management to OS Management Hub.
-
You have enabled the Fleet Application Management plugin on the Oracle Cloud Agent before adding resources to a fleet. See Managing plugins.Important
Failing to enable the plugin might delay the fleet validation process, as Fleet Application Management must automatically enable it during your fleet preparation. Note that on resource addition, Fleet Application Management automatically enables the Fleet Application Management plugin on the Oracle Cloud Agent.
Use the oci fleet-apps-management fleet request-resource-validation command and required parameters to validate the resources in a fleet:
oci fleet-apps-management fleet request-resource-validation --fleet-id <fleet_OCID> [OPTIONS]
For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.
Run the RequestResourceValidation operation to validate the resources in a fleet.