Deployment Guide
settings, see SYSCAP.BAT Or syscap.sh. 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, reboot the target server and run the script
again to complete the replication.
NOTE: The racrep.sh and sysrep.sh have duplicate functions. If you run racrep.sh after the command sysrep.sh, the
latter overwrites the former settings.
PARTCFG.BAT or partcfg.sh
In BIOS mode, the PARTCFG.BAT or partcfg.sh sample script creates and populates the Dell utility partition using UPINIT.BAT or
upinit.sh and creates the deployment partition on a specified disk. In UEFI mode, the partcfg.sh sample script creates the
deployment partition on a specified disk. For more information about using the UPINIT.BAT or upinit.sh tool, see UPINIT.BAT Or
upinit.sh. User input is not required to run this script. The default variable values used in this script are set in the TKENVSET.BAT or
tkenvset.sh scripts.
NOTE: Ensure that DT_HD is set to the required disk to be configured before you execute the PARTCFG.BAT or
partcfg.sh script.
Using DTK sample scripts to capture configuration information
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 BIOS, BMC, and RAC
settings on the target system. The following sections provide instructions for:
• Capturing The System BIOS And BMC Configuration With The SYSCAP Or syscap Sample Script
• Capturing The RAC Configuration With The RACCAP Or raccap Sample Script
Capturing the system BIOS and BMC configuration with the SYSCAP or syscap.sh sample
script
You can replicate the system BIOS and BMC configurations from a source Dell system to an identical target Dell system.
NOTE: For the script to complete successfully, the source system must have access to the network share that includes
the prebuilt DTK directory structure.
SYSCAP.BAT or syscap.sh
The SYSCAP.BAT or syscap.sh sample script captures BIOS and BMC configuration settings and saves them to a specified location.
An optional user input can be passed as a parameter. You can provide the path or file name as an input to this script. The default
variable values used in this script are set to the correct default values to perform a scripted deployment. The SYSCAP.BAT or
syscap.sh script uses the SYSCFG utility to retrieve BIOS and BMC configuration settings from the source system and to save the
settings in a file named syscfg.ini in the Z:\Dell\Toolkit\Systems\<target system> directory.
Running the SYSCAP.BAT or Syscap.sh
To run the SYSCAP.BAT or syscap.sh sample script to capture the BIOS and BMC configuration information in the syscfg.ini file:
1. Edit the startnet.cmd file (on your Windows PE image) or start-up script file (on your embedded Linux image) to call the
SYSCAP.BAT or syscap.sh script after the network share with the pre-built DTK directory structure is mounted. For example,
add:
On systems running Windows:
call Z:\Dell\Toolkit\Template\Scripts\SYSCAP.BAT
On systems running Linux:
/opt/dell/toolkit/template/scripts /syscap.sh
2. Boot the source system into Windows PE or embedded Linux.
48