User's Manual
Preparing the Script Files for Deployment Using Embedded Linux 79
sysrep.sh
The 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.sh scripts. This script uses the syscfg utility to configure
the BIOS and BMC in the target system using the configuration file, syscfg.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 sysrep.sh scripts. The syscfg.ini file is generated with the syscap.sh sample script. See
"syscap.sh" for information about using the syscap.sh sample script to capture BIOS and BMC settings.
The second 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.
NOTE: If the replication requires a change in the memory redundancy mode, the target server should be rebooted
and the script should be executed again to complete the replication.
NOTE: For x9xx systems, racrep.sh and sysrep.sh have duplicate functions. If you run racrep.sh followed by
sysrep.sh, the latter overwrites the former’s settings.
partcfg.sh
The partcfg.sh sample script creates and populates the Dell utility partition using upinit.sh and creates
the deployment partition on a specified disk. (See "upinit.sh" for more information about using the
upinit.sh tool.) User input is not required to run this script. The default variable values used in this
script are set in the tkenvset.sh scripts.
NOTE: Ensure that DT_HD is set to the required disk to be configured before you execute the partcfg.sh script.
Using the DTK Sample Scripts to Capture Configuration Information
in Embedded Linux
The syscfg and racadm utilities can read the source system configuration and duplicate that
configuration on a target system using a sample DTK script file. These configuration files are used
during a full deployment to configure the target system’s BIOS, BMC, and RAC settings. The following
sections provide instructions for using the syscap.sh and raccap.sh sample scripts to create
configuration files.
Capturing the System BIOS and BMC Configuration With the syscap.sh Sample Script
You can replicate the system BIOS and BMC configurations from a source PowerEdge system to an
identical target PowerEdge system (for example, from one PowerEdge 1850 to another PowerEdge 1850).
NOTE: For the script to complete successfully, the source system must have access to the network share that
includes the prebuilt DTK directory structure.