Hyper-V VM's provisioning through HC10 Control Panel

Hosting Controller has certain prerequisites that must be followed to ensure successful VM creation through its interface. If HC successfully creates a virtual machine but fails to copy the IP address or password to the target VM, some necessary configurations may have been overlooked, leading to HC's failure to assign resources properly.

Below are the necessary prerequisites divided into two phases. It's important to follow all of these steps to ensure HC creates virtual machines successfully along with their resources (IP Address, Hostname, Password, etc.).

Phase 1: How to Prepare an OS Template

An OS template is a master copy image of a virtual machine that includes the guest OS, VM disks, virtual devices, and settings. An OS template can be used as a basic template for creating many consistent and standardized VMs. Follow the steps below to create an OS template:
  • You can either create a new virtual machine as an OS template or use an existing one. Link to creating_master_virtual_machine
  • Ensure that .Net Framework 2 or higher is installed on this virtual machine (OS template).
  • Hyper-V components must be installed and running on this OS template. Download Hyper-V Components
  • Disable the firewall altogether or allow HC ports 8794, 8795, and 8798 in the firewall of the virtual machine (OS template).
  • Once configured, shut down the virtual machine (OS template).
Phase 2: Configuring OS Template in HC

Once the OS template is prepared, configure it in HC by following the steps below:
  • Log in to the HC panel as a global admin, then navigate to Virtual Module Configuration >> OS Templates.
  • Click the "+Add OS Template" button.
  • Enter a friendly name for the OS template, select the required node, specify the Base OS Type (Windows OS) created in Phase 1, and provide other required details such as Template Generation, Template Size (GB), Default Admin Account (administrator user), Default Admin Password (administrator password), Public/Private Network Name, and select the VHDX file.
  • Save the settings after providing all necessary details.
  • Add Public and Private IP Addresses in HC against the required node.
Now, create the VM through HC with the desired details using the correct OS template and node. HC will create the VM with all the configured settings.

If further assistance is needed, please feel free to contact us via email at support@hostingcontroller.com.