Owner's Manual
Preparing the Script Files 71
variables set in the RACREP.BAT or racrep.sh sample script. This script uses
the RACADM.EXE for Windows and the racadm wrapper script or the
syscfg utility for Linux (depending on the version of RAC on your system) to
configure the RAC in the target system using the RAC configuration file,
raccfg.ini, passed as the first parameter to this script. If this parameter is not
passed, the default variables values used in this script are set in the
TKENVSET.BAT or tkenvet.sh scripts. An optional second parameter can be
passed to this file, which specifies the IP address to be used to configure the
RAC. The raccfg.ini file is generated with the RACCAP.BAT or raccap.sh
sample script. For information about using the RACCAP.BAT or raccap.sh
sample script to capture RAC configuration information, see "RACCAP.BAT
or raccap.sh" on page 75.
NOTE: For x9xx or later systems, racrep.sh and sysrep.sh have duplicate functions.
If you run racrep.sh followed by sysrep.sh, the latter overwrites the former settings.
RAIDCFG.BAT or raidcfg.sh
The RAIDCFG.BAT or raidcfg.sh sample script configures RAID controllers
detected on the system. User input is optional to run this script. The
parameter is a name or path to a log file. This parameter is not set to any
value by default, and no log file is generated. The default variable values used
in this script are set in the TKENVSET.BAT or tkenvest.sh scripts. This script
uses the RAIDCFG.EXE or raidcfg.sh utility to automatically configure the
detected controllers on your target system. For example, for the first
controller discovered, if RAIDCFG.EXE or raidcfg.sh discovers only one
attached hard drive, the script tries to create RAID 0; if two hard drives are
discovered, a RAID 1 configuration is enabled; if three or more hard drives are
discovered, a RAID 5 configuration is enabled.
NOTE: On the detected controller, a RAID virtual disk is created only if the array
disks connected to that particular controller have space available and, where
applicable, are not part of already existing array group.