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

Models: Application Software Suite for Microsoft Hyper-V StoreServ Application Suite for Microsoft Hyper-V E-Media StoreServ Application Suite for Microsoft Hyper-V Media

1 91
Download 91 pages 10.17 Kb
Page 54
Image 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

Page 54
Image 54
HP Application Software Suite for Microsoft Hyper-V manual Unmount-vCopy, Analyze-vCopyparameters, Cleanup