Lab 16: Managing VMware vSphere vApps

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

Prerequisites:

  • 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

1

Step 2: Right-Click on VM and Shutdown Guest OS 2.jpg

Step 3: Go to the Home -> vCenter->vApps3.jpg

Step 4: Click the ” Create a New vApp4.jpg5.jpg

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 vApp5.jpg

Option 2: Edit Settings  Select one of your hosts as destination

2a. Select Destination: Select one of your hosts as destination6.jpg

2b. Select a name and Location

vApp Name: Give an appropriate Name. In my case: vApp Name: Momataj-vApp7.jpg

2c. Resource Allocation: leave the default8.jpg

Option 3: Ready to complete: Review the setting once again and click “Finish”9.jpg

Step 6: Select Home ->vCenter -> VMs and Templates10.jpg

Step 7: expand the Lab VMS. You will see your newly created vApp in the inventory list. 11.jpg

Step 8: Drag the VM to your vApp. I dragged two of VMs that I have in the environment.12.jpg

Step 9: Go to the Home -> vCenter -> Hosts and Clusters13.jpg

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.14.jpg

Step 11: Go to the Home->vCenter ->VMs and Templates. Right Click on the vApp and select “Edit Settings15.jpg

Step 12: An Edit vAPP will have appeared. Click the right arrow next to the Start Order to open the options.  16.jpg

Placed your VM in the Group by clicking the up-down arrow17.jpg

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.18

Select group A and Group B, VM and Set the setup sequence Proceeds when 20 seconds have elapsed off.19.jpg20.jpg

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”21.jpg

Step 2: Monitor the process from the “Recent Tasks” bar22.jpg

Step 3: You will see both VM under vAPP is powered On together.23.jpg

Powered Off again your VMs, You can monitor that both VM become powered off together.24.jpg

Powered On again to verify the vApp configuration. 25

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”

26.jpg

Step2: You will see two VMs become powered off after apply the shutdown command on vAPP27.jpg

Step 3: Select Home ->vCenter -> Hosts and Clusters. Expand the vApp and Drag your VMs again to the Lab Server folder under ESXi hosts28.jpg

Step 4: Right-click on the vApp and Select All vCenter Actions -> Delete from the Disk30.jpg

Press “Yes” to confirm delete.31

Thank you 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s