Monday, October 29, 2012

HP LeftHand SAN - CMC Support Mode Settings

Post in a nutshell: See below for a command to allow you to see (once again) Snapshot behavior in the HP / Lefthand / SanIQ CMC where the Snapshot doesn't disappear until it is actually done moving data pointers!!


Do you miss the old HP (LeftHand) P4000 Centralized Management Console?  You know, the one that used to actually tell us how much data a snapshot was consuming and what was going on with it?  It used to be that when you deleted a Snapshot you could instantly see the Snapshot above it get allocated space added to it, then you'd see the data consumed in that Snapshot grow, and the data in the one you deleted shrink, until gone, then it would disappear.

Well I guess, unlike Lefthand, HP decided they needed to dummy-it-down for us.  Now you get no Snapshot data and when you delete a Snapshot it instantly disappears.  Now it doesn't really disappear instantly, it still has to roll-up the data pointers to the Snapshot above (or back into the main volume if no Snapshots exist), but it gives the appearance of just vanishing instantly.  However, it could be churning for hours before it is actually done.  I think it is more confusing now because for the Idiot Admins that they dummied-it-down for, they will wonder why deleting the Snapshot did not give them any space back on their SAN as instantly as the Snapshot disappeared.  This is because it doesn't report the reclaimed space until it truly is deleted.  So it could be hours before they see it.  In the mean time they could have started frantically whacking more Snapshots trying to reclaim space - which may actually have the reverse effect at first.

Reverse Effect??  Yes, when you delete a Snapshot, it has to allocate MORE space to the Snapshot above to give it room to copy the data pointers.  If you are at 95% capacity and you start deleting Snapshots, you could see it jump to 99%... Yikes.  That wasn't intended!!    Not to fear... if you wait (long enough) you will get the reclaimed space.  But boy... it should would be nice to know what is going on in the background!!

Well, I found one HP tech support guy that threw me a few bones. I won't name him in-case he was not supposed to share this.

I still can't see Snapshot data info... BUT, what he did share does help a little.  He shared a parameter file switch that changes the behavior of the CMC so it does not instantly remove deleted Snapshots from the CMC view.  It just changes the status to "Not Available, Deleting".  Now this seems pretty simple, but it can be huge; just to (at least) know that you have snapshots hanging out there deleting.  If you delete 10 Snapshots in one fell swoop for example, it will be very nice to know when they are all done.  Well... to me anyhow.  I wish I could see the data also, but hey, this is better than nothing.

Here is all you do:


1.  Close the CMC (if open)
2.  For the user that runs the CMC, navigate in Explorer to directory
    C:\Users\<UserName>\.storage_systems
3.  Open the preferences.txt file in an editor (notepad)
4.  Add the following line to the end of the file
     CmcSnapshotPreference.showAutoAndDeletingSnapshots = true
5.  Save the file, exit the editor
6.  Launch the CMC

Now when you delete Snapshots they won't just disappear, their status will change to "Not Available, Deleting", until they have been rolled up.

The unfortunate part of this is that when you exit the CMC it will delete this "big boy" setting so you need to apply it anytime you want/need this functionality.  You could get around this by making the file read-only, but you will get an error each time you exit the CMC saying it couldn't write to the file.  If you can live with this that's fine, but also know that if you change anything in the GUI preferences (HELP/PREFERENCES... menu), it will not be able to write those changes.  Also, it could have other unforeseen consequences so do this at YOUR OWN RISK.

For the life of me, I'm not sure whey they don't make this a check-box preference in the CMC GUI; or at least let the command stick in the config file!!!  But it is what it is.

*** This is exclusive information by-the-way, as of this posting, this command is nowhere in cyberspace (at least according to Google)! ***


Enabling Support Upgrades

Now in researching this, I was also given these additional commands (which is more in-line with what I think he meant with "Big Boy Mode".)  By default, when you apply patches, the CMC will do this sort of on auto-pilot to all nodes in a management group. These commands adds a "Support Upgrades" tab to the CMC where you can manually apply specific patches to specific Nodes.  Add these to the preferences.txt file mentioned above.

CmcSystemPreference.supportMode = true
CmcUpgradePreference.useOldUpgrades = true
CmcUpgradePreference.advancedUpgradeMode = true  

Again, these will disappear when you exit the CMC.


Where's this new "Support Upgrade" tab??   Click on the "Configuration Summary" item in the tree, then you will see the new tab on the right.


restripe pending because of cluster edit or migration
data protection degraded

5 comments:

  1. NICE! Thank you, thank you, thank you. the setting is not as detailed as it was but better than nothing. great job.

    ReplyDelete
  2. Great stuff. Thank you!

    ReplyDelete
  3. caution !! while using support upgrade mode as user will have to verify the volumes finished restriping/resynching
    before moving on to next node . CMC Auto-upgrade mode takes care of this .

    ReplyDelete
  4. Thanks a lot for sharing the content. Really a nice blog and great kind of information is provided by you. We provide quickbooks technical support number +1-800-901-6679.

    ReplyDelete
  5. MapleStory.es - 3D isometric adventure MMORPG<

    Download MapleStory and start the game.

    https://maplestory.es/

    MapleStory is a free to download 2D online video game of the MMORPG genre, created by the Korean company Wizet. Although the game is free to play, it includes other items that can be purchased for real money. Around the world, the game has millions of users. The story of the game is about some travelers who seek to save the Maple World from the terrible Black Mage. In this plot, the travelers become stronger as they eliminate the enemies of the game, many creatures of different appearance. As they advance in level, travelers choose the paths and disciplines to follow, which we will detail below.

    What is MapleStory?
    MapleStory 2 is a 3D isometric adventure MMORPG in which players create their own character and select one of several jobs to explore the new Maple World. Players will find several NPCs with various Quests, Monsters, and Bosses from the previous version, as well as completely new ones to fight against. The game also features dungeons and raids for players to team up with each other to complete.

    Out of action
    There are also a variety of activities for players to participate in, such as buying and building personal homes, crafting with Life Skills, fishing, composing music, creating custom user content such as custom clothing, and much more.

    History of the last UPDATE
    Nexon published the first closed beta test of the global version which ran from May 9, 2018 to May 16, 2018, and a second closed beta ran from July 18 to August 1, 2018. The game launched on October 10, 2018 with players who purchased a Founder's Pack on or after October 1, 2018. On Wednesday, May 27, 2020, Nexon ended service for the global version of MapleStory 2.

    https://maplestory.es/

    ReplyDelete

Please let me know if this helped you out, or if you would like to submit other suggestions or correct something I may have mis-stated.

About Me

My photo
Science Fiction Author / Vice President of Technology for The Christman Company