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!

%d bloggers like this: