Dell 4.4 manual Running RACCAP.BAT Or raccap.sh, Opt/dell/toolkit/template/scripts/raccap.sh

Page 50

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:

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 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: 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

Image 50
Contents Dell OpenManage Deployment Toolkit Version Users Guide Page Contents Setting Up a Directory Structure For Deployment Preparing The Script FilesRunning Dell Update Packages On Systems Running Embedded LinuxPage Introduction Whats New In This ReleaseOther Documents You May Need Other Supporting Documents You May Need Accessing Documents From Dell Support Site Contacting DellPrerequisites And Deployment Supported Systems Supported Operating SystemsPrerequisites And Requirements Supported Bios Firmware VersionsInstallation Prerequisites Deployment PrerequisitesDrivers Dell Systems Management Tools and Documentation DVDOther Supporting Tools And System Files Winpe3.x\WINPE3.0driverinst.batDeploying Operating Systems Management Tools Documentation DVDDeployment Deployment MatrixDeployment Method Matrix DTK Deployment Overview Preparing For DeploymentDeployment Configuring a Source SystemRAC And Bios Configuration How To Obtain Dell Utility Partition Files Downloading DTK Extracting DTK Components On Systems Running WindowsDTK Components On Systems Running Windows Extracting DTK Components On Systems Running Linux DTK Components On The Mounted MediaDirectory Structure On The Target System LicensingPage DTK Contents System Utilities And Supported Files For Linux Sample Configuration Files For Windows Sample Configuration Files For LinuxSample Scripts For Systems Running Windows Sample Scripts For Systems Running Linux PARTCFG.BATDocumentation Drivers And Dell Real Mode KernelRPMs Page DTK Utilities And Files System-Specific FilesPage Operating System Installation Files Page Using The Sample DTK Scripts To Run a Full Deployment Preparing The Script FilesScripts For Deployment On Systems Running Windows Scripts For Deployment On Systems Running LinuxRACREP.BAT W2K8INST.BA Lininst.sh Other Scripts For Systems Running Windows Operating Systems Other Scripts For Systems Running Linux Operating SystemsEditing Example Of Tkenvset And tkenvset Tkenvset.shSpecifying DTK Installation Paths Confirming Or Editing DTK Installation Path VariablesSpecifying The RAC Configuration Variables Specifying The Syscfg VariablesPARTCFG.BAT Editing DTK Task Scripts RACREP.BAT Or racrep.shPARTCFG.BAT Or partcfg.sh RAIDCFG.BAT Or raidcfg.shSYSREP.BAT Or sysrep.sh SYSCAP.BAT Or syscap.sh Running The SYSCAP.BAT Or Syscap.shRunning RACCAP.BAT Or raccap.sh Opt/dell/toolkit/template/scripts/raccap.shW2K8INST.BAT And W2K12INST.BAT Preparing The Operating System Installation ScriptsUPINIT.BAT Or upinit.sh Utilities UsedLininst External DependenciesExternal Dependencies Of lininst.sh SuseinstUtilities Used By lininst External Dependencies Of suseinst.sh Utilities Used By suseinstVariables Used Running The Deployment Scripts Integrating DTK Directory Structure Creating And Customizing Images For Windows PECreating And Customizing Images For Windows PE 4.0 Creating a Bootable Media For Windows PE Running The ImageBootable Windows PE Media With Networking Enabled Preparing And Populating The Network ShareNetwork-Based Deployment Deployment Using Dell Provided Embedded LinuxNetwork Based Deployment For Systems Running Windows PXE-Based DeploymentNetwork File System or Smbfs File System Based Deployment Deployment Using Custom ScriptsMedia-Based Deployment Using RPMs Installing DTK RPMs Using RPMDeployment Using Customized Embedded Linux Deployment Using USBPage Page Running Update Packages In Dell-Provided Embedded Linux Running Update Packages In Customized Embedded LinuxPage Known Issues Raidcfg Questions Frequently Asked QuestionsGeneral Deployment Questions Page Syscfg Questions Embedded Linux QuestionsWindows PE Questions