Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
SmartSetup Scripting Toolkit Deployment Guide: HP Integrity Servers with Linux > Chapter 6 Utilities Reference

cfggen

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

Synopsis

cfggen <controller #> <command> <parameters> ...

Description

Linux RAID configuration utility for LSI controllers; it is a counterpart of cpqacuxe. In SSTK, it is used for applying RAID 1 in LSI 1068 controllers.

The <controller #> is a number between 0 and 255.

Table 6-1 Commands

Commands

Description

AUTO

Create an IR volume without specifying drives.

CREATE

Create an IR volume.

DELETE

Set controller configuration to factory defaults.

DISPLAY

Display controller, volume and physical device information.

ENABLEIR

Enable the IR capability of the controller.

DISABLEIR

Disable the IR capability of the controller.

FORMAT

Perform a low-level format of a SCSI hard disk drive.

HOTSPARE

Make drive a hot spare.

LIST

Lists all available LSI adapters. This command does not require <controller #>.

LOCATE

Turn ON and OFF a drive's Identify LED.

STATUS

Display current volume status information.

SETOFFLINE

Bring a hard disk offline (in IM/IME volumes).

SETONLINE

Bring a hard disk online.

 

The <parameters> are command specific values.

To obtain command help, you can use cfggen <controller #> <command>.

Examples

Example 6-1 cfggen Lst Command

SSTK-v.2.6-4# cfggen list
LSI Logic IR Configuration Utility 2.00.14
           Adapter   Vendor  Device  Segment
SubSys  SubSys  Index    Type       ID      ID      ID     Bus  Device  Func  
Ven ID  Dev ID
-----  ---------  ------  ------  -------  ---  ------  ----  ------  ------
    0     SAS1068   1000h    54h    0000h    02h    01h   00h   
103ch   170dh 

Example 6-2 cfggen Display Command

SSTK-v.2.6-4# cfggen 0 display
SSTK-v.2.6-4# cfggen 0 display
LSI Logic IR Configuration Utility 2.00.14
Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
  Controller type                         : SAS1068
  BIOS version                            : 2.00.14.00
  Firmware version                        : 1.10.01.00
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 63
  Maximum physical devices                : 62
  Concurrent commands supported           : 511
  Slot                                    : Unknown
  Bus                                     : 2
  Device                                  : 1
  Function                                : 0
  RAID Support                            : Yes
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
Initiator at ID #63
Target on ID #1
  Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 1
  Target ID                               : 1
  State                                   : Ready (RDY)
  Size (in MB)/(in sectors)               : 57231/117210240
  Manufacturer                            : ATA
  Model Number                            : FUJITSU MHT2060B
  Firmware Revision                       : 034E
  Serial No                               : NR0LT5625AJP
  Drive Type                              : SATA
Target on ID #2
  Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 2
  Target ID                               : 2
  State                                   : Ready (RDY)
  Size (in MB)/(in sectors)               : 57231/117210240
  Manufacturer                            : ATA
  Model Number                            : FUJITSU MHT2060B
  Firmware Revision                       : 034E
  Serial No                               : NR0LT5625AAG
  Drive Type                              : SATA
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
Enclosure#                                : 1
  Logical ID                              : 50060b00:00c13846
  Numslots                                : 8
  StartSlot                               : 1
  Start TargetID                          : 0
  Start Bus                               : 0
------------------------------------------------------------------------
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007–2008 Hewlett-Packard Development Company, L.P.