Dell PowerVault Modular Disk Storage Arrays CLI Guide

[Pages:246]DellTM PowerVaultTM Modular Disk Storage Manager CLI Guide

| support.

Notes and Notices

NOTE: A NOTE indicates important information that helps you make better use of your computer. NOTICE: A NOTICE indicates either potential damage to hardware or loss of data and tells you how to avoid the problem.

____________________

Information in this document is subject to change without notice. ? 2008 Dell Inc. All rights reserved. Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden. Trademarks used in this text: Dell, the DELL logo, and PowerVault are trademarks of Dell Inc.; Microsoft, Internet Explorer, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own. September 2008

Contents

1 About the Command Line Interface . . . . 13

How to Use the Command Line Interface . . . . . . . . 14 Usage Notes . . . . . . . . . . . . . . . . . . . . 15 CLI Commands . . . . . . . . . . . . . . . . . . . 16 Command Line Parameters . . . . . . . . . . . . 18

Formatting Considerations . . . . . . . . . . . . . . . 24 Detailed Error Reporting . . . . . . . . . . . . . . . . 24 Exit Status . . . . . . . . . . . . . . . . . . . . . . . . 25 Usage Examples . . . . . . . . . . . . . . . . . . . . . 27

2 About the Script Commands . . . . . . . . . . 29

Script Command Structure . . . . . . . . . . . . . . . 30 Script Command Synopsis . . . . . . . . . . . . . . . 32 Recurring Syntax Elements . . . . . . . . . . . . . . . 34 Usage Guidelines . . . . . . . . . . . . . . . . . . . . 40 Adding Comments to a Script File . . . . . . . . . . . 41

Contents

3

3 Configuring a Storage Array . . . . . . . . . . 43

Configuring a Storage Array . . . . . . . . . . . . . . . 44 Determining What is on Your Storage Array . . . . 44 Saving a Configuration to a File . . . . . . . . . . 47 Using the Create Virtual Disk Command . . . . . . 48 Using the Auto Configure Command . . . . . . . . 53

Modifying Your Configuration . . . . . . . . . . . . . . 55 Setting the Storage Array Password . . . . . . . . 56 Setting Up SMTP and SNMP Alerts . . . . . . . . 56 Setting the RAID Controller Module Clocks . . . . 57 Setting the Storage Array Host Type . . . . . . . . 57 Setting Modification Priority . . . . . . . . . . . . 58 Assigning Global Hot Spares . . . . . . . . . . . . 59

4 Using the Snapshot Feature . . . . . . . . . . 61

Using Host Servers to Create an Initial Snapshot Virtual Disk . . . . . . . . . . . . . . . . . . . . . . . 63

Creating a Snapshot Virtual Disk . . . . . . . . . . . . 63 Enabling the Snapshot Virtual Disk Feature . . . . 64 Creating a Snapshot Virtual Disk with User-Assigned Physical Disks . . . . . . . . . . . 64 Preparing Host Servers to Create an Initial Snapshot Virtual Disk . . . . . . . . . . . . . . . . 65 Creating the Initial Snapshot Virtual Disk . . . . . 66 Creating a Snapshot Virtual Disk with Software-Assigned Physical Disks . . . . . . . . . 67 Creating a Snapshot Virtual Disk by Specifying a Number of Physical Disks . . . . . . . . . . . . 69 User-Defined Parameters . . . . . . . . . . . . . 70 Names of Snapshot Virtual Disks and Repository Virtual Disks . . . . . . . . . . . . . . . . . . . . 72

4

Contents

Changing Snapshot Virtual Disk Settings . . . . . . . 73

Stopping and Deleting a Snapshot Virtual Disk . . . . 74 Re-creating the Snapshot Virtual Disk . . . . . . 75 Preparing Host Servers to Re-create a Snapshot Virtual Disk . . . . . . . . . . . . . . . . . . . . . 75 Re-creating a Snapshot Virtual Disk . . . . . . . . 76

5 Using the Virtual Disk Copy Feature . . . . 77

Creating a Virtual Disk Copy . . . . . . . . . . . . . . 78 Enabling the Virtual Disk Copy Feature . . . . . . 79 Determining Virtual Disk Copy Candidates . . . . 79 Creating a Virtual Disk Copy . . . . . . . . . . . . 79 Preparing Host Servers to Create a Virtual Disk Copy . . . . . . . . . . . . . . . . . . . . . . 80 Copying the Virtual Disk . . . . . . . . . . . . . . 81

Viewing Virtual Disk Copy Properties . . . . . . . . . 82

Changing Virtual Disk Copy Settings . . . . . . . . . . 83

Recopying a Virtual Disk . . . . . . . . . . . . . . . . 84 Preparing Host Servers to Recopy a Virtual Disk . . . . . . . . . . . . . . . . . . . . . 85 Recopying the Virtual Disk . . . . . . . . . . . . . 86

Stopping a Virtual Disk Copy . . . . . . . . . . . . . . 87

Removing Copy Pairs . . . . . . . . . . . . . . . . . . 87

Interaction with Other Features . . . . . . . . . . . . . 88 Storage Partitioning . . . . . . . . . . . . . . . . 88 Snapshot Virtual Disks . . . . . . . . . . . . . . . 89

Contents

5

6 Maintaining a Storage Array . . . . . . . . . . 91

Routine Maintenance . . . . . . . . . . . . . . . . . . 91 Running a Media Scan . . . . . . . . . . . . . . . 91 Running a Consistency Check . . . . . . . . . . . 93 Resetting a RAID Controller Module . . . . . . . . 94 Enabling RAID Controller Module Data Transfer . . . . . . . . . . . . . . . . . . . . . . . 94 Resetting Battery Age . . . . . . . . . . . . . . . 94 Removing Persistent Reservations . . . . . . . . . 94 Synchronizing RAID Controller Module Clocks . . . . . . . . . . . . . . . . . . . . . . . . 95 Locating Physical Disks . . . . . . . . . . . . . . 95

