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

Wednesday, May 30, 2007

Installing VMware Server on Ubuntu 7.04 (Feisty Fawn)

Filed under: White Papers — A. Mikkelsen @ 13:29 pm

I found this guide to install VMware Server on Ubuntu 7.04
Haven’t testet it, so i hope it works..


Sunday, May 13, 2007

The Health Project has moved to Sourceforge.net …….

Filed under: Scripting — A. Mikkelsen @ 7:45 am

We have decided to move the Health Check project files to https://sourceforge.net/projects/esxhealthscript/.
This is primary because we needed a place were more than one developer could upload new versions, but also a way for the developers to keep an updated list of new features.

We hope this movement will help to make the Health Check procject better.

Thursday, May 10, 2007

Installing VMware Server on Fedora Core 6

Filed under: White Papers — A. Mikkelsen @ 12:33 pm

1. Download and install
Download the
Fedora Core 6 CD or DVD image from http://fedoraproject.org/wiki/.

If your computers hardware is i686 or i686 capable read this to to bypass a common bug in the Anaconda installer.
Specify “linux i686” at the installation boot promt.

Disable IPV6 in the Network Device Screen.
It can be done manually later but is not recommended (http://fedorasolved.org/network-solutions/disable-ipv6/)

In the Software Application screen uncheck “Office and productivity” and check “Customize Now”.
At the next screen check the following:
Development -> Development Tools

During the custamization of the system “Disable” the SELinux.

Change Repository
Download the rpm for FC 6 version (Ex. freshrpms-release-1.1-1.fc.noarch.rpm)
From http://ayo.freshrpms.net
Install the rpm package
rpm -Uhv freshrpm-release-1.1-1.fc.noarch.rpm

3. Install prerequirements
Check your kernel version
rpm -qa –queryformat”%{NAME}-%{VERSION}-%{ARCH}\\n” | grep kernel | sort



If you want to install a newer version of the kernel, make sure that you also install the correct VERSION and ARCH of kernel-devel and kernel-headers.
Or else the VMware Server config will fail.

Check your kernel version (SMP or single)
uname –r

The easiest way to install the prerequirements is to use yum from a terminal session.
There can be problems with Anaconda installing the wrong architecture kernel. Get the Kernel Fix here.
For single CPU and multi CPU (The kernel for single/multi processor is the same, read this)
yum install gcc
yum install kernel-2.6.18         
yum install kernel-devel-2.6.18   
(Only if not installed)
yum install kernel-headers-2.6.18 
yum install xinetd

4. Install VMWare Server
Download the latest RPM package for VMware-server
Install the server
rpm -Uhv VMware-server-<version>.rpm
5. Configuration
Before you proceed, remember to receive a serial number from
The serial number is free of charge.

To run the configuration, type the following in a terminal:
cd /usr/bin/
 6. Setting up the Firewall
After a successful configuration of the VMware-server, the service is up and running, and now it is time to expose the service configuration interface to the outside world.
To du this, type the following in a terminal session:
Now a configurationwindow appears, and by selecting the firewall configuration tool, you add the 904-port to the firewall.

7. Change the startup runlevel
The reason to change runlevel is to save vital resources.
From a terminal, edit the /etc/inittab.
vi /etc/inittab
Change: id:5:initdeafult:
To: id:3:initdeafult:
Reboot your server.

Monday, May 7, 2007

Health script version 0.011 released

Filed under: Scripting — A. Mikkelsen @ 20:36 pm

I just added a few things to the script:

– Added info about SCSI RAID controller

SATA controllers that work with ESX 3.0.1

Filed under: Hardware — A. Mikkelsen @ 19:55 pm

Here is a short list of SATA controleres that will work with ESX 3.01

  • LSI MegaRAID 150-4
  • LSI MegaRAID 150-6
  • Intel SRCS16
  • Adaptec 2610SA
  • Adaptec 2410SA

For more info take a look at VMwares system guide.

Tuesday, May 1, 2007

Service Unavailable – On a Windows 2003 SP1 server.

Filed under: Microsoft — A. Mikkelsen @ 15:49 pm

Today, after installing a VM with Windows 2003 ee, SP1 and IIS, I got ‘Service Unavailable’ when i tried to see it the webserver worked as planned.

After quite a bit of googleing, I found a working solution.

  1. In Start -> Run type “dcomcnfg”
  2. Right Click “IIS Admin Service” under Component Services -> Computers -> My Computer -> DCOM Config
  3. Choose “Security”
  4. In the section “Launch and Activation Permissions” click “Customize”.
  5. Add the local user “Network Service”
  6. Set the permission so “Network Service” is allowed to:
    • Local Launch
    • Remote Launch
    • Local Activation
    • Remote Activation
  7. Restart the server or restart the WWW service.

Powered by WordPress