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.Important
If you're already using OS Management instead of OS Management Hub, enable OS Management Service Agent. For more information, see Enabling the OS Management Service Agent Plugin for an Existing Compute Instance. - You have enabled the OCI Compute instance run command feature to discover and apply patches for the software running on Compute instances. See Running Commands on an Instance.
- You have granted
sudo
permission on Oracle Linux instances to discover and apply patches for the software running on Compute instances. See Grant sudo permissions on Linux instances.Ensure you revoke the
sudo
permission in the following scenarios:- After activities are complete
- When many users have
sudo
permissions - After the conclusion of lifecycle management using Fleet Application Management
Note
Thesudo
privilege is required when product support is needed for Oracle WebLogic Server, Oracle HTTP Server (OHS), and Oracle Java, which aren't OCI-specific.
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 [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.