Creating An Automated Script - Adaptec RAID 2810SA Software Reference Manual

Serial ata raid command line interface
Hide thumbs Also See for RAID 2810SA:
Table of Contents

Advertisement

Automated Scripts
This appendix describes how to write DOS batch files and CLI
command scripts to perform the controller details task.
You can use the CLI commands alone in CLI command scripts or in
combination with DOS commands in DOS batch files. Also, you can
invoke CLI command scripts in a DOS batch file. You should
already understand how to write DOS batch files and be familiar
with Windows-related backup commands.
To execute a CLI command script, type the @ (at sign) followed by
the file name that contains the CLI commands, for example:
AAC0>@array.txt

Creating an Automated Script

In its simplest form, a CLI command script is a text file that contains
valid CLI commands. A carriage return linefeed follows each
command. The following CLI command script:
1
Opens controller aac0 by invoking the CLI command open.
2
Invokes controller details.
3
Closes controller aac0 by invoking the CLI command close.
4
Exits the example CLI command script.
open AAC0
controller details
close AAC0
exit
A
A-1

Advertisement

Table of Contents
loading

Table of Contents