Dell Openmanage Deployment Toolkit Version 4 1 Quick Reference Guide 4.1 Command Line Interface
2014-11-13
: Dell Dell-Openmanage-Deployment-Toolkit-Version-4-1-Quick-Reference-Guide-117765 dell-openmanage-deployment-toolkit-version-4-1-quick-reference-guide-117765 dell pdf
Open the PDF directly: View PDF
.
Page Count: 346
Dell OpenManage
Deployment Toolkit
Version 4.1
Command Line Interface
Reference Guide
Notes and Cautions
NOTE: A NOTE indicates important information that helps you make better use of
your computer.
CAUTION: A CAUTION indicates potential damage to hardware or loss of data if
instructions are not followed.
WARNING: A WARNING indicates a potential for property damage, personal
injury, or death.
____________________
Information in this publication is subject to change without notice.
© 2012 Dell Inc. All rights reserved.
Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc.
is strictly forbidden.
Trademarks used in this text: Dell™, the DELL™ logo, PowerEdge™, and OpenManage™ are
trademarks of Dell Inc. Intel® and Core™ and are registered trademarks of Intel Corporation in the
U.S. and other countries. AMD Opteron™ is a trademark of Advanced Micro Devices, Inc. Microsoft®
and Windows® are either trademarks or registered trademarks of Microsoft Corporation in the United
States and/or other countries. Red Hat Enterprise Linux® and Enterprise Linux® are registered
trademarks of Red Hat, Inc. in the United States and/or other countries. SUSE ™ is a trademark of
Novell Inc. in the United States and other countries. Adaptec® is a registered trademark of Adaptec, Inc.
Other trademarks and trade names may be used in this publication to refer to either the entities claiming
the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and
trade names other than its own.
2012 - 06
Contents
1
Introduction .
. . . . . . . . . . . . . . . . . . . . . . .
What’s New in This Release
Supported Systems
. . . . . . . . . . . . . . .
7
. . . . . . . . . . . . . . . . . . . .
7
Supported Operating Systems .
Toolkit Utilities
. . . . . . . . . . . . . .
7
. . . . . . . . . . . . . . . . . . . . . .
8
. . . . . . . . . . . . .
8
RAID Configuration Utility
. . . . . . . . . . . . . .
8
RAC Configuration Utility .
. . . . . . . . . . . . . .
8
Disk Partitioning Utility
. . . . . . . . . . . . . . . .
9
Replication of DTK Utilities
. . . . . . . . . . . . . . . .
9
System Configuration Utility
. . . . . . . . . . . .
10
. . . . . . . . . . . . . . . . . . . . .
12
Other Documents You May Need
Contacting Dell
2
7
Command Syntax Overview .
. . . . . . . . . .
13
. . . . . . . . . . . . . . .
13
. . . . . . . . . . . . . . . . . .
15
Command Line Syntax
Case Sensitivity
Command Line Option Delimiters
Read and Write Commands
. . . . . . . . .
15
. . . . . . . . . . . .
17
File Input and Output Commands
Log Files
. . . . . . . . .
17
. . . . . . . . . . . . . . . . . . . . . .
18
Help Option
. . . . . . . . . . . . . . . . . . . . .
Error Checking and Error Messages
. . . . . . . . . .
Contents
18
18
3
3
SYSCFG
. . . . . . . . . . . . . . . . . . . . . . . . . .
Features
. . . . . . . . . . . . . . . . . . . . . . . . .
SYSCFG General Options
. . . . . . . . . . . . . . . .
SYSCFG for BIOS Configuration
. . . . . . . . . . . . .
25
25
SYSCFG Options Supported on PowerEdge
yx2x Systems . . . . . . . . . . . . . . . .
. . . .
86
SYSCFG for State Configuration .
. . .
112
. . . . . . .
113
. . . . . . . . . . . .
151
. . . . . .
152
. . . . . . . . . . .
153
SYSCFG Options for State Configuration
SYSCFG for System Configuration .
. . . . . . . . .
153
. . . . . . . . . . . . .
161
. . . . . . . . . . . . . . . . . . . . . .
163
Options for System Configuration
SYSCFG for IPv6 Configuration
PCI Reporting
Environment Variable File
RAIDCFG
Features
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
RAIDCFG Dependencies
163
165
165
. . . . . . . . . . . . . . .
165
. . . . . . . . . . . . . . . . .
166
Supported RAID Controllers
RAIDCFG Options and Arguments
Contents
20
. . . .
BMC and Remote Access Controller
Configuration Options . . . . . . . .
4
19
SYSCFG Options Supported on PowerEdge
Systems Prior to PowerEdge yx2x Systems
SYSCFG for BMC and Remote Access Controller
Configuration . . . . . . . . . . . . . . . . . . .
4
19
. . . . . . . . . . . .
166
RAID Configuration Utility Options and
Arguments . . . . . . . . . . . . . . . .
General Help
. . . . . . . .
172
. . . . . . . . . . . . . . . . . . . .
174
Enumerating RAID Controllers
Creating Virtual Disks
. . . . . . . . . . .
174
. . . . . . . . . . . . . . .
176
Enumerating Array Disks .
. . . . . . . . . . . . .
190
Enumerating Virtual Disks
. . . . . . . . . . . . .
195
. . . . . . . . . . . . . .
198
Initializing Virtual Disks
Importing and Clearing Foreign
Configurations . . . . . . . . .
Deleting Virtual Disks
. . . . . . . . . .
199
. . . . . . . . . . . . . . .
201
Assigning and Unassigning Global
Hot Spares . . . . . . . . . . . . .
Assigning and Unassigning Persistent
Dedicated Hot Spares . . . . . . . . .
Setting Environment Variables
. . . . . .
203
. . . . . . . . . . .
204
Function Calls of Setenvironment Option
. . . . .
205
. . . . . . . . . . . . .
207
. . . . . . . . . . . . . .
209
RAID Replication Options
Miscellaneous Options .
Quick Reference to RAIDCFG Commands .
5
UPINIT .
211
. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
Features
202
. . . . . . . .
215
215
. . . . . . . . . . . . . . . . . . . . . . . . .
Creating a Partition Using UPINIT
UPINIT Dependencies .
. . . . . . . . . . .
215
. . . . . . . . . . . . . . . . .
216
UPINIT Options and Arguments
A Messages and Codes
216
. . . . . . . . . . . . .
. . . . . . . . . . . . . .
SYSCFG Error Codes and Messages
223
. . . . . . . . . .
Contents
223
5
Failure Messages
. . . . . . . . . . . . . . . . .
. . . . . .
234
. . . . . . . . . . . . . . . . .
234
UPINIT Common Error Codes and Messages
Failure Messages
UPINIT Linux-Specific Error Codes and
Messages . . . . . . . . . . . . . . . .
. . . . . . . .
235
. . . . . . . . . .
236
. . . . . . . . . . . . . . . . .
236
RAIDCFG Error Codes and Messages
Failure Messages
RACADM Firmware Error Codes and Messages
RACADM Utility Error Codes and Messages
B BMC Platform Events Filter Alert
Messages . . . . . . . . . . . . . . . . . .
C Sample File Formats
. . . .
249
. . . . . .
252
. . . . .
255
. . . . . . . . . . . . . . .
257
Sample SYSCFG Utility .ini File Format
. . . . . . . . .
257
Sample RAIDCFG Utility .ini File Format
. . . . . . . .
276
Sample RACADM Utility .ini File Format
. . . . . . . .
278
D Summary of SYSCFG and RAIDCFG
Options . . . . . . . . . . . . . . . . . . . . .
SYSCFG Options
RAIDCFG Options
Index
6
. . . .
285
. . . . . . . . . . . . . . . . . . . . .
285
. . . . . . . . . . . . . . . . . . . .
338
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
223
345
1
Introduction
Dell OpenManage Deployment Toolkit (DTK) includes a set of utilities,
sample scripts, and sample configuration files to deploy and configure your
Dell system.You can use DTK to build script-based and RPM-based
installation for deploying a large number of systems reliably, without changing
their current deployment processes.You can use DTK in a Microsoft Windows
Preinstallation Environment (Windows PE) or a Linux environment.
What’s New in This Release
The new features for this release include:
•
Added support for the following operating systems:
–
Red Hat Enterprise Linux 6.2 (64-bit)
–
Red Hat Enterprise Linux 5.8 (32-bit and 64-bit)
•
Added support for syscfg option in enabling and disabling boot devices on
Dell PowerEdge x9xx to yx2x systems.
•
Deprecated support for the following operating systems:
–
Red Hat Enterprise Linux 6.1 (32-bit and 64-bit)
–
Red Hat Enterprise Linux 5.7 (32-bit and 64-bit)
Supported Systems
For a complete list of supported Dell PowerEdge systems, see the Dell
Systems Software Support Matrix available at support.dell.com/manuals. On
the Manuals page, click Software Systems Management Dell
OpenManage Releases. Click the appropriate product version to access the
Support Matrix.
Supported Operating Systems
For Windows, DTK utilities support Windows PE 2.0 (32-bit and 64-bit) and
Windows PE 3.0 (32-bit and 64-bit). Using DTK utilities we can deploy the
following Windows operating systems:
Introduction
7
•
Windows Server 2008 SP2 (32-bit and 64-bit)
•
Windows Server 2008 R2 SP1
For Linux, DTK utilities support Red Hat Enterprise Linux Server
version 5.5, update 4 (32-bit). Using DTK utilities we can deploy the
following Linux operating systems:
•
Red Hat Enterprise Linux 6.2 (64-bit)
•
Red Hat Enterprise Linux 5.8 (32-bit and 64-bit)
•
SUSE Enterprise Linux 10 SP4
•
SUSE Enterprise Linux 11 SP2
Toolkit Utilities
DTK contains utilities that allow you to configure the BIOS, Baseboard
Management Controller (BMC), Remote Access Controller (RAC),
RAID controllers, and hard-drive partitions on supported Dell systems.
Additionally, the utilities can be integrated with the sample files provided
with the toolkit to fully configure one-to-many target systems in a scripted
mass system deployment.
NOTE: In a Linux environment, the DTK utilities do not have the .exe extension.
System Configuration Utility
The SYSCFG utility performs the following tasks:
•
Reports and sets BIOS configuration options.
•
Reports and sets BMC/RAC configuration options.
•
Reports and sets user-configurable states.
•
Reports system information, including PCI device detection.
RAID Configuration Utility
The RAIDCFG utility reports and sets RAID configuration options.
RAC Configuration Utility
The RACADM utility reports and sets RAC configuration options for
Dell Remote Access Controller DRAC 5, iDRAC6, and iDRAC7.
8
Introduction
Disk Partitioning Utility
The UPINIT script creates, formats, and populates a Dell Utility Partition.
Replication of DTK Utilities
File Format
The -i and -o options use the .ini file format for system configuration
(SYSCFG) options. All name/value entries that follow the [syscfg] section
header in the .ini file belong to the SYSCFG utility. For an example of the
syscfg.ini file, see "Sample SYSCFG Utility .ini File Format" on page 257.
SYSCFG Replication Rules
Not all BIOS and BMC options can be replicated using the .ini file.
For example, boot sequence and device sequence are only replicated if a
device name list can be supplied. A numerical device list cannot be replicated
since these index values can change from system to system. In addition,
because the service tag information is static, it is not commented out in the
output file or replicated. See the description of each option for further
replication information.
The syscfg.ini file cannot be used across different systems. The file output
operation places system identification information at the beginning of the
[syscfg] section. This information is used to determine if the file can be
accepted as input for a system. The following information is used for
system identification:
•
System ID Byte(s)
•
System Name
•
BIOS Version
If these values do not match the values found on the system, the file input
operation fails.
The following is the SYSCFG behavior during replication:
•
Options not available in SYSCFG are termed invalid options. If SYSCFG
encounters an invalid option in the syscfg.ini file, the SYSCFG
utility terminates.
Introduction
9
•
Unsupported options are options available in SYSCFG but not applicable
on certain systems. If SYSCFG encounters an unsupported option,
SYSCFG logs this option and continues to the next option.
•
Unsupported arguments are arguments valid in SYSCFG but not
applicable on certain systems. If SYSCFG encounters an unsupported
argument, SYSCFG terminates.
For example, the command syscfg –-embsataraid=ahci is not
applicable on some PowerEdge x9xx series systems.
•
SYSCFG logs a message in the log file for each option processed in the
syscfg.ini file. To generate the log file, use the logfile option.
RAID Replication
The RAID replication feature reads the RAID configuration information from
the source system and creates a raid.ini file. This raid.ini file can be applied
to the RAID configurations of the target system. The RAID replication
requires both, the source system and the target system to have similar
RAID controllers.
RACADM Replication
The RACREP.BAT sample script applies RAC configuration options to the
target system based on the configuration information that has been saved in a
configuration file. User input is optional, depending on variables set in the
RACREP.BAT sample script. This script uses the RACADM.EXE utility to
configure the RAC in the target system using the RAC configuration file,
raccfg.ini. The raccfg.ini configuration file is passed as the first parameter to
the RACREP.BAT script. If this parameter is not passed, the default variable
values used in this script are set in the TKENVSET.BAT scripts. An optional
second parameter can be passed to this file, which specifies the IP address
used in configuring the RAC. The raccfg.ini file is generated with the
RACCAP.BAT sample script.
Other Documents You May Need
In addition to this guide, you can access the following guides available at
support.dell.com/manuals. On the Manuals page, click Software Systems
Management. Click on the appropriate product link on the right-side to
access the documents.
10
Introduction
•
The Dell OpenManage Deployment Toolkit Quick Installation Guide
provides information about installing and deploying DTK on supported
Dell systems. The guide is available as part of the DTK download and at
support.dell.com.
•
The Dell OpenManage Deployment Toolkit User's Guide provides best
practice procedures that focus on the basic tasks for successful deployment
of Dell systems.
•
The Dell Systems Software Support Matrix provides information about the
various Dell systems, the operating systems supported by these systems,
and the Dell OpenManage components that can be installed on
these systems.
•
The Dell OpenManage Installation and Security User's Guide provides
additional information about performing an unattended installation of
Dell OpenManage Server Administrator on systems running supported
Windows, Red Hat Enterprise Linux, and SUSE Linux Enterprise Server
operating systems.
•
The Dell OpenManage Server Administrator User's Guide provides
information on using Server Administrator on supported operating
systems.
•
The Dell Update Packages User's Guide provides information about
obtaining and using Dell Update Packages as part of your system
update strategy.
•
For more information on RAID controllers, see Dell OpenManage Sever
Administrator Storage Management User’s Guide on the Dell support site.
•
The Command Line Reference Guide for iDRAC6 and CMC provides
information about the RACADM subcommands, supported interfaces,
property database groups and object definitions for iDRAC6 and CMC.
•
The Integrated Dell Remote Access Controller 7 (iDRAC7) User's Guide
provides information about configuring and using iDRAC7 for yx2x rack,
tower, and blade servers to remotely manage and monitor your system and
its shared resources through a network.
•
The Integrated Dell Remote Access Controller 6 (iDRAC6) Enterprise for
Blade Servers User Guide provides information about configuring and
using an iDRAC6 for yx1x blade servers to remotely manage and monitor
your system and its shared resources through a network.
Introduction
11
•
The Integrated Dell Remote Access Controller 6 (iDRAC6) User Guide
provides complete information about configuring and using an iDRAC6
for yx1x tower and rack servers to remotely manage and monitor your
system and its shared resources through a network.
•
The Glossary provides information about the terms used in this document.
•
The Deployment Toolkit readme files (for Windows PE and embedded
Linux) which is available as part of the DTK download at
support.dell.com, provides the latest available information about the
installation and operation of the DTK components and the list of
PowerEdge systems supported for this version of DTK.
Contacting Dell
NOTE: If you do not have an active Internet connection, you can find contact
information on your purchase invoice, packing slip, bill, or Dell product catalog.
Dell provides several online and telephone-based support and service options.
Availability varies by country and product, and some services may not be
available in your area. To contact Dell for sales, technical support, or
customer service issues:
1 Visit support.dell.com.
2 Select your support category.
3 If you are not a U.S customer, select your country code at the bottom of
the page, or select All to see more choices.
4 Select the appropriate service or support link based on your need.
12
Introduction
Command Syntax Overview
2
Syntax refers to the way a command and its parameters are entered.
Dell OpenManage Deployment Toolkit (DTK) Command Line Interface
(CLI) commands can be arranged in any order as long as they conform to the
basic command line syntax.
Command Line Syntax
The general usage models of the DTK utilities are as follows:
•
SYSCFG
syscfg option1 [arg1] ... optionX [argX]
OR
syscfg bmcoption1 bmcsuboption1
[arg1]...bmcsuboptionX [argX]
•
RAIDCFG
raidcfg [mandatory options]
•
RACADM
racadm
NOTE: The Command Line Reference Guide for iDRAC6 and CMC available on
support.dell.com/manuals provides information about the RACADM
subcommands, supported interfaces, property database groups and object
definitions for iDRAC6 and CMC.
•
UPINIT
For WinPE: upinit --disk=0 --size=32 --file=
t:\upimage.bin
For Linux: upinit --disk=/dev/sda --size=32 --file=
/tmp/upimage.bin
Command Syntax Overview
13
The DTK command line switches, configuration file formatting, and error
reporting follow similar style and behavior. However, individual DTK utilities
can sometimes differ from one another in significant ways. You must
familiarize yourself with the command line syntax and utility-specific options
and arguments for each utility before using DTK.
NOTE: Some of the command line options in DTK are followed by an asterisk.
Such options are used for reporting purposes only.
Table 2-1 lists the generic command line characters and arguments present in
the command line options with a short description of these characters.
Table 2-1. Command Line Syntax
Element
Description
-
Prefix single character options.
NOTE: This delimiter is not applicable to Baseboard Management
Controller (BMC) sub-options.
--
Prefix multi-character options.
utilname
Indicates the generic designation for a DTK utility name.
o
Indicates the generic single-character designation for an option.
optionX
Indicates the generic multi-character designation for a utility name,
where you can use X to distinguish multiple options used in the same
command line instance.
argX
Indicates the generic designation for an argument, where you can use X
to distinguish multiple arguments used in the same command line
instance.
[mandatory
option]
Indicates the generic designation for a mandatory argument.
Indicates the generic designation for an optional argument.
Indicates the generic designation for a string.
Indicates the generic designation for a filename.
[]
Indicates a component of the command line. Enter only the
information within the brackets and exclude the brackets.
14
Command Syntax Overview
Table 2-1. Command Line Syntax (continued)
Element
Description
...
Indicates that the previous argument can be repeated several times in
a command. Enter only the information within the ellipses and
exclude the ellipses.
|
Separates two mutually exclusive choices in a syntax line. For
example:
usb: Turns the usb controller on or off.
Argument: enable | disable | legacy
Enter only one choice: --usb=enable, --usb=
disable, or --usb=legacy.
Case Sensitivity
•
Command line options, pre-defined and user-defined arguments, and
filenames given as arguments are all case-sensitive on PowerEdge systems
prior to PowerEdge yx2x.
•
Unless specified otherwise, enter all commands, options, arguments,
and command line switches in lowercase letters.
Command Line Option Delimiters
Table 2-2 lists some examples of valid and invalid DTK command lines.
Table 2-2. DTK Command Line Examples
Valid/
Invalid
DTK Command Line
Example
valid
syscfg --option1 --option2 syscfg --asset --floppy
invalid
syscfg --option1=argument syscfg --asset=R910
--option2 --option3
--floppy --bootseq
valid
syscfg -o=filename
--option1 --option2
syscfg -o=/tmp/myfile.txt
--floppy --bootseq
valid
syscfg -l=filename
--option1 --option2
syscfg -l=/tmp/myfile.txt
--floppy --bootseq
valid
syscfg -i=filename
--option1 --option2
syscfg -i=/tmp/myfile.txt
--floppy --bootseq
Command Syntax Overview
15
Table 2-2. DTK Command Line Examples (continued)
Valid/
Invalid
DTK Command Line
Example
valid
syscfg --option=argument
bmcoption --option1=
argument
syscfg --embnic=on
pcp --hostname=webserver
NOTE: Do not combine options that specify report or set actions in a command line
instance.
The other delimiters are:
•
White space (space or tab).
syscfg --option=argument1 argument2 considers
argument1 and argument2 as two arguments.
•
A string surrounded by double quotation marks regardless of the white
space contained within, is interpreted as a single SYSCFG argument.
syscfg --option="argument1 argument2" considers
argument1 argument2 as a single argument.
•
A double quotation mark preceded by a backslash (\") is interpreted as a
literal double quotation mark (").
syscfg --option="\"argument" considers "argument as the
argument.
16
Command Syntax Overview
•
Backslashes are interpreted literally, unless they immediately precede a
double quotation mark. If an even number of backslashes are followed by a
double quotation mark, then one backslash (\) is taken for every pair of
backslashes (\\), and the double quotation mark (") is interpreted as a
string delimiter.
syscfg --option="\\"argument" considers \ and
argument as two arguments.
•
If an odd number of backslashes are followed by a double quotation mark,
then one backslash (\) is taken for every pair of backslashes (\\) and the
double quotation mark is interpreted as an escape sequence by the
remaining backslash, causing a literal double quotation mark (") to be
placed in the SYSCFG argument.
syscfg --option="\\\"argument" considers \"argument as
the argument.
Read and Write Commands
Options can report a certain value or set of values based on the presence of an
argument. These read or write actions are implied in the DTK command line
arguments. The get, read, set, or write commands, for example, are not required.
NOTE: You cannot combine options that specify read or write actions in a
command line instance.
Table 2-3. Read and Write Command Examples
Valid/Invalid
DTK Command Line Example
valid
syscfg --option1 --option2
valid
syscfg --option1=arg --option2=arg
invalid
syscfg --option1=arg --option2
File Input and Output Commands
•
Specify the file input using the -i command,
where is the name of the input file.
•
Specify the file output using the -o command,
where is the name of the output file.
Command Syntax Overview
17
Log Files
The -l or --logfile option records
information output on the command line to the specified log file. Each new
line of output is preceded by a time stamp.
If the log file already exists, information is appended to the file. This allows
multiple tools to use the same log file to record information. Use the -l
option to record the output of a utility.
The log duplicates all standard output and error information to the specified
file. Each log file begins with a time stamp and utility name. For example,
YYYY/MM/DD HH:MM:SS -