Deploy-VBROracleCloudApplianceTemplate
Short Description
Deploys helper appliance templates to Oracle Cloud Infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Deploy-VBROracleCloudApplianceTemplate -Compartment <VBROracleCloudCompartment>
-AvailabilityDomain <VBROracleCloudAvailabilityDomain> -Subnet <VBROracleCloudSubnet>
[-RedirectorPort <Int32>] [-NetworkSecurityGroup <VBROracleCloudNetworkSecurityGroup>]
[-NoNetworkSecurityGroup] [-Tag <VBROracleCloudTag[]>] [-Wait] [<CommonParameters>] |
Detailed Description
This cmdlet deploys a helper appliance template to Oracle Cloud Infrastructure. A helper appliance template is a reusable custom image that Veeam Backup & Replication uses to deploy the helper appliance during the restore.
Veeam Backup & Replication deploys the template to the region of the availability domain that you specify. You can have only one helper appliance template per OCI account and region. To check that the template is ready to use, run the Test-VBROracleCloudApplianceTemplateChecks helper appliance templates in Oracle Cloud Infrastructure. cmdlet.
Parameters
Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
AvailabilityDomain
|
Specifies the availability domain where Veeam Backup & Replication will build the helper appliance template.
Accepts the VBROracleCloudAvailabilityDomain object. To get this object, run the Get-VBROracleCloudAvailabilityDomainReturns availability domains in Oracle Cloud Infrastructure regions. cmdlet.
|
VBROracleCloudAvailabilityDomain
|
True
|
Named
|
True (ByPropertyName)
|
|
Compartment
|
Specifies the compartment where Veeam Backup & Replication will create the helper appliance template.
Accepts the VBROracleCloudCompartment object. To get this object, run the Get-VBROracleCloudCompartmentReturns compartments in Oracle Cloud Infrastructure. cmdlet.
|
VBROracleCloudCompartment
|
True
|
Named
|
True (ByPropertyName)
|
|
NetworkSecurityGroup
|
Specifies the network security group that Veeam Backup & Replication will assign to the helper appliance. You cannot use this parameter together with the NoNetworkSecurityGroup parameter.
If you do not specify this parameter or the NoNetworkSecurityGroup parameter, Veeam Backup & Replication will create a new network security group for the helper appliance.
Accepts the VBROracleCloudNetworkSecurityGroup object. To get this object, run the Get-VBROracleCloudNetworkSecurityGroupReturns network security groups in Oracle Cloud Infrastructure. cmdlet.
|
VBROracleCloudNetworkSecurityGroup
|
False
|
Named
|
False
|
|
NoNetworkSecurityGroup
|
Defines that Veeam Backup & Replication will not assign a network security group to the helper appliance.
You cannot use this parameter together with the NetworkSecurityGroup parameter.
If you do not specify this parameter or the NetworkSecurityGroup parameter, Veeam Backup & Replication will create a new network security group for the helper appliance.
|
SwitchParameter
|
False
|
Named
|
False
|
|
RedirectorPort
|
Specifies the TCP port that the backup server uses to communicate with the helper appliance. Make sure that the network allows inbound traffic on this port.
|
Int32
|
False
|
Named
|
False
|
|
Subnet
|
Specifies the subnet to which Veeam Backup & Replication will connect the helper appliance.
Accepts the VBROracleCloudSubnet object. To get this object, run the Get-VBROracleCloudSubnetReturns subnets in Oracle Cloud Infrastructure. cmdlet.
|
VBROracleCloudSubnet
|
True
|
Named
|
True (ByPropertyName)
|
|
Tag
|
Specifies an array of tags that Veeam Backup & Replication will add to the helper appliance resources in OCI. Accepts the VBROracleCloudTag[] object. To create this object, run the New-VBROracleCloudTagCreates tags for Oracle Cloud Infrastructure resources. cmdlet.
|
VBROracleCloudTag[]
|
False
|
Named
|
False
|
|
Wait
|
Defines that the cmdlet will wait for the template deployment to complete before it returns the session.
If you do not provide this parameter, the cmdlet will return the session immediately after it starts the deployment.
|
SwitchParameter
|
False
|
Named
|
False
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBROracleCloudApplianceSession object that contains the details of the template deployment session.
Examples
Example 1. Deploying Helper Appliance Template
|
This example shows how to deploy a helper appliance template and wait for the deployment to complete.
|
$account = Get-VBROracleCloudAccount -Name "My OCI Account"
$region = Get-VBROracleCloudRegion -Account $account -Name "eu-frankfurt-1"
$compartment = Get-VBROracleCloudCompartment -Account $account -Name "Restore"
$domain = Get-VBROracleCloudAvailabilityDomain -Region $region -Name "*AD-1"
$vcn = Get-VBROracleCloudVcn -Region $region -Compartment $compartment -Name "Restore VCN"
$subnet = Get-VBROracleCloudSubnet -Compartment $compartment -Vcn $vcn -Name "Restore Subnet"
Deploy-VBROracleCloudApplianceTemplate -Compartment $compartment -AvailabilityDomain $domain -Subnet $subnet -Wait |
Perform the following steps:
- Run the
Get-VBROracleCloudAccountReturns Oracle Cloud Infrastructure accounts. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
- Run the
Get-VBROracleCloudRegionReturns Oracle Cloud Infrastructure regions that an account is subscribed to. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save the result to the $region variable.
- Run the
Get-VBROracleCloudCompartmentReturns compartments in Oracle Cloud Infrastructure. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save the result to the $compartment variable.
- Run the
Get-VBROracleCloudAvailabilityDomainReturns availability domains in Oracle Cloud Infrastructure regions. cmdlet. Set the $region variable as the Region parameter value. Specify the Name parameter value. Save the result to the $domain variable.
- Run the
Get-VBROracleCloudVcnReturns virtual cloud networks in Oracle Cloud Infrastructure. cmdlet. Specify the following settings:
- Set the
$region variable as the Region parameter value.
- Set the
$compartment variable as the Compartment parameter value.
- Specify the
Name parameter value.
Save the result to the $vcn variable.
- Run the
Get-VBROracleCloudSubnetReturns subnets in Oracle Cloud Infrastructure. cmdlet. Specify the following settings:
- Set the
$compartment variable as the Compartment parameter value.
- Set the
$vcn variable as the Vcn parameter value.
- Specify the
Name parameter value.
Save the result to the $subnet variable.
- Run the
Deploy-VBROracleCloudApplianceTemplate cmdlet. Specify the following settings:
- Set the
$compartment variable as the Compartment parameter value.
- Set the
$domain variable as the AvailabilityDomain parameter value.
- Set the
$subnet variable as the Subnet parameter value.
- Provide the
Wait parameter.
|
Example 2. Deploying Helper Appliance Template with Tags and Custom Port
|
This example shows how to deploy a helper appliance template that uses a custom redirector port and marks the helper appliance resources with a tag.
|
$account = Get-VBROracleCloudAccount -Name "My OCI Account"
$region = Get-VBROracleCloudRegion -Account $account -Name "eu-frankfurt-1"
$compartment = Get-VBROracleCloudCompartment -Account $account -Name "Restore"
$domain = Get-VBROracleCloudAvailabilityDomain -Region $region -Name "*AD-1"
$vcn = Get-VBROracleCloudVcn -Region $region -Compartment $compartment -Name "Restore VCN"
$subnet = Get-VBROracleCloudSubnet -Compartment $compartment -Vcn $vcn -Name "Restore Subnet"
$tag = New-VBROracleCloudTag -Key "location" -Value "west"
Deploy-VBROracleCloudApplianceTemplate -Compartment $compartment -AvailabilityDomain $domain -Subnet $subnet -RedirectorPort 4443 -Tag $tag -NoNetworkSecurityGroup -Wait |
Perform the following steps:
- Run the
Get-VBROracleCloudAccountReturns Oracle Cloud Infrastructure accounts. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
- Run the
Get-VBROracleCloudRegionReturns Oracle Cloud Infrastructure regions that an account is subscribed to. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save the result to the $region variable.
- Run the
Get-VBROracleCloudCompartmentReturns compartments in Oracle Cloud Infrastructure. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save the result to the $compartment variable.
- Run the
Get-VBROracleCloudAvailabilityDomainReturns availability domains in Oracle Cloud Infrastructure regions. cmdlet. Set the $region variable as the Region parameter value. Specify the Name parameter value. Save the result to the $domain variable.
- Run the
Get-VBROracleCloudVcnReturns virtual cloud networks in Oracle Cloud Infrastructure. cmdlet. Specify the following settings:
- Set the
$region variable as the Region parameter value.
- Set the
$compartment variable as the Compartment parameter value.
- Specify the
Name parameter value.
Save the result to the $vcn variable.
- Run the
Get-VBROracleCloudSubnetReturns subnets in Oracle Cloud Infrastructure. cmdlet. Specify the following settings:
- Set the
$compartment variable as the Compartment parameter value.
- Set the
$vcn variable as the Vcn parameter value.
- Specify the
Name parameter value.
Save the result to the $subnet variable.
- Run the
New-VBROracleCloudTagCreates tags for Oracle Cloud Infrastructure resources. cmdlet. Specify the Key and Value parameter values. Save the result to the $tag variable.
- Run the
Deploy-VBROracleCloudApplianceTemplate cmdlet. Specify the following settings:
- Set the
$compartment variable as the Compartment parameter value.
- Set the
$domain variable as the AvailabilityDomain parameter value.
- Set the
$subnet variable as the Subnet parameter value.
- Specify the
RedirectorPort parameter value.
- Set the
$tag variable as the Tag parameter value.
- Provide the
NoNetworkSecurityGroup parameter.
- Provide the
Wait parameter.
|