HP StoreServ Application Suite for Microsoft Hyper-V E-Media manual Select-HyperV, Set-RmhPolicy

Page 82

Select-HyperV

Select-HyperVselects a Hyper-V host/cluster previously added to a user profile.

Preconditions

User must first login using Login-Rmh.

User must first Add-Hypervused in Select-Hyperv.

Syntax

Any optional parameters require square brackets [ ] around them.

Select-HyperV -RmhServerName <RmhServerName> -HypervName <HypervName> [-Verbose]

Table 52 Select-HyperVparameters

Parameter

Optional/Required

Description

-RmhServerName

Required

Host name of the RMH Server. This is

 

 

FQDN or IP address

-HypervName

Required

Select Hyper-V host/cluster to use by

 

 

default. This is FQDN or IP address.

 

 

Synonyms for Hyper-V are supported.

 

 

The localhost is not supported.

-Verbose

Optional

Display progress messages.

Success Paths

Scenario 1: Hyper-V is selected. Specified Hyper-V is selected.

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: Hyper-V host/cluster name is not specified. Hyper-V host/cluster name must be specified.

Scenario 3: Hyper-V host/cluster name is not available for user. Add-Hyperv must be issued to associate Hyper-V first.

Scenario 4: Cannot communicate with specified Hyper-V host/cluster.

Cannot communicate with Hyper-V specified. Host is unavailable. Invalid credentials specified.

Scenario 5: Cannot communication with Storage System(s) associated with Hyper-V. Cannot communicate with associated Storage System(s).

Set-RmhPolicy

Set-RmhPolicymodifies RMH policy of a VM.

Preconditions

User must first login using Login-Rmh.

82 HP 3PAR Recovery Manager for Microsoft Hyper-V Powershell Commands

Image 82
Contents User Guide AbstractDocumentation Contents Support and Other Resources Using PowerShell Snap-in Command Line InterfaceDocumentation feedback Enabling JavaScript on Web Client Index HP 3PAR Recovery Manager for Microsoft Hyper-V Architecture Features of Recovery Manager Software for Microsoft Hyper-V Types of User InterfaceRMH PowerShell Snap-in Cmdlets PowerShell Cmdlet Graphical and Command Line InterfaceWeb Browser Graphical User Interface Virtual Copy Data Consistency About Virtual Copy ManagementVirtual Copy Policy Graphical User Interface Scheduling Tool Recovery Manager for Microsoft Hyper-V Configuration Getting StartedOperating Systems About Supported System ConfigurationsHyper-V Virtual Machine Configuration Software PrerequisitesAbout Other Requirements Hyper-V Stand-Alone Host ConfigurationAbout Supported Network Ports Installing HP 3PAR Recovery Manager for Microsoft Hyper-V Installing the SoftwareLicense Agreement dialog Setting Destination Folder dialog Uninstalling the Software Using Microsoft Windows Control PanelUsing RMH InstallShield Wizard Program Maintenance OptionsRemoving the Program dialog Understanding the Web Client Interface Using the Web Client InterfaceUsing Online Help Hyper-V Server ViewHyper-V Server Virtual Machines Tab Hyper-V Server Virtual Volumes Tab Hyper-V Server Virtual Copy Tab Details of Virtual Copy PaneDetails of Virtual Volumes Pane Virtual Machine ViewVirtual Machine Summary Tab Virtual Hard Disks TabVirtual Volumes Tab Virtual Copies Tab Virtual Machine Control Bar Virtual Copy PaneCreate Virtual Copy Last Run Output Accessing the Web Client Type https//RmhServer5555/Server/Html5 in the address barConnecting to Hyper-V Server Connecting to Recovery Manager ServerSetting Up the Recovery Manager Web Client Installing Recovery Manager AgentUninstalling Recovery Manager Agent Updating StoreServ Credentials Disconnecting Microsoft Hyper-V ServersAdding HP 3PAR StoreServ System Credentials Working with Virtual Copies Creating Virtual CopiesSetting Policy to Virtual Copies Virtual Machines TabVirtual Copy Policy Dialog Box Analyzing Virtual Copies Restoring Virtual Machines From Virtual CopiesRemoving Virtual Copies Mounting Virtual CopiesSelecting a Virtual Copy and Virtual Volume Unmounting Virtual CopiesScheduling Virtual Copy Creation Tasks Unmounting a Virtual CopySchedule Virtual Copy Task Wizard Scheduling Virtual Copy Analysis Tasks Schedule Virtual Copy Task Date and TimeSchedule Virtual Copy Analysis Task Wizard Logging Off From Session Schedule Virtual Copy Analysis Task SummaryLogin-Rmh Using PowerShell Snap-in Command Line InterfaceConnecting to RMH Server Login-RmhparametersLogout-Rmhparameters Configuring RMH ServerAdd-HyperV Add-HyperVparametersSet-RmhPolicy Add-StoreServAdd-StoreServparameters Get-ClusterNodeNames Get-EncryptedLoginCredentialsSet-RmhPolicyparameters Get-VirtualMachine Get-RmhPolicyGet-RmhPolicyparameters Show-Connectionparameters Show-ConnectionGet-VirtualMachineparameters ShowMissingStorageSystemsVmNamesUuids Create-vCopyCreate-vCopyparameters VcNamePrefixGet-vCopyparameters Get-vCopyMount-vCopy VcNamesUuidsMount-vCopyparameters Force Restore-vCopyVmRestore-vCopyVmparameters RestartVmUnmount-vCopy CleanupAnalyze-vCopy Analyze-vCopyparametersUnmount-vCopyparameters Contacting HP Support and Other ResourcesHP 3PAR documentation Reference Storage Physical Planning Required Typographic conventionsHP 3PAR branding information Document conventionsDocumentation feedback Enabling JavaScript on Web Client Syntax Add-HyperVPreconditions Success PathsAdd-StoreServ Analyze-vCopy Create-vCopy Parameter Optional/RequiredResult with Description Multiple RmhCreateVirtualcopyResult objectsGet-ClusterNodeNames Get-EncryptedLoginPassword Get-EncryptedLoginPassword parametersGet-RmhPolicy Get-vCopy Get-VirtualMachine Login-Rmh Logout-Rmh Mount-vCopy RmhMountVirtualCopySetResult has the following descriptions Remove-HyperV Remove-HyperVparametersRemove-RmhPolicy Remove-RmhPolicyparametersRemove-StoreServ Remove-StoreServparametersPost Conditions Remove-vCopyRemove-vCopyparameters Restore-vCopyVm Restore-vCopyVm Set-RmhPolicy Select-HyperVSelect-HyperVparameters Required Name/unique id of VM used to set Policy Show-Connection Unmount-vCopyOptional Displays progress messages Unmount-vCopy Update-HyperV RmhMountVirtualCopySetResultUpdate-StoreServ Update-HyperVparametersUpdate-StoreServparameters Description About installing McAfee AntivirusPort conflict on user site for port Workaround/ActionIndex GUISoftware prerequisites, 12 supported system configurations