Analyze-vcopy, Unmount-vcopy, Analyze-vcopy unmount-vcopy – HP 3PAR Recovery Manager Software User Manual

Page 54: Preconditions, Syntax

Advertising
background image

Analyze-vCopy

The Analyze-vCopy analyzes 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-vCopy parameters

Description

Optional/Required

Parameter

Host name of the RMH Server. This is
FQDN or IP address.

Required

-RmhServerName

Optionally select Hyper-V host/cluster
to use. If not specified, Hyper-V

Required

-HypervName

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.

Select VCs by name/uuid using a
comma-separated list. If not specified,

Optional

-VcNamesUuids

VCs name/uuid is not used to filter
selection.

Select names/uuids to filter VC selection
by VM. If not specified, VM

Optional

-VmNamesUuids

names/uuids is not used to filter
selection.

Specify timestamp of VC to locate in
the format mmddyyhhmmss.

Optional

-Timestamp

If specified, Analyze-vCopy will
clean up the inconsistent VC by

Optional

-Cleanup

removing it. Removing the inconsistent
VC will take the same action as the
Remove-vCopy

command. 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.

Displays progress messages.

Optional

-Verbose

Unmount-vCopy

Unmount-vCopy

unmounts currently mounted Virtual Copy volume(s) for the specified Virtual

Copy and Virtual Machine name. The Hyper-V host used in Login-Rmh is used by the mount
command.

Preconditions

The user must first login with Login-Rmh.

54

Using PowerShell Snap-in Command Line Interface

Advertising