248
Configuration Script Example 1
show “Setting additional attributes for volume 7”;
//Configuration settings that cannot be set during
volume
creation
set volume[“7”] cacheFlushModifier=10;
set volume[“7”] cacheWithoutBatteryEnabled=false;
set volume[“7”] mirrorEnabled=true;
set volume[“7”] readCacheEnabled=true;
set volume[“7”] writeCacheEnabled=true;
set volume[“7”] mediaScanEnabled=false;
set volume[“7”] redundancyCheckEnabled=false;
set volume[“7”] modificationPriority=high;
This example shows blank lines between the lines beginning with
Show
,
Create
,
//Note
, and
create
. The blank lines are included in this example only for clarity.
Each command is actually written on one line in the script file; however, the size of
this page has caused the command text to wrap. You might want to include blank lines
in your script files to separate blocks of commands or make a comment that stands
out. To include a comment, enter two forward slashes (
//
), which causes the Script
Engine to treat the line as a comment.
The first line of text is the
show string
command. This command shows text that
is bounded by double quotation marks (“ ”) on a display monitor when the script file
runs. In this example, the text
Create RAID 5 Volume 7 on existing
Volume Group 1
serves as a title that describes the expected results of running
this script file.
The line beginning with
//Create
is a comment that explains that the purpose of
this script file is to create a new volume by using the
create volume
command on
an existing volume group.
The line beginning
//Note:
is a comment in the script file that explains that the size
of the last volume created that uses all of the available capacity because the
capacity
parameter is not used.
The command in this example creates a new volume in volume group 1. The volume
has RAID Level 5. The volume name (user label) is 7. (Note the double quotation
marks around the 7. The double quotation marks define that the information in the
double quotation marks is a label.) The new volume is assigned to the controller in
slot A in the controller tray. The segment size is set to 16. The volume has a read
ahead multiplier value of 256. The capacity of the volume is 2 GB.
The command takes this form:
Summary of Contents for InfiniteStorage 4000 Series
Page 34: ...22 ExitStatus ...
Page 48: ...36 Adding Comments to a Script File ...
Page 110: ...98 Starting Stopping and Resuming a Snapshot Legacy Rollback ...
Page 168: ...156 Interaction with Other Premium Features ...
Page 182: ...170 Interaction with Other Premium Features ...
Page 192: ...180 SSD Cache Management Tasks ...
Page 216: ...204 RecoveryOperations ...
Page 218: ...206 Show Storage Array ...
Page 219: ...Appendix A Examples of Information Returned by the Show Commands 207 ...
Page 220: ...208 Show Storage Array ...
Page 221: ...Appendix A Examples of Information Returned by the Show Commands 209 ...
Page 222: ...210 Show Storage Array ...
Page 223: ...Appendix A Examples of Information Returned by the Show Commands 211 ...
Page 224: ...212 Show Storage Array ...
Page 225: ...Appendix A Examples of Information Returned by the Show Commands 213 ...
Page 226: ...214 Show Storage Array ...
Page 227: ...Appendix A Examples of Information Returned by the Show Commands 215 ...
Page 228: ...216 Show Storage Array ...
Page 229: ...Appendix A Examples of Information Returned by the Show Commands 217 ...
Page 230: ...218 Show Storage Array ...
Page 231: ...Appendix A Examples of Information Returned by the Show Commands 219 ...
Page 233: ...Appendix A Examples of Information Returned by the Show Commands 221 ...
Page 234: ...222 Show Controller NVSRAM ...
Page 253: ...Appendix A Examples of Information Returned by the Show Commands 241 ...
Page 254: ...242 ShowDrive ...
Page 255: ...Appendix A Examples of Information Returned by the Show Commands 243 ...
Page 256: ...244 ShowDrive ...
Page 257: ...Appendix A Examples of Information Returned by the Show Commands 245 ...
Page 258: ...246 ShowDrive ...
Page 268: ...256 ConfigurationUtility ...
Page 275: ......
Page 276: ...Copyright 2012 NetApp Inc All rights reserved ...