HP StoreServ Application Suite for Microsoft Hyper-V Media manual Restore-vCopyVm

Page 80

Success Paths

Scenario 1: Specified Virtual Copy is removed. Specified Virtual Copy is removed.

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: Storage System session credentials are not provided. Storage System session credentials are not provided for this command.

Scenario 3: License is missing for RMH. License is missing for RMH.

Scenario 4: Virtual Volume(s) is mounted.

Virtual Copies cannot be removed while mounted.

Scenario 5: RW Virtual Volume(s) is missing. Message is displayed. Remove operation continues.

Scenario 6: Virtual Volume(s) in use by other Virtual Copy records.

Unable to delete. In Use by other Virtual Copies. Remove operation continues and leaves Virtual Volume alone.

Scenario 7: Unable to delete RW Virtual Volume.

Unable to delete RW Virtual Volume. Remove operation continues.

Scenario 8: License is missing for RMH.

Unable to delete RW Virtual Volume. Remove operation continues.

Scenario 9: Only one Virtual Copy can be removed at a time.

Filtering of Virtual Copies using -VcNameUuid/-VmNameUuiddoes not result in only one Virtual Copy to remove.

Scenario 10: Virtual Copy is not removed.

If Storage System reports error other than virtual volume not found, the Virtual Copy is retained.

Restore-vCopyVm

The restore-vCopyVminitiates a full restore or recovery of Virtual Machines.

Preconditions

The user must first login with Login-Rmh.

Syntax

Any optional parameters require square brackets [ ] around them.

Restore-vCopyVm -RmhServerName <RmhServerName> [-HypervName] -VcNameUuid <VcNameUuid> -VmNameUuid <VmNameUuid> [-Timestamp] [-Force] [-RestartVm] [-Verbose]

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

Image 80
Contents User Guide AbstractDocumentation Contents Documentation feedback Enabling JavaScript on Web Client Using PowerShell Snap-in Command Line InterfaceSupport and Other Resources Index HP 3PAR Recovery Manager for Microsoft Hyper-V Architecture Features of Recovery Manager Software for Microsoft Hyper-V Types of User InterfaceWeb Browser Graphical User Interface PowerShell Cmdlet Graphical and Command Line InterfaceRMH PowerShell Snap-in Cmdlets Virtual Copy Policy About Virtual Copy ManagementVirtual Copy Data Consistency Graphical User Interface Scheduling Tool Recovery Manager for Microsoft Hyper-V Configuration Getting StartedAbout Supported System Configurations Hyper-V Virtual Machine ConfigurationOperating Systems Software PrerequisitesAbout Supported Network Ports Hyper-V Stand-Alone Host ConfigurationAbout Other Requirements 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 Using the Web Client Interface Using Online HelpUnderstanding the Web Client Interface 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 Recovery Manager Server Setting Up the Recovery Manager Web ClientConnecting to Hyper-V Server Installing Recovery Manager AgentUninstalling Recovery Manager Agent Adding HP 3PAR StoreServ System Credentials Disconnecting Microsoft Hyper-V ServersUpdating StoreServ 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 SummaryUsing PowerShell Snap-in Command Line Interface Connecting to RMH ServerLogin-Rmh Login-RmhparametersConfiguring RMH Server Add-HyperVLogout-Rmhparameters Add-HyperVparametersAdd-StoreServparameters Add-StoreServSet-RmhPolicy Set-RmhPolicyparameters Get-EncryptedLoginCredentialsGet-ClusterNodeNames Get-RmhPolicyparameters Get-RmhPolicyGet-VirtualMachine Show-Connection Get-VirtualMachineparametersShow-Connectionparameters ShowMissingStorageSystemsCreate-vCopy Create-vCopyparametersVmNamesUuids VcNamePrefixGet-vCopy Mount-vCopyGet-vCopyparameters VcNamesUuidsMount-vCopyparameters Restore-vCopyVm Restore-vCopyVmparametersForce RestartVmCleanup Analyze-vCopyUnmount-vCopy Analyze-vCopyparametersUnmount-vCopyparameters HP 3PAR documentation Support and Other ResourcesContacting HP Reference Storage Physical Planning Typographic conventions HP 3PAR branding informationRequired Document conventionsDocumentation feedback Enabling JavaScript on Web Client Add-HyperV PreconditionsSyntax 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-StoreServparametersRemove-vCopyparameters Remove-vCopyPost Conditions Restore-vCopyVm Restore-vCopyVm Select-HyperVparameters Select-HyperVSet-RmhPolicy 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 About installing McAfee Antivirus Port conflict on user site for portDescription Workaround/ActionIndex GUISoftware prerequisites, 12 supported system configurations