Monday, January 26, 2015

Compellent VMware - Slow add of Thick Provision Eager Zeroed Hard Disks.

One of our VMware environments uses the Compellent SC8000 for it's storage.  We noticed that over time,  the time it takes to add a Thick Provision Eager Zeroed Hard Disks would drastically increase.

This greatly affected the creation of new VMs, adding of hard disks and VM restores using Commvault.

Some Numbers...
On a newly created datastore, adding a 25GB drive to an existing VM took roughly 20 seconds.

That same VM was storage vMotioned onto an existing datastore and the process of adding a 25GB Hard disk took 30 MINUTES.  This datastore had plenty of free space to accomodate the VM and the newly added drive.

To resolve this issue, use the Thin Provisioning Block Storage reclamation (UNMAP) primative.  This process allows deleted blocks to be reclaimed on thin provisioned LUNS that support the VAAI UNMAP primative. This process is manual and must be run in each Datastore.

1.  SSH into an ESXi host that is attached to the Datastore you wish to run the SCSI UNMAP procedure on.

2. Drill down to the datastore and run the vmkfstools -y command.  The value at the end is the percentage of deleted blocks to reclaim.  In this example, I'm reclaiming 50%.

Although the process takes only 30 seconds to complete for a 1TB datastore,  I would recommend performing this task after hours.

vmkfstools -y 50


3. As a safe measure, the command was run a second time on the same datastore.  This time specifying 60%.

Note: This command has been deprecated and replaced by esxcli storage vmfs unmap in ESXi 5.5. 

Hard Disk creations and additions are now back to their normal speed.

Here are some before and after numbers as seen from the Compellent side:



References:

Tuesday, January 20, 2015

Fix: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

I had a request for a Static MAC address for one of my VMs.  I've been using a little tool called vmmacgen since 2005 to randomly generate a static MAC for me.  I SCP'd the file to my fresh install of CentOS 7, extracted the .gz and received the following error when I tried to run it:

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
 
Luckily this was a quick fix.  Just run the following command to install the proper components and you'll be able to run the app (No reboot necessary):

yum -y install glibc.i686 
 I was then able to successfully run the tool:
















Saturday, January 10, 2015

Passed! VCP5-DCV Delta Exam - Exam code VCP550D

***01.11.16 I don't know if VMWare is being generous or they're getting desperate...  Exam has been extended AGAIN until March 31th 2016***

***05.21.15 Update: Looks like the exam was extended YET AGAIN until Sept 30th 2015***

***03.12.15 Update: Has this exam been extended again until May 8th 2015?***




https://mylearn.vmware.com/mgrReg/plan.cfm?plan=51919&ui=www_cert

Back in March 2014, VMware announced that their certifications will begin having expiration dates.  Existing VCPs have the option of taking the VCP5-DCV Delta exam to recertify.

 On December 11th, I received 4 emails stating my VCPs for ESX Server 2, VI 3, VCP 4, and VCP 5 were expiring in 3 months.  This email was the kick in the pants that I needed to begin studying for the Delta Exam.

Here are the steps I took:

1. Request authorization to retake the exam.  This process took about an hour.
 https://mylearn.vmware.com/mgrReg/login.cfm?ui=www_cert&RedirectURL=https%3A%2F%2Fmylearn%2Evmware%2Ecom%2FmgrSurvey%2FquizExtVerify%2Ecfm%3Fcourse%3D239201%26ui%3Dwww%5Fcert&sslRedirect=1

2.  Download the Exam Blueprint. Yeah, this was useless....  it pretty much included EVERYTHING!

3.  Participated in the free 1 hour What's New Fundamentals V5.5 course.
https://mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu&a=one&id_subject=51301

4.  I built up a fresh vSphere 5.5 lab using the vCenter Appliance.  My co-workers and I lovingly call it our "Ghetto Lab".  Nothing fancy but it get the basics done.

5.  When you register for the exam through Pearson Vue, you have 2 days to start and complete the exam.  The cost was a reasonable $120.

Although the exam details specify "new material" between 5.0/5.1 and 5.5, there were quite a few operational and general questions regarding vSphere 5.  Alot of the notes I took back in 2012 for the 5.1 exam were relevant for this delta exam.   That said, for my studies, I focused on the following new 5.5 features - vSAN, vSphere Flash Read Cache, vCOPS/vRealize, vSphere Replication and vDP.

My transcript was promptly updated the following day.

If you're a current VCP5-DCV, you have through March 10, 2015 to take the exam.

It's not too bad.  Study hard and Good luck!