EMC – Unisphere / Analyzer weirdness

Mat came across a weird problem with Unisphere the other day while he was trying to retrieve some nar files for EMC to look at. Normally I like to post solutions up here but in this case I don’t know what the solution is. Previously, it was my understanding that we could retrieve access multiple nar files from multiple arrays in the same domain via the one Unisphere session. This doesn’t seem to be the case anymore. As background, we run 4 CX4-960s and a CX4-240 in a single Unisphere domain. These arrays were all upgraded to 30.525 recently.

Normally, I’d login to one of the arrays and go to Monitoring -> Analyzer and then Retrieve Archive. So far, so good.


But when I change the “Retrieve Archive From:” selection, I get the following.


Notice that I’m trying to retrieve files from the array serial number 0260, but I’m still seeing 0679, even after hitting Refresh. Maybe it’s Unisphere on that array, let’s try another.


Ok, I’ve logged on to array 0260 and can now retrieve the files I want. But do I still get weird behaviour? Yes, yes I do.


If anyone has any ideas, I’m all ears. I think Mat is going to log a call at some stage.


EMC – naviseccli – Getting LUN info from Analyzer stats

So Mat was working on some new features for the DIY Heatmap, or whatever it’s called, and came across this, er, issue with Analyzer.

It seems that the code that you query via Analyzer for the object type is the same for both Pool LUNs and Private LUNs. Check it out on page 37 of the “EMC Unisphere Analyzer Command Line Interface (CLI) Reference”, revision A06, EMC P/N 300-004-210. So what we’ve been trying to incorporate is a LUN heatmap in the script. But this is going to be a problem if, for example, you have MetaLUN components, or Reserved LUN Pools, in combination with FAST VP Pools. Or have we missed something critical here?


EMC – naviseccli – how to retrieve an Analyzer archive file

This is a quick and dirty post, but it might be handy if you’re trying to get hold of a current snapshot of a VNX or CX4’s performance. I’ll try and do some more thorough documentation over the summer (that’s now for those of us south of the equator).

In the olden days, you used to have to use  archiveretrieve.jar (included with Navisphere CLI) to retrieve Analyzer archive files. Now it’s built in to naviseccli. So here’s how to create and download an archive file from your VT-420.

Microsoft Windows [Version 5.2.3790]

(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\dan>naviseccli -h SPA -user dan -scope 2 analyzer -archiveretrieve -file test.nar -location c:\temp -v

Enter password:

Launching create archive

Creation of archive is complete.

Attempting to retrieve file from array

Retrieve is complete.

C:\Documents and Settings\dan>cd \temp


Volume in drive C has no label.

Volume Serial Number is 74AA-B144

Directory of C:\temp

12/12/2011 07:40 AM <DIR> .

12/12/2011 07:40 AM <DIR> ..

12/12/2011 07:40 AM 1,178,304 test.nar

20/01/2010 12:17 PM 38,000 trap_eventlog.cfg

22/10/2010 10:52 AM 0 vlan.log

3 File(s) 1,216,304 bytes

0 Dir(s) 8,520,433,664 bytes free


In this example I’m using  -scope 2 to specify that I’m using LDAP credentials, -file to specify a file name for the archive (traditionally with a .nar extension), -location to specify the location of the downloaded file, and -v to tell me what’s going on. I hope that’s useful and like I said I’ll try and talk some more about scripted archive manipulation and stuff in the near future.