HP Application Software Suite for Microsoft Hyper-V manual Get-RmhPolicyparameters

Models: Application Software Suite for Microsoft Hyper-V StoreServ Application Suite for Microsoft Hyper-V E-Media StoreServ Application Suite for Microsoft Hyper-V Media

1 91
Download 91 pages 10.17 Kb
Page 69
Image 69

Get-RmhPolicy

The get-RmhPolicyretrieves 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-RmhPolicyparameters

Parameter

Optional/Required

Description

-RmhServerName

Required

Host name of the RMH Server. This is

 

 

FQDN or IP address.

-HypervName

Required

Optionally select Hyper-V host/cluster

 

 

to use. If not specified, Hyper-V

 

 

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.

-VmNameUuid

Required

Name/unique id of VM to set policy

 

 

for Virtual Machine.

-Verbose

Optional

Displays progress messages.

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

Page 69
Image 69
HP Application Software Suite for Microsoft Hyper-V manual Get-RmhPolicyparameters