Ask a question
Fuel your AI at the ultimate IBM learning event
IBM TechXchange Conference October 21-24, 2024 Mandalay Bay - Las Vegas
Rollback Process Design for zOS Deployment in UrbanCode DeployUrbanCode Deploy ships with a zOS Utility plugin which contains Deploy Data sets and Rollback Data sets steps to perform deployment and rollback on environment target datasets respectively. This blog will not talk about how these steps work instead, we will focus on how to design the Application Process and Component Process for Rolling back a deployed component version.Component Process DesignBefore we jump into process design, let's understand Environment Inventory and Compliance, Inventory management, and Component Process Type and their relation.Environment Inventory and ComplianceThe inventory for an environment shows the component versions that are intended to be deployed to an environment. The compliance level shows the component versions successfully deployed to that environment. A component version is set as non-compliant in the inventory when deployment is failed.For example, the below picture shows UAT environment has two successfully deployed component versions, hence seen as compliant (Green) whereas the TEST environment has a successfully deployed version and a failed version due to which we see the environment as non-compliant (Red)Read more on environment inventory and compliance hereInventory ManagementWhen you create application processes, you can either allow the UCD server to manage the environment inventory and compliance automatically or manage the inventory and compliance yourself. You can change Inventory management at an application process level under the configuration tab as shown below.If the Inventory Management is set to Automatic (default), the server automatically updates the inventory and compliance for each environment. When you run an application process, the server adds the selected component versions to the environment inventory. Similarly, when component processes run, the server updates the inventory to show which component versions were deployed and which component versions were not.To manage the environment inventory and compliance manually. You add steps that make specific changes to the inventory and compliance as below