Environment inventory and compliance
The inventory for an environment lists the component versions that are intended to be deployed to that environment. Compliance shows whether the environment contains those component versions.
The inventory and compliance for an environment are updated each time that you run an application process or deploy a snapshot to the environment. For example, assume that you run an application process that deploys two component versions to an environment. Regardless of whether the application process completes successfully, the environment inventory shows that the two component versions are deployed. The compliance shows how many of the components are installed successfully. In this way, the inventory shows the intended state of a resource or environment, while the compliance shows how closely the resource or environment matches the intended state. By reviewing the difference between the environment inventory and compliance, you can determine whether another deployment is necessary to bring an environment into compliance.
number of actual inventory/number of desired inventory
. Here are a few
examples of environment inventory and compliance statuses and what they mean:Status | Description |
---|---|
Compliant: 5/5 | The desired inventory is the same as the actual inventory. |
Noncompliant: 2/5 (3 missing) | The desired inventory has more component versions than the actual inventory. |
Noncompliant: 5/5 | The desired inventory has the same amount of component versions as the actual inventory, but some versions in the list don't match. |
Noncompliant: 7/5 | The desired inventory has less component versions than the actual inventory. |
The environment inventory and compliance track components but not snapshots or applications. For example, if you successfully deploy a snapshot with two component versions, the inventory is two components and the compliance is two components. If you successfully deploy a different snapshot with versions of two different components, the inventory is four components and the compliance is four components. In this way, the server counts component versions for inventory and compliance, not the versions in a snapshot or applications.