HP Application Software Suite for Microsoft Hyper-V manual Analyze-vCopy, Unmount-vCopy, Cleanup

Page 54

Analyze-vCopy

The Analyze-vCopyanalyzes Virtual Copies for errors. When any Virtual Copy records contain a volume missing on storage system, the Virtual Copy with an error is flagged. The user can use the option to analyze and repair inconsistent Virtual Copies.

Preconditions

The user must first login with Login-Rmh.

Syntax

Any optional parameters require square brackets [ ] around them.

Analyze-vCopy -RmhServerName <RmhServerName> -HypervName <HypervName> [-VcNamesUuids] [-VmNamesUuids] [-Timestamp] [-Cleanup] [-Verbose]

Table 32 Analyze-vCopyparameters

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.

-VcNamesUuids

Optional

Select VCs by name/uuid using a

 

 

comma-separated list. If not specified,

 

 

VCs name/uuid is not used to filter

 

 

selection.

-VmNamesUuids

Optional

Select names/uuids to filter VC selection

 

 

by VM. If not specified, VM

 

 

names/uuids is not used to filter

 

 

selection.

-Timestamp

Optional

Specify timestamp of VC to locate in

 

 

the format mmddyyhhmmss.

-Cleanup

Optional

If specified, Analyze-vCopywill

 

 

clean up the inconsistent VC by

 

 

removing it. Removing the inconsistent

 

 

VC will take the same action as the

 

 

Remove-vCopycommand. If there are

 

 

no inconsistencies, the VC is not

 

 

removed. Without this option, the same

 

 

work is performed except no action is

 

 

taken to remove the VC. Instead, the

 

 

user will be given an error report.

-Verbose

Optional

Displays progress messages.

Unmount-vCopy

Unmount-vCopyunmounts currently mounted Virtual Copy volume(s) for the specified Virtual Copy and Virtual Machine name. The Hyper-V host used in Login-Rmhis used by the mount command.

Preconditions

The user must first login with Login-Rmh.

54 Using PowerShell Snap-in Command Line Interface

Image 54
Contents User Guide AbstractDocumentation 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 Features of Recovery Manager Software for Microsoft Hyper-V Types of User InterfacePowerShell 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 Recovery Manager for Microsoft Hyper-V Configuration Getting StartedOperating Systems About Supported System ConfigurationsHyper-V Virtual Machine Configuration Software PrerequisitesHyper-V Stand-Alone Host Configuration About Other RequirementsAbout 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 Disconnecting Microsoft Hyper-V Servers Updating StoreServ CredentialsAdding 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-HyperVparametersAdd-StoreServ Set-RmhPolicyAdd-StoreServparameters Get-EncryptedLoginCredentials Get-ClusterNodeNamesSet-RmhPolicyparameters Get-RmhPolicy Get-VirtualMachineGet-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 Support and Other Resources Contacting HPHP 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-StoreServparametersRemove-vCopy Post ConditionsRemove-vCopyparameters Restore-vCopyVm Restore-vCopyVm Select-HyperV Set-RmhPolicySelect-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