HP 3PAR Recovery Manager 2.0 Software for Microsoft Hyper-V User Guide (QL226-97701, May 2014)

Table 57 Set-RmhPolicy parameters
DescriptionOptional/RequiredParameter
Host name of the RMH Server. This is
FQDN or IP address
Required-RmhServerName
Select Hyper-V host/cluster to use. This
is FQDN or IP address. Synonyms for
Required-HypervName
Hyper-V are supported. The
localhost is not supported.
Name/unique id of VM used to set
policy.
Required-VmNameUuid
Integer value followed by letter h or d
for Hours and Days respectively. Use 0
to reset.
Optional-Expiry
Integer value followed by letter h or d
for Hours and Days respectively. Use 0
to reset
Optional-Retention
Disabled or enabled. Use reset to reset.Optional-SavedStateBackups
Display progress messages.Optional-Verbose
Success Paths
Scenario 1: RMH Policy is set.
RMH Policy successfully sets for VM.
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: VM name/uuid is not specified.
VM name or uuid must be specified to fetch RMH Policy.
Scenario 3: Expiry is invalid.
Expiry specified is invalid. Valid: 1-43800 h, 1-1825 d, or 0 to reset.
Scenario 4: Retention is invalid.
Retention specified is invalid. Valid: 1-336 h, 1-14 d, or 0 to reset.
Scenario 5: Expiry/Retention settings conflict.
Expiry and retention settings conflict for valid cases on Storage System.
Scenario 6: Cannot communicate with VM.
Cannot communicate with VM to validate VM.
Show-Connection
Show-Connection shows connection information for current login RMH user name, all RMH
Hyper-V hosts/clusters, and all Hyper-V Storage Systems associated with the RMH user. The actively
selected Hyper-V will also be shown.
Preconditions
User must first login using Login-Rmh.
94 HP 3PAR Recovery Manager for Microsoft Hyper-V Powershell Commands