Apr 16

I use VMware VirtualCenter 2.5.0 Build 147697 and VMware ESX 3.5.0 143128 and it was not possible to configure the timeserver of the ESX hosts through the VirtualCenter (VC). Normally you should ajdust the timeserver settings for the ESX hosts in VC by clicking on the ESX Server –> Configuration –> Software: timeserver configuration –> Preferences. But this does not work for me, so i had to adjust the timesever directly on the ESX hosts.

First login to your ESX with ssh and become super-user.

$ ssh -l user esx-server1.your.domain
$ su -
$ ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
$ cp /etc/ntp.conf /etc/ntp.bak
$ vi /etc/ntp.conf
 
restrict default ignore
restrict 127.0.0.1 
restrict 132.230.1.9 mask 255.255.255.255 nomodify notrap noquery
server 132.230.1.9
driftfile /var/lib/ntp/drift

You have to set the timeserver to your needs (my timeserver has the IP 132.230.1.9) before saving the file. Then put the same IP in the file /etc/ntp/step-tickers.

$ cp /etc/ntp/step-tickers /etc/ntp/step-tickers.bak
$ echo "132.230.1.9" >/etc/ntp/step-tickers

To see the offset in seconds you can run the command ntpdate -q 132.230.1.9 as super-user. Now it’s time to restart the ntpd daemon and enable it for autostart. The last command set the hardware clock to the synchronized local time.

$ esxcfg-firewall -e ntpClient
$ service ntpd restart
$ chkconfig --level 345 ntpd on
$ hwclock --systohc

Finally reboot the ESX server through the VC (don’t forget to migrate running virtual machines to another ESX node) so that the timeserver configuration will be visible in VC.

written by phi.mic \\ tags: ,

Apr 08

Last year i was looking for a solution to sync my calendar with the Apple’s iCal application and my iPhone. I found no suitable free application that can sync appointments in both ways using the push technology, too. So i decide to buy a one-year mobile.me subscription from Apple.

At work i use Thunderbird with the Lightning Add-On as PIM and i found to date no possibility to integrate the mobile.me Calendar using CalDAV. So i decide to return to my "old good" Google-Calendar. It now has the feature to do a two-way synchronization with iCal. The setup is very simple, Google has published the tool calaboration which assists you to setup your Goolge-Caledar in iCal.

Just enter your Google-Mail address and your password and choose your Google-Calendar(s) which you want to sync. Finally click Add to iCal and start the iCal application.

You can change the Calendar account title within iCal –> Preferences –> Account –> Description. In my case i changed it to Google Work and Google Private.

Next time i will write an article how to sync the iPhone with Google-Calendar.

Links:

written by phi.mic \\ tags:

Apr 08

Links for 2009-02-02

Links Kommentare deaktiviert

written by phi.mic \\ tags: ,