Add-HP4Storage

Short Description

Adds HPE StoreVirtual storage systems to Veeam Backup & Replication.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Storage System: HPE StoreVirtual (LeftHand/P4000), HPE StoreVirtual VSA

Syntax

This cmdlet provides the following parameter sets:

  • To add storage systems by a user name and password.

Add-HP4Storage -DnsOrIpAddress <string> -UserName <string> -Password <string> [-Name <string>] [-Description <string>] [-Proxy <IProxy[]>] [-MountServer <CHost>] [-SkipRescan] [-Force] [-iSCSI] [-NFS] [-FibreChannel] [-AgentFC] [-AgentISCSI] [-AgentProxy <VBRNASProxyServer[]>] [-EnableVMwareBackup] [-EnableAgentBackup][<CommonParameters>]

  • To add storage systems by credentials.

Add-HP4Storage -DnsOrIpAddress <string> -Credentials <CInternalCredentials> [-Name <string>] [-Description <string>] [-Proxy <IProxy[]>] [-MountServer <CHost>] [-SkipRescan] [-Force] [-iSCSI] [-NFS] [-FibreChannel] [-AgentFC] [-AgentISCSI] [-AgentProxy <VBRNASProxyServer[]>] [-EnableVMwareBackup] [-EnableAgentBackup] [<CommonParameters>]

Detailed Description

This cmdlet adds selected HPE StoreVirtual storage systems to backup infrastructure.

When you add storage systems to your backup infrastructure, Veeam Backup & Replication performs a rescan of storage systems. During the rescan Veeam Backup & Replication retrieves information about the storage system topology and adds storage volumes to the backup infrastructure.

For more information about the rescan, see the Adding Storage Systems section of the User Guide for VMware vSphere.

Add-HP4Storage Tip:

Use the SkipRescan parameter to skip the automatic rescan.

To rescan storage systems manually, use the following cmdlets:

  • Run the Sync-HP4Storage cmdlet to rescan of the entire storage system.
  • Run the Sync-HP4Volume cmdlet to rescan selected HPE StoreVirtual volumes added to backup infrastructure.

Alias

Add-VBRHPStorage

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

DnsOrIpAddress

Specifies the storage IP address or DNS name.

String

True

Named

False

UserName

Specifies the user name that you want to use for authenticating with the storage.

String

True

Named

False

Password

Specifies the password you want to use for authenticating with the storage.

String

True

Named

False

Name

Specifies the name of the management group to which the storage belongs.

String

False

Named

False

Credentials

Specifies the credentials you want to use for authenticating with the storage.

Accepts the CInternalCredentials object. To create this object, run the Get-VBRCredentials cmdlet.

True

Named

False

Description

Specifies the description of the storage.

String

False

Named

False

MountServer

Specifies the mount server that you want to use to work with this storage.

Accepts the CHost object. To create this object, run the Get-VBRServer cmdlet.

False

Named

False

SkipRescan

Defines that the cmdlet will not start the storage rescan automatically after you add storage systems to the backup infrastructure.

SwitchParameter

False

Named

False

Force

Defines that the cmdlet will add a HPE StoreVirtual storage system without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

EnableVMwareBackup

Enables the VMware backup option.

If you provide this parameter, you will be able to use storage snapshots to backup and restore VMware vSphere VMs hosted on storage systems.

SwitchParameter

False

Named

False

EnableAgentBackup

Enables the Veeam Agent backup option.

If you provide this parameter, you will be able to integrate your storage systems with Veeam Agent for Microsoft Windows installed on computers in your infrastructure.

SwitchParameter

False

Named

False

Proxy

For the EnableVMwareBackup parameter.

Specifies the array of proxies you want to use with this storage.

If set, Veeam Backup & Replication will use the selected proxies. If not set, Veeam Backup & Replication will use automatic proxy selection.

IProxy

False

Named

False

iSCSI

For the EnableVMwareBackup parameter.

Defines that the storage works over iSCSI protocol.

SwitchParameter

False

Named

False

NFS

For the EnableVMwareBackup parameter.

Defines that the storage works over NFS protocol.

SwitchParameter

False

Named

False

FibreChannel

For the EnableVMwareBackup parameter.

Defines that the storage works over FibreChannel protocol.

SwitchParameter

False

Named

False

AgentFC

For the EnableAgentBackup parameter.

Defines that the storage works over FC protocol.

SwitchParameter

False

Named

False

AgentISCSI

For the EnableAgentBackup parameter.

Defines that the storage works over iSCSI protocol.

SwitchParameter

False

Named

False

AgentProxy

For the EnableAgentBackup parameter.

Specifies an array of proxies you want to use with this storage.

Accepts the VBRComputerFileProxyServer object. To create this object, run the Add-VBRComputerFileProxyServer cmdlet.

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Adding HPE StoreVirtual Storage System

This example shows how to add an HPE StoreVirtual storage system to the backup infrastructure using credentials.

$credentials = -Name "HPE StoreVirtual P4000 Administrator"

$proxy = Get-VBRViProxy -Name 167.16.2.130

Add-HP4Storage -DnsOrIpAddress 167.16.2.134 -Credentials $credentials -Proxy $proxy -Description "HPE StoreVirtual P4000 Storage"

Perform the following steps:

  1. Run the Get-VBRCredentials cmdlet. Specify the Name parameter value. Save the result to the $credentials variable.
  2. Run the Get-VBRViProxy cmdlet. Specify the Name parameter value. Save the result to the $proxy variable.
  3. Run the Add-HP4Storage cmdlet. Specify the following settings:
  • Specify the DnsOrIpAddress parameter value.
  • Set the $credentials variable as the Credentials parameter value.
  • Set the $proxy variable as the Proxy parameter value.
  • Specify the Description parameter value.

Related Commands