VMware ESXi and vSphere Cluster Management

Configure vApp Settings in VMware vSphere

Learn how to configure vApp CPU and memory controls, IP allocation policies, VM startup order, shutdown behavior, and advanced metadata in vSphere.

A vApp is a logical container for one or more related virtual machines. Besides organizing inventory objects, a vApp lets an administrator apply operational settings to the group, including resource controls, IP address allocation behavior, startup sequencing, shutdown sequencing, and application metadata.

Administrators commonly edit vApp settings when they need to control resource consumption, define how member virtual machines obtain network addresses, or coordinate application dependencies. For example, a database VM can start before an application VM that depends on it, while a business-critical vApp can receive a higher relative resource priority than a test vApp.

vApp settings at a glance

Setting categoryWhat it controlsKey configuration choicesOperational consideration
CPU ResourcesCPU entitlement and consumption for the vAppShares, reservation, and limitReservations consume cluster capacity; limits can throttle workloads
Memory ResourcesMemory entitlement and consumption for the vAppShares, reservation, and limitReservations affect capacity planning; low limits can cause guest performance problems
IP AllocationHow member VMs obtain IP addressesFixed, Transient, or DHCPThe selected policy must match the network design and available services
Start OrderPower-on and power-off sequencing for member VMsStartup groups and delaysDelays are not a substitute for checking that a service is actually ready
Advanced SettingsApplication identity and administrator-defined metadataProduct, vendor, and custom propertiesProperty names and values should be documented for people and automation

Open the vApp Edit Settings interface

  1. In the vSphere Client, locate the vApp in the inventory.
  2. Open the vApp's context menu or actions menu.
  3. Select Edit Settings.
  4. Select the category you need, such as CPU Resources, Memory Resources, IP Allocation, Start Order, or Advanced Settings.
  5. Change the required values and apply or save the configuration.

Exact labels and the available fields can vary with the vSphere version, licensing, object type, and permissions. If an option is unavailable, verify that you selected the vApp rather than a VM and that your account has permission to edit the object.

Configure CPU resource settings

CPU resource controls determine how the vApp receives processor capacity from its parent resource hierarchy. They are most important when the host or cluster cannot immediately satisfy all workloads.

CPU shares

CPU shares are a relative priority. When CPU contention exists, a vApp with more shares receives a larger relative portion of available CPU than a vApp with fewer shares. Shares do not reserve a fixed number of megahertz or guarantee performance when the system is not contended.

For example, assigning higher CPU shares to a production vApp than to a test vApp expresses the production workload's greater importance during contention. Shares have little visible effect when sufficient CPU capacity is available.

CPU reservation

A CPU reservation is a guaranteed amount of CPU capacity for the vApp, subject to the capacity and admission rules of the parent host, cluster, or resource hierarchy. Reservations can protect critical workloads, but they also consume planning capacity even when the vApp is not actively using all of the reserved CPU.

Large reservations may prevent other VMs or vApps from powering on, migrating, or obtaining their planned reservations. Set them only when the workload has a measured requirement and the cluster can support it.

CPU limit

A CPU limit is the maximum CPU capacity the vApp can consume. A limit can be useful for deliberate containment, but an unnecessarily low limit caps the vApp even when unused host capacity is available. This can make a workload appear CPU-starved despite low overall cluster utilization.

Configure memory resource settings

Memory shares

Memory shares provide a relative priority during memory contention. A vApp with higher shares is favored over one with lower shares when the host or cluster must decide how to distribute constrained memory resources. Shares do not guarantee a fixed amount of memory.

Memory reservation

A memory reservation guarantees memory capacity for the vApp, provided the parent resource hierarchy can satisfy the reservation. Reservations improve predictability for important workloads but reduce available capacity for other objects and must be included in cluster capacity planning.

Before increasing a reservation, check current and planned host capacity, failover requirements, maintenance capacity, and the effect on VM power-on or migration operations.

Memory limit

