Create VM's Template
- Tran Dai Quan
- Tran Khanh Ngoc
Overview
HI GIO provides virtual machine (VM) template sizes and operating systems.
The HI GIO template is a good place to start when you first deploy VMs into the HI GIO. However, you may want to create a template containing specific applications that you can use to deploy VMs quickly.
Assume your VM has already installed OS, VMware tools, and preconfigured.
Procedure
- I. Customize your VM
Prerequisites: VMware Tools must be installed & VM is powered off.
Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.
Step 2: Click card view
Step 3: On the card of the virtual machine that you want to start, click DETAILS.
Step 4: To enable\disable Hot-add for CPU\Memory, Click Compute > Edit (CPU section or Memory section)
Attention: VM’s state must be powered off.
Step 5: Enable toggle and click Save
VMware has set a maximum value for hot-add memory. By default, this value is 16 times the memory assigned to the virtual machine. (https://kb.vmware.com/s/article/2020846)
If you are running WM with Linux OS having less than 3GB RAM, you can change the memory to only 3GB RAM in total if you need more. You must power off the VM, increase memory to, for example, 4 GB RAM, and power it on again. (https://kb.vmware.com/s/article/2008405).
Step 6: To customize Guest OS, Click Guest OS Customization > EDIT
- TIP: Guest OS Customization will help you prepare the logon, change the password, \ Join the Domain (just for Windows) in the first boot after deploying.
Step 7: On Edit Guest Properties
Depends on the guest OS – Linux or Windows. The view of this page has some differences:
The Enable guest customization check box is selected.
Change the SID option (for Windows OS)
Select Allow local administrator password
Select Require administrator to change the password on the first login to require all administrators to change the password upon initial login (Administrators must know the old password)
Select Auto Generate password or Specify password (if you want to define it yourself).
Join Domain (this session is for Windows OS)
Step 8: Click Save
- II. Creating VM templates
Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.
Step 2: Click card view
Step 3: On the card of the virtual machine that you want to start, click ACTIONS.
Step 4: Click Create Template
On the Add to Catalog page
Step 5: Select the catalog that will store this template
Step 6: Enter the Name of the template
Step 7: Select Customize VM setting and click OK to process
End.