Dell 4.4 manual SYSCAP.BAT Or syscap.sh, Running The SYSCAP.BAT Or Syscap.sh

Page 49

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. For example, from one PowerEdge R720 to another Dell PowerEdge R720.

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.

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.

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: For 9G or later systems, raccap.sh and syscap.sh have duplicate functions. If you run raccap.sh followed by syscap.sh, the latter overwrites settings of the former.

49

Image 49
Contents Dell OpenManage Deployment Toolkit Version Users Guide Page Contents Preparing The Script Files Setting Up a Directory Structure For DeploymentLinux Running Dell Update Packages On Systems Running EmbeddedPage Whats New In This Release IntroductionOther Documents You May Need Other Supporting Documents You May Need Contacting Dell Accessing Documents From Dell Support SiteSupported Systems Supported Operating Systems Prerequisites And DeploymentInstallation Prerequisites Supported Bios Firmware VersionsPrerequisites And Requirements Deployment PrerequisitesDell Systems Management Tools and Documentation DVD DriversWinpe3.x\WINPE3.0driverinst.bat Other Supporting Tools And System FilesManagement Tools Documentation DVD Deploying Operating SystemsDeployment Matrix DeploymentDeployment Method Matrix Preparing For Deployment DTK Deployment OverviewRAC And Bios Configuration Configuring a Source SystemDeployment How To Obtain Dell Utility Partition Files Extracting DTK Components On Systems Running Windows Downloading DTKDTK Components On Systems Running Windows DTK Components On The Mounted Media Extracting DTK Components On Systems Running LinuxLicensing Directory Structure On The Target SystemPage DTK Contents System Utilities And Supported Files For Linux Sample Configuration Files For Linux Sample Configuration Files For WindowsSample Scripts For Systems Running Windows PARTCFG.BAT Sample Scripts For Systems Running LinuxRPMs Drivers And Dell Real Mode KernelDocumentation Page System-Specific Files DTK Utilities And FilesPage Operating System Installation Files Page Preparing The Script Files Using The Sample DTK Scripts To Run a Full DeploymentScripts For Deployment On Systems Running Linux Scripts For Deployment On Systems Running WindowsRACREP.BAT W2K8INST.BA Lininst.sh Other Scripts For Systems Running Linux Operating Systems Other Scripts For Systems Running Windows Operating SystemsTkenvset.sh Editing Example Of Tkenvset And tkenvsetConfirming Or Editing DTK Installation Path Variables Specifying DTK Installation PathsSpecifying The Syscfg Variables Specifying The RAC Configuration VariablesPARTCFG.BAT RACREP.BAT Or racrep.sh Editing DTK Task ScriptsSYSREP.BAT Or sysrep.sh RAIDCFG.BAT Or raidcfg.shPARTCFG.BAT Or partcfg.sh Running The SYSCAP.BAT Or Syscap.sh SYSCAP.BAT Or syscap.shOpt/dell/toolkit/template/scripts/raccap.sh Running RACCAP.BAT Or raccap.shUPINIT.BAT Or upinit.sh Preparing The Operating System Installation ScriptsW2K8INST.BAT And W2K12INST.BAT Utilities UsedExternal Dependencies LininstUtilities Used By lininst SuseinstExternal Dependencies Of lininst.sh Variables Used Utilities Used By suseinstExternal Dependencies Of suseinst.sh Running The Deployment Scripts Creating And Customizing Images For Windows PE 4.0 Creating And Customizing Images For Windows PEIntegrating DTK Directory Structure Running The Image Creating a Bootable Media For Windows PEPreparing And Populating The Network Share Bootable Windows PE Media With Networking EnabledNetwork Based Deployment For Systems Running Windows Deployment Using Dell Provided Embedded LinuxNetwork-Based Deployment PXE-Based DeploymentMedia-Based Deployment Deployment Using Custom ScriptsNetwork File System or Smbfs File System Based Deployment Installing DTK RPMs Using RPM Using RPMsDeployment Using USB Deployment Using Customized Embedded LinuxPage Page Running Update Packages In Customized Embedded Linux Running Update Packages In Dell-Provided Embedded LinuxPage Known Issues General Deployment Questions Frequently Asked QuestionsRaidcfg Questions Page Embedded Linux Questions Syscfg QuestionsWindows PE Questions