Select-hyperv, Set-rmhpolicy, Select-hyperv set-rmhpolicy – HP 3PAR Recovery Manager Software User Manual
Page 82: Preconditions, Syntax, Success paths, Failure paths

Select-HyperV
Select-HyperV
selects a Hyper-V host/cluster previously added to a user profile.
Preconditions
•
User must first login using Login-Rmh.
•
User must first Add-Hyperv used in Select-Hyperv.
Syntax
Any optional parameters require square brackets [ ] around them.
Select-HyperV -RmhServerName
[-Verbose]
Table 52 Select-HyperV parameters
Description
Optional/Required
Parameter
Host name of the RMH Server. This is
FQDN or IP address
Required
-RmhServerName
Select Hyper-V host/cluster to use by
default. This is FQDN or IP address.
Required
-HypervName
Synonyms for Hyper-V are supported.
The localhost is not supported.
Display progress messages.
Optional
-Verbose
Success Paths
•
Scenario 1: Hyper-V is selected.
Specified Hyper-V is selected.
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: Hyper-V host/cluster name is not specified.
Hyper-V host/cluster name must be specified.
•
Scenario 3: Hyper-V host/cluster name is not available for user.
Add-Hyperv must be issued to associate Hyper-V first.
•
Scenario 4: Cannot communicate with specified Hyper-V host/cluster.
Cannot communicate with Hyper-V specified. Host is unavailable. Invalid credentials specified.
•
Scenario 5: Cannot communication with Storage System(s) associated with Hyper-V.
Cannot communicate with associated Storage System(s).
Set-RmhPolicy
Set-RmhPolicy
modifies RMH policy of a VM.
Preconditions
User must first login using Login-Rmh.
82
HP 3PAR Recovery Manager for Microsoft Hyper-V Powershell Commands
- 3PAR Recovery Manager Software for Hyper-V Recovery Manager Software 3PAR Application Software Suite for Microsoft Hyper-V 3PAR Recovery Manager Software for Oracle Licenses 3PAR Recovery Manager Software for VMware vSphere Licenses 3PAR Recovery Manager Software for Microsoft Exchange Licenses 3PAR Recovery Manager Software for Microsoft SQL Server Licenses