HP 3PAR Recovery Manager 1.1.0 Software for Microsoft Hyper-V User Guide (QL226-96343, June 2013)

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]
Table 41 Get-RmhPolicy parameters
DescriptionOptional/RequiredParameter
Host name of the RMH Server. This is
FQDN or IP address.
Required-RmhServerName
Optionally select Hyper-V host/cluster
to use. If not specified, Hyper-V
Required-HypervName
host/cluster must be selected using
Select-Hyperv. This is FQDN or IP
address. Synonyms for Hyper-V are
supported. The localhost is not
supported.
Name/unique id of VM to set policy
for Virtual Machine.
Required-VmNameUuid
Displays progress messages.Optional-Verbose
Result with Description
{RMHirtualCopySet} has the following properties:
IsVirtualCopyApplicationConsistent: if yes, an application consistent VC is
created.
VirtualCopyExpirationTime: if non-zero, expiry values will be set in Storage System
for all VC volumes created.
VirtualCopyRetentionTime: if non-zero, retention values will be set in Storage
System for all VC volumes created.
SavedStateBackus: Enabled or Disabled.
Success Paths
Scenario 1: RMH Policy is fetched.
RMH Policy is fetched for specified 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.
Get-RmhPolicy 69