New Virtualisation Website Launched!

Hi All, I have just launched my new website http://www.elasticsky.co.uk
Lots of info on the VCP, practice exam questions, video demos, and more to be added.
Please check it out!

How to reset a forgotten or lost Root password on VMware vSphere ESX 4

12 August 2010
by Paul McSharry

In the event the root password is unknown,  connect to the ESX host console and restart the machine.

1. When the ESX host boots to the grub menu, hit the “a” key.
2. Add the command  “single” to the string and click enter
3. Wait for ESX to go through the boot process
4. At the command prompt type “passwd.”
5. Enter your new password.
6. Restart the host ie.  shutdown -r now

This process is only used to reset a lost or forgotten password. 
A video demo of this process is shown on my virtualisation website http://www.elasticsky.co.uk/videos

Install VMware vCentre On 64 Bit Windows Server

18 July 2010
by Paul McSharry

The vCentre server role is a critical component of a vSphere deployment.   The role requires a database  such as SQL or Oracle.  

To install the vCentre a 32 bit ODBC connection is required.  When installing the role on a 64 bit server OS (ie Windows 2008 R2),  the installer will fail giving the error shown in the screenshot below.

To configure a 32 BIT Odbc connection on a 64 Bit version of windows use the following;

Start > Run
%systemdrive%\Windows\SysWoW64\Odbcad32.exe
Click ok
Select System DSN  and complete the wizard in the normal manner
.

Please note that a 32 Bit odbc connection will not be dispayed in the default 64 bit odbc data source administrator manager.  Use odbcad32.exe  to view the settings.

Add static route to VMware ESX 4 Host

23 June 2010
by Paul McSharry

In a infrastructure with multiple networks,  it can be necessary to configure the routing on the ESX hosts rather than at the router.

This is  achieved using the below command

route add – net <network ID > netmask <subnet mask> gw <gateway interface>

ie :   route add -net 10.44.0.0 netmask 255.255.0.0 gw 192.168.0.12

In the above example,  all traffic for the 10.14.X.X network will be routed via 192.168.0.12

Note:  This route will not be persistent through reboots.  If the ESX host is restarted the route will need to be re-added. 

To ensure the route is persistent add the command to the bottom of the following config  file using a text editor /etc/rc.local

For example

Change directory  –  cd /etc/
Open Text Editor – nano rc.local
Specfiy the route at the end of the file  -
route add -net 10.44.0.0 netmask 255.255.0.0 gw 192.168.0.12 
Exit Text Editor  - ctrl -x , Yes to confirm