Posts

Powershell: Convert VMware NAA value to Frame and Device ID (for vMax and Symmetrix)

Summary: Found a script to convert the naa value to device id, but not return the frame info.  So I augmented it to parse that info out as well. Script Module: Function Convert-NaaIdToVmaxFrameAndDeviceId ( $naa ) { # Original -> http://vmwise.com/2012/06/01/naa-ids-and-breaking-them-apart/ if ( $naa .length -ne 36 ) { " NAA value must be 36 characters " ; break } $deviceString = $naa .ToCharArray() # Prepended w/ Frame info. $device = ( " Frame $($deviceString[20])$($deviceString[21])$($deviceString[22])$($deviceString[23]) Device " ) $device += [ char ][ Convert ]:: ToInt32 ( " $($deviceString[26])$($deviceString[27]) " , 16 ) $device += [ char ][ Convert ]:: ToInt32 ( " $($deviceString[28])$($deviceString[29]) " , 16 ) $device += [ char ][ Convert ]:: ToInt32 ( " $($deviceString[30])$($deviceString[31]) " , 16 ) $device += [ char ][ Convert ]:: ToInt32 ( " $($deviceString[32])$($de...

SCOM Adapter Configuration for vCOPs

Image
Summary: I wanted to test the SCOM adapter in vCOPs to see what data I could get and see how it could be used.  Unfortunately, the VMware video demonstrating it's installation did not work for me without some tweaks. Config: vCOPs 5.7.1 (vApp) SCOM Adapter Build  1036195 Installing the Adapter: Log into your vCOPs admin page (Usually https://vcopsServer/admin) Select the Update tab and upload the 'pak' file Accept the EULA, wait. Pretty much the same as updating vCOPs  @ this point. Once completed, you need to log into the custom UI (https://vcopServer/custom) as an admin. If you setup LDAP and made your account an admin, you're good.  Otherwise, you can login as the same admin account as the admin page. Once in the custom UI screen, hover over admin and select 'support' Select the 'Info' tab, click the gear to start the 'describe' process. Once the process is completed you should see the SCOM adapter availabl...

An error occurred while restarting virtual machine after taking a snapshot.

Summary: I was receiving the above error usually immediately after netbackup attempted consolidating the backup. VMware KB: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033571 My particular issue: Seemed to revolve around the fact that I had "Storage I/O" control enabled on my datastores that was causing this issue.  It was odd that only 1 VM seemed to be affected, but after turning it off the symptoms stopped.  Reading the KB above seems to allude to this fact, but I'm still researching. My resolution: Turning off Storage I/O control.

UCS LDAP Authentication "Domain Users" will not work

[Update: Cisco has opened a bug for this.  Expected to be fixed in 2.2 release, but you can track the progress here:  CSCui60138 ] Summary: In my previous post, I hypothesized that "Domain Users" simply contained too many members.  I was wrong. Details: After performing a couple of packet captures, I found that "Domain Users" was not an attribute returned in the "memberOf" property.  This seems to be a known response as "Domain Users" is typically classified as a "PrimaryGroup" and is therefore recorded in the "PrimaryGroupID" attribute. Since UCS is only looking @ the "memberOf" attribute, "Domain Users" would not be returned.  I've made Cisco TAC aware of this discovery.  Whether it gets added as a bug or is simply relegated as a low hanging feature request is anybodies guess.  In the very least, I feel better to get this monkey off my back. UCS Version: 2.1(1a) UCS LDAP Workflow (as how...

VCM5034 - Troubleshooting w/ Log Insight and vCOPs @ Cox Communications Extras!

We unfortunately did not demo the vCOPs integration w/ Log Insight.  I did record those videos though so I figure I would share them here.  No audio, but just videos. Here we are demonstrating the 'context' awareness menu where you can select an object in vCOPs, in this case a VM, and jump into Log Insight w/ a pre-populated query.  It's only context aware from the aspect of object selection, meaning, the VM and the host it's running on, but imagine the integration possibilities. This second video just shows how you can make custom queries and just by aspect of those entries showing up, send an associated alarm to vCOPs for tracking/notification purposes.  The video shows you the idea of finding 'cloned vm' entries and having log insight insert those as a specific type of alert in vCOPs.  The video is poorly edited and is meant to show you the 'concept': Anyway, feel free to post comments here.  I'm always monitoring and willing to answe...

Shameless TrainSignal Plug (Although their online courses are pretty good)

Image
Top virtualization skills to boost your career - An infographic by the team at

VCM5034 - Troubleshooting w/ Log Insight and vCOPs @ Cox Communications.

Image
My coworker Mike Regan and I submitted a session for VMWorld and we were accepted.  Our session is scheduled for Tuesday August 27th @ 11:30am.  Bring your lunch and see us demonstrate how we use vCOPs and Log Insight in our daily lives. Unfortunately Mike won't be able to make it, so my other coworker, Jason Davis, will be taking his place. We'll try to keep you entertained, but if you need to throw-up in the middle of our session, please step outside to do so.