There are many ways to make a VMware virtual machine (VM) from a template, but some of the methods are much simpler:
1. Libraries -> vApp Templates -> Create vApp (With the help of the software wizard you can immediately set all the appropriate parameters, no further action is required later.) Recomended!
2. Data Centers -> Compute -> vApps -> Add vApp from Catalog (essentially the same as 1.)
3. Data Centers -> Compute -> vApps -> New vApp (Initially, you can make a custom vApp, if necessary, you can add a VM immediately. In this case, resources (CPU and RAM) cannot be added to the VM immediately, the VM must be turned off. By creating a VM from an ISO file, you can add resources immediately. The ISO file must be uploaded to “Libraries” beforehand.)
4. Data Centers -> Compute -> Virtual Machines -> New VM (When you create a VM from a template, you cannot add resources (CPU and RAM) to the current VM. To do this, the VM must be turned off.)
Libraries -> vApp Templates -> Create vApp
You will immediately see a list of installation templates to choose from. In this example, we select the centos8 template and click “Create vApp”.
A window will open. Give the vApp a name.
Select which virtual data center the vApp will be in (in this case - wavecom).
Select "Storage Policy", ie the storage to which the VM will be created. If you have a larger datacenter, we recommend scattering the VM´s between different storages to increase theoretical availability.
Select the amount of CPUs and memory, but do not exceed the limit of ordered resources. Otherwise, the VM will not start. Everything can be changed later.
The CPU cores and memory can also be added to a running VM. We recommend disabling the hot-add later on the VM, if you want faster performance, on average the hot-add reduces the CPU performance by 7% because all the CPU commands can´t be used. We recommend keeping the memory hot add feature enabled.
The default size for templates is 5GB for Linux and 60GB for Windows. You can choose the disk size that suits you. For Linux, it increases automatically, for Windows, you need to increase the partition in the disk manager yourself.
By default, the first IP on the network is automatically assigned.
By selecting “Switch to the advanced networking workflow” it is possible to set the network adapter type (it is recommended to use the VMXNET3 adapter, which is also the default setting). We recommend that you select “IP Pool” and the VM is given the first free IP out of the IP range assigned to you. You can also select “Manual IP” and set it yourself. In both cases, the automation configures the network settings in the template operating system, and the network is operational when the machine starts. If you select DHCP, the DHCP service must be set up in advance, otherwise the VM network will not start. Can be used, for example, for an isolated network, which must be defined in advance under "Networking -> Networks". If you select “Internet” or “Public” under “Network”, then there is no DHCP support. If there is a routed network, DHCP must be configured in “Data Centers -> Networking -> Edge Gateways”. We don´t recommend using DHCP.
Ready to Complete
Finally, you will see a summary before creating the VM.
If everything is as desired, press “Finish”. The window closes and a VM with the appropriate configuration is created.
Under “Data Centers -> Virtual machines” you will see a new VM. Click on the newly created VM and press “Power On”.
NB! You must wait for the VM to start. After that, the VM can perform several more restarts, during which the various parameters (network and root password) of the VM are set. Then the VM is then ready for use. Once the VM is turned On, you can open the console and monitor the boot process by clicking the VM Console button (All Actions -> VM Console -> Launch Web Console)..
Under “Virtual Machines -> Details -> Guest OS Costumization -> Edit” you can get the root password. The correct password will not be generated until the VM has completed its startup procedures.