Hp SAN Virtualization Services Platform Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Przechowywanie Hp SAN Virtualization Services Platform. HP SAN Virtualization Services Platform User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 79
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 0
1 2 3 4 5 6 ... 78 79

Podsumowanie treści

Strona 1 - Interface User Guide

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

Strona 2

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

Strona 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

Strona 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

Strona 5 - Contents 5

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 12

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

Strona 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

Strona 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

Strona 15 - Syntax rules

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

Strona 16

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

Strona 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

Strona 18 - Creating multiple copies

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

Strona 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

Strona 20 - General CLI control commands

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

Strona 21 - OnErrorGoTo command

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

Strona 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

Strona 23 - Virtual disk manager commands

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

Strona 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

Strona 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

Strona 26 - GetVirtualDiskData command

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

Strona 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

Strona 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

Strona 29 - CreateSnapshotWithLun command

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

Strona 30 - DeletePiTOrSnapshot command

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

Strona 31 - ListSnapshots command

AddVirtualDiskToVDGWithAsyncMirror commandSyntaxAddVirtualDiskToVDGWithAsyncMirror -Group VDGName, ~ -MirrorGroup AsyncMirrorGroupName

Strona 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

Strona 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

Strona 34 - CreateSnapcloneGroup command

GetVirtualDiskName command...27GetVirtualDiskNames command...

Strona 35 - ListSnapcloneTasks command

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

Strona 36 - Virtual disk group commands

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

Strona 37 - CreateVDGroup command

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

Strona 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

Strona 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

Strona 40 - ListVDGroups command

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

Strona 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

Strona 42

DeleteRemoteAsyncMirrorGroup commandSyntaxDeleteRemoteAsyncMirrorGroup -Group AsyncMirrorGroupName_1 ~ [-Group AsyncMirror

Strona 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

Strona 44

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

Strona 45 - CLI command guidance 45

BreakAllRemoteAsyncMirrorGroups command...43BreakAllRemoteAsyncMirrorTasks command...

Strona 46

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

Strona 47 - CLI command guidance 47

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

Strona 48

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

Strona 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

Strona 50 - Synchronous mirror commands

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

Strona 51 - CreateSyncMirrorGroup command

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

Strona 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

Strona 53 - Migration commands

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

Strona 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

Strona 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

Strona 56 - UnmountVirtualDisk command

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 62

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

Strona 63

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

Strona 64 - 6 Error code list

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

Strona 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

Strona 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

Strona 67 - Documentation feedback

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

Strona 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

Strona 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

Strona 70 - RollBackVDGroupPiT command

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

Strona 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

Strona 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

Strona 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

Strona 74 - 74 Glossary

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

Strona 75

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

Strona 76 - 76 Glossary

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

Strona 77

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

Strona 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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag