SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Windows Server 2003 and Windows Server 2008 for Itanium-based Systems

6 Utilities reference
This chapter contains reference information and usage examples for the utilities provided in the
toolkit. You can get online help for each utility by using the -h or -? option.
cfggen
Synopsis
cfggen controller # command parameters ...
Description
The cfggen utility is a RAID configuration utility for LSI controllers, and a counterpart of the
Array Configuration Utility (ACU). In SSTK, this utility is used to apply RAID 1 in LSI 1068
controllers.
Options
controller #
A number between 0 and 255.
command
One of the following values:
auto
Creates an IR volume without specifying drives.
create
Creates an IR volume.
delete
Sets the controller configuration to the factory defaults.
display
Displays the controller, volume, and physical device
information.
hotspare
Makes the drive a hot spare.
setoffline
Makes a physical disk in a volume offline.
setonline
Makes a physical disk in a volume online.
status
Displays the current volume status.
parameters Parameters specific to each command. The delete, display, and status
commands have no parameters.
auto command
cfggen controller # [auto] volume type size [qsync] [noprompt]
volume type
The type of the volume to create. Valid values are
IM/RAID1, IME/RAID1E, and IS/RAID0.
size
The size (in Mbytes) of the volume to create. For example,
2048. Alternatively, specify MAX to create a volume the
maximum possible size.
qsync
Specifies a quick synchronization of the two drives in an
IM volume. This parameter is optional.
prompt Directs cfggen to eliminate warnings and prompts.
create command
cfggen controller # [create] volume type size { SCSI ID |
Encl:Bay }... [qsync] [noprompt]
volume type
The type of the volume to create. Valid values
are IM/RAID1, IME/RAID1E, and IS/RAID0.
size
The size (in Mbytes) of the volume to create.
For example, 2048. Alternatively, specify MAX
to create a volume the maximum possible size.
cfggen 41