A memory limit sets the maximum memory available to the vApp. A restrictive limit can cause guest operating systems or applications to experience memory pressure even though physical host memory remains available. Review the limit whenever a workload performs poorly or reports unexpected paging, swapping, or application pressure.

ControlCPU or memory behaviorUse during contentionPotential risk if misconfigured
SharesRelative priority compared with sibling workloadsFavor an important vApp over lower-priority workloadsThey provide no absolute guarantee and have limited effect without contention
ReservationGuaranteed CPU capacity or host memory capacityProtect a known baseline requirementConsumes capacity and can prevent power-on, migration, or failover operations
LimitMaximum CPU consumption or memory availableContain a workload intentionallyA low value can throttle or starve a workload despite unused host capacity

Choose an IP allocation policy

An IP allocation policy defines how the vApp provides IP addresses to its member virtual machines. The policy must agree with the guest operating system configuration, network connectivity, address-management process, and any application requirement for stable addresses.

Fixed allocation

With fixed IP allocation, addresses are manually configured. Use this approach when the application stack requires documented, stable addresses and an administrator has a controlled addressing plan. Record the address, subnet mask or prefix, gateway, DNS settings, and the VM using each address.

Fixed allocation provides predictable persistence, but changes are manual. A moved or cloned vApp can create conflicts if the same addresses are used on another network or deployment.

Transient allocation

With transient IP allocation, vCenter Server assigns addresses from a configured IP pool when the vApp powers on. An IP pool is a defined address range with associated network settings. This policy suits a portable vApp that should receive addresses from centrally managed ranges at power-on.

Transient allocation requires a correctly configured, reachable, and sufficiently large IP pool. Address assignment is tied to the vApp lifecycle rather than being a permanently hand-entered guest address, so administrators should not assume that an address remains unchanged across every power cycle or deployment.

DHCP allocation

With DHCP IP allocation, a DHCP service supplies addresses to the guest systems. DHCP is appropriate when network infrastructure centrally manages leases and the applicable network can reach the DHCP service.

Validate the DHCP scope, lease availability, VLAN or port group connectivity, relay configuration when applicable, and guest network settings. DHCP is convenient, but a VM's address may change when its lease changes unless the DHCP service provides a reservation or other stable-address mechanism.

PolicyAddress sourceWhen addresses are assignedPersistence and management behaviorTypical use caseRequirements
FixedAdministrator-defined configurationManually, before or during deploymentPredictable when the plan is maintained; changes are manualApplications requiring documented stable addressesAddressing plan and conflict prevention
TransientvCenter Server IP poolWhen the vApp powers onManaged from the configured pool; assignment may vary across lifecycle eventsPortable vApps using centrally managed address rangesConfigured IP pool, available addresses, and compatible network design
DHCPDHCP serverWhen the guest requests a leaseLease-based and potentially changeableNetworks where DHCP centrally manages client addressesReachable DHCP service, correct connectivity, and available scope capacity

Configure virtual machine start order

Start order is the sequence in which member virtual machines are powered on. Rather than requiring one long list, vSphere organizes VMs into startup groups. All VMs in an earlier group start before VMs in a later group. VMs in the same group are treated as peers, so do not use the same group when one VM depends on another.

A startup delay is the wait period between groups. Delays allow an operating system, database, directory service, or other dependency time to initialize before the next group starts. A delay is only a time-based pause; it does not verify that a guest or application is ready.

  1. Open the vApp's Edit Settings interface and select Start Order.
  2. For each member VM, assign the VM to the appropriate startup group.
  3. Order the groups from earliest to latest.
  4. Set the delay before the next group starts, where appropriate.
  5. Document the dependency represented by each group and the expected reverse shutdown sequence.

Shutdown occurs in reverse group order. A VM in a later startup group shuts down before a VM in an earlier group. This behavior is useful when consumers should stop before the services they consume, but it must be included in the dependency design.

