How to Create Hyper-V Cloud Hardware Plan
If you are a service provider and you want to provide your tenants with the cloud host, you must create a hardware plan within Veeam Cloud Connect infrastructure. The hardware plan is a set of resources allocated in the service provider’s virtualization environment for the tenants’ VM replicas.
Before creating a Hyper-V cloud hardware plan, make sure the following settings are made:
- An SSL certificate must be installed on the service provider’s Veeam backup server. To learn more on how to install an SSL certificate, see How to Assign SSL Certificate to Service Provider.
- Service provider’s hosts with resources for tenants’ replicas must be added to the backup infrastructure. To learn more on how to add a Hyper-V cluster or a Hyper-V standalone host to Veeam Backup & Replication infrastructure, see How to Add Hyper-V Cluster to VBR or How to Add Hyper-V Host to VBR.
- Allocate a range of virtual local area networks with and without internet access to Veeam Cloud Connect infrastructure. To learn more on how to configure VLANs, see How to Configure VLANs for Hyper-V Cloud Hardware Plan.
To create a Hyper-V cloud hardware plan with PowerShell, perform the following steps:
- Get the Hyper-V host where the tenants’ VM replicas will be registered:
- For a standalone Hyper-V host run Get-VBRServer with Type parameter: HvServer.
- For a Hyper-V cluster run Get-VBRServer with Type parameter: HvCluster.
- Save the result to the $server variable.
Standalone Hyper-V hosts that run Nano Server installations of the Microsoft Windows Server 2016 OS cannot be used for configuring hardware plans.
The following types of Hyper-V clusters are not supported for exposing resources through hardware plans:
- Create a Hyper-V cloud storage for tenants’ replication resources:
- Run New-VBRHvCloudHWPlanDatastore.
- Specify the path to the folder on the cloud provider host. This folder will serve as a storage for the tenants’ VM replication data.
- Specify the friendly name of the data storage and the size of the disk space quota in GB. This amount of disk space will be available to the tenant under the hardware plan.
- Save the result to the $cloudreplicas variable.
- Create the Hyper-V cloud hardware plan:
- Run Add-VBRHvCloudHardwarePlan with the $server and $cloudreplicas variables.
- Specify the hardware plan name, description, the limit of the CPU (GHz) and Memory (GB) resources that can be utilized by all VM replicas on the cloud host. If you want to grant unlimited resources, use the UnlimitedCPU and UnlimitedMemory parameters.
- Specify the number of networks with and without internet access. These networks will be available for tenants’ VM replicas on the cloud host. The specified number of networks will be selected from the VLAN range which you set in VLAN configuration.
The total number of networks available to the tenant on Hyper-V host cannot exceed 7.
$server = Get-VBRServer –Type HvServer -Name "Hyper-V Host"
$cloudreplicas = New-VBRHvCloudHWPlanDatastore -DatastorePath "D:\Replicas" -FriendlyName "Cloud Replicas" -Quota 500
Add-VBRHvCloudHardwarePlan -Name "Hyper-V Silver" -Description "Hyper-V Hardware Plan" -Server $server -Datastore $cloudreplicas -CPU 4000 -Memory 2000 -NumberOfNetWithoutInternet 1 -NumberOfNetWithInternet 1