Sample Command: Save Configuration Script File - IBM System Storage DS3500 Introduction And Implementation Manual

Table of Contents

Advertisement

Draft Document for Review March 28, 2011 12:24 pm
set
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
7914appCLI1208.fm
Chapter 17. Command-Line Interface(CLI)
549

Advertisement

Table of Contents
loading

Table of Contents