Unsolved
This post is more than 5 years old
337 Posts
0
10502
How do we check the uptime in CLARiiON?
Hi All,
I have a generic question.
How do we check the uptime in CLARiiON?
Do we have to follow the same process to find the uptime in all the CLARiiON models?
Thanks in Advance.
Bashanta.
emc139668
125 Posts
0
April 8th, 2010 06:00
one way is to connect directly to the SPs and run "net stats srv" from the cmd line.
the first line will show you the date and time it last booted up.
"Statistics since 30/03/2010 08:59:27"
not sure if there is a way using cli
Anonymous User
457 Posts
0
July 10th, 2012 04:00
Hi Bashanta,
Please refer the below mentioned discussion :
https://community.emc.com/thread/89394
Regards,
Suman Pinnamaneni
pmorris3
24 Posts
1
July 18th, 2012 08:00
Hi
System Uptime can be read via SNMP at OID, .1.3.6.1.2.1.1.3.0.
Need to make sure SNMP is enabled on the SPs and a read community string set.
There are a number of command line tools - that can be used. Once example at : http://www.net-snmp.org/
Command line with this tool would be:
ssnmpq.exe /h:SANSP_IP /c:public /o:1.3.6.1.2.1.1.3.0 /v
Replace SANSP_IP with the address of the SP, either IP or DNS
Output will be like this:
173.01:53:39.5300000
Value here is in the format : Days:Minutes:Seconds.
Phil
christopher_ime
2K Posts
0
July 18th, 2012 19:00
pmorris,
Nice find! Thanks for sharing!
pmorris3
24 Posts
0
July 18th, 2012 23:00
Hi
I take in SNMP is enabled? Right Community String set?
Phil
pmorris3
24 Posts
0
July 18th, 2012 23:00
Hi
Thanks, Just to note this is a standard OID - if using any SNMP software this is definded in the MIB usually the default MIB. iso.org.dod.internet.mgmt.mib-2
Can use this OID to get uptime from any SNMP enabled device.
Another good one is : .1.3.6.1.2.1.1.1.0 - sysDescr (System Desciption)
In the case of a Clarrion: Model and Flare version are returned.
Eg: "CX4-480 - Flare 4.30.0.0.5.522"
Phil
christopher_ime
2K Posts
0
July 18th, 2012 23:00
Yes, enabled on the SP and community string is correctly typed when issuing snmpget.
For instance, using your other example, I receive the following on the same VNX:
.1.3.6.1.2.1.1.1.0 = STRING: "VNX5500 - Flare 5.32.0.0.5.006"
Also, when querying for the Timeticks on a CX3 and CX4, I do get non-zero values. I'll see if it is consistent on another VNX.
christopher_ime
2K Posts
0
July 18th, 2012 23:00
Thanks again. I do realize the question was originally asked of a CLARiiON; however, curiously, when running it against a VNX SP, I consistently get:
Timeticks: (0) 0:00:00.00
On the other hand I am getting what seem to be accurate values for a CX3 and CX4 I have in the lab. Interesting.
pmorris3
24 Posts
0
July 19th, 2012 06:00
Hi
That is strange, maybe a bug?
Phil
christopher_ime
2K Posts
0
July 19th, 2012 20:00
I agree. I reproduce on other VNX's at various code levels. I'll submit to engineering and will keep everyone posted.
pmorris3
24 Posts
0
July 22nd, 2012 23:00
Hi
Thanks for the update.
Phil