LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Piranha clusters and VMware clock synch -- SOLUTION

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, piranha-list@xxxxxxxxxx
Subject: [lvs-users] Piranha clusters and VMware clock synch -- SOLUTION
From: "Kit Gerrits" <kitgerrits@xxxxxxxxx>
Date: Mon, 22 Dec 2008 13:09:11 +0100
Hello all,

A few notes w.r.t. section 48.4 of the LVS HOWTO (VMware problems with
NTP/time)
It -IS- possible to keep several hosts in sync time-wise in VMware, even on
a simple laptop.

I am currently running an LVS cluster and 2 webservers on my laptop with
VMWare Server 1.0.7 and 1GB RAM.
There have been no spontaneous cluster failovers (yet) today.


For GSX / VMware Server:
Pass the following options to the kernel via grub.conf:
  clock=pit nosmp noapic nolapic

For RHEL5/CentOS5, you should use the following:
  clocksource=pit nosmp noapic nolapic

Because this will disable all of Linux' intelligent clock tricks, you'll
need to run NTPd to keep your clock in sync.
More info at:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1420


For ESX servers,  the solution is 'simpler':
You need to lower the minimum time between clok requests:
  Configuration --> Software --> Advanced Settings --> Misc -->
Misc.TimerMinHardPeriod
  Lower this value (it is in microseconds)
More info at:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2219
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>
  • [lvs-users] Piranha clusters and VMware clock synch -- SOLUTION, Kit Gerrits <=