Category «VMWare»

Created Nested ESXi VM

This explains how to install ESXi into a VM. You will need ESXi 5.0 installed and have a copy of the ESXi 5.0 installation ISO. Prepare ESXi 5 host You will need to enabled hardware virtualisation on the ESXi 5 host. To do this connect to the ESXi 5 console and enter echo ‘vhv.allow = …

Creating a VMware Template for Windows 2008R2

This article explains my best practise for creating a Windows 2008 R2 template. You will need to be running a VMWare virtual center server to use VMware templates. Step 1 – Build VM Install windows 2008 r2 Install VMware tools Apply windows updates (including other Microsoft updates) Activate windows Install any other standard software you …

VMware Capacity Plan dealing with System Exceptions

When running a vmware capacity plan you will more often than not find that certain servers have been excluded from the report due to a system exception. I will explain how to deal with these below. Subnet exception By default if a server is on more than one subnet it is excluded from analysis. You …

Configure Email notification for Virtual Center Alarms

You can configure virtual center to send email alerts for specific events. You will need to setup your email server to allow smtp relay from the virtual center server. 1. Configure Virtual Center Server settings 2. Configure the alert you want to be emailed about As you can see this is not difficult!

Removing Ghost Adaptors after Virtualising a Machine

When re-entering the TCP/IP information after virtualising (e.g. a p2v using vmware convertor) a machine you may get the below error. The IP address X.X.X.X you have entered for this network adapter is already assigned to another device XXXXX. X.X.X.X is hidden from the network connections folder because it is not physically in the computer. …

Patching VMware ESXi 4.1

This article explains how to patch a standalone (i.e. not connected to Virtual Center) VMware vSphere Hypervisor (aka ESXi 4.1). If you are using Virtual Center then I strongly suggest using that to apply the patches. Pre-requisites You will need to have the vsphere CLI (command line tool) installed on your PC. You can download …

Setup VMware vSphere to Access ISCSI SAN

In this example I am setting up a VMWare ESXi 4.1 server to access a VMware iSCSI SAN using the VMWare iSCSI software initiator. The server is connected as shown below Enable the software iSCSI initiator Note the vmhba number of the software iSCSI initiator – in this example vmhba39 Setup vSwitch Create a Vmkernal …

Extend a VMWare VMs drive

The below explains how to expand a VMware VMs drive using diskpart. In this example we are extended the E: drive of a windows 2003 server. Another (and sometimes simpler option) is to run vConverter and create a new VM resizing the drive in the process. Note- that you can’t use disk part to extend …

Useful VMware Commands

ESXi commands List all VMs registered to this host with VMID         vim-cmd /vmsvc/getallvms Get power state of a VM         vim-cmd /vmsvc/power.getstate <Vmid> Power off VM             vim-cmd /vmsvc/power.off <Vmid> Power on VM            vim-cmd /vmsvc/power.on <Vmid> Register a VM …