Uncategorized

DRWHOWATCH

VMware NTP Weirdness

Well today I discovered that one of the ESX hosts in our cluster did not have its NTP settings correctly configured, although it did take me a little while to figure it out.

We have a 2003 guest box on the host which when I logged onto it to do some work was displaying a totally wrong date and time.  So I set it back manually in the OS (we dont use DHCP for our server subnet). Did not think much of it until 10 minutes later all of a sudden the correct date and time reverted back to the wrong date and time. I checked the 2003 boxes settings again and it wasnt synching its time with any internet NTP server which is how we like it. So I had a look at the vmware tools installed on the box and sure enough that was not set to synch time with the host so again I ruled that out.

So I merrily set the date and time again and went on my way and sure enough in another 10 minutes the date/time had reverted. so I checked the host and found that NTP was not enabled and was displaying the same date and time as the 2003 guest OS. I set up NTP on the host and this cured the issue.

I do find it somewhat strange that even though the guest was not set to sync date/time with the host it still did it, presumably after the w32 service failed to sync with an online ntp service the VMware tools took over and synched it anyway.

Weird, I feel a bit of googling coming on!

DRWHOWATCH

Virtualizing Linux OS

Just a quick observation considering vmware has a linux based service console and lots of options for new linux builds, its really crap at virtualizing physical boxes!

HA Host Isolation Response

Host isolation is basically a state that a host in an HA cluster can reside in should it detect a loss of network connection. However there are a good few things to know about this feature. When a host is in a HA cluster it sends out a heartbeat to other hosts in the same HA cluster. This enables the cluster to detect when a host has failed and power on the VM’s that it was running should that be the setting you choose.

Firstly the Automated Availability Manager (AAM) controls the heartbeat process through the Service Console and its configured address.

However this alone presents itself with a problem. If you only have one Service Console installed on a host it is possible that AAM will think a host has failed when in actual fact a failure has only occurred somewhere on the path from the Service Console mapping to the physical NIC (uplink) and outwards. With a host that has multiple uplinks (a full blown ESX Production server will need at least 3 or more) It could mean that the Virtual Machine port group on another physical NIC could be happily working away.

After 15 seconds of missing a heartbeat response each node will ping the default gateway for its service console (this is called the Isolation Response Address). This is basically the hosts way of saying “is this problem my fault”. If the host receives a response from its default gateway it carries on as normal as the fault is not with the host. If the host however does not receive a response it will go into isolation mode.

The host(s) that enters isolation mode would then read their isolation configuration which will tell the host either to power off the VM’s or leave them running.

The correct configuration for this setting relies pretty much on you network. If for example you have a vswitch configured with a Virtual Machine port group and the Service Console port group then as you’ve lost your Service Console you’ve also lost your VM network too so you will want to power the VM’s off and let HA bring them all back up again on other hosts. However if your network is redundant enough loosing a service console isnt really a big thing if your Virtual Machine and Vmotion networks are still working.

It is considered best practice to have 2 Service Console’s configured per host on different vswitches,vmnic’s and physical networks. this sounds a bit complicated but when you consider that Vmotion should really have its own dedicated physical switch and subnet then the choice on where to put the Service Console suddenly becomes very clear.

In the Next blog I will talk about the actual steps you need to take to configure Host Isolation and a few extra switches that you may need.

VMware Install & config Course

Hi all,
Well today was the first day of my install & config course. So far its nothing particularly new although it is good to meet with other IT bods and hear there views and experiences of vmware. I suspect that a few vmware releated posts will pop up.

Vmware install and configure course

Hi all,

Work has kindly agreed to pay for my vmware course for me which is very appriciated. I wanted to do the course so I can take the vcp exam and become a vcp.
There is alot of cool stuff to learn in order to pass the exam and I am quite sure that virtualization is the way of the future so it will help me imensely if something untoward happens to my job (I doubt it but you never know).

Also I discovered that if i get my skates on I can also take the vsphere exam before the end of the year without having to go on another course. I doubt I will get round to it as my open university course also starts soon so I think I will be a busy boy for the next few months. Still strings to bows.. Strings to bows!