Hp SAN Virtualization Services Platform Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Úložný prostor Hp SAN Virtualization Services Platform. HP SAN Virtualization Services Platform User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 79
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
HP StorageWorks SAN Virtualization
Services Platform Manager Command Line
Interface User Guide
Abstract
This guide describes the use of the HP StorageWorks SAN Virtualization Services Platform Manager command line interface
(CLI) with approved storage systems.
HP Part Number: 5697-0936
Published: May 2011
Edition: 5
Zobrazit stránku 0
1 2 3 4 5 6 ... 78 79

Shrnutí obsahu

Strany 1 - Interface User Guide

HP StorageWorks SAN VirtualizationServices Platform Manager Command LineInterface User GuideAbstractThis guide describes the use of the HP StorageWork

Strany 2

Constraints on name stringsName strings are limited to 31 characters, followed by a zero-terminating character. Name stringsof VSM objects (virtual di

Strany 3 - Contents

specific DPM group. If a host is assigned to more than one DPM group, then use the VSM GUIand not the CLI to make virtual disk presentations.General c

Strany 4 - 4 Contents

There is an additional API or CLI function that is used to wait for the completion of such operations:WaitForObjectCreation.The list of the above ment

Strany 5 - Contents 5

NYNNYYYNOn VdiskWhileasyncmirrorYNNNYYYNOnsnapshotYNNNYYYN/AOn VDG1 A thick virtual disk is a virtual disk that is fully allocated or not thin proviso

Strany 6 - 6 Contents

2 Using the VSM command line interfaceA command line interface (CLI) was created for the Virtualization Services Manager (VSM)application to make the

Strany 7 - 1 Overview

-I input_file This option specifies that input commands are to be read from the input file.The format of the command is the same as the commands for t

Strany 8 - Modes of command execution

as an argument separator. Consequently, enclose numbers with a decimal symbol betweenquotation marks to avoid this problem.NOTE: When using the -C opt

Strany 9 - Modes of command execution 9

NOTE: The search is not case sensitive.Summary of special symbolsTable 1 Special symbolsWhere usedPurposeSymbolAt the beginning of a line in the input

Strany 10 - Known limitations

Creating multiple copiesBelow is a script that can be periodically invoked to:• Create a snapclone (task) of a virtual disk vol1.• Always keep the las

Strany 11 - General comments

results in a need for only one pre-backup script in most cases, that is invoked by the backupapplication before it starts.Alternatively, a CLI script

Strany 12

© Copyright 2008, 2009, 2010, 2011 Hewlett-Packard Development Company, L.P.Confidential computer software. Valid license from HP required for possess

Strany 13 - 4 Rollback is not allowed

• The timeout in CLI commands defines the maximum time in seconds that the CLI will wait forthe completion of the command.If the command is completed

Strany 14

This command instructs the CLI executor to go to Label. Note that the line with the label in thescript file must always come after the line of the GoT

Strany 15 - Syntax rules

. . .MyLabel:# label is not case sensitivePause commandSyntaxpause -delay 10DescriptionPauses for n seconds.Quit commandSyntaxQuit Message stringDescr

Strany 16

SelectVSMDomain commandSyntaxSelectVSMDomain -Domain DomainName, -User UserName, ~ -Password PasswordDescriptionSelects the current SVS

Strany 17 - CLI file location

NOTE: If a failure occurs for any host on the list, the command stops executing (it does not processthe remainder of the list).CreateVirtualDisk comma

Strany 18 - Creating multiple copies

DeleteVirtualDisk commandSyntaxDeleteVirtualDisk -VirtualDisk VirtualDiskName [LastInstance]DescriptionDeletes the virtual disk. If the LastInstance f

Strany 19 - CLI command guidance

NOTE: A virtual disk with PiTs on it, or one which is in a synchronous mirror group, cannot beexpanded.ExpandVirtualDiskOnThisComputer commandSyntaxEx

Strany 20 - General CLI control commands

GetVirtualDiskName commandSyntaxGetVirtualDiskName -Device DeviceNameDescriptionGets the VSM snapshot (or virtual disk) name from a device name (numbe

Strany 21 - OnErrorGoTo command

ListVirtualDisks commandSyntaxListVirtualDisks [-Template RootName]DescriptionThe default command (without arguments) lists all virtual disks. Adding

Strany 22 - Multiple VSM domains

NOTE:• The -host argument is considered optional by the VSM API, but is required by the VSM(returns an error).• If [Template] is used, the name of the

Strany 23 - Virtual disk manager commands

Contents1 Overview...7Modes of command execution...

Strany 24 - CreateVirtualDisk command

NOTE:• The -host argument is considered optional by the VSM API, but is required by the VSM(returns an error).• If [Template] is used, the name of the

Strany 25 - ExpandVirtualDisk command

DescriptionDeletes PiT or snapshot. If the LastInstance flag is used, the preceding snapshot or PiT nameis the root name, and the most recently create

Strany 26 - GetVirtualDiskData command

ExamplesListSnapshots -PiTListSnapshots -snapshotListSnapshots -Template RootName, -PiTListSnapshots -Template RootName, -SyncPiTListSnapshots -snapsh

Strany 27 - ListStoragePools command

The following object types are handled, and the associated input names to wait for are:• Simple virtual disk: Provide name of the virtual disk.• Simpl

Strany 28 - Snapshot commands

_StoragePool PoolName _thin [0|1],] ~ -timeout 900DescriptionAdds a snapclone task to a group that is built over a virtual disk group. T

Strany 29 - CreateSnapshotWithLun command

-DestinationVDG DestinationVDGroupName, ~ -Domain DestinationDomainName, -Priority 1|2|3, ~ [-host HostName1 RW|OFF,] ~ -VirtualDisk

Strany 30 - DeletePiTOrSnapshot command

ManageSnapcloneGroup commandSyntaxManageSnapcloneGroup -Group GroupName 1|2|3|4DescriptionManages the snapclone group (receives group name and Opcode)

Strany 31 - ListSnapshots command

AddVirtualDiskToVDGWithAsyncMirror commandSyntaxAddVirtualDiskToVDGWithAsyncMirror -Group VDGName, ~ -MirrorGroup AsyncMirrorGroupName

Strany 32 - WaitForObjectCreation command

NOTE:• All the virtual disks of the virtual disk group must have RW permissions to exactly the samehosts.• If any member of the group is clustered, th

Strany 33 - Snapclone commands

NOTE: If you need to know the name of the individual snapshots on every virtual disk in thevirtual disk group in advance (for example, for subsequentl

Strany 34 - CreateSnapcloneGroup command

GetVirtualDiskName command...27GetVirtualDiskNames command...

Strany 35 - ListSnapcloneTasks command

DeleteVDGroupPiT commandSyntaxDeleteVDGroupPiT -Group VDGName, ~ -Pit NameOfPiT [LastInstance], -timeout 900DescriptionDeletes the vir

Strany 36 - Virtual disk group commands

ListVDGroupSnapshots commandSyntaxListVDGroupSnapshots -Group VDGroupName ~ [, -Template RootSnapshotName]DescriptionRequests a li

Strany 37 - CreateVDGroup command

-Domain DestinationVSMDomainName, -Priority 1|2|3, ~ -Destination DestinationVirtualDisk ~ -StoragePool DestPoolNam

Strany 38 - CreateVDGroupSnapshot command

DescriptionBreaks all the tasks of a local asynchronous mirror group. The command pauses all tasks beforebreaking them. Local means the source virtual

Strany 39 - DeleteVDGroup command

NOTE: If a failure occurs for any group on the list, the command stops executing and does notprocess the remaining list.BreakLocalAsyncMirrorTask comm

Strany 40 - ListVDGroups command

-task AsyncMirrorTaskName, -Domain DestinationVSMDomainName ~ -Priority 1|2|3, -Destination DestinationVirtualDisk, ~ -StoragePool Poo

Strany 41 - Asynchronous mirror commands

NOTE: If a failure occurs for any group on the list, the command stops executing and does notprocess the remaining list.CreateVDGAsyncMirrorGroupEx co

Strany 42

DeleteRemoteAsyncMirrorGroup commandSyntaxDeleteRemoteAsyncMirrorGroup -Group AsyncMirrorGroupName_1 ~ [-Group AsyncMirror

Strany 43 - CLI command guidance 43

Locality of the specified group is:L—Local asynchronous mirror group. Source virtual disk is in the local (current) SVSP domain.R—Remote asynchronous

Strany 44

DescriptionPause the local AsyncMirror groups (all tasks of each group). Local means the source virtual diskis in the local (current) SVSP domain.NOTE

Strany 45 - CLI command guidance 45

BreakAllRemoteAsyncMirrorGroups command...43BreakAllRemoteAsyncMirrorTasks command...

Strany 46

NOTE: This command tries to process all qualified tasks, ignoring failures in some tasks (if any).ResumeLocalAsyncMirrorGroup commandSyntaxResumeLocal

Strany 47 - CLI command guidance 47

BreakSyncMirrorTask commandSyntaxBreakSyncMirrorTask -Group SyncMirrorGroupName, ~ -Task Task_1_Name [, -Task Task_2_Name, . . . ]D

Strany 48

CreateSyncMirrorPiT commandSyntaxCreateSyncMirrorPiT -Group SyncMirrorGroupName, ~ -PiT NameOfPiT [TEMPLATE], -timeout 900Descripti

Strany 49 - CLI command guidance 49

DescriptionRequests a list of synchronous mirror PiTs on a specified synchronous mirror group. You may providethe root (start) of the synchronous mirr

Strany 50 - Synchronous mirror commands

ListMigrations commandSyntaxListMigrations [ -Template StartOfGroupName ]DescriptionRequests a list of migration groups according to the specified roo

Strany 51 - CreateSyncMirrorGroup command

GetDpmInfo commandSyntaxGetDpmInfo -VDGroup | -VirtualDisk | -Snapshot | -SyncGroup objectNameDescriptionFor each object under the DPM configuration,

Strany 52

DescriptionMounts a virtual disk or snapshot. The virtual disk or snapshot must have at least one file system(partition) on it.The following are rules

Strany 53 - Migration commands

UnmountVirtualDisk -VirtualDisk VirtualDiskName, -MountPoint H:\DescriptionUnmounts a virtual disk or snapshot. The virtual disk or snapshot must have

Strany 54 - Data Path Module commands

3 Server-free backup with the VSM CLIOne of the most commonly performed tasks is running backups. When running backups, arequirement is to minimize, o

Strany 55 - MountVirtualDisk command

3. Unassign the snapshot from the backup server, and delete the snapshot by using a script thatruns the following command:UnmountVirtualDisk –VirtualD

Strany 56 - UnmountVirtualDisk command

3 Server-free backup with the VSM CLI...58Typical server-free backup process...

Strany 57 - CLI command guidance 57

4 Creating a PiT and snapshot with Microsoft VSSMicrosoft VSS (Volume Shadow Copy Service), also known as Virtual Shadow Copy, is a unifiedstorage man

Strany 58

To do so, a VSS requestor needs to initiate the request for the PiT and snapshot from a specificserver. Microsoft has developed a requestor called VSH

Strany 59 - Scheduling of scripts

5 Using the VSM API to traverse the snapshot treeThis chapter explains how to traverse the snapshot tree using the VSM API (CLI commands or APIs).The

Strany 60 - SVSP VSS Hardware Provider

6. Find branch of PiTs of snapshot “PiT1.”Run the ListPiTsChain command with the input “snapshot1.”The output is an ordered list “PiT4, PiT5, PiT11.”7

Strany 61

6 Error code listTable 3 (page 64) shows a list of error codes that the Virtualization Services Manager (VSM) CLIcan return and their description. If

Strany 62

7 Support and other resourcesContacting HPBefore you contact HPBe sure to have the following information available before you contact HP:http://www.hp

Strany 63

• HP StorageWorks SAN Virtualization Services Platform Best Practices Guide• HP StorageWorks SAN Virtualization Services Platform Release NotesYou can

Strany 64 - 6 Error code list

Documentation feedbackHP welcomes your feedback.To make comments and suggestions about product documentation, please send a message tostoragedocsFeedb

Strany 65 - 7 Support and other resources

A Advanced CLI commandsThe commands in this section are not routinely used, except in a test environment.Advanced CLI commandsCreateSnapcloneGroupEx c

Strany 66 - HP websites

DescriptionThis is a modified version of the ExpandPartition command (the -Size is the number ofbytes—not megabytes). This command expands both a VSM

Strany 67 - Documentation feedback

1 OverviewThe VSM application programming interface (API) and command line interface (CLI) allows storagearrays to perform sophisticated virtualizatio

Strany 68 - A Advanced CLI commands

• The designated snapshot is defined on the last and only PiT of the source virtual disk orsnapshot.• There are no other snapshots/PiTs defined on the

Strany 69 - RestoreSnapshot command

GlossaryThis glossary defines acronyms and terms used with the SVSP solution.Aaccess path A specific series of physical connections through which a de

Strany 70 - RollBackVDGroupPiT command

DData Path Module A SAN-based device, separate from the core Fibre Channel switching infrastructure, that providesstorage virtualization services acro

Strany 71 - Glossary

initiator device A device, such as an HBA installed into a server, that contains one or more initiator ports.initiator port A Fibre Channel port capab

Strany 72 - 72 Glossary

physical disk A disk device that can be discovered and managed by VSM.PiT Point-in-Time. A VSM term denoting an entity created by a snapshot that repr

Strany 73

stripe set In VSM, a set of back-end LUs across which VSM stripes data, optionally used to build storagepools.SVSP domain Consists of all SVSP compone

Strany 74 - 74 Glossary

VSM GUI Graphical user interface used to manage the HP StorageWorks SAN Virtualization ServicesPlatform environment.VSM server VSM software that runs

Strany 75

IndexAAddAsyncMirrorTaskToGroup command, 41AddSnapcloneTaskEx command, 15, 33AddSyncMirrorTaskToGroup command, 50ADDVDGAsyncMirrorTaskToGroup command,

Strany 76 - 76 Glossary

GoTo command, 20Hhelpobtaining, 65HPtechnical support, 65Iinstallation, 7interactive mode, 8Llimitationsknown, 10ListHosts command, 27ListMigrations c

Strany 77

WWaitForObjectCreation command, 12, 32websitesHP , 66HP Subscriber's Choice for Business, 6579

Strany 78 - 78 Index

NOTE: To pass command line comments from the server to the SVSP it is necessary to create aCLI virtual disk. This disk behaves like a "mailbox&qu

Strany 79

Figure 1 Example of script execution outputThe following are examples of creating a batch/shell file to execute a script:VSM_CLI [-SD DomainName UserN

Komentáře k této Příručce

Žádné komentáře