User's Manual
Capturing The RAC Configuration With The RACCAP Or raccap.sh Sample Script
If your system has a RAC, you can replicate the RAC configuration from the RAC of a source Dell system to an identical
target Dell system with an identical RAC. For example, from one PowerEdge R720 with iDRAC7 to another PowerEdge
R720 with iDRAC7.
NOTE: For the script to complete successfully, the source system must have access to the network share that
includes the pre-built DTK directory structure.
Running RACCAP.BAT Or raccap.sh
To run the RACCAP.BAT or raccap.sh sample script to capture the RAC configuration information in the raccfg.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
RACCAP.BAT or raccap.sh script after the network share with the pre-built DTK directory structure is mounted.
For example, add:
In Windows:
Z:\Dell\x32\Toolkit\Template\Scripts\RACCAP.BAT\Z:\raccfg.ini
In Linux:
/opt/dell/toolkit/template/scripts/raccap.sh
2. Boot the source system into Windows PE or embedded Linux.
The script runs and saves the configuration information in the \Toolkit\Systems\<target system> directory in
Windows and /opt/dell/toolkit/systems/<target system> directory in Linux.
3. Edit the startnet.cmd file (Windows PE image) or start-up script file (embedded Linux image) to remove the text you
added in step 1.
NOTE: The RAC configuration file is referred to as the .cfg file in the
Integrated Dell Remote Access Controller
6 (iDRAC6) Enterprise for Blade Servers User Guide and the Dell Remote Access Controller 4 User’s Guide
.
See these guides for additional information about manually creating a RAC configuration file.
NOTE: Do not replicate the RAC IP address when creating a .cfg file. Replicating the RAC IP address can leave
the system inaccessible because multiple systems are configured with the same IP address.
NOTE: For
x9xx
or later systems, raccap.sh and syscap.sh have duplicate functions. If you run raccap.sh
followed by syscap.sh, the latter overwrites the former settings.
RACCAP.BAT Or raccap.sh
The RACCAP.BAT or raccap.sh sample script captures RAC 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 RACCAP.BAT or raccap.sh script uses the RACADM.EXE utility in Windows and the racadm wrapper
script or syscfg utility (depending on the RAC version on your system) to retrieve RAC configuration settings from the
source system and saved it in a file named raccfg.ini at the \Toolkit\Systems\<target system> directory in Windows
and /opt/dell/toolkit/systems/<target> system directory in Linux.
NOTE: Ensure that you run RACCAP.BAT in a writable environment. If you run RACCAP.BAT in a read-only
environment, DTK displays the message <
filename.ini
> has been generated even though no new file is created.
UPINIT.BAT Or upinit.sh
The UPINIT.BAT or upinit.sh is a tool used to create and populate the Dell utility partition.
49