HP StoreServ Application Suite for Microsoft Hyper-V Media manual

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 83
Image 83

Syntax

Any optional parameters require square brackets [ ] around them.

Set-RmhPolicy -RmhServerName <RmhServerName> -HypervName <HypervName> -VmNameUuid <VmNameUuid> [-Expiry] [-Retention] [-SavedStateBackups] [-Verbose]

Table 53 Set-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 used to set

 

 

policy.

-Expiry

Optional

Integer value followed by letter h or d

 

 

for Hours and Days respectively. Use 0

 

 

to reset.

-Retention

Optional

Integer value followed by letter h or d

 

 

for Hours and Days respectively. Use 0

 

 

to reset

-SavedStateBackups

Optional

Disabled or enabled. Use reset to reset.

-Verbose

Optional

Display progress messages.

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 5: Cannot communicate with VM. Cannot communicate with VM to validate VM.

Set-RmhPolicy 83

Page 83
Image 83
HP StoreServ Application Suite for Microsoft Hyper-V Media manual Required Name/unique id of VM used to set Policy