Startup groupVirtual machineStartup delay before next groupStartup roleShutdown sequence
1Linux database VM120 secondsProvides data service firstShuts down last
2Windows application VM60 secondsStarts after the database has had time to initializeShuts down before the database VM
3Web or reporting VMConfigured as neededStarts after the application tierShuts down first

Configure advanced vApp settings

Product and vendor information

Advanced settings can include product information and vendor information. Use these fields to identify the application represented by the vApp, the software or service provider, and other deployment context useful to administrators.

Custom properties

A custom property is administrator-defined metadata attached to a vApp. Properties can describe the application owner, environment, service tier, release, support group, or a value consumed by a deployment, guest-customization, or automation workflow.

Define each property consistently. Document the property name, data type or expected format, permitted values, whether the value is required, and the person or tool that consumes it. For example:

application_owner = platform-team
environment = production
service_tier = tier-1

Metadata is not automatically meaningful to every tool. A property helps automation only when the consumer is designed to read that property and interpret its value correctly.

Save and validate changes

  1. Review every changed category before applying the configuration.
  2. Confirm CPU and memory shares reflect workload importance, reservations fit available capacity, and limits are not unintentionally restrictive.
  3. For fixed allocation, verify the manual addressing plan. For transient allocation, verify the IP pool, address range, and available capacity. For DHCP, verify service reachability and scope capacity.
  4. Check every member VM's startup group, group order, delay, and expected reverse shutdown behavior.
  5. Review product, vendor, and custom property values for accuracy and documented naming.
  6. Apply or save the settings.
  7. In a maintenance window or non-production environment, test vApp startup and shutdown when application dependencies are involved.
  8. After testing, verify not only that VMs powered on, but also that guest services became ready in the intended order and that clients could connect.

Troubleshooting vApp settings

A dependent application starts before its database

  • Check whether both VMs are in the same startup group.
  • Verify that the database VM is in an earlier group than the application VM.
  • Increase the delay if the dependency needs more time to initialize.
  • Use service-readiness checks or application validation rather than treating the delay as proof that the database is ready.

Virtual machines shut down in an unexpected order

  • Remember that shutdown follows reverse startup-group order, not the same order as startup.
  • Review group assignments against the dependency chain.
  • Ensure that a service provider is in an earlier startup group than its consumer if the consumer must stop first.

Transient allocation does not provide an expected address

  • Verify that transient allocation is selected.
  • Check that the associated IP pool and address range are configured correctly.
  • Confirm that the pool has sufficient unused addresses and that its network settings match the VM network.
  • Check whether the chosen policy is appropriate for the deployment's persistence requirements.

DHCP allocation does not provide an address

  • Confirm that a DHCP service is available and reachable on the applicable network.
  • Validate VLAN, port group, routing, relay, and firewall configuration as applicable.
  • Check DHCP scope capacity and guest network configuration.

The vApp performs poorly despite available host capacity

  • Review CPU and memory limits; a low limit can throttle the vApp even when the host has unused capacity.
  • Check whether reservations can be satisfied within the cluster, including failover and maintenance capacity.
  • Compare shares with the priorities of sibling vApps and resource pools.
  • Use workload measurements to adjust settings rather than increasing reservations or limits without a capacity plan.

Exam-relevant notes

  • Shares are relative: they matter primarily during contention and are not guarantees.
  • Reservations guarantee capacity: they improve predictability but consume capacity for planning and admission purposes.
  • Limits cap consumption: an unnecessarily low limit can cause performance problems even when physical capacity is available.
  • Transient allocation uses a vCenter-managed IP pool at vApp power-on.
  • DHCP allocation depends on a reachable DHCP service.
  • Fixed allocation is manually configured and is suitable when stable, documented addresses are required.
  • Startup groups control lifecycle order: earlier groups start first, and shutdown proceeds in reverse group order.
  • A startup delay is not a readiness test. Validate the actual guest or application service.

For related administration work, continue with vApp settings as a reference for the resource, networking, lifecycle, and metadata controls available at the vApp level.