User's Manual

72 Preparing the Script Files for Deployment Using Embedded Linux
The sample scripts provided with the DTK can be edited and customized using any ASCII text editor
that conforms to the hardware available on the target systems. While it is recommended that you use the
DTK sample scripts to automate your deployment tasks, you can create your own system deployment
batch files using any ASCII text editor by incorporating the various DTK utilities and Linux commands
in the batch file.
NOTE: For more information about scripting batch files and specific batch file commands, see your Linux operating
system documentation.
Each of the utilities, scripts, and system configuration files are described below. Depending on your
requirements, you may use all or only some of them in your deployment:
The master deployment file— You can write your master deployment file to perform a full deployment
of a system with the help of utilities, scripts, and configuration files. This file is not provided with the
sample scripts.
Scripts
tkenvset.sh
— Sets the path of the DTK installation and variables for the system to be deployed
and configured. The variables and paths specified in this file must be specified before any of the
other supporting scripts can be used.
syscfg
— Used by
tkenvset.sh
to discover the system type.
raccap.sh
— Captures RAC settings to a file for Dell
Remote Access Controller (DRAC) 4 RACs.
tkenvset.sh
— Used by
raccap.sh
to inform the task scripts where to find the DTK utilities,
scripts, and configuration files.
racadm
— Used by
raccap.sh
to retrieve RAC information and to configure settings. The
wrapper script,
racadm
, calls
racadm3
or
racadm4
depending on the system configuration.
syscfg
— Used by
raccap.sh
to configure DRAC5.
racrep.sh
— Applies the RAC configuration settings saved in a file to the current system.
tkenvset.sh
— Used by
racrep.sh
to inform the task scripts where to find the DTK utilities,
scripts, and configuration files.
racadm
— Used by
racrep.sh
to replicate RAC information and to configure settings.
racadm
is the wrapper script which calls
racadm3
or
racadm4
depending on the system configuration.
syscfg
— Used by
racrep.sh
to configure DRAC5.
syscap.sh
— Captures BIOS and BMC configuration settings and saves them to a file.
tkenvset.sh
— Used by
syscap.sh
to inform the task scripts where to find the DTK utilities,
scripts, and configuration files.
syscfg
— Used by
syscap.sh
to configure the BIOS and BMC settings.