Syntax, Success paths, Failure paths – HP 3PAR Recovery Manager Software User Manual

Page 83

Advertising
background image

Syntax

Any optional parameters require square brackets [ ] around them.

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

Table 53 Set-RmhPolicy parameters

Description

Optional/Required

Parameter

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

Set-RmhPolicy

83

Advertising