In this lab, I am going to demonstrate how to manage VMware vSphere vApps
VMware vSphere vApps is an object in the vCenter Server inventory. A vApp is a container for one or more virtual machines. It is shared the functionality with the virtual machines. A vAPP can be power on and off the virtual machine and can be cloned. It can be used to package and manage related applications.
The distribution format for a vApp: Open Virtualization Format (OVA) or Open Virtualization Appliance (OVA).
A vAPP can be configured CPU and Memory Allocation, IP allocation Policy and Advanced Settings.
The tasks list for the lab 16:
- Create a vAPP
- Power on a vAPP
- Remove a vAPP
- Log in the VMware vSphere web client portal: https://vCenter Server Appliance Name.domainname:9443/vshpere-client/# or VMware vSphere Client via root user and password.
Steps for the task: Create a vAPP
In this task, I am going to show how to create a vApp in the VMware vSpere Environment. VMware vSphere vApp is the container, work as a resources pools in the system.
Step 1: Go to the Home ->vCenter -> Virtual Machines
Step 2: Right-Click on VM and Shutdown Guest OS
Step 3: Go to the Home -> vCenter->vApps
Step 4: Click the ” Create a New vApp“
Step 5: After prompted the New vApp wizard. You need to perform the following action that I shared on the screenshot.
Option 1: Select Creation type: Select “Create a new vApp“
Option 2: Edit Settings Select one of your hosts as destination
2a. Select Destination: Select one of your hosts as destination
2b. Select a name and Location
vApp Name: Give an appropriate Name. In my case: vApp Name: Momataj-vApp
2c. Resource Allocation: leave the default
Option 3: Ready to complete: Review the setting once again and click “Finish”
Step 6: Select Home ->vCenter -> VMs and Templates
Step 7: expand the Lab VMS. You will see your newly created vApp in the inventory list.
Step 8: Drag the VM to your vApp. I dragged two of VMs that I have in the environment.
Step 9: Go to the Home -> vCenter -> Hosts and Clusters
Step 10: You need to expand the vAPP inventory. In my environment, You can see vApp contains two virtual machines.
Click the “Related Object” tab and Select “Virtual Machines” button. You can see two machines is under vApp and powered off.
Step 11: Go to the Home->vCenter ->VMs and Templates. Right Click on the vApp and select “Edit Settings“
Step 12: An Edit vAPP will have appeared. Click the right arrow next to the Start Order to open the options.
Placed your VM in the Group by clicking the up-down arrow
Select one VM in Group 1 and another VM in group B for this lab practice. In a real environment, You may need to keep more VM in one group.
Select group A and Group B, VM and Set the setup sequence Proceeds when 20 seconds have elapsed off.
Steps for the task: Power on a vAPP
A vApp can power On or Power off and also can be cloned.
Step 1: Right-click on the vApp and select “Power On”
Step 2: Monitor the process from the “Recent Tasks” bar
Step 3: You will see both VM under vAPP is powered On together.
Powered Off again your VMs, You can monitor that both VM become powered off together.
Powered On again to verify the vApp configuration.
After verifying Power On and Power Off, We learned that A vAPP can be configured the VM startup and Shutdown order as well.
Steps for the task: Remove a vAPP
In this task, I will show how to delete
a vAPP from VMware vCenter Server
Step 1: Right-click on the vApp and Select “Shut Down”
Step2: You will see two VMs become powered off after apply the shutdown command on vAPP
Step 3: Select Home ->vCenter -> Hosts and Clusters. Expand the vApp and Drag your VMs again to the Lab Server folder under ESXi hosts
Step 4: Right-click on the vApp and Select All vCenter Actions -> Delete from the Disk
Press “Yes” to confirm delete.
Thank you 🙂