![](/images/new-backgrounds/1213368/213368165x1.webp)
Syntax
Any optional parameters require square brackets [ ] around them.
Table 53 Set-RmhPolicy parameters
Parameter | Optional/Required | Description |
Required | Host name of the RMH Server. This is | |
|
| FQDN or IP address |
| Required | Optionally select |
|
| to use. If not specified, |
|
| host/cluster must be selected using |
|
| |
|
| address. Synonyms for |
|
| supported. The localhost is not |
|
| supported. |
Required | Name/unique id of VM used to set | |
|
| policy. |
| Optional | Integer value followed by letter h or d |
|
| for Hours and Days respectively. Use 0 |
|
| to reset. |
| Optional | Integer value followed by letter h or d |
|
| for Hours and Days respectively. Use 0 |
|
| to reset |
Optional | Disabled or enabled. Use reset to reset. | |
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:
•Scenario 4: Retention is invalid.
Retention specified is invalid. Valid:
•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.