This post is more than 5 years old
41 Posts
0
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.
I've already got scripting for failed drives on the DMX but need one for the clariion.
No Events found!



kelleg
4 Operator
•
4.5K Posts
0
October 8th, 2008 12:00
---------------------
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
nandas
4 Operator
•
1.5K Posts
1
October 8th, 2008 06:00
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
dynamox
9 Legend
•
20.4K Posts
0
October 10th, 2008 05:00
lunz3
41 Posts
0
October 10th, 2008 05:00
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
dynamox
9 Legend
•
20.4K Posts
0
October 10th, 2008 05:00
lunz3
41 Posts
0
October 10th, 2008 05:00
dynamox
9 Legend
•
20.4K Posts
0
October 10th, 2008 06:00
lunz3
41 Posts
0
October 10th, 2008 06:00