If you are a service provider and you want to allocate a cloud host for your tenants, 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 VMware 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 VMware hosts with resources for tenants’ replicas must be added to the backup infrastructure. To learn more on how to add a VMware vCenter server or ESXi host to Veeam Backup & Replication infrastructure, see How to Add VMware vCenter Server to VBR or How to Add ESXi 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 VMware Cloud Hardware Plan.
To create a VMware cloud hardware plan with PowerShell, perform the following steps:
- Get the ESXi host or VMware vCenter Server in the service provider virtualization environment where the tenants’ VM replicas will be registered:
- For a ESXi host run Get-VBRServer with Type parameter: ESXi.
- For a VMware vCenter server run Get-VBRServer with Type parameter: VC.
- Save the result to the $server variable.
If you want to allocate a vCenter Server cluster for your tenants’ VM replicas, you must use the Enterprise or Enterprise Plus edition of the VMware vSphere infrastructure. In Standard VMware vSphere edition, it is possible to create resource pools only in standalone ESXi hosts.
- Get the datastore in the service provider virtualization environment to store files of the tenant’s VM replicas: run Find-VBRViDatastore and save the result to the $datastore variable.
- Allocate a quota on the datastore for tenants to store replicated VMs data:
- Run New-VBRViCloudHWPlanDatastore with the $datastore variable.
- Specify the friendly name of the datastore. This will be the name of the data storage displayed at the tenants’ side.
- Specify 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 VMware cloud hardware plan:
- Run Add-VBRViCloudHardwarePlan with the $server and $cloudreplicas variables.
- Specify the hardware plan name, the limit of the CPU (GHz) and Memory (GB) resources to 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 set in VLAN configuration.
The total number of networks available to the tenant on ESXi host cannot exceed 9.
PS C:\PS> $server = Get-VBRServer –Type ESXi -Name "ESXiHost"
PS C:\PS> $datastore = Find-VBRViDatastore -Name "SP Datastore"
PS C:\PS> $cloudreplicas = New-VBRViCloudHWPlanDatastore -Datastore $datastore -FriendlyName "Cloud Replicas" -Quota 500
PS C:\PS> Add-VBRViCloudHardwarePlan -Name "VMware Silver" -Description "VMware Hardware Plan" -Server $server -Datastore $cloudreplicas -CPU 4000 -Memory 2000 -NumberOfNetWithoutInternet 1 -NumberOfNetWithInternet 1