Configuration diagram from ‘live’ EMC VNX

In my previous article I have described how to make a visualization diagram from a NAR file.
We can do same thing from a ‘live’ array.

Here is a description.

We can get configuration information by Naviseccli – different commands for different components. For example, command ‘naviseccli getrg -disks’ provides a list of RAID Groups and its disks.

getrg

But we have an easy way.

We can get all configuration information by the one command:

# naviseccli arrayconfig -capture output localfile -o

All we need is extracting information from the result file. By default this command produces output in the XML format. So it is an easy task.

I have rewrote my previous utility for the new file format. All the rest are the same.

testarray-v11

We can see unused disks and hidden system LUNs used by VNX File.

The source code is available here: https://github.com/vzaigrin/VNXTools/blob/master/vnxconfigdiagram.py

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s