This post is more than 5 years old

41 Posts

6564

October 8th, 2008 06:00

Array Fault Status via Command Line?

Is there a specific navicli / secli command to get the fault status of the array via command line? The only way I can guess is to do a getall and then grep the results. Anyone have a better way or scripts to help me out? Thanks.

I've already got scripting for failed drives on the DMX but need one for the clariion.

4 Operator

 • 

4.5K Posts

October 8th, 2008 12:00

You could also try the "naviseccli faults -list" command - from page 109 of the Navisphere Command Line Interface (CLI) Reference manual.
---------------------

faults -list

Lists status information for faulted components on the storage system

Description

The naviseccli faults command with the -list function, provides status information for faulted hardware components, such as enclosures, disks, power supplies, storage processors, standby power supplies, as well as MirrorView/Asynchronous replication software sessions.

Syntax

faults -list is used with naviseccli (described on page 37) as follows:

faults -list

glen

4 Operator

 • 

1.5K Posts

October 8th, 2008 06:00

You may use navicli -h getcrus

Getcrus command returns state information on every CRU (customer replaceable unit) in the storage system, excluding disks (see getdisk command). CRUs displayed with this command include power supplies (vsc), storage processors (sp), fans, battery backup units (bbu and sps), fibre cards (lcc) and cache cards. It also returns speed and type information for enclosures and fibre cards. Although it does not show disks - you need to run getdisks command for that - but if there is any disk failure - that enclosure will show the fault and getcrus will report that enclosure is faulted.

Hope this helps,
Cheers,
Sandip

9 Legend

 • 

20.4K Posts

October 10th, 2008 05:00

looks like it's been available since 6.22, i am assuming you are running flare 6.26 on the array ?

41 Posts

October 10th, 2008 05:00

I get the error.

C:\Program Files\EMC\Navisphere CLI>NaviSECCli.exe -h server -user fake -password fake -scope 0 faults -list
navicli.exe [-p] [-v|q] [-m] [-np] [-t timeout] [-h hostname]
[-d device] [-help] [-f filename] CMD

Possible commands are:
alpa arrayname arraycommpath bind baseuuid
cachecard chglun chgrg clearlog clearstats
createrg emconfiguration failovermode
flashleds firmware getagent getall getarrayuid
getatf getcache getconfig
getcontrol getcrus getdisk getlog getloop
getlun getresume getrg getsniffer getsp
getsptime initializearray inserttestevent luncache
lunmapinfo managedby managefiles mirrorview ndu
networkadmin port r3wrbuff readcru readlun
rebootSP register removerg reserved responsetest
remoteconfig sancopy setcache SC_OFF setloop
setraid5 setsniffer setspstime setsptime setstats
shutdown snapview storagegroup systemtype spcollect
spportspeed trespass unbind unitserialnumber
upload setfeature

Invalid command line parameters

9 Legend

 • 

20.4K Posts

October 10th, 2008 05:00

what version of naviseccli are you running ? I have 6.19 and it does not have "faults -list" feature ..must be new in 6.24+.

41 Posts

October 10th, 2008 05:00

NaviCLI_6.26.0.2.24

9 Legend

 • 

20.4K Posts

October 10th, 2008 06:00

yeah ..unfortunatelly CX600 will only go to 6.19 flare ..so getcrus is your best bet for that box.

41 Posts

October 10th, 2008 06:00

Got the command to run on the cx3-80. But I guess it does not run on older CX600's with older flare code. Hmmm. Thanks for all the help though.
No Events found!

Top