Dell EqualLogic PS6210XV EqualLogic Auto-Snapshot Manager/Microsoft Edition Ve - Page 99

Using the Command Line Interface, Introduction to ASMCLI

Page 99 highlights

10 Using the Command Line Interface This chapter describes the command line and scripting options provided by the ASM/ME command line interface (ASMCLI). Topics: • Introduction to ASMCLI • How to Use ASMCLI Commands • General Command Syntax • ASMCLI Command Summary • Command Parameters • ASMCLI Commands and Their Syntax • Use a Script to Create Smart Copies Introduction to ASMCLI ASM/ME provides a set of commands (ASMCLI) you execute at the Windows command prompt for Smart Copy operations, or to create site‑specific scripts for Smart Copy operations. NOTE: To perform the functions discussed in this section, Dell recommends that you use the ASM PowerShell cmdlets, which are more comprehensive. For reference information information about PowerShell cmdlets, see the Dell EqualLogic PowerShell Tools Reference Guide. You can generate complex commands automatically by using menu options in the ASM/ME GUI as described in Scripts and Command Generation. The auto‑generate option automatically copies the long text strings that identify objects such as volumes and schedules and builds them into syntactically‑correct commands. This feature aids you in using the command line or scripting. You do not need to manually type long commands and you can aggregate the auto‑generated commands into scripts by copying and pasting the commands into a text editor. On a cluster, if the action for which you want to generate a command is disabled, the action to automatically generate the command is also disabled. If you manually create the commands for these actions, you must add Cluster Management actions to your scripts. This action resolves any cluster related issues and allows the command to execute successfully. Use the ASMCLI commands for the following operations: • Create Smart Copies • Run Checksum Verification and Soft Recovery-for Exchange only • Delete Smart Copies • Mount a Smart Copy • Unmount a Smart Copy • Restore a Smart Copy-Perform a full restore or a selective restore of certain files • Selective Restore-Not available for Exchange. • List supported volumes, collections, and components • Configure ASM/ME properties • Create, modify, and delete collections • Clone a replica Smart Copy • Configure CHAP credentials • Retrieve ASMCLI version information • Enumerate Smart Copies for specific volumes, components, or collections • Enumerate iSCSI target portals • Safely shut down the current instance of the Global Verification Task • Close all instances of verifier notification pop‑up dialog boxes that appear in the Windows taskbar notification area Using the Command Line Interface 99

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134

Using the Command Line Interface
This chapter describes the command line and scripting options provided by the ASM/ME command line interface (ASMCLI).
Topics:
Introduction to ASMCLI
How to Use ASMCLI Commands
General Command Syntax
ASMCLI Command Summary
Command Parameters
ASMCLI Commands and Their Syntax
Use a Script to Create Smart Copies
Introduction to ASMCLI
ASM/ME provides a set of commands (ASMCLI) you execute at the Windows command prompt for Smart Copy operations, or to create
site
specific scripts for Smart Copy operations.
NOTE:
To perform the functions discussed in this section, Dell recommends that you use the ASM PowerShell cmdlets,
which are more comprehensive. For reference information information about PowerShell cmdlets, see the
Dell
EqualLogic PowerShell Tools Reference Guide
.
You can generate complex commands automatically by using menu options in the ASM/ME GUI as described in
Scripts and Command
Generation
. The auto
generate option automatically copies the long text strings that identify objects such as volumes and schedules and
builds them into syntactically
correct commands. This feature aids you in using the command line or scripting. You do not need to
manually type long commands and you can aggregate the auto
generated commands into scripts by copying and pasting the commands
into a text editor.
On a cluster, if the action for which you want to generate a command is disabled, the action to automatically generate the command is
also disabled. If you manually create the commands for these actions, you must add Cluster Management actions to your scripts. This
action resolves any cluster related issues and allows the command to execute successfully.
Use the ASMCLI commands for the following operations:
Create Smart Copies
Run Checksum Verification and Soft Recovery—for Exchange only
Delete Smart Copies
Mount a Smart Copy
Unmount a Smart Copy
Restore a Smart Copy—Perform a full restore or a selective restore of certain files
Selective Restore—Not available for Exchange.
List supported volumes, collections, and components
Configure ASM/ME properties
Create, modify, and delete collections
Clone a replica Smart Copy
Configure CHAP credentials
Retrieve ASMCLI version information
Enumerate Smart Copies for specific volumes, components, or collections
Enumerate iSCSI target portals
Safely shut down the current instance of the Global Verification Task
Close all instances of verifier notification pop
up dialog boxes that appear in the Windows taskbar notification area
10
Using the Command Line Interface
99