HP StorageWorks SAN Virtualization Services Platform Manager Command Line Interface User Guide (5697-0936, May 2011)

Contents
1 Overview..................................................................................................7
Modes of command execution....................................................................................................8
Interactive mode..................................................................................................................8
Single command mode.........................................................................................................8
Script mode........................................................................................................................8
Constraints on name strings.....................................................................................................10
Known limitations...................................................................................................................10
Working with dynamic volumes in Windows 2003/2008.......................................................10
Expanding a partition (file system) on Windows 2003/2008..................................................10
Redhat Linux v4.7 does not load SG module automatically......................................................10
Virtual disks in DPM groups.................................................................................................10
General comments..................................................................................................................11
Template/root names.........................................................................................................11
Synchronous and asynchronous operations............................................................................11
Supported operations and commands..................................................................................12
2 Using the VSM command line interface.......................................................14
Syntax...................................................................................................................................14
Syntax rules......................................................................................................................15
Basic interactive help (console mode)...................................................................................16
Summary of special symbols................................................................................................17
Returned execution status....................................................................................................17
CLI file location......................................................................................................................17
Automating storage-related tasks..............................................................................................17
Creating PiTs.....................................................................................................................17
Creating multiple copies.....................................................................................................18
Backup.............................................................................................................................18
CLI command guidance...........................................................................................................19
General CLI control commands............................................................................................20
AllowExecErrors and DisallowExecErrors commands..........................................................20
GoTo command............................................................................................................20
OnErrorGoTo command.................................................................................................21
Pause command............................................................................................................22
Quit command.............................................................................................................22
Multiple VSM domains.......................................................................................................22
ListVSMDomains command.............................................................................................22
ListVSMs command.......................................................................................................22
SelectVSMDomain command..........................................................................................23
Virtual disk manager commands..........................................................................................23
BackupSetup command..................................................................................................23
ChangePresentation command........................................................................................23
CreateVirtualDisk command............................................................................................24
CreateVirtualDiskWithLun command................................................................................24
DeleteVirtualDisk command............................................................................................25
ExpandPartition command..............................................................................................25
ExpandVirtualDisk command..........................................................................................25
ExpandVirtualDiskOnThisComputer command...................................................................26
GetBackEndLuName command ......................................................................................26
GetMyHostInfo command...............................................................................................26
GetVirtualDiskData command.........................................................................................26
Contents 3