EMC VNX – Combine NAR files. The EASY way

Anyone who has worked at length with EMC Clariion or VNX would be familiar with the good old NAR files. These are the important little files where statistics about array performance are saved/archived, so you can them open them in Analyzer and review the massive amount of performance metrics and data stats from your array.

One tedious task when you want to do this, is the merging of the files to create your analysis timeline. Retrieve, browse, select merge, wait, browse, select, merge wait. Blah I have better things to do !

One rainy afternoon, with the assistance of some very mediocre coffee, I spent a couple of hours writing a powershell script to do just that. Take a bunch of NAR files in one location, merge them all together and give me one nice, big NAR file, that I can then analyze.
The code is a bit raw and when I have more time I will condense it down, but it does work well 🙂

…..and here it is;


1. Save your collection of NAR files into “c:\EMCFILES\Source”   (these will be deleted after completion)

2. Create “c:\EMCFILES\Completed” to store the output files

3. Make sure you have naviseccli installed and configured.

4. Change ‘arrayaddress‘ to the hostname/ip of your array

5. Execute from a powershell shell

6. Have some decent coffee available to you.

Script running in progress;

10-11-2014 7-21-52 PM



The script will roll the NAR files together into one contiguous file, and name it using the first 29 chars of the first NAR file in the source directory.

10-11-2014 7-22-20 PM














This naming works for me but can be easily changed. Enjoy.

Related Post

3 thoughts on “EMC VNX – Combine NAR files. The EASY way

  1. Hey Brett,

    What’s the biggest .nar file that you are able to view? Is there a hard limit within the java config (memory size) or just physical resources that may limit it?

    1. Hi Abe, I’ve never hit a limit in practical use. Typically I’ll be analyzing 1 – 2 weeks of data so the NAR’s may have had a total size of up to a few hundred MB.

      I’m certainly not aware of any limit, and couldn’t find once in the BP guides.


Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: