How to create the custom Windows XEN HVM template on the XEN server?
- Connect to Xen Node via SSH.
Prepare a Source VPS from which template will be created.
SVM_WARN: The size of VPS has to be as small as possible as template size as well as the minimum disk size of future VPS created from this template depends on it. Also, the Source VPS must have only one partition.
- Shut down the Source Xen HVM VPS which you are going to create a template from.
- Run the below command on the Xen Node and select the HDD location of the VPS on the Xen Node:
Note: In case the custom template is for Windows OS later than Windows 7 select the Windows 7 when prompted to choose OS.
- Upload the created template to the Master Node using rsync utility (or any other utility):
# rsync /home/solusvm/tmp/<template_name>.tar.gz <Master_IP>:/home/solusvm/xen/hvmtemplate
Note: replace <template_name> and <Master_IP> with the actual values accordingly.
- On Xen Node place the template under the
- Add a template in SolusVM at Media > add Xen HVM template.