![](/images/new-backgrounds/1265771/26577199x1.webp)
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
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
On systems running Windows:
Z:\Dell\x32\Toolkit\Template\Scripts\RACCAP.BAT Z:\raccfg.ini
On systems running 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 on systems running Windows and /opt/dell/toolkit/systems/<target system> directory on systems running Linux.
3.Edit the startnet.cmd file (Windows PE image) or
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: On Dell PowerEdge 9G 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. On systems running Windows, the RACCAP.BAT uses the RACADM.EXE utility to retrieve RAC configuration settings from the source system and to save it in raccfg.ini file at \Toolkit\Systems\<target system>. On systems running Linux, the raccap.sh script uses the racadm wrapper script or the syscfg utility (depending on the RAC version on your system) to retrieve RAC configuration settings from the source system and to save it in raccfg.ini at /opt/dell/toolkit/ systems/<target system>.
50