534 IBM System Storage DS3500 Introduction and Implementation Guide
򐂰 show
򐂰 start
򐂰 stop
򐂰 suspend
The CLI provides help when a command is not entered completely. Follow the Script Editor
online help or the CLI online help to get details about each command.
17.7.1 Sample command: Save configuration script file
Use the save StorageSubsystem configuration command to create a script containing the
configuration statements for your environment. A sample run of this command is shown in
Example 17-17.
Example 17-17 CLI command to save the storage subsystem configuration
save StorageSubsystem configuration file=”DS3524_1.cmds” allConfig;
This creates a file of CLI commands that create the array, logical drives, hosts, and host
mappings. Our file is shown in Example 17-18.
Example 17-18 Sample storage subsystem configuration file
// Logical configuration information from Storage Subsystem DS3524_crmsystem_data.
// Saved on 21 August, 2010
// Firmware package version for Storage Subsystem DS3400_crmsystem_data =
07.70.16.01
// NVSRAM package version for Storage Subsystem DS3524_crmsystem_data =
N1726D340R917V15
//on error stop;
// Uncomment the two lines below to delete the existing configuration.
//show "Deleting the existing configuration.";
//set storagesubsystem resetConfiguration = true;
// Storage Subsystem global logical configuration script commands
show "Setting the Storage Subsystem user label to DS3524_crmsystem_data.";
set storagesubsystem userLabel="DS3524_crmsystem_data";
show "Setting the Storage Subsystem media scan rate to 18.";
set storagesubsystem mediaScanRate=18;
// Uncomment the three lines below to remove default logical drive, if exists,
script command. NOTE: Default logical drive name is always = "" (blank).
//on error continue;
//show "Deleting the default logical drive created during the removal of the
existing configuration.";
//delete logicaldrive[""];
//on error stop;
// Copies the hot spare settings
// NOTE: These statements are wrapped in on-error continue and on-error stop
statements to
Chapter 17. Command-Line Interface (CLI) 535
// account for minor differences in capacity from the drive of the Storage
Subsystem on which the
// configuration was saved to that of the drives on which the configuration will
be copied.
//on error continue;
show "Creating hot spare at Enclosure 0 Slot 1.";
set drive[0,1] hotSpare=true;
//on error stop;
show "Setting the Storage Subsystem cache block size to 4.";
set storagesubsystem cacheBlockSize=4;
show "Setting the Storage Subsystem to begin cache flush at 80% full.";
set storagesubsystem cacheFlushStart=80;
show "Setting the Storage Subsystem to end cache flush at 80% full.";
set storagesubsystem cacheFlushStop=80;
// Creating Host Topology
show "Creating Host Salza.";
create host userLabel="Salza";
show "Creating Host Port Salza0 on Host Salza with WWN 10000000c93542c2 and Host
Type Index 2.";
// This Host Type Index corresponds to Type Windows 2003/Server 2008 Non-Clustered
create hostPort host="Salza" userLabel="Salza0" identifier="10000000c93542c2"
hostType=2;
show "Creating Host Port Salza1 on Host Salza with WWN 10000000c93542c3 and Host
Type Index 2.";
// This Host Type Index corresponds to Type Windows 2003/Server 2008 Non-Clustered
create hostPort host="Salza" userLabel="Salza1" identifier="10000000c93542c3"
hostType=2;
show "Creating RAID 1 Logical Drive San_boot_salza on new Array 1.";
// This command creates the Array and the initial Logical Drive on that array.
// NOTE: For Arrays that use all available capacity, the last Logical Drive on
this array is
// created using all remaining capacity by omitting the capacity= logical drive
creation parameter.
create logicaldrive drives[0,2 1,1] raidLevel=1 userLabel="San_boot_salza" owner=A
segmentSize=128 capacity=21474836480 Bytes;
show "Setting additional attributes for Logical Drive San_boot_salza.";
// Configuration settings that can not be set during Logical Drive creation.
set logicaldrive["San_boot_salza"] cacheFlushModifier=10;
set logicaldrive["San_boot_salza"] cacheWithoutBatteryEnabled=false;
set logicaldrive["San_boot_salza"] mirrorEnabled=true;
set logicaldrive["San_boot_salza"] readCacheEnabled=true;
set logicaldrive["San_boot_salza"] writeCacheEnabled=true;
set logicaldrive["San_boot_salza"] mediaScanEnabled=true;
set logicaldrive["San_boot_salza"] redundancyCheckEnabled=false;
set logicaldrive["San_boot_salza"] readAheadMultiplier=1;
set logicaldrive["San_boot_salza"] modificationPriority=high;

Get IBM System Storage DS3500 Introduction and Implementation Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.