You can review and modify the default policies that were set by the system administrator when your VMware Cloud Director organization was created.

Creating a VMware Cloud Director organization involves specifying leases. Leases provide a level of control over an organization's storage and compute resources by specifying the maximum amount of time that vApps can be running and that vApps and vApp templates can be stored.

The goal of a runtime lease is to prevent inactive vApps from consuming compute resources. For example, if a user starts a vApp and goes on a vacation without stopping it, the vApp continues to consume resources.

A runtime lease begins when a user starts a vApp. When a runtime lease expires, VMware Cloud Director stops the vApp.

The goal of a storage lease is to prevent unused vApps and vApp templates from consuming storage resources. A vApp storage lease begins when a user stops the vApp. Storage leases do not affect running vApps. A vApp template storage lease begins when a user adds the vApp template to a vApp, adds the vApp template to a workspace, downloads, copies, or moves the vApp template.

When a storage lease expires, VMware Cloud Director marks the vApp or vApp template as expired, or deletes the vApp or vApp template, depending on the organization policy you set.

Prerequisites

Verify that you are logged in as an organization administrator or a role with equivalent set of rights.

Procedure

  1. From the primary left navigation panel, select Administration.
  2. From the secondary left navigation panel, under Settings, select Policies.
    You can view the default policies that your system administrator has set.
  3. Click Edit.
  4. Edit the vApp leases.
    You can specify the maximum time that vApps can run and be stored in the VDCs of this organization.

    vApp leases provide a level of control over the organization storage and compute resources by specifying the maximum amount of time that vApps can be running and that vApps can be stored. You can also specify what happens to the vApps when their storage lease expires.

    1. To define how long vApps can run before they are automatically stopped, enter the maximum runtime lease.
    2. Select a runtime expiry action, such as power off or suspend.
    3. To define how long stopped vApps remain available before being automatically cleaned up, enter the maximum storage lease.
    4. Select a storage cleanup action, such as to delete permanently the vApps or move them to the expired items.
  5. Edit the vApp template lease.
    You can specify the maximum time that vApp templates can be stored in the VDCs of this organization.

    vApp template leases provide a level of control over the organization storage and compute resources by specifying the maximum amount of time that vApp templates can be stored. You can also specify what happens to the vApp templates when their storage lease expires.

    1. To define how long the vApp templates remain available before being automatically cleaned up, enter the maximum storage lease.
    2. Select a storage cleanup action, such as to delete permanently the vApp templates or move them to the expired items.
  6. Click OK.