Create and Deploy vApps
Objective 4.2 – Create and Deploy vApps
For this objective I used only one document
- vSphere Virtual Machine Administration guide
Knowledge
Identify vApp settings
– Options Tab
- Resources – Just like with Resource Pools, with vApps you can allocate CPU and memory resources and control Shares, Reservations and Limits
- Properties – Allows for configuration of custom properties in the OVF environment of the vApp. Defined under the Advanced -> Properties section
- IP Allocation Policy – Allow for the configuration of how IP addresses are allocated. Three options available; Fixed, Transient, and DHCP. Configured under Advanced -> IP Allocation
- Advanced – Allows for the setting of the Product Name, Version, Vendor URL, etc. Also as stated above the advanced configuration of Properties and IP Allocation
– Start Order Tab
- The start order tab allows you to set the Startup and Shutdown actions of groups of VM’s. This allows you to control the startup order of VM’s in a vApp. For example, you have a DB server that needs to be started prior to the application server coming up.
Create/Clone/Export a vApp
– Create a vApp
- Within the vSphere Client right click a cluster resource and select New vApp
- Name the vApp and select an inventory location, click Next
- Set the cpu and memory resource allocation, click Next
- Select Finish to complete the New vApp wizard
– Clone a vApp
- Within the vSphere Client select the vApp you wish to clone
- In the top menu bar select Inventory -> Clone (be sure that all VM’s have been powered down)
- Select the destination for the cloned vApp. Click Next
- Give the cloned vApp a name and select an inventory location. Click Next
- Select a destination datastore and click Next
- Select a disk format and click Next
- Map the networks if necessary and click Next
- Review your settings and click Finish
– Export a vApp
- Within the vSphere Client select the vApp you wish to export
- In the top menu bar select File -> Export -> Export OVF Template
- The Export OVF Template dialog box is displayed
- Provide a Name, Directory to export to, Format, and a Description if needed.
- Click OK to begin the export
Configure IP pools
– Specify an IP Address Range
- In the inventory, select the datacenter that contains the vApp
- In the IP Pools tab, right-click the IP pool that you want to edit and select Properties
- Note – If no IP Pools appear, click Add to add a new IP pool
- In the Properties dialog box, select the IPv4 or the IPv6 tab, depending on your IP protocol
- Enter the IP Subnet and Gateway in their respective fields
- (Optional) Select the Enable IP Pool check box
- (Optional) Enter a comma-separated list of hosts address ranges in the Ranges field
- Click OK
– Select DHCP
- In the inventory, select the datacenter that contains the vApp you are configuring
- In the IP Pools tab, right-click the IP pool that you want to edit and select Properties
- Note – If no IP Pools appear, click Add to add a new IP pool
- In the Properties dialog box, select the DHCP tab
- Select either the IPv4 DHCP Present or IPv6 DHCP Present check box to indicate that one of the DHCP servers is available on this network
- Click OK
– Specify DNS Settings
- In the inventory, select the datacenter that contains the vApp
- In the IP Pools tab, right-click the IP pool that you want to edit and select Properties
- Note – If no IP Pools appear, click Add to add a new IP Pool
- In the Properties dialog box, select the DNS tab
- Enter the DNS server information
- Click OK
– Specify a Proxy Server
- In the inventory, select the datacenter that contains the vApp
- In the IP Pools tab, right-click the IP pool that you want to edit and select Properties
- Note – If no IP Pools appear, click Add to add a new IP Pool
- In the Properties dialog box, select the Proxy tab
- Enter the server name and port number for the proxy server
- Click OK
– Select Network Associations
- In the inventory, select the datacenter that contains the vApp
- In the IP Pools tab, right-click the IP pool that you wantt to edit and select Properties
- Note – If no IP Pools appear, click Add to add a new IP Pool
- In the Properties dialog box, select the Associations tab
- Select the networks that use this IP Pool
- Click OK
For further information read pages 191 thru 193 of the vSphere Virtual Machine Administration documentation
Suspend/Resume a vApp
– Suspend a vApp
- From the vSphere Client select the vApp you want to place in suspended state
- Right-click the vApp and select Suspend
– Resume a vApp
- From the vSphere Client select the vApp you want to resume
- Right-click the vApp and select Power On
Determine when a tiered application should be deployed as a vApp
- If you environment has tiered applications running in virtual machines and have a dependency on specific start order (think first DB server, then application server, and finally web server) they are the ideal candidates for use in a vApp.
Tools
- vSphere Virtual Machine Administation guide
No comments:
Post a Comment