Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use vAPP to manage resources

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

VAPP is a software solution initiated by VMware and optimized for cloud operating systems. A vAPP is a logical body or logical container made up of one or more virtual machines, which can be managed as a unit. A vAPP is a container similar to a resource pool that can contain one or more virtual machines. VAPP can also share some functions with virtual machines. VAPP can be powered on and off, and it can be cloned. So vApp is a logical container, just like a folder, which itself does not provide advanced functionality. Not as previously understood, vAPP is an application for the VMware virtual platform developed using VMware's own development tools. VAPP is just a container for a simple virtual machine.

VAPP simplifies the deployment and subsequent management of such applications in multiple virtual machines by encapsulating n-tier applications into a single vAPP entity. VAPP encapsulates not only virtual machines, but also their interdependencies and resource allocation, thus realizing the power operation, cloning, deployment and monitoring of the entire application in one step. VCenter Server also currently supports the creation and operation of vAPP, which can be imported and exported according to the Open Virtualization format (OVF) 1.0 standard.

VAPP metadata resides in vCenter Server's database, so vAPP can be developed among multiple ESXi hosts. If you clear the vCenter Server database, or remove a stand-alone ESXi host that contains vAPP from vCenter Server, you may lose this information.

First, create a vApp

After you create a data center and add DRS-enabled cluster hosts or stand-alone hosts to the vCenter Server system, you can create vApp on folders, stand-alone hosts, resource pools, DRS-enabled clusters, and other vApp. The steps to create a vApp are described below.

Step 1 Select the ESXi host or cluster, right-click, and select the "create vApp" option from the pop-up shortcut menu, as shown in the figure:

Step 2 in the vApp name text box, enter the name of the vApp, and the name entered will be the name of the vApp displayed in the list. Select the datacenter or folder where you want to deploy vApp. Click the next button, as shown in the figure:

Step 3 in the resource allocation interface, you can set share, Reserve, and limit to allocate CPU and memory resources for the new vApp. Click the next button, as shown in the figure:

Step 4 before deploying vApp, you can return to the relevant interface by clicking the back button, check the vApp settings and make any necessary changes. Click the finish button, as shown in the figure:

After clicking the finish button, a vApp is created. You can drag the virtual machine directly into the vApp, or you can create a new virtual machine in the vApp, as shown in the figure:

2. Configure vApp

You can allocate resources, reserve, or limit memory and CPU resources for a vApp as if you were managing a resource pool. This is basically no different from managing a resource pool. You can assign a pool of IP addresses to vApp, and then allow vApp to assign IP addresses to the VM in it through DHCP, or you can set the boot order of virtual machines in vApp.

Edit vApp startup and shutdown options

You can change the startup order and shutdown order of vApp. You can also specify delays and actions to be performed at startup and shutdown.

"in the Boot order tab of the Edit vApp Settings window, select the virtual machine, and then use the up and down arrow keys to change the boot order." Virtual machines and vApp with the same boot order (or within the same group) will start at the same time. The reverse order will be used for shutdown. Select startup and shutdown operations for each virtual machine. Use the up and down arrows to change the delay time for startup and shutdown of each virtual machine. Click the OK button, as shown in the figure:

two。 Edit IP allocation Policy

For automatic (temporary) IP allocation to work, you must use vSphere Client and configure the IP address pool.

Step 1 in the Summary interface of vApp, click the Edit Settings button, and the Edit vApp Settings dialog box pops up. On the options tab, click the Advanced option, and then click the IP assignment button at the bottom on the right side of the interface, as shown in the figure:

Step 2 check the DHCP and "OVF environment" check boxes, and then select IPv4 or IPv6, the IP protocol supported by vApp, or both, as shown in the figure:

Step 3 on the options tab, click the IP allocation Policy option. Select an IP allocation option. Fixed IP addresses are manually configured and automatic assignment is not performed. When vApp is powered on, IP addresses are automatically assigned using the IP pool from the specified range. When the power is turned off, the IP address is released. The DHCP server is used to assign IP addresses. The address assigned by the DHCP server is visible in the virtual machine OVF environment started in vApp. A warning pops up here because the IP address pool is not configured in the vSphere data center environment. IP pool can be set in the data center, as shown in the figure:

The method of setting up an IP pool in the data center is shown in the figure:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report