Are you starting or advancing your career in IT?

When Neil asked me a piece of advice on the subject I was just having conversations with customers on how will our world change in the near future.

A lot of these conversations are based on the introduction of conteinerized applications and this is what I am going to write as soon as I have enough time, hopefully soon enough.

Anyway Neil did a tremendous job in collecting opinions from experienced field engineers and IT experts so if you want to read what I answered him and what many others had to say go check his blog: http://www.flackbox.com/best-it-career-advice/

I think we should thank Neil for this huge source of information that is useful for everybody, not only newcomers in the IT field.

vExpert 2016 Award

VMW-LOGO-vEXPERT-2016-k

Thanks to VMware for confirming my vExpert!

Dear old ESXTOP aka How to schedule ESXTOP batch mode

Recently I had to record a night activity of a specific VM running on a specific host for troubleshooting reasons because vCenter data wasn’t just enough for that.

Using a number of blog posts around from Duncan Epping and others (it was many, I don’t even have the links anymore) I’ve put up my personal guide about how to take over this task because every time it’s like I have to start from scratch so I decided to document it.

First thing I created a script with the specific run time and collection data I needed:

vi <path>/record-esxtop.sh
esxtop -b -a -d 2 -n 3600 > /esxtopoutput.csv

OR

esxtop -b -a -d 2 -n 3600 | gzip -9c > /esxtopoutput.csv.gz

(-d=sampling rate, -n=number of iterations; the total run time is “d*n” in seconds)
(second version creates a zipped version of the output)

Let’s make this script executable:

chmod +x <path>/record-esxtop.sh

Then, since in latest versions of ESXi there is no crontab, you’ll need to edit the cron file for the user you want to run the script with:

vi /var/spool/cron/crontabs/root

Then add a line similar to this:

30 4 * * * <path>/record-esxtop.sh

Now kill crond and reload:

cat /var/run/crond.pid
ps | grep 
kill -HUP 
ps | grep 
/usr/lib/vmware/busybox/bin/busybox crond
cat /var/run/crond.pid
ps | grep 

Now your script will get executed and you’ll find a file with your data, but how to read it?
It’s dead simple, just open PerfMon on Windows, clear all running counters then right-click on “Performance Monitor” and in the tab “Sources” add your CSV file (need to unpack it first); in the data tab you will then be able to choose metrics and VMs you want to add to your graph.

It would be nice to have a tool that does the same on Mac but I couldn’t find one and I had to use a Windows VM; if you know a Mac alternative for PerfMon please add a comment.

This procedure is supported by VMware as per KB 103346.

Top vBlog 2015 Voting Started!

As every year the¬†Top vBlog 2015 voting has started, so if you like the content of my blog (even if can’t write as often as i would like) please spend a minute to give me your preference!

Voting is open until the 19 of March.

vExpert 2015 Award

Featured image

Thanks to VMware for confirming my vExpert!

Certificate Lifecycle Management published on VMTN Blog!

My article about Certificate Lifecycle Management on vSphere 6 has been published with other articles from vExperts from all over the world on VMware VMTN Blog, so thank you VMware for the opportunity ūüôā

You can check all links here:

vExpert 2014 Award

vExpert-2014-Badge

Some of you might have noticed the badge I’ve added to my Blog.

I have to thank VMware for recognizing my efforts for the community and for awarding me with this title.

Thanks to this and to Corey Romero who granted me a Blogger Pass for VMworld in Barcelona I will be able to write about the conference pretty soon.

Stay tuned!

New job, new challenges, new opportunity to learn

If you have been following my blog so far you might have noticed that I’ve kept a long radio silence recently.

The reason for this is that I am leaving the company I am working for to join a Citrix Partner, Sinthera.

I will be part of the Citrix Group there and still be involved in VMware projects, so it seems I will be able to know both sides of the EUC river.

A lot to learn, a lot of new stuff… many new challenges.

I’ll do my best to keep writing in this blog and you might expect I will open a Citrix section as well ūüôā

I would like to thank you all the people at Gruppo Sinapsi who helped me develop as a professional in all those years.

Wish me luck!

How to upgrade your home lab ESXi hosts to vSphere 5.5

After VMworld 2013 VMware announced vSphere 5.5 which has been made publicly available shortly afterwards.

Time to update our home labs.

Since i have a small number of ESXi hosts to take care of i don’t use Update Manager but i prefer to do it manually.

Download the update package from the VMware website (VMware-ESXi-5.5.0-133182 0-depot.zip) and place it on a VMFS datastore on the ESXi host you want to update.

Now let’s list the profiles included in the update package:

esxcli software sources profile list -d /vmfs/volumes/local_esxi/VMware-ESXi-5.5.0-133182 0-depot.zip
Name Vendor                          Acceptance              Level
---------------------------          ------------            ----------------
ESXi-5.5.0-1331820-standard          VMware, Inc.            PartnerSupported
ESXi-5.5.0-1331820-no-tools          VMware, Inc.            PartnerSupported

Let’s install the profile including the VMware Tools, but first let’s validate the package to make sure there won’t be any errors during the deployment.

esxcli software profile validate -d /vmfs/volumes/local_esxi/VMware-ESXi-5.5.0-1331820-depot.zip -p ESXi-5.5.0-1331820-standard

Happy with the result? Go ahead and update:

software profile update -d /vmfs/volumes/local_esxi/VMware-ESXi-5.5.0-1331820-depot.zip -p ESXi-5.5.0-1331820-standard

When prompted reboot your host and enjoy!

Please note that many desktop-like drivers have been removed from 5.1 to 5.5 so be aware some disk controllers might not work anymore after the update. In my host i had a secondary ASM1061 that is now unusable.

There is a way to perfom those command without donwloading the package locally but using it straight from the internet. I’ve never tried it but here’s an example about how to use it to list profiles on all updates from the VMware website:

esxcli software sources profile list -d https://hostupdate.vmware.com/software/vum/production/main/vmw-depot-index.xml

VMware releases Horizon Workspace Manager 1.5.1!

On October 10 VMware released a minor update to Horizon Workspace.

The update is focused on the Horizon Workspace client for Mac and Windows.

You can download here as usual.

%d bloggers like this: