Dell 4.4 manual Preparing The Script Files, Using The Sample DTK Scripts To Run a Full Deployment

Page 37

5

Preparing The Script Files

This chapter describes the steps required to use the Deployment Toolkit (DTK) sample scripts to perform a full deployment on a target system in the Microsoft Windows PE and embedded Linux environment.

There are four main tasks:

Using The Sample DTK Scripts To Run A Full Deployment

Editing The Sample Batch Files To Perform A Complete System Deployment

Using DTK Sample Scripts To Capture Configuration Information

Preparing The Operating System Installation Scripts

Using The Sample DTK Scripts To Run A Full Deployment

A scripted DTK deployment relies on the master deployment file to integrate all the applicable DTK task scripts and utilities and perform preoperating system configuration tasks before launching the operating system installation files. The master deployment file, along with the TKENVSET.BAT (for Windows) or tkenvset.sh (for Linux) scripts, makes up the master set of instructions that drives the deployment process. This file is not provided with the sample scripts.

A sample DEPLOY.BAT is given below:

::

*****************************************************

::Call TKENVSET.BAT to discover platform information ::as well as set paths and environment variables for ::Deployment Toolkit Tools and Scripts.

*****************************************************

*****************************************************

::call RAIDCFG.BAT to configure RAID.

*****************************************************

*****************************************************

::Replicate the system settings to the current SUT!. CALL SYSREP.BAT or DTKRUNALL.BAT.

*****************************************************

*****************************************************

::Partitioning the system hard disk. call PARTCFG.BAT.

*****************************************************

*****************************************************

::Put hdd as first in boot sequence (1-removable, 2- cdrom, 3-hdd)

::If the system configuration has changed (i.e. a

::boot device was added, removed, or enabled in BIOS) ::the following line should be modified to reflect the ::new hdd device number.

::This is calling Windows installer scripts.

*****************************************************

::%DT_TOOLS%\syscfg --bootseq=hdd.emb.0 ::call WIN2K8.BAT

37

Image 37
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