A. Mikkelsen VMware ESX scripts, commands, tools and other nice to know things that will make your virtualization days easier!!!!

Sunday, September 28, 2008

Upgrading VMware Tools for Linux guests

Filed under: Linux Commands,Virtual Center,vSphere (ESX) — A. Mikkelsen @ 19:36 pm

Today I came a cross 2 possible solutions for upgrading the VMware Tools for Linux guests.

One soultion is using a custom scripts in the guest to upgrade the tools.

The second solution describes how to use Virtual Center to upgrade the tools.

The article also describes some of the advanced options parameters you can use to control the tool upgrade.

Read the entire article here.

Wednesday, May 21, 2008

Troubleshooting VMware snapshots

Eric Siebert has writen a very good and explaining guide on how to troubleshoot snapshots on ESX 3.x.

Virtualization administrators can use snapshots on VMware ESX to travel back in time and figure out what went wrong with their virtual machines (VMs). But what do you do when your snapshots start acting funny? In this tip, we’ll troubleshoot potential problems that may come up when using snapshots on ESX.

Read it here or read my local copy.

Monday, December 10, 2007


Filed under: Linux Commands — A. Mikkelsen @ 21:33 pm

To edit the crontab type (it normally uses vi as editor)
crontab -e

To add a scheduled type
0 21 * * 1-7 perl /tmp/test.pl

To make sure the crontab is updated correctly restart it
/etc/init.d/cron restart

0 Minutes (0-59)
21 Hour (0-23)
* Day (1-31)
* Month (1-12)
0-7 Weekday (0-7, Sunday = 0)

*/5 * * * * “Runs every 5 minute, every day, all year”
*/5 1,10 1,6 * “Runs every 5 minutes, January and July 1 and 10”


Friday, June 22, 2007

Display system infomation in logon banners

Filed under: Linux Commands,Scripting,Tools — A. Mikkelsen @ 20:44 pm

Found this article on how to dispay usefull information in the logon banner.


I love it. It’s always nice to be presented with information about your system

A. Mikkelsen

Sunday, March 18, 2007

List only directories

Filed under: Linux Commands — A. Mikkelsen @ 22:50 pm

To list only the directories in a directory use the following:

ls -v

To only list the directories that starts with ESX use the following

ls -v |grep “ESX”

Powered by WordPress