How to Configure VLANs for Hyper-V Cloud Hardware Plan
If you are a service provider and set up a Hyper-V cloud hardware plan, you must first configure networking for tenants’ VM replicas. The service provider must allocate a range of VLANs to Veeam Cloud Connect. This can be done in the following steps:
- Get the Hyper-V host or cluster in the service provider virtualization environment 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.
- Get the array of virtual switches located on Hyper-V host: run Get-VBRHvServerNetworkInfo and save the result to the $switcharray variable.
- Get the specific virtual switch:
- Use the properties of the $switcharray object to get the switches located on Hyper-V host.
- Select the virtual switch for VLANs.
- Save the result to the $switch variable.
- Allocate a range of VLANs to Veeam Cloud Connect:
- Run New-VBRCloudVLANConfiguration with the $server and $switch variables.
- Indicate the range for VLANs with internet connection and the range of VLANs without internet connection.
|
The total number of VLANs reserved for Veeam Cloud Connect Replication must be equal to or exceed the total number of all tenants' production networks. |
$server = Get-VBRServer -Type HvServer -Name "Hyper-VHost" $switcharray = Get-VBRHvServerNetworkInfo -Server $server $switch = $switcharray[0] New-VBRCloudVLANConfiguration –Server $server -HvNetworkInfo $switch –FirstVLANWithInternet 1 –LastVLANWithInternet 30 –FirstVLANWithoutInternet 31 –LastVLANWithoutInternet 60 |