Using Dell OMSA in CLI

Using Dell OMSA in CLI

 

Dell Open Manage Server Administrator (OMSA) provides a comprehensive, one-to-one systems management solution through either an integrated Web browser-based graphical user interface (GUI) or a command line interface (CLI).

Using the omhelp Command

The omhelp command and its equivalent, < command> -? (ex. “omreport -?”), accesses the detailed help-text interface of Command Line Interface (CLI). You can get help at several levels of detail.

omreport -? omreport Reports component properties. The available command(s) are: Command Description about Product and version properties. system System component properties. preferences Report system preferences. chassis Chassis component properties. storage Display storage component properties. licenses Displays the digital licenses of the installed hardware devices " src="file:///C:/Users/dave.hagel/AppData/Local/Packages/oice_16_974fa576_32c1d314_13d4/AC/Temp/msohtmlclip1/01/clip_image001.png" vspace="5" hspace="12" v:shapes="Text_x0020_Box_x0020_2">

 

 

 

Viewing System Status

 

To see a list of valid commands for omreport system, type:

Omreport system -?

Commands

Command Level 1

Command Level 2

Applicable To

omreport

modularenclosure

Blade systems

 

servermodule

Blade systems

 

mainsystem

Blade systems

 

system

Rack and Tower systems

 

chassis

Rack and Tower systems

 

preferences

Blade or Rack, and Tower systems

Storage Commands

To see a list of valid commands for omreport storage, type:

Omreport storage -?

Commands

Command Level 1

Command Level 2

Command Level 3

Use

omreport

storage

 

Displays a list of storage components for which omreport commands are available.

 

 

pdisk

Displays a list of the omreport storage pdisk parameters for displaying physical disk information.

 

 

vdisk

Displays a list of omreport storage vdisk parameters for displaying virtual disk information.

 

 

controller

Displays a list of the omreport storage controller parameters for displaying controller information.

 

 

enclosure

Displays a list of the omreport storage enclosureparameters for displaying enclosure information.

 

 

battery

Displays a list of the omreport storage battery parameters for displaying battery information.

 

 

globalinfo

Displays a list of the omreport storage globalinfo parameters for displaying global storage property information.

 

 

connector

Displays a list of the omreport storage connectorparameters for displaying connector information.

 

 

cachecade

Displays a list of the omreport storage cachecadeparameters for displaying cachecade properties.

 

 

pciessed

Displays the properties of the PCIe SSD subsystem.

 

 

fluidcache

Displays the fluid cache properties and the associated fluid cache disks.

 

 

fluidcachepool

Displays fluid cache pool properties.

 

 

partition

Displays the partition details of the specified virtual disk.

 

 

fluidcachedisk

Displays the fluid cache disk properties.

 

Storage Commands

Results

omreport storage controller 

Shows controller information as mentioned above

 

omreport storage pdisk controller=0 

Shows the status of the physical disks in the server.

 

omreport storage vdisk controller=0 

Shows the raid information on the server.

 

 

View Logs

Command

Description

Omreport system alertlog

view the contents of the alert log

Omreport system cmdlog

view the contents of the command log

Omreport system esmlog

view the contents of the ESM log

 

Clear Logs

Command

Description

omconfig system esmlog action=clear 

Clear the SEL

omconfig system alertlog action=clear 

clear the alertlog

omconfig system postlog action=clear 

clear the postlog

 

Other Useful Commands

 

Command

Description

omreport about details=true

Shows OMSA version

omreport system version

This will give you the firmware of the perc, bios, drac, omsa, and the lifecycle controller, as well as the OS version.

omreport system summary

More data.  Chassis data, iDRAC data, procs, mem, bios, etc

omreport storage battery

This will give you an idea of what status the battery is in.

omconfig storage battery action=startlearn controller=0 battery=0

If you need to force a learn cycle.

opt/dell/srvadmin/sbin/srvadmin-services.sh restart  *or stop/ start

Restart OMSA