Skip to main content


Showing posts from 2016

Anti-Virus Exclusions for VMware and Windows

Over the years I had come across a lot of issues around OS performance where part of culprit has been to do with Anti-Virus settings. Leaving them as default settings can cause a lot of pain and headache. Here are some of the useful information I have gather from a couple of kb articles from VMware and Windows to help you get a better grip of what to scan in the guest OS to avoid wasting compute cycles especially if you are using public IaaS platforms. Exclude the folders from scanning for VMware tools or your installation of vCenter. Change the drive letter to reflect where you have installed the software : Windows Server 2012 "C:\Program Files\VMware\" Windows Server 2008 "C:\ProgramData\VMware\" Windows Server 2003 "C:\Documents and Settings\All Users\Application Data\VMware\ Choose either to real-time scan on "Read" or "Write" try not to do both as you would waste processing power. My preferred option would be to real-time sca

vSan, SRM, vVols Technical Documents

VMware has release a new section for Storage and Availability technical documents which covers areas such as vSAN, SRM, vVOLS, vSphere Replication and vSphere Core Storage. There are lots of great papers around good practices, technical overviews on these areas.  Also catch up on the great podcast virtually-speaking-podcast Storage and Availability Technical Documents - A good place to try out the new features and functions without needing to install the soft use the VMware hands-on-labs -

vSphere 6.5 GA

VMware has just GA their vSphere 6.5 and there are some really good enhancements such as Native high availability for vCenter Improved HTML 5 based vSphere client VM-level encryption Easy migration from Windows vCenter to vCenter appliance plus much much more I have included some links here to the key documents to read through as a starter in the order that I feel I would normally read: First point for me is to read the release notes   White paper for whats new in vSphere 6.5   Check what VMware products are compatibility with vSphere 6.5 so you don't get caught out thinking just upgrading to vSphere 6.5 it will work with all your existing VMware products. ie If you was using Site Recovery Manager (SRM) you would need to upgrade SRM

VMworld 2016 Session videos

Great news where you can now watch all the sessions that have been recorded during VMworld 2016 in US for free. It used to be for people who had paid for a subscription or had attended the event.   To be able to view the recording you would need to create an account at . Once you have created an account, log in and head scroll to the bottom of the page where you will see a header "VMworld Sessions" and click on Session Playback.     You will be take to a page where you can select which year's playbacks you would like to view. Select 2016 one and you maybe prompted to confirm a few details before you can view the videos. Once you have done that you can select the sessions you like to see.   So now you can view all the sessions in your own comfort.

Powercli New-Datastore script to mount NFS datastores

One of the pain points of building out a ESXi host is usually when you are presenting your NFS storage to an ESXi host. A few datastore is a easy task but when you have to present 10+ for each of your host it can be a pain. At this point you either have host profiles to help you or you start using powercli to help automate the task. I will talk through how I will be using the command "new-datastore" cmdlet. The easier way to just add one datastore is to run to command: new-datastore -nfs -Name Datastore_Name -Path /vol/abc -nfshost IP_Of_NFS_Server Name - the name that you want to use to help identify the datastore in ESXi host Path - the export path from your NFS server Nfshost - ip address of your nfs server Example new-datastore -nfs -Name nfsdatastore -path /vol/nfsdatastore -nfshost So you could write a command for each new datastore you wish to add to a host in to a powershell script as shown below: new-datastore -nfs -Name nfsdatastore0

Joining PSC to an Active Directory Domain

I have deployed some Platform Services Controller (PSC) appliances to my environment but in order to be able to use Active Directory as an identity source you will need to join the PSC to the Active Directory domain. In this post I will show you two possible ways of doing it My environment is based on using vSphere 6.0 Update 1 Command line method: 1.  Ensure you have enabled SSH so that you can use something like Putty. If it has not be enabled then you will need to log on to the appliance and change the settings there to allow SSH 2. Type in the user name "root" and password to SSH to your PSC appliance 3. Type in "shell.set --enabled True" 4. Type in "shell" 5. You will see some warning message and then be presented with the command prompt screen with the name of your PSC  6. Type "cd /opt/likewise/bin"  7. Type "./domainjoin-cli query" to see if the PSC is already part of the domain   8. Using the format

Where are the VCAPS around the world?

VMware released a blog post around the number of VCAPs around the world. The top three countries that has the most VCAP's are USA,UK and India. I noticed that in the UK there are only 448 and I happen to be one. Whoa ^_^

Creating a bootable USB ISO image

I was browsing across some forums and notice someone mentioning using a tool called Rufus  to create a bootable USB stick from a ISO image of Windows. So I thought let me give it a go with a ESXi ISO. In the steps below I was using Rufus version 2.8 and VMware ESXi 6.0 Update 2 ISO Head over to  and go to the download section (Only Windows version of the software is available, using Version 2.8 at the time of writing) Have the USB device/key that you wish to turn it to a bootable drive plugged in to your workstation/laptop Once you have downloaded the " exe ", run the software and you may be promoted to allow it to run in administrator mode You will be presented with the following screen Under Device select the USB device that you wish to use Change the volume label if you wish Tick Box " Create a bootable disk using " and select the drop down arrow to change to " ISO Image " Click on

How to get the free version of vSphere Hypervisor

A colleague today asked me how to get the free version of vSphere hypervisor and what was the limitation of the product. Off the top of my head long way back I remembered it was just requesting the number of licences you would like to use and then you would get those. The process is pretty much the same but I thought I would share the process of obtaining those licences. Getting the Licence Go to and if you already have an " My VMware " account then use those details to log in otherwise create one and it is free of charge to do it Once you have logged in head to the top right of the page and hover across " Products " and select " Trial and Free Products " On the Trial page scroll right down towards the end until you see " Download Free Products " header. Under that you should see a link for " vSphere Hypervisor (64 bit) ", click on that. It should now take you to VMware vSphere Hypervisor 6

Custom ESXi Image - ISO using PowerCLI

There comes a time when you have purchased a new hardware to run your ESXi software and discover that the installable base media provided by VMware does not include the drivers or the drivers are out of date. In the world of Windows (Plug and Play) it would discover the hardware and prompt you to provide the drivers so that Windows would install/update the drivers for the hardware. For ESXi if the drivers are not present during load time then the hardware will possibly not work. VMware uses VIB (vSphere Installation Bundle) as a way for vendors to distribute their drivers. To install these VIBs you can either use Update Manager or command line (esxcli). Now this is all good but it does mean you have to first install the base ESXi then use one of the steps above to install/update the drivers.   Some people might feel that it is OK to update the drivers using the above methods but what if it was the network card that was the new hardware and you needed new drivers. Without the net