Adaptec 3405 User Guide - Page 106

About Record Mode, Creating the Script File Manually, Entering Comments in the Script File

Page 106 highlights

Appendix D: Using the Array Configuration Utility for DOS ● 106 About Record Mode Note: You can also create a script file manually (see the following section). In Record Mode, the ACU writes a RAID controller's existing array configuration to a specified script file, which lets you create the same configuration by running the ACU in Playback Mode (/P switch) with the resulting script. You can only record one RAID controller at a time with Record Mode. Record multiple RAID controllers separately using separate script files. The syntax is ACU /R where file is the name of the script file. The file parameter can include a drive, directory, filename, and extension, but only the filename and extension are required. If no drive or directory is specified, the file is placed in the same location as the ACU executable. The ACU supports only a subset of available array types. If it encounters an array it can't create, a warning displays (or is recorded in the log file, if the /L switch is used); no keywords for that array are recorded in its script file. When recording an array, the ACU always uses the default Wait setting (equivalent to Wait=Yes) unless you edit the script file and include Wait=No in the array's definition block. For more information, see Wait Keyword on page 110. Creating the Script File Manually Script files contain blocks: ● Array definition block keywords (see page 107) ● Optional-ACU error codes (see page 110) The syntax rules are: ● Each keyword must start its own line. ● Syntax is not case sensitive. Entering Comments in the Script File To enter a comment in the script file, start with a pound character (#). You can start anywhere on a line. For a sample script that includes comments, see Sample Scripts on page 111.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158

Appendix D: Using the Array Configuration Utility for DOS
106
About Record Mode
Note:
You can also create a script file manually (see the following section).
In Record Mode, the ACU writes a RAID controller’s existing array configuration to a specified
script file, which lets you create the same configuration by running the ACU in Playback Mode
(/P switch) with the resulting script.
You can only record one RAID controller at a time with Record Mode. Record multiple RAID
controllers separately using separate script files.
The syntax is
ACU /R <
file
>
where
file
is the name of the script file. The file parameter can
include a drive, directory, filename, and extension, but only the filename and extension are
required. If no drive or directory is specified, the file is placed in the same location as the ACU
executable.
The ACU supports only a subset of available array types. If it encounters an array it can’t
create, a warning displays (or is recorded in the log file, if the /L switch is used); no keywords
for that array are recorded in its script file.
When recording an array, the ACU always uses the default Wait setting (equivalent to
Wait=Yes) unless you edit the script file and include Wait=No in the array’s definition block.
For more information, see
Wait Keyword
on page 110
.
Creating the Script File Manually
Script files contain blocks:
Array definition block keywords (see
page 107
)
Optional
—ACU error codes (see
page 110
)
The syntax rules are:
Each keyword must start its own line.
Syntax is
not
case sensitive.
Entering Comments in the Script File
To enter a comment in the script file, start with a pound character (
#
). You can start anywhere
on a line. For a sample script that includes comments, see
Sample Scripts
on page 111
.