How to deploy OVF templates:
How to deploy OVF templates in VMWare vSphere Client:
How to deploy OVF templates in VMWare vCenter Server:
You can deploy an OVF template from a local file system accessible to the vSphere Client machine, or from a web URL.
- In the vSphere Client, select File > Deploy OVF Template. The Deploy OVF Template wizard appears.
- Specify the source location and click Next.
|Deploy from File || Browse your file system for an OVF or OVA template.|
|Deploy from URL ||Specify a URL to an OVF template located on the internet. Example: http://vmware.com/VMTN/appliance.ovf|
- View the OVF Template Details page and click Next.
- If license agreements are packaged with the OVF template, the End User License Agreement page appears. Agree to accept the terms of the licenses and click Next.
- (Optional) Edit the name and select the folder location within the inventory where the vApp will reside. Click Next.
- Select the deployment configuration from the drop-down menu and click Next.
The option selected typically controls the memory settings, number of CPUs and reservations, and application-level configuration parameters.
|NOTE This page of the wizard is only shown if the OVF template contains deployment options.|
- Select the host or cluster on which you want to deploy the OVF template and click Next.
- Select the host on which you want to run the deployed OVF template, and click Next.
This page is only shown if the destination is a resource pool associated with a cluster with DRS disabled or in manual mode.
- Navigate to, and select the resource pool where you want to run the OVF template and click Next. This page is only displayed if resource pools or clusters are configured on the host.
- Select a datastore to store the OVF template file, and click Next.
Datastores are a unifying abstraction for storage locations such as Fibre Channel, iSCSI LUNs, or NAS volumes. On this page, you select from datastores already configured on the destination cluster or host. The virtual machine configuration file and virtual disk files are stored on the datastore. Select a datastore large enough to accommodate the virtual machine and all of its virtual disk files.
- For each network specified in the OVF template, select a network by right-clicking the Destination
Network column in your infrastructure to set up the network mapping and click Next.
- On the IP Allocation page, configure how IP addresses are allocated for the virtual appliance and click Next.
This page is not shown if the deployed OVF template does not contain information about the IP scheme it supports.
|Fixed ||You will be prompted to enter the IP addresses in the Appliance Properties page.|
|Transient ||IP addresses are allocated from a specified range when the appliance is powered on. The IP addresses are released when the appliance is powered off.|
|DHCP ||A DHCP server is used to allocate the IP addresses.|
- Set the user-configurable properties and click Next.
The set of properties that you are prompted to enter depend on the selected IP allocation scheme. For example, you are prompted for IP related information for the deployed virtual machines only in the case of a fixed IP allocation scheme.
- Review your settings and click Finish.
The progress of the import task appears in the vSphere Client Status panel.
How to export a OVF template:
How to export a OVF template in VMWare vcenter Server:
How to export a OVF template in VMWare vSphere Client:
You can export a virtual machine, virtual appliance, or vApp to OVF format to make it available to other users to import into their inventory.
- Select the virtual machine or vApp and select File > Export > Export OVF Template.
- In the Export OVF Template dialog, perform the following steps:
By default, the text from the Notes pane on the virtual machine’s Summary tab appears in this text box.
- Type the Name of the template. For example, type MyVm
|NOTE When exporting an OVF template with a name that contain asterisk (*) characters, those characters turn into underscore characters (_).|
- Enter the Directory location where the exported virtual machine template is saved, or click “...” to browse for the location.For example, C:\OvfLib\.
- In the Optimized for field, determine how you want to store the files.
Select Web (OVF) to store the OVF template as a set of files (.ovf, .vmdk, and .mf) This format is optimal if you plan to publish the OVF files on a web server or image library. The package can be imported, for example, into the vSphere client by publishing the URL to the .ovf file. Select Physical Media (OVA) to package the OVF template into a single .ova file. This might be convenient to distribute the OVF package as a single file if it needs to be explicitly downloaded from a web site or moved around using a USB key.
- (Optional) To create a new folder for the OVF file, select the Create folder for OVF template checkbox. For example, the following files might be created:
- (Optional) In Description, type a description for the virtual machine.
How to Configure Virtual Machine Startup and Shutdown Behaviour:
How to Create Virtual Machine StartUp and Shutdown Behaviour:
You can configure a virtual machine to start up and shut down automatically, or you can disable this function. You can also set the default timing and the startup order for specified virtual machines when the system host starts.
- In the inventory, display the host where the virtual machine is located.
- Select the host and click the Configuration tab.
- Click Virtual Machine Startup/Shutdown, and click Properties.
- Select Allow virtual machines to start and stop automatically with the system.
- Click Continue immediately if the VMware Tools starts to have the operating system boot immediately after VMware Tools starts.
- To have the operating system start after a brief delay, enter a Default Startup Delay time. This delay allows time for VMware Tools or the booting system to run scripts.
- Select a shutdown action.
- Enter a Default Shutdown Delay value to delay shutdown for each virtual machine by a certain amount of time. This shutdown delay applies only if the virtual machine has not already shut down before the delay period elapses. If the virtual machine shuts down before that delay time is reached, the next virtual machine starts shutting down.
- Use Move Up and Move Down to specify the order in which the virtual machines start when the system starts.
- To configure user-specified autostartup and autoshutdown behavior for any virtual machine, select the virtual machine and click Edit.