Users Guide
Editing DTK Task Scripts
The task scripts called by the master batch file do not require any edits (with the following exceptions) if the default
variable values are utilized in the TKENVSET.BAT or tkenvset.sh scripts. However, if you make any changes to the
default values set by the TKENVSET.BAT or tkenvset.sh, you must make the same edits to the matching default values
set in the appropriate task scripts. Locate the USER MODIFICATION REQUIRED heading in the task scripts to find the
variable values you may need to edit. Each of the following task scripts can be called by the user-written master batch
script during a full deployment:
• RACREP.BAT or racrep.sh
• RAIDCFG.BAT or raidcfg.sh
• SYSREP.BAT or sysrep.sh
• PARTCFG.BAT or partcfg.sh
RACREP.BAT Or racrep.sh
The RACREP.BAT or racrep.sh sample script applies RAC options to the target system based on configuration
information that has been saved in the configuration file. User input is optional, depending on the variables set in the
RACREP.BAT or racrep.sh sample script. On systems running Windows, RACREP.BAT script uses RACADM.EXE to
configure RAC in the target system. On systems running Linux the racrep.sh script uses racadm wrapper script or the
syscfg utility (depending on the version of RAC on your system) to configure RAC in the target system. The raccfg.ini is
passed as the first parameter to these scripts. If this parameter is not passed, the default variables values used in these
scripts are set in the TKENVSET.BAT or tkenvet.sh scripts. You can specify the IP address to configure the RAC as an
optional parameter. The raccfg.ini file is generated with the RACCAP.BAT or raccap.sh sample script. For information
about using the RACCAP.BATor raccap.sh sample script to capture RAC configuration information, see RACCAP.BAT Or
raccap.sh.
NOTE: For 9G or later systems, racrep.sh and sysrep.sh have duplicate functions. If you run racrep.sh followed by
sysrep.sh, the latter overwrites the settings of the former.
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 input 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.
SYSREP.BAT Or sysrep.sh
The SYSREP.BAT or sysrep.sh sample script applies SYSCFG options to the target system based on configuration
information that has been saved in a configuration file. User input is optional to run this script, depending on the variable
settings in the SYSREP.BAT orsysrep.sh scripts. This script uses the SYSCFG utility to configure the BIOS and BMC in the
target system using the configuration file syscfg.in. Thesyscfg.in is the first parameter passed to this script. If this
49