SSA Scripting 61SSA ScriptingUsing SSA scriptingThe SSA Scripting application has two scripting modes: Capture mode for capturing a configurationSSA inspects the configuration of all internal and external array controllers connected to the server andthen writes a script file describing this configuration. Input mode for configurationSSA reads the array configuration described in a specified script file. See "Creating an SSA script file."SSA then applies this configuration to a target system.Capturing a configurationTo capture the configuration of a system, enter the following command at the system command line prompt:ssascripting -c FILENAME [-internal | -external] -e FILENAMEThe -c switch information, if provided, specifies the capture file name. The capture filename is optional. If nocapture file is specified, SSA names the default capture file ssaoutput.ini and places it in the SSA workingdirectory.The -internal and -external switches limit capture to internal or external controllers.The -e switch information is used only if SSA must generate an error file. The error filename is optional. Bydefault, SSA names the error file error.ini and places it in the SSA working directory.Using an Input scriptTo use an Input script to configure or reconfigure a system, first locate a suitable SSA script or see "Creatingan SSA Scripting script file."Then, enter the following command at the system command line prompt:ssascripting -i FILENAME [-internal | -external] [-reset] -e FILENAMEThe -i switch information specifies the input file to use.The -internal and -external switches limit configuration operations to internal or external controllers.The -reset flag destroys any existing data and overwrites the current configuration with the configurationspecified in the script.The -e switch information allows the user to rename an error file. By default, SSA names the error file error.iniand places it in the SSA working directory.Creating an SSA Scripting script fileTo create a valid SSA script file, use one of the following methods: Modify the sample custom input script. Create a Capture file for capturing a configuration.You can create a capture file from any server that has SSA loaded, and then modify the values of the