Dell 4.4 manual Editing Example Of Tkenvset And tkenvset, Tkenvset.sh

Page 43

Table 21. Other Scripts for Linux

Script Name

Description

Associated Files

 

 

 

 

tkenvset.sh

Sets the path for DTK

syscfg — Used by tkenvset.sh to discover the system

 

installation and variables for

 

 

type.

 

the system to be deployed

 

 

 

 

 

and configured. The variables

 

 

 

and paths in this file must be

 

 

 

specified before any of the

 

 

 

other supporting scripts can

 

 

 

be used.

 

 

raidcfg.sh

Configures the selected RAID

tkenvset.sh — Used by raidcfg.sh to inform the task

 

controller detected in the

 

 

scripts about where to find the DTK utilities, scripts,

 

system.

 

 

 

and configuration files.

 

 

 

 

 

raidcfg — Used by raidcfg.sh to retrieve RAID

 

 

 

information and configure settings.

partcfg.sh

In BIOS mode, creates and

tkenvset.sh — Used by partcfg.sh to inform the task

 

populates the Dell utility

 

 

scripts about where to find the DTK utilities, scripts,

 

partition and the deployment

 

 

 

and configuration files.

 

partition (MBR type) on a

 

 

fdisk — Used to create partitions on your disk in

 

specified disk. In UEFI mode,

 

 

BIOS mode. When creating an embedded Linux ISO

 

creates deployment partition

 

 

 

image, make sure that fdisk is present in the

 

(GPT type) on a specific disk.

 

 

 

embedded Linux environment you created.

 

The partcfg.shscript uses a /

 

 

parted — Used to create partitions on your disk in

 

tmpfolder to store a few

 

 

UEFI mode. When creating an embedded Linux ISO

 

temporary files critical to its

 

 

 

image, make sure that parted is present in the

 

execution.

 

 

 

embedded Linux environment you created.

 

 

 

 

 

This script uses the following file for unattended

 

 

operations:

 

 

upinit.sh — Used by partcfg.sh to create and

 

 

 

populate the Dell utility partition.

 

 

 

NOTE: Do not modify the upinit.sh script.

upinit.sh

Creates and populates the

tkenvset.sh — Used by upinit.sh to inform the task

 

Dell utility partition in BIOS

 

 

scripts about where to find the DTK utilities, scripts,

 

mode.

 

 

 

and configuration files.

 

 

 

 

NOTE: Do not modify the •

fdisk — Used to create partitions on your disk.

 

upinit.sh script.

mbr — File necessary to create a bootable Dell

 

 

 

 

 

utility partition.

 

 

sysdrmk — Used by upinit.sh to patch the boot

 

 

 

sector.

 

 

unzip — Used by upinit.sh to populate the Dell utility

 

 

 

partition.

 

 

mke2fs — Used to create a ext2 file system.

 

 

upimg.bin — Contains the zipped contents of the

 

 

 

Dell utility partition.

Editing Example Of TKENVSET And tkenvset

The majority of editing required for DTK sample scripts involves the TKENVSET.BAT (for Windows) or tkenvset.sh (for Linux) script. As a result, the scripting discussion focuses on this script. Other task scripts

43

Image 43
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 DeploymentDeployment Prerequisites Supported Bios Firmware VersionsInstallation Prerequisites Prerequisites And RequirementsDell 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.shUtilities Used Preparing The Operating System Installation ScriptsUPINIT.BAT Or upinit.sh W2K8INST.BAT And W2K12INST.BATExternal 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 EnabledPXE-Based Deployment Deployment Using Dell Provided Embedded LinuxNetwork Based Deployment For Systems Running Windows Network-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