In previous post, i have created vApp template for the organizations. today, lets see how the Organization users will use these template and deploy them to the Organizations.
In this Lab we will perform following tasks
- Deploy vApp from Organization Catalogs.
1-Deploy vApp from Organization Catalogs.
what is vApp?
A vApp consists of one or more virtual machines that communicate over a network and use resources and services in a deployed environment. A vApp can contain multiple virtual machines.
There are several tasks, which will perform while the deployment of vApp from the catalog, following are the list of tasks.
- Deploy vApp
- Configure vApp Networking
- Configure vApp Virtual Machines
- Test the Deployed vApp
To deploy a vApp into an Organization, First login into the Organization with the user who have appropriate rights to deploy the vApp.
From the vCloud Director Console open the Organization, in my case it is “SkyNet”
Click on “My Cloud” Tab
Click the “Build New vApp” icon from menu
Name your vApp “Prod1”, Choose “OrgVDC” where vAPP will deploy -> Click “Next”
Select vApp “RHEL-Template” -> Click “Add” and than Select vApp “XP-Template” -> Click “Add”. Once done, Click “Next”
Select the Full Name of VMs “Prod1-RHEL-A” and “Prod1-XP-B” respectively -> Click “Next”
Change the Computer Name into “Prod1-VM1” and “Prod1-VM2” -> Click “Add Network”
Enter following network information
DNS Suffix “prod1.local”
IP Range 192.168.120.2 – 192.168.120.101
Enter the vApp Network Name “Prod1-vApp-Net1”. Click “Finish”
Change the IP Assignment into “Static- IP Pool” for Both VMs -> Click “Next”
Change the connection from none to “SkyNet-Prod-Org-Direct”, Leave “NAT” and “Firewall” Selected -> Click “Finish”
Wait for a while and when vApp has deployed, it should look like as shown below.
2-Configure vAPP Networking
Right click on vAPP and select “Open”, Click on the “Network” Tab -> Click the “gear icon” and select “Configure Services”
Enable “DHCP” and enter the DHCP IP Range 192.168.120.102 – 192.168.120.150 -> Click “OK”
Click the “vApp Diagram” tab. Your diagram should look like the following one
The top of your diagram should clearly show the Virtual machine connected to the vAPP Network “Prod1-vApp-Net1”.the connection icon should be firewall inside of a circle Hold the mouse over the network name to see the full network name.
Scroll down. The bottom of you diagram should show that “Prod1-vApp-Net1” is connected to the “SkyNet-Prod-Org-Direct” network
3-Configure vApp Virtual Machines
Click on the “Virtual Machine” Tab
Right Click on “Prod1-XP-B” and select “properties”, Click the “Guest OS Customization” tab
Set Specify password “vmware” and Check “Require administrator to change password on first login”, Click “OK”
4-Test the deployed vAPP
From “My Cloud” tab -> Click on the “Prod-1” vAPP-> Click “Green Play button” as highlighted to “Start” the vApp.
Switch back to vSphere Client and find the new deployed vApp under “SkyNet-Pod-OrgVDC” resource Pool.
Monitor the vSphere Client“Recent task” windows. You tasks should like as shown
Switch back to vCloud Director Console, Wait for the status of “Prod-1” change to “running”