Knowledge Base

|
Unable to discard virtual machine state on undeployment due to lease expiry (2002301)
Details
In Lab Manager, although you can save or discard the virtual machine state when you undeploy a virtual machine manually, you do not have any option to discard the virtual machine state when the virtual machine is undeployed due to lease expiry. By default, the virtual machine state is saved on undeployment due to lease expiry.
Solution
Starting with Lab Manager 4.0.4, the virtual machine state can be discarded on undeployment due to lease expiry. To configure Lab Manager to discard the virtual machine state, run the following query in the Lab Manager database:
UPDATE Config SET VALUE=N'1' WHERE cat=N'Configuration' AND name=N'UndeployModeForExpiredConfigs'
You can set the following values for UndeployModeForExpiredConfigs:
- 0 - Save virtual machine state on undeployment
- 1 - Discard virtual machine state on undeployment
Lab Manager does not provide any configuration options in the UI to discard the virtual machine state on undeployment due to lease expiry.
Request a Product Feature
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

