Category Archives: Storage array - Page 2

How to expand a LUN on VNX using the CLI

Once in a while you come across a storage system that cannot be managed through the GUI or you just want to script or use the CLI to perform management tasks on a VNX. Recently I came across an old VNX2 which GUI wasn’t responding the way I’d like, so I decided to use the CLI instead.

In this particular case I needed to expand a LUN.

First I listed the current size:

naviseccli -h [SPA/B ip#] -user [user] -password [password] -scope [scope] getlun [LUN#]

Then I expanded the LUN to the new size:

naviseccli -h [SPA/B ip#] -user [user] -password [password] -scope [scope] lun -expand -l [LUN#] -capacity [new capacity] -sq [mb/gb/tb/bc]

Pay attention to the number and the prefix! It could be a lot of work if you needed to resize a LUN from 50GB to 60GB and instead GB, you used TB…..

And finally I checked if the new size was actually available:

naviseccli -h [SPA/B ip#] -user [user] -password [password] -scope [scope] getlun [LUN#]

Sometimes CLI is so much easier than the GUI!

Read more »

How to remove an offline VNX from a Unisphere domain

When decommissioning a VNX, I recently forgot to remove the array from the existing domain. After the VNX was “unracked and unstacked” I saw my mistake and tried to remove it from the domain by using the “add/remove systems” in Unisphere, but the remove-button was grayed out. Even engineering mode didn’t help me.

There is another way to remove unwanted VNXs from a domain! You might have guessed it already, because it’s by using the command line!

First you’ll have to find out what existing VNX is the domain master. This can be done in Unisphere by looking up the current master. Click on “Domains” followed by “Select Domain Master”.

The outcome will show you the list of domain in the domain as well as the current master.

Now you can open a command line box and enter the following command to deleted the unwanted VNX from the domain:

naviseccli -Address -User -Password -Scope 2 domain -remove

How to create a snapview snapshot on an existing LUN

I apologize in advance for this (6 years or so too late) post, since it’s for creating a snapview snapshot on a LUN on a VNX. It’s simply meant as a reminder for the command line syntax:

Examples for creating snapview snapshots (it only defines it, no COFW is happening at this point):
naviseccli -h 172.16.20.96 snapview -createsnapshot 17 -snapshotname VMFS-001-SNAP
naviseccli -h 172.16.20.96 snapview -createsnapshot 18 -snapshotname VMFS-003-SNAP
naviseccli -h 172.16.20.166 snapview -createsnapshot 27 -snapshotname VMFS-002-SNAP
naviseccli -h 172.16.20.116 snapview -createsnapshot 5 -snapshotname VMFS-004-SNAP

To start an actual point in time session (and the start of COFWs):
naviseccli -h [ip address] snapview -startsession [session name] -snapshotname VMFS-001-SNAP

To stop a session:
cnaviseccli -h [ip address] snapview -stopsession [session name]

To activate a snapview session (make the data visible):
naviseccli -h [ip address] snapview -activatesnapshot [session name] -snapshotname VMFS-001-SNAP

To deactivate a snapview session (stop presenting the data to the hosts):
naviseccli -h [ip address] snapview -deactivatesnapshot [session name] -snapshotname VMFS-001-SNAP

Dell EMC World 2016 Austin, TX, USA

Dell EMC World 2016

You’ve all heard the news last week (at least, I think you did): On September 7 the huge merger between Dell and EMC took place, making the Dell Technologies transaction the biggest technology company integration in history! So the digital transformation is really here, and Dell Technologies / Dell EMC is leading the way. From October 18 to 20, Dell EMC will host business and IT leaders from around the world for the biggest enterprise technology event of the year, Dell EMC World 2016 in Austin, Texas. And I received an invite to join the EMC Elect and Dell Rock Stars to report on the news that Michael Dell and others will bring us. Many thanks go to Mark Browne, who made sure EMC Elect people were invited to be present at this event. We’ll be in super secret influencer meetings, sneak peek preview breakfasts and we’ll be sitting in a reserved seat section to watch Michael Dell perform on stage! Yeah, I’m pretty excited! After being invited to the VNX2 launch in Milan in 2013, I’m once again present at a major event as part of the EMC Elect.

Read more »

Useful EMC VMAX CLI commands

VMAX

Over the years I collected a number of useful CLI commands to control the DMX / VMAX machines I worked with. Even though nowadays Unisphere for VMAX is a useful tool, nothing really beats the command line!
Read more »