Add-VBRViCloudHardwarePlan
Short Description
Creates VMware hardware plans.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Requires a VCP license.
Syntax
|
Add-VBRViCloudHardwarePlan -Name <String> [-Description <String>] -Server <Object> [-CPU <Int32>] [-UnlimitedCPU] [-Memory <Int32>] [-UnlimitedMemory] [-NumberOfNetWithInternet <Int32>] [-NumberOfNetWithoutInternet <Int32>] -Datastore <VBRViCloudHardwarePlanDatastore[]> [<CommonParameters>] |
Detailed Description
This cmdlet creates a new hardware plan for VMware environments.
The hardware plan allocates the following resources to a tenant:
- Cloud host. When creating replicas, the tenant will use this host as target host to register the replicated VMs.
- Quota of the cloud host CPU and memory.
- [Pre-configure] Networks to which the tenant will connect the cloud replicas. Run the
New-VBRCloudVLANConfigurationCreates pools of VLANs that will be reserved for Veeam Cloud Connect. cmdlet to pre-configure the pool of VLANs. - [Pre-configure] Cloud storage: a quota of datastores allocated to tenants. Run the
New-VBRViCloudHWPlanDatastoreCreates VMware cloud storage for tenants replication resources. cmdlet to create the cloud storage.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CPU |
Specifies the quota of CPU resources you want to allocate to the tenant under this hardware plan (MHz). |
|
False |
Named |
False |
|
Datastore |
Specifies the array of cloud storage objects. The hardware plan will use these objects to allocate storage space to the tenant under this hardware plan.
Accepts the |
True |
Named |
False |
|
|
Description |
Specifies the description of the hardware plan. |
|
False |
Named |
False |
|
Memory |
Specifies the quota of CPU memory you want to allocate to the tenant under this hardware plan (Gb). |
|
False |
Named |
False |
|
Name |
Specifies the name you want to assign to the hardware plan. |
|
True |
Named |
False |
|
NumberOfNetWithInternet |
Specifies the number of networks with access to the Internet that you want to allocate to the tenant under this hardware plan. |
|
False |
Named |
False |
|
NumberOfNetWithoutInternet |
Specifies the number of networks without access to the Internet that you want to allocate to the tenant under this hardware plan. |
|
False |
Named |
False |
|
Server |
Specifies the ESXi host or cluster. The resources of this host or cluster (CPU and memory quotas) will be allocated to the tenant by the hardware plan.
Accepts the |
|
True |
Named |
False |
|
UnlimitedCPU |
Defines that the quota of CPU resources is unlimited. If you provide this parameter, the tenant will be able to use all CPU resources of the host. |
|
False |
Named |
False |
|
UnlimitedMemory |
Defines that the quota of CPU memory is unlimited. If you provide this parameter, the tenant will be able to use all memory resources of the host. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Creating Hardware Plan for VMware
This example shows how to create a hardware plan with the following settings:
- CPU quota:
4000 MHz - Memory quota:
2000 Gb - Cloud storage:
Cloud Replicas - Networks without access to the Internet:
1
|
$server = Get-VBRServer -Type ESXi -Name "ESXiHost" $switches = Get-VBRViVirtualSwitch -Server $server New-VBRCloudVLANConfiguration -Server $server -ViVirtualSwitch $switches[0] -FirstVLANWithInternet 1 -LastVLANWithInternet 5 -FirstVLANWithoutInternet 6 -LastVLANWithoutInternet 10 $datastore = Get-VBRServer -Name "ESXiHost" | Find-VBRViDatastore -Name "Veeam Cloud Datastore" $cloudreplicas = New-VBRViCloudHWPlanDatastore -Datastore $datastore -FriendlyName "Cloud Replicas" -Quota 500 $server = Get-VBRServer -Type ESXi -Name "ESXiHost" Add-VBRViCloudHardwarePlan -Name "VMware Silver" -Description "VMware Hardware Plan" -Server $server -CPU 4000 -Memory 2000 -NumberOfNetWithoutInternet 1 -Datastore $cloudreplicas |
Perform the following steps:
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Set theESXioption for theTypeparameter. Specify theNameparameter value. Save the result to the$servervariable. - Run the
Get-VBRViVirtualSwitchReturns VMware virtual switches. cmdlet. Set the$servervariable as theServerparameter value. Save the result to the$switchesvariable. - Run the
New-VBRCloudVLANConfigurationCreates pools of VLANs that will be reserved for Veeam Cloud Connect. cmdlet. Set the$servervariable as theServerparameter value. Set the$switchesvariable as theViVirtualSwitchparameter value. Specify theFirstVLANWithInternet,LastVLANWithInternet,FirstVLANWithoutInternet,LastVLANWithoutInternetparameter values. - Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Pipe the cmdlet output to theFind-VBRViDatastoreLooks for VMware datastores. cmdlet. Specify theNameparameter value. Save the result to the$datastorevariable. - Run the
New-VBRViCloudHWPlanDatastoreCreates VMware cloud storage for tenants replication resources. cmdlet. Set the$datastorevariable as theDatastoreparameter value. Specify theFriendlyNameand theQuotaparameter values. Save the storage to the$cloudreplicasvariable. - Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Set theESXioption for theTypeparameter. Specify theNameparameter value. Save the server to the$servervariable. - Run the
Add-VBRViCloudHardwarePlancmdlet. Specify the following settings:- Specify the
Nameand theDescriptionparameter values. - Set the
$servervariable as theServerparameter value. - Specify the
CPU, theMemoryand theNumberOfNetWithoutInternetparameter values. - Set the
$cloudreplicasvariable as theDatastoreparameter value.
- Specify the
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.New-VBRViCloudHWPlanDatastoreCreates VMware cloud storage for tenants replication resources.