About
What is VM Template?
VM template is a master copy image of a virtual machine that includes VM disks, virtual devices, and settings. A VM template can be used many times over for the purposes of VM cloning. You cannot power on and edit the template once it has been created. This is by design, so that nobody can accidentally edit the virtual machine that is used as a template.
After cloning the VM from a template, VM clones are not linked to a VM template and are independent.
Preparation
Before proceed to create/deploy Virtual Machine, you must have:
- You have purchase Virtual Data Center
- You have enable/set password and login to vCloud Director . Else, you can find how to enable password and login vCloud Director guidance here.
Guide
1. In the first step, you can click on DC_XXXXX.
2. Next, create a vApp that will be used to create a template. This can be done via vCloud Director > vApp > New VAPP.
3. Enter the name and description related to the vApp as needed then click create.
4. After vApp creation is complete, you can add Network to the VM. What can be done via Actions > Add > Add Network.
5. When adding Network, you can select Direct and then select the Network that has been created on the VM.
6. Next, create a VM that will be used to create templates. What to do via vApps > Action > Add > Add VM.
7. After adding a VM you can add Virtual Machine.
8. Fill in the name of the VM and the computer's VM, then select the type of Template for an existing OS or New for creating a new OS. Next, you can complete the data and VM templates according to your needs. We use the example for Ubuntu Server 20.04.
9. Next, select a storage policy according to your needs. Below is an explanation of ioSTOR Storage.
- ioSTOR-100 : Storage is based on Input/Output Operations Per Second (IOPS). Choose fast storage for your SQL and Exchange servers and slower storage for your backups.
- ioSTOR-250 : Storage is based on Input/Output Operations Per Second (IOPS). Choose fast storage for your SQL and Exchange servers and slower storage for your backups. You can always change your storage speed at any time without downtime.
- ioSTOR-500 : Storage is based on Input/Output Operations Per Second (IOPS). Choose fast storage for your SQL and Exchange servers and slower storage for your backups. You can always change your storage speed at any time without downtime.
- ioSTOR-1000 : Storage is based on Inout/Output Operations Per Second (IOPS). Choose fast storage for your SQL and Exchange servers and slower storage for your backups. You can always change your storage speed at any time without downtime.
10. Click the Connected checkbox, select Network > Example network DC_XXXXXXX
12. Select IP Mode as per your requirement. We use the example for IP Mode Static – IP Pool.
- DHCP : We do not recommend DHCP because users are end users or users who are not necessarily always connected to the same network/guest. This is also to prioritize initial identity availability for connected devices first.
- Static – IP Pool : IP Pool is a feature that serves to limit the range or row of IP addresses that will be distributed automatically.
- Static – Manual : The configuration manual will provide fixed IP access, so remote processes and device sharing properly don't interfere with central access changes.
12. On the Custom Properties, fill the box on Default User's password. This is a temporary password, so it can be set up simply.
13. Click OK.
14. Then click Add to continue creating the VM.
15. Next, click Action > Power > Power ON to turn on the VM.
16. Then click Action > VM Console > Launch Web Console.
17. Successfully Installed. Next, login with ubuntu user and using and use the password that was previously set up.
18. Then you will be asked to enter the password again. After click Enter, setup a new secure password. This password will be used for the rest.