Skip to content
Virtual Storage Zone
Virtual Storage Zone

Primary Navigation Menu

Menu
  • Home
  • About Me
  • Business
  • Infrastructure
  • Podcast

symmetrix

Symmetrix LUN Reporting

I was browsing the ECN Symmetrix Forum when I ran across this post where someone was asking for a summary of capacity allocated to each storage group – something you can easily get with ControlCenter or ProSphere but not with the SymCLI.  Don’t get me wrong, SymCLI cave give you the information just not in a nice easy command.  So I duh out a script to share.     You just run this script and specify the SID and watch it come back with a list of ever device allocated sorted by storage group. [code]LUN, SG, Pool, Size, Allocated, Written, Compressed Size, FAs 1424,TestSG1,SATA_R6,275.0,226,257.8,226.9,”FA-9E:1,FA-7E:1,FA-10E:1,FA-8E:1″ 0C77,TestSG1,SATA_R6,300.0,237,283.4,237.4,”FA-6E:1,FA-3E:1,FA-4E:1,FA-5E:1″ 0A4D,TestSG2,FC_R5,150.0,98,99.0,98.5,”FA-6E:1,FA-3E:1,FA-4E:1,FA-5E:1″ 0C60,TestSG2,FC_R5,100.0,6,50.8,6.1,”FA-6E:1,FA-3E:1,FA-4E:1,FA-5E:1″ 0A02,TestSG99,FC_R5,50.0,5,12.0,5.7,”FA-6E:1,FA-3E:1,FA-4E:1,FA-5E:1″ [/code] This can take a little while to run – but it’s easy for reporting allocations.Read More →

2013-05-02
By: Mark May
On: May 2, 2013
In: Storage

Reporting Symmetrix Tier Usage by Storage Group

Someone on the Symmetrix Support Forums on the EMC Community Network was asking for a way to report on Tier Usage by Storage Group. That’s pretty simple and easy to see with the following command: [box]symfast -sid xxxx list -demand –association[/box] However that is raw output and even if output is XML it’s just not that easy to parse into Excel.  So I decide to write a quick perl script to parse the output and turn it into a CSV.   It’s fairly simple,  but you do need to edit the script to specify the name of all your tiers. That is done on line 15. [box]my @tiers = (‘R5_SSD’, ‘R5_FC’, ‘R6_SATA’); [/box] Each tier just needs to be added as an element to the array.  Then you just run the perl script passing the SID of the array in question and you’ll get a CSV showing the Storage Group, Demand, Usage, and Growth like this: [box]SG,Read More →

2013-02-22
By: Mark May
On: February 22, 2013
In: Storage

Symmetrix Meta LUN reporting Perl script

This afternoon I was checking out my thin pool statistics when I noticed one of the pools had a significantly higher allocation usage than I was expecting.  I started digging into my documentation (I track every device created in a postgres database for tracking and trending) to see if a whole lot of devices we created over the weekend – and none were.  I started looking for an easy way to find bound luns that are not in a storage group – nothing!  I started to write my own shell script and the next thing you know I ended up with an inventory Perl script which tracks every meta device including lun id, thin pool, storage group, total thin allocation in Gb, and the FA ports they are bound to.   It’s simple enough to get with SMC but that is a lot of clicking.  So here it is! [box] ./inventory.pl lun_id,size,thin_pool,gb_alloc,%_alloc,gb_written,%_written,sg,FAs 11AA,200, 450gb_R5,97,49,95,48,StorageGroup,”FA-7F:0,FA-10F:0,FA-9F:0,FA-8F:0″ 2C2D,75, 2tb_R6,0,0,0,0,,””[/box] TheRead More →

2013-02-19
By: Mark May
On: February 19, 2013
In: Storage

Creating Virtually Provisioned Thin Devices using Perl on the EMC VMAX

As a storage administrator one of most boring tasks I have to do is making and allocating new storages to hosts.  To me it’s the equivalent of creating a user.  Easy to do, but very boring.  If you know me at all, which you probably don’t, you know I hate boring.  For a lot of people it’s just a few right clicks in SMC/Unisphere and you’ve got yourself a new LUN.   For me it’s a quick SSH into a server with SYMCLI, a few edits to files, a few commands, and bam. I’d rather spend my time working on future planning, new architecture, or almost anything else. I finally had enough free time to write some Perl code which parses a simple text file to create new Meta devices on an EMC VMAX array. Actually creating a new Meta device is a fairly simple thing: First you create the thin devices, then you combine them all togetherRead More →

2013-01-29
By: Mark May
On: January 29, 2013
In: Storage

Recent Posts

  • Remote Offices shouldn’t be second class citizens
  • vBrownBag tackling VMworld (CTO Advisor #57)
  • Talking Intel Optane with James Myers (CTO Advisor #056)
  • Cloudified Snapshots done two ways
  • What the heck is tail latency anyways?

Copyright 2012-2016 Mark May. All Rights Reserved.