Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • Virtualization
  • VMware
  • Create a vApp (set of VMs that have dependencies) on VMware vSphere 6.7
  • VMware
  • VMware vCenter Server (VCSA), VMware vSphere
  • 13 December 2024 at 08:45 UTC
  • InformatiWeb
  • 1/3

Create a vApp (set of VMs that have dependencies) on VMware vSphere 6.7

From your VMware vCenter Server (or VCSA), you can create vApps on your VMware ESXi hosts.

  1. What is a vApp?
  2. Create a vApp
  3. Edit vApp settings
  4. Start a vApp
  5. Stop a vApp

1. What is a vApp?

A vApp has several advantages:

  • be able to group together several virtual machines that depend on each other (such as an Active Directory domain controller, a database server and other servers).
  • be able to manage their power supply by only managing the power supply of the vApp.
    Once the boot order of the child virtual machines of this vApp is configured, you will be able to manage power from the vApp and your virtual machines will start and stop in the desired order, including a delay between each virtual machine start/shutdown.
  • set the startup/shutdown order to use to start the virtual machines in the correct order.
    Which allows, for example, to start the Active Directory domain controller first.
  • define a timeout between starting 2 groups of virtual machines and the same for stopping.
    This way, you can ensure that services hosted on a virtual machine have time to fully start before the next virtual machine starts.
  • be able to manage the allocation of resources (CPU / RAM) by vApp.
  • be able to manage the allocation of IP addresses (IPv4 and/or IPv6).
  • be able to export and import several virtual machines at once by exporting the vApp.
  • be able to specify information that will be included when you export the vApp to OVF format.
  • and more.

Note that a vApp can also contain child vApps.

2. Create a vApp

To create a vApp, you will need to go to the menu and click on "Hosts and Clusters".
Next, select the VMware ESXi host where the virtual machines you want to add in your vApp are located.

For this tutorial, we have created 2 virtual machines, of which the "WS 2016 - RDS" virtual machine depends on the "WS 2016 - AD" virtual machine.
As you will have understood, the "WS 2016 - RDS" server is an RDS server linked to an Active Directory domain configured on the "WS 2016 - AD" virtual machine.
Which means that the "WS 2016 - AD" virtual machine will have to start first. But also that the 2nd virtual machine "WS 2016 - RDS" will have to start a little later (time for the Active Directory domain services of the 1st virtual machine to have time to start completely).

To create a vApp from the vSphere Client, right-click on your VMware ESXi host and click: New vApp.

In the "New vApp" wizard that appears, select "Create a new vApp" and click Next.

Provide a name for your vApp and select where you want to add it.

Note that the folders available are those in the "VMs and Templates" tab, although adding a vApp is only possible from the "Hosts and Clusters" tab.

When you create a vApp, you have the possibility to manage the allocation of resources to it for the processor (CPU) and for the random access memory (RAM).

  • Shares: allows you to manage the sharing of CPU or RAM resources by defining a relative priority at the level of this vApp.
    The principle is the same as for the option of the same name available for VMs, except that in this case it concerns this vApp.
  • Reservation: allows you to reserve a minimum CPU frequency (in MHz or GHz) or a certain amount of RAM (in MB or GB) for this vApp.
    The principle being the same as for the option of the same name available for VMs.
  • Reservation Type: if you check the "Expandable" box (which is the case by default), this authorizes the vApp to use more resources from its parents or ancestors if the sum of reservations defined in the virtual machines of this vApp is larger than the reservation defined at this vApp level.
  • Limit: allows you to limit the use of the processor (CPU) to a certain frequency or the use of RAM to a certain amount (in MB or GB) for this vApp.

A summary appears with the different configured settings.
Click Finish.

The new vApp created appears as a child of the desired VMware ESXi host.
However, it is empty at the moment.

To add virtual machines to this vApp, drag the desired VM objects onto this vApp.
As you can see, a "+" icon (green) will appear while you drag a VM type object onto your new vApp.

Now, our 2 virtual machines "WS 2016 - AD" and "WS 2016 - RDS" are part of our vApp "RDS_vApp".

Note that vApps are also displayed in the "VMs and Templates" tab.
Although it is not possible to create vApps from this tab.

If you use this "VMs and Templates" tab, you will not see the child virtual machines in the right column.
To see them, you will need to go to the "VM" tab of this vApp.

Next page

Share this tutorial

Partager
Tweet

To see also

  • VMware ESXi 6.7 - Install VMware Tools on Win Server in Core mode

    VMware 12/30/2022

    VMware ESXi 6.7 - Install VMware Tools on Win Server in Core mode

  • VMware ESXi 7.0 / 6.7 - Install VMware PowerCli (with or without Internet)

    VMware 9/14/2022

    VMware ESXi 7.0 / 6.7 - Install VMware PowerCli (with or without Internet)

  • VMware vSphere 6.7 - Consoles to manage VMs

    VMware 7/10/2024

    VMware vSphere 6.7 - Consoles to manage VMs

  • VMware vSphere 6.7 - Create a NFS 4.1 datastore

    VMware 9/19/2024

    VMware vSphere 6.7 - Create a NFS 4.1 datastore

Comments

You must be logged in to post a comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.