Get-encryptedloginpassword, Get-rmhpolicy, Get-encryptedloginpassword get-rmhpolicy – HP 3PAR Application Software Suite for Microsoft Hyper-V User Manual

Page 80: Failure paths, Preconditions, Syntax, Success paths

Advertising
background image

Failure Paths

Scenario 1: Session owner is invalid.
Every session command received on RMH Server is validated to originate from the same IP
address that initiated the session. If IP does not match, the command fails.

Scenario 2: Unable to fetch Hyper-V.
A Hyper-V is required to fetch cluster node names.

Get-EncryptedLoginPassword

Get-EncryptedLoginPassword

retrieves a login password that may be use scripting.

Preconditions

The user must first login with Login-Rmh.

Syntax

Any optional parameters require square brackets [ ] around them.

Get-EncryptedLoginPassword-RmhServerName <RmhServerName> [-Verbose]

Table 43 Get-EncryptedLoginPassword parameters

Description

Optional/Required

Parameter

Host name of the RMH Server. This is
FQDN or IP address.

Required

-RmhServerName

Displays progress messages.

Optional

-Verbose

Success Paths

Scenario 1: Get is successful.
Get is successful.

Failure Paths

Scenario 1: Session owner is invalid.
Every session command received on RMH Server is validated to originate from the same IP
address that initiated the session. If IP does not match, the command fails.

Scenario 2: Failure to encrypt login password.
RMH Server cannot encrypt login password.

Get-RmhPolicy

The get-RmhPolicy retrieves the RMH policy settings of a Hyper-V Virtual Machine. An RMH
policy object retains the set default values for Virtual Copies. You can customize the attributes of
a Virtual Copy.

Preconditions

The user must first login with Login-Rmh.

Syntax

Any optional parameters require square brackets [ ] around them.

Get-RmhPolicy -RmhServerName <RmhServerName> -HypervName <HypervName>
-VmNameUuid <VmNameUuid> [-Verbose]

80

HP 3PAR Recovery Manager for Microsoft Hyper-V Powershell Commands

Advertising