Creating a Linux virtual machine from template
Using the VMware Create Linux Virtual Machine from Template Task, you can create a new Linux virtual machine using a VMware template within the BigFix console.
Before you begin
You must ensure that the analysis Host Overview is active. If this analysis is not activated, a warning message is displayed in the VMware Create Linux Virtual Machine from Template Task. You cannot create the virtual machine from template without activating this analysis. After you activate the analysis, it can take a few minutes to gather. To check the status of the analysis, from the navigation tree in the Server Automation domain, click . In the Activate Analysis list, check that the Status of the analysis changes from Not Activated to Activated Globally. In the Activate Analysis list, you must select Host Overview and click the Results tab. When the Results window is populated with one or more computer names, the analysis is gathered. If any of the computer names displays the message "not reported", the analysis is not gathered.
To create a virtual machine from a template, you must install VMware tools on the template that you want to use.
For non-English users: VMware vCenter supports only Simplified Chinese, Japanese, German and French. You can use this Task only if the console language that you selected in BigFix console is identical to the console language selected in VMware.
About this task
Complete the following steps to create a Linux virtual machine from template.
Procedure
- Open the Server Automation domain.
- From the navigation tree in the Server Automation domain, click to open the list of Host Configuration Tasks.
- From the Host Configuration list,
select the VMware Create
Linux Virtual Machine from Template Task. To
create a virtual machine from a template, you must complete the following
parameters in the Task: VMware Create
Linux Virtual Machine from Template window. If you are
working with a copied Task, click
Take Action and enter the required information when you are prompted
by the alert boxes.
Table 1. Create Linux Virtual Machine from Template parameters To create a virtual machine from a template, you must complete the following parameters in the Task: VMware Create Linux Virtual Machine from Template.
Parameter name Description Host containing the Template Select the host that contains the template that you want to use to create a virtual machine. Template Select the name of the template that you want to use to create a virtual machine. If the template that you want to work with is not listed, select OFF on the button in the Validation column and enter the name of the template that you want to use. You must ensure that the template name that you enter is correct. VMware Tools Installed You can view whether or not VMware tools is installed. You can only create virtual machines from templates which have VMware tools installed. Virtual Machine Name Enter the name of the new virtual machine to be created. Ensure that you use a unique name to avoid any confusion with duplicate names in the future. Virtual Machine Host Enter the name of the host on which you want the virtual machine to run. Datastore Name Enter the name of the datastore in which you want to store the virtual machine configuration files. Maximum file size You can view the maximum file size, in gigabytes, that can be allocated to a virtual machine that is created on the datastore. You cannot create a virtual machine with a disk size that is larger than the maximum file size allowed for the datastore. If you select a template which has more than one hard disk, you must ensure that each hard disk has a provisioned disk size that does not exceed the maximum file size for the datastore. Datastore free space You can view the free space, in gigabytes, that is available on the datastore. The virtual machine provisioned disk size cannot exceed the free space size that is available on the datastore. Power On VM Select whether you want the new virtual machine to be powered on or off on creation. The default power setting for the new virtual machine is off. Provisioned Disk size (GB) You can view the disk size, in gigabytes, that is provisioned for the template that you selected. If you want to use a template that has a greater disk size than the free space on the datastore, select OFF on the validation button in the Validation column for Provisioned Disk size (GB). For example, if you know that virtual machines on the datastore are scheduled to be deleted and free disk capacity will become available, you can disable validation and use the template with a greater disk size than that which is available. You can schedule the Task to take action when more disk space becomes available. You must ensure that the data that you provide is correct. You cannot create a virtual machine with a provisioned disk size greater than the Maximum file size for the datastore even if you disable validation. Memory Size (MB) You can view the memory size, in megabytes, that is allocated for your virtual machine. Number of Virtual Processors You can view the number of processors that are allocated to your virtual machine. Computer Name Enter the computer name for the new virtual machine as it would appear on the network. Domain Name Enter the domain name for the new virtual machine. Timezone Area Select a region which contains the time zone that you want to use for the virtual machine. For more information on time zones, see the following VMware documentation: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/timezone.html Timezone location Enter the location of the time zone that you want to use for the virtual machine. Hardware Clock Setting Select whether the Hardware clock should be set to UTC or local time. - From the Network Configuration list,
select whether you want a typical or custom configuration. Whether
you choose typical or custom configuration, you must enter the DNS
search path for your new virtual machine in the DNSSearchPath field.
- For both static and custom network configuration, you can enter a Primary DNS, Secondary DNS and Tertiary DNS for your new virtual machine. These fields are optional.
- When you complete the form, click Take Action.
- In the Take Action dialog box, ensure Specific computers selected in the list below is selected and from the list of Computer Names, select the host computer on which you want to create the virtual machine. To schedule a task to run at a specific time, select the Execution tab in the Take Action dialog box and enter the scheduling information in the Constraints menu. Click OK.