This is an archive version of the document. To get the most up-to-date information, see the current version.

Add-HP4Storage

In this article

    Short Description

    Adds HPE StoreVirtual storages to Veeam Backup & Replication.

    Applies to

    Platform: VMware

    Product Edition: Standard, Enterprise, Enterprise Plus

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

    Syntax

    This cmdlet provides 2 parameter sets.

    • For authenticating with username/password:

    Add-HP4Storage -DnsOrIpAddress <string> -UserName <string> -Password <string> [-Name <string>] [-Description <string>] [-Proxy <IProxy[]>] [-iSCSI] [-NFS] [-FibreChannel] [-WhatIf] [-Confirm]  [<CommonParameters>]

    • For authenticating with credentials:

    Add-HP4Storage -DnsOrIpAddress <string> -Credentials <CCredentials> [-Name <string>] [-Description <string>] [-Proxy <IProxy[]>] [-iSCSI] [-NFS] [-FibreChannel] [-WhatIf] [-Confirm]  [<CommonParameters>]

    Related Commands

    Get-VBRCredentials

    Get-VBRViProxy \ Get-VBRHvProxy

    Detailed Description

    This cmdlet adds the selected HPE StoreVirtual storage to Veeam Backup & Replication.

    When you add a storage to your management console, Veeam Backup & Replication automatically rescans the storage infrastructure. To rescan the storage infrastructure manually, run Sync-HP4Storage or Sync-HP4Volume.

    When adding a storage, you will need to provide either username/password or credentials. This cmdlet provides syntax for both scenarios accordingly.

    Alias

    Add-VBRHPStorage

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    DnsOr
    IpAddress

    Specifies the string with a full DNS name or IP address of the storage.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    False

    UserName

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

    False

    Named

    False

    False

    Password

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

    False

    Named

    False

    False

    Name

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

    False

    Named

    False

    False

    Credentials

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

    True

    Named

    False

    False

    Description

    Specifies the description of the storage.

    If not set, Veeam Backup & Replication will enter date and time of creation by default.

    False

    Named

    False

    False

    Proxy

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

    False

    Named

    False

    False

    iSCSI

    Indicates that the storage works over iSCSI protocol.

    False

    Named

    False

    False

    NFS

    Indicates that the storage works over NFS protocol.

    False

    Named

    False

    False

    FibreChannel

    Indicates that the storage works over FibreChannel protocol.

    False

    Named

    False

    False

    WhatIf

    Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

    False

    Named

    False

    False

    Confirm

    Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Example 1

    This command adds a storage using username/password.

    PS C:\PS> Add-HP4Storage -DnsOrIpAddress 167.16.2.134 -UserName "Administrator" -Password "Password" -Description "HPE StoreVirtual LeftHand Storage"

    Example 2

    This command adds a storage using credentials.

    1. Run Get-VBRCredentials to get the credentials and save the result to the $credentials variable.
    2. Run Add-HP4Storage with the $credentials variable.

    PS C:\PS $credentials = Get-VBRCredentials -Name "HPE StoreVirtual P4000 Administrator"

    PS C:\PS> Add-HP4Storage -DnsOrIpAddress 167.16.2.134 -Credentials $credentials -Description "HPE StoreVirtual P4000 Storage"