Deployment
OCS Inventory provides a simple and efficient solution for managing software installations, updates, and script execution on remote machines.
The deployment feature is built around four key components.
Actions
Actions define what the deployment will achieve. For example:
Executing a script is an action.
Storing a file on the agent's filesystem is also an action.
Actions within a package can be ordered, giving you control over the sequence in which they are executed. This enables you to customize the package execution process to suit your specific requirements, ensuring that dependent actions are performed in the correct order.
Packages
A package consists of one or more Actions, along with metadata that describes its purpose, the targeted operating systems, and other relevant details.
Assignments
Assignments link a package to a specific asset or group for deployment. Assigning a package marks it for deployment on the selected target.
Results
Results are generated for each assignment of a package. They record the status of the package, reported by the agent after execution, along with any comments that include the latest error linked to that deployment.
Deployment workflow
OCS agents communicate their inventory with the OCS server on a regular basis. If an asset is assigned a package for deployment, the following workflow takes place:
Notification:
During its next inventory communication, the server notifies the agent that a package is available for deployment.
Package download:
The agent downloads the package onto the device.
Package execution:
The package is extracted, and the actions defined within it are executed on the system.
Result reporting:
After the deployment, the agent sends a result back to the server. This result indicates whether the actions were successfully executed or if any issues occurred.
Last updated

