Linux tijd synchronisatie Virtual Systems

BVDServer II
Locked
DSmarty
Site Admin
Posts: 5643
Joined: 14 Jun 2003, 21:30
Location: Epe
Contact:

Linux tijd synchronisatie Virtual Systems

Post by DSmarty »

Heren, ik heb een oplossing gevonden voor het probleem:

Voeg het volgende toe aan LILO/GRUB en draai daarnaast ntpd (met als server 192.168.255.253) en het mag geen issue meer zijn.
The following example shows the syntax for LILO:

image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="resume=/dev/hda6 splash=silent clock=pit"
read-only

(Remember to run /sbin/lilo after editing lilo.conf, so that your edits take effect.)

Here is an example of the syntax for GRUB:

title Fedora Core (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hda2 clock=pit
Het gaat om het toevoegen van "clock=pit"

Voor windows probs zie http://www.vmware.com/support/kb/enduse ... PTE*&p_li=
User avatar
Marshal
Posts: 1457
Joined: 14 Jun 2003, 22:08
Location: Amsterdam
Contact:

Re: Linux tijd synchronisatie Virtual Systems

Post by Marshal »

Tnx , ik ga het vanvond proberen
Distributed.net: the only reason my computer is on, right now!
blimmel
Special MOD
Posts: 3049
Joined: 20 Jun 2003, 00:11
Location: Amersfoort

Post by blimmel »

Ik krijgt 'm nog niet goed gesynchroniseerd.

Code: Select all

root@blimmel:/etc# date
Thu Jan 26 00:50:33 CET 2006
Het is toch echt vrijdag :(

in ntp.conf heb ik het volgende gezet:

Code: Select all

# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example

server 192.168.255.253

#server ntp.ubuntulinux.org
ntpq -p geeft:

Code: Select all

root@blimmel:/etc# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 192.168.255.253 .INIT.          16 -    - 1024    0    0.000    0.000 4000.00
*LOCAL(0)        LOCAL(0)        13 l    2   64  377    0.000    0.000   0.008
menu.lst:

Code: Select all

title           Ubuntu, kernel 2.6.12-9-386
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.12-9-386 root=/dev/sda1 ro quiet splash clock=pit
initrd          /boot/initrd.img-2.6.12-9-386
savedefault
boot
Wat gaat er precies fout
DSmarty
Site Admin
Posts: 5643
Joined: 14 Jun 2003, 21:30
Location: Epe
Contact:

Post by DSmarty »

Je moet eerst even tijd handmatig corrigeren en dan ntpd draaien.
DSmarty
Site Admin
Posts: 5643
Joined: 14 Jun 2003, 21:30
Location: Epe
Contact:

Post by DSmarty »

Heren met Linux VSYS.
Het volgende graag toevoegen aan de "kernel" regel in de grub.conf. (of menu.lst bij Debian achtigen)

Code: Select all

clock=pit nosmp noapic nolapic
Dit als voorbereiding op mijn aanpassingen van aankomende zaterdag
Locked