Performance Tuning . . . . . . . . . . . . . . . . . . . 95 Monitoring Performance . . . . . . . . . . . . . . 96 Changing RAID Levels . . . . . . . . . . . . . . . 97 Changing Segment Size . . . . . . . . . . . . . . 97 Defragmenting a Disk Group . . . . . . . . . . . . 98

Troubleshooting and Diagnostics . . . . . . . . . . . . 98 Collecting Physical Disk Data . . . . . . . . . . . 98 Diagnosing a RAID Controller Module . . . . . . . 99

Recovery Operations . . . . . . . . . . . . . . . . . . 100 Setting RAID Controller Module Operational Mode . . . . . . . . . . . . . . . . . . . . . . . . 100 Changing RAID Controller Module Ownership . . . . . . . . . . . . . . . . . . . . . 101 Initializing a Physical Disk . . . . . . . . . . . . . 101 Reconstructing a Physical Disk . . . . . . . . . . 102 Initializing a Virtual Disk . . . . . . . . . . . . . . 102 Redistributing Virtual Disks . . . . . . . . . . . . . 103

6

Contents

7 Script Commands . . . . . . . . . . . . . . . . . 105

Command Formatting Rules . . . . . . . . . . . . . . . 106

Commands Listed by Function . . . . . . . . . . . . . 108 Disk Group Commands . . . . . . . . . . . . . . . 108 Enclosure Commands . . . . . . . . . . . . . . . 109 Host Topology Commands . . . . . . . . . . . . . 109 iSCSI Commands . . . . . . . . . . . . . . . . . . 109 Physical Disk Commands . . . . . . . . . . . . . . 110 RAID Controller Module Commands . . . . . . . . 111 Session Command . . . . . . . . . . . . . . . . . 111 Show String Command . . . . . . . . . . . . . . . 111 Snapshot Commands . . . . . . . . . . . . . . . . 111 Storage Array Commands . . . . . . . . . . . . . 111 Virtual Disk Commands . . . . . . . . . . . . . . 113 Virtual Disk Copy Commands . . . . . . . . . . . 113

Commands Listed Alphabetically . . . . . . . . . . . . 114 Accept Storage Array Pending Topology . . . . . 114 Activate Storage Array Firmware . . . . . . . . . 114 Autoconfigure Storage Array . . . . . . . . . . . 115 Autoconfigure Storage Array Hot Spares . . . . . 116 Check Disk Consistency . . . . . . . . . . . . . . 117 Clear Physical Disk Channel Statistics . . . . . . . 118 Clear Storage Array Configuration . . . . . . . . . 118 Clear Storage Array Event Log . . . . . . . . . . . 119 Clear Storage Array Firmware Pending Area . . . 119 Clear Virtual Disk Reservations . . . . . . . . . . 120 Create Disk Group . . . . . . . . . . . . . . . . . 120 Additional Information . . . . . . . . . . . . . . . 121 Create Host . . . . . . . . . . . . . . . . . . . . . 122 Create Host Group . . . . . . . . . . . . . . . . . 123 Create Host Port . . . . . . . . . . . . . . . . . . 124

Contents

7

Create iSCSI Initiator . . . . . . . . . . . . . . . . 125 Create RAID Virtual Disk (Automatic Physical Disk Select) . . . . . . . . . . . . . . . . . . . . . 126 Create RAID Virtual Disk (Free Capacity Base Select) . . . . . . . . . . . . . . . . . . . . 128 Create RAID Virtual Disk (Manual Physical Disk Select) . . . . . . . . . . . . . . . . . . . . . 130 Create Snapshot Virtual Disk . . . . . . . . . . . . 133 Create Virtual Disk Copy . . . . . . . . . . . . . . 137 Delete Disk Group . . . . . . . . . . . . . . . . . 139 Delete Host . . . . . . . . . . . . . . . . . . . . . 140 Delete Host Group . . . . . . . . . . . . . . . . . 140 Delete Host Port . . . . . . . . . . . . . . . . . . 141 Delete iSCSI Initiator . . . . . . . . . . . . . . . . 141 Delete Virtual Disk . . . . . . . . . . . . . . . . . 142 Diagnose RAID Controller Module . . . . . . . . . 143 Disable Storage Array Feature . . . . . . . . . . . 146 Download Enclosure Management Module Firmware . . . . . . . . . . . . . . . . . . . . . . 146 Download Physical Disk Firmware . . . . . . . . . 147 Download Storage Array Firmware/NVSRAM . . . 148 Download Storage Array NVSRAM . . . . . . . . 149 Download Storage Array Physical Disk Firmware . . . . . . . . . . . . . . . . . . . . . . 150 Enable RAID Controller Module . . . . . . . . . . 151 Enable Storage Array Feature Key . . . . . . . . . 151 Recopy Virtual Disk Copy . . . . . . . . . . . . . . 152 Recover RAID Virtual Disk . . . . . . . . . . . . . 153 Additional Information . . . . . . . . . . . . . . . 155 Re-create Snapshot . . . . . . . . . . . . . . . . 156 Remove Virtual Disk Copy . . . . . . . . . . . . . 158 Remove Virtual Disk LUN Mapping . . . . . . . . . 159 Repair Virtual Disk Consistency . . . . . . . . . . 160 Reset RAID Controller Module . . . . . . . . . . . 160

8

Contents

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download