
How to make a HyperV2012r2 OS Template
10 - 08 - 2016
First contributors conference
20 - 09 - 2016Configure the Virtual Private Servers 2012 provider in SolidCP to manage a Hyper-V 2012 R2 host. This historical guide explains the original provider settings and examples; verify compatibility and settings for your environment before applying them.
Before you begin
- Install the Hyper-V role on the server.
- Set up SolidCP Server on the Hyper-V host.
- Ensure SolidCP Portal and Enterprise are running.
For template creation, see the Hyper-V 2012 R2 OS template guide.
Add the provider and configure storage
In SolidCP, add the Virtual Private Servers 2012 provider to the Hyper-V server. The original guide described these storage settings:
- VPS root folder: The customer VPS storage path, for example
C:\Hyper-V\SCP\Customers\[USERNAME]\[VPS_HOSTNAME]. - Exported VPS Path: The customer export path, for example
C:\Hyper-V\SCP\Customers\[USERNAME]\export\[VPS_HOSTNAME]. - OS Templates path: The template storage path, for example
c:\Hyper-V\SCP\Templates. - DVD Library path: The location of DVDs available to customers.
- Disk Type: Choose thick or thin disks. The original guide suggested dynamically expanding disks, noting that performance may depend on the VM’s I/O requirements.
Set resource and replication options
- Virtual Machine Reserve: The resources reserved for the VM; the original example used 0.
- Virtual Machine Limit: The resource limit; the original example used 100 to avoid overuse.
- Relative weight: The VM’s resource weight relative to other VMs; the original example used the Microsoft default of 100.
- Replication: Enable it if you intend to offer replication to customers.
Configure networks and host naming
- External Network: Connects the VM to the internet. Configure the assigned IPs in IP Addresses and specify the name servers for the external interface.
- Management Network: Provides a separate network for VM management, a VPN or monitoring.
- Private Network: Provides internal traffic between a customer’s VMs on the same host.
- VPS Host name: The name used when a customer cannot set their own. The original example was
[USERNAME]-[SPACE_ID].
Choose start and stop actions
Automatic Start Action: The original guide suggested “Automatically start if it was running when the service stopped” with a 120-second start-up delay.
Automatic Stop Action: For a physical host shutdown, the original guide suggested either saving the VPS state or shutting down the VPS operating system. Choose the action appropriate to your workload.

