5. Creating and Managing vApps : 5.2 Using vCloud Workloads : 5.2.4 Runtime and Storage Leases
5.2.4 Runtime and Storage Leases
Because vCloud is a shared environment, your administrator might specify runtime leases and storage leases to prevent you from indefinitely running your vCloud computing resources. Leases provide a level of control over an organization’s storage and compute resources by specifying the maximum amount of time that vApps can run and that vApps and vApp templates can be stored. The computing and storage resources that represent your vCloud computing system expire at a point determined by your vCloud administrator and are automatically freed up for other uses at that time.
The runtime lease prevents inactive vApps from consuming compute resources. If a virtual machine is unused, it is powered down so that memory and compute resources can be used for other workloads. The storage lease functions the same way but also reclaims storage.
The vCloud administrator defines what happens when these leases expire. In the following example, the runtime lease is initially set to 14 days. The user can log in and reset to extend the lease. In this example, the user extends the lease for an additional 14 days.
As your vApp approaches the expiration date of its lease, you typically receive an expiration notice in email.
To extend the lease of a running vApp
1. Choose Manage vApps from the Home tab.
2. Right-click your vApp.
3. Select Properties.
4. Select Reset Leases.
5. Change the values of the leases as desired.
6. Click OK.
After the virtual machine is stopped when the runtime lease expires, the storage lease goes into effect. Depending on the configuration set by the administrator, the vApp might be moved to an expired state or deleted.
Ask your administrator what are the default options for your organization. The following quotas and limits can be applied:
*Running virtual machines quota.
*Stored virtual machines quota.
*Number of resource-intensive operations per user limit.
*Number of resource-intensive operations per organization limit.
*Number of simultaneous connections per virtual machine limit.
Similarly the running virtual machine and stored virtual machine quotas can be applied to individual users. As a user, you can find out what your individual limits are by clicking Administration > Users, right-clicking your user account, and selecting Properties. Scroll to the bottom to see the defined quotas.
If your vApp is missing, the storage lease of your vApp might have expired. Contact your administrator to determine whether your vApp has expired and might be recoverable or was deleted and might not be recoverable.