
Appendix C. CLI
553
Draft Document for Review August 30, 2007 12:59 am
7065appCLI.fm
This creates a file of CLI commands which create the array, logical drives, hosts, and host
mappings. Our file is shown in Example C-17.
Example: C-17 Sample storage subsystem configuration file
// Logical configuration information from Storage Subsystem DS3400_crmsystem_data.
// Saved on June 15, 2007
// Firmware package version for Storage Subsystem DS3400_crmsystem_data =
06.17.31.00
// NVSRAM package version for Storage Subsystem DS3400_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 DS3400_crmsystem_data.";
set storagesubsystem userLabel="DS3400_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
// 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;