User's Manual
42 Preparing the Script Files for Deployment Using Microsoft
®
Windows
®
PE
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 scripts. However, if you make any
changes to the default values set by the TKENVSET.BAT, 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 might 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
•
RAIDCFG.BAT
•
SYSREP.BAT
•
PARTCFG.BAT
RACREP.BAT
The RACREP.BAT sample script applies RAC configuration options to the target system based on
configuration information that has been saved in a configuration file. User input is optional, depending
on variables set in the RACREP.BAT sample script. This script uses the RACADM.EXE utility 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 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 sample script. See "RACCAP.BAT" for information about using the RACCAP.BAT sample
script to capture RAC configuration information.
RAIDCFG.BAT
The RAIDCFG.BAT 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 scripts. This script uses the RAIDCFG.EXE utility to automatically configure the
detected controllers on your target system. For example, for the first controller discovered, if
RAIDCFG.EXE 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
The SYSREP.BAT 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 scripts. This script uses the SYSCFG.EXE
utility to configure the BIOS and BMC in the target system using the configuration file, syscfg.ini,