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

Page 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

Image 69
Contents Abstract User GuideDocumentation Contents Using PowerShell Snap-in Command Line Interface Support and Other ResourcesDocumentation feedback Enabling JavaScript on Web Client Index HP 3PAR Recovery Manager for Microsoft Hyper-V Architecture Types of User Interface Features of Recovery Manager Software for Microsoft Hyper-VPowerShell Cmdlet Graphical and Command Line Interface RMH PowerShell Snap-in CmdletsWeb Browser Graphical User Interface About Virtual Copy Management Virtual Copy Data ConsistencyVirtual Copy Policy Graphical User Interface Scheduling Tool Getting Started Recovery Manager for Microsoft Hyper-V ConfigurationHyper-V Virtual Machine Configuration About Supported System ConfigurationsOperating Systems Software PrerequisitesHyper-V Stand-Alone Host Configuration About Other RequirementsAbout Supported Network Ports Installing the Software Installing HP 3PAR Recovery Manager for Microsoft Hyper-VLicense Agreement dialog Setting Destination Folder dialog Using Microsoft Windows Control Panel Uninstalling the SoftwareProgram Maintenance Options Using RMH InstallShield WizardRemoving the Program dialog Using Online Help Using the Web Client InterfaceUnderstanding the Web Client Interface Hyper-V Server ViewHyper-V Server Virtual Machines Tab Hyper-V Server Virtual Volumes Tab Details of Virtual Copy Pane Hyper-V Server Virtual Copy TabVirtual Machine View Details of Virtual Volumes PaneVirtual Hard Disks Tab Virtual Machine Summary TabVirtual Volumes Tab Virtual Copy Pane Virtual Copies Tab Virtual Machine Control BarCreate Virtual Copy Last Run Output Type https//RmhServer5555/Server/Html5 in the address bar Accessing the Web ClientSetting Up the Recovery Manager Web Client Connecting to Recovery Manager ServerConnecting to Hyper-V Server Installing Recovery Manager AgentUninstalling Recovery Manager Agent Disconnecting Microsoft Hyper-V Servers Updating StoreServ CredentialsAdding HP 3PAR StoreServ System Credentials Creating Virtual Copies Working with Virtual CopiesVirtual Machines Tab Setting Policy to Virtual CopiesVirtual Copy Policy Dialog Box Restoring Virtual Machines From Virtual Copies Analyzing Virtual CopiesMounting Virtual Copies Removing Virtual CopiesUnmounting Virtual Copies Selecting a Virtual Copy and Virtual VolumeUnmounting a Virtual Copy Scheduling Virtual Copy Creation TasksSchedule Virtual Copy Task Wizard Schedule Virtual Copy Task Date and Time Scheduling Virtual Copy Analysis TasksSchedule Virtual Copy Analysis Task Wizard Schedule Virtual Copy Analysis Task Summary Logging Off From SessionConnecting to RMH Server Using PowerShell Snap-in Command Line InterfaceLogin-Rmh Login-RmhparametersAdd-HyperV Configuring RMH ServerLogout-Rmhparameters Add-HyperVparametersAdd-StoreServ Set-RmhPolicyAdd-StoreServparameters Get-EncryptedLoginCredentials Get-ClusterNodeNamesSet-RmhPolicyparameters Get-RmhPolicy Get-VirtualMachineGet-RmhPolicyparameters Get-VirtualMachineparameters Show-ConnectionShow-Connectionparameters ShowMissingStorageSystemsCreate-vCopyparameters Create-vCopyVmNamesUuids VcNamePrefixMount-vCopy Get-vCopyGet-vCopyparameters VcNamesUuidsMount-vCopyparameters Restore-vCopyVmparameters Restore-vCopyVmForce RestartVmAnalyze-vCopy CleanupUnmount-vCopy Analyze-vCopyparametersUnmount-vCopyparameters Support and Other Resources Contacting HPHP 3PAR documentation Reference Storage Physical Planning HP 3PAR branding information Typographic conventionsRequired Document conventionsDocumentation feedback Enabling JavaScript on Web Client Preconditions Add-HyperVSyntax Success PathsAdd-StoreServ Analyze-vCopy Parameter Optional/Required Create-vCopyMultiple RmhCreateVirtualcopyResult objects Result with DescriptionGet-ClusterNodeNames Get-EncryptedLoginPassword parameters Get-EncryptedLoginPasswordGet-RmhPolicy Get-vCopy Get-VirtualMachine Login-Rmh Logout-Rmh Mount-vCopy RmhMountVirtualCopySetResult has the following descriptions Remove-HyperVparameters Remove-HyperVRemove-RmhPolicyparameters Remove-RmhPolicyRemove-StoreServparameters Remove-StoreServRemove-vCopy Post ConditionsRemove-vCopyparameters Restore-vCopyVm Restore-vCopyVm Select-HyperV Set-RmhPolicySelect-HyperVparameters Required Name/unique id of VM used to set Policy Unmount-vCopy Show-ConnectionOptional Displays progress messages Unmount-vCopy RmhMountVirtualCopySetResult Update-HyperVUpdate-HyperVparameters Update-StoreServUpdate-StoreServparameters Port conflict on user site for port About installing McAfee AntivirusDescription Workaround/ActionGUI IndexSoftware prerequisites, 12 supported system configurations