Protecting an environment from the clean up
The Deployment Manager of BMC Release Package and Deployment can automatically protect (lock) an instance after deploying it into the environment.
Normally, instances of packages and repositories are cleaned up by using schedules. However, you might want to automatically keep all records of a particular instance when it is deployed to a particular environment. You can lock instances by configuring environments so that any deployed instances are automatically locked.
For example, you might want to keep all versions of an application that have been deployed into the production environment until the version is retired. At the same time, you might want the default schedule to clean up the versions that do not get deployed to production.
To enable automatic environment protection
- Click the Topology tab.
- From the left menu, select Environments.
- Click the name of the environment where you want to have instances automatically locked.
- Click the Protected value and select Yes.
- Click the Submit checkmark icon.