WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Problema keeping Time in HVM Guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problema keeping Time in HVM Guest
From: Nerijus Narmontas <n.narmontas@xxxxxxxxx>
Date: Thu, 11 Mar 2010 23:40:33 +0200
Delivery-date: Thu, 11 Mar 2010 13:42:06 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=1luNnOR6YMg0O/yQSmx6/tNHZJq+EFIDL6AJUbyXsps=; b=V4LFfedEwV1HfVi61rGVJx0brD+k+DioQCcQq18OJih55NFmG9zmdj1WXa24EiJ3ZE anKiz3T+HohKQA78R9Vg+bsBTeETp176RTzMBNBR4gYfT6YKjzTlsREHONdF9frnaeKQ LMaAiOsIhWTnaTXh6Q0eI8CodYZPlNn/OukN8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=exlfL0P87P30cQodISqVsoAfkJgRELBejBVJogdUxOXxpx+F42f/8ndCb4UGIZpz7w NCjzdqME3bAGdEXtR/AOK26RzKLDXwoUvffmV8D38noUz+Nn2Q2YAzTXaVJmivyo7d5u k5T+Jf7LPz+Q7DrKo5Ao5b0boZeh4V6Bsvhgc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1c1b5a0f1003110613l247cfe0cw69a5737cf954aaf4@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1c1b5a0f1003102221g1b824576td7283a6f6477c3d3@xxxxxxxxxxxxxx> <771c502a1003110109y40abdb8el571d117774ae4fd5@xxxxxxxxxxxxxx> <1c1b5a0f1003110613l247cfe0cw69a5737cf954aaf4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Yes, keep the service running.

--
Nerijus Narmontas

On Thu, Mar 11, 2010 at 4:13 PM, Angel Motta <angelmotta@xxxxxxxxx> wrote:
> Thanks Nerijus
> Ok I will try this "localtime=1", is a little complicated because is running
> in prod.
> For that reason I have a question, I will configure this setting and reboot
> the VM but the VM has to continue with service ntp running? o I have to
> disable this service befere the reboot?
>
> Thanks for your assistance
> --
> Angel
>
>
>
> 2010/3/11 Nerijus Narmontas <n.narmontas@xxxxxxxxx>
>>
>> Hi,
>>
>> Try setting localtime=1 in VM config file and reboot. It then should
>> use dom0 server's time.
>>
>>
>> --
>> Nerijus Narmontas
>>
>>
>> On Thu, Mar 11, 2010 at 8:21 AM, Angel Motta <angelmotta@xxxxxxxxx> wrote:
>> > Hi List
>> > This is my first time that I write to the list. I have a serious problem
>> > with the time in one HVM Guest, because this VM has the time ahead 20min
>> > compared with the host Xen.
>> > I have tried to configure ntp client in the host Xen and in the HVM
>> > Guest
>> > but the problem continuos, the hvm never get sync with the ntp server.
>> > Then
>> > i configured the time with the ntpdate command in the crontab every
>> > minute
>> > and disable acpi=0 and reboot, but the time adjust 3 or sometimes
>> > 7seconds
>> > on the HVM Guest and this is critical because this Guest is db pgsql.
>> >
>> > I wan to know what is the procedure for this case??. I read the option
>> > of:
>> > echo 1 > /proc/sys/xen/independent_wallclock but this is only for the
>> > paravirtualized guest because i my guest hvm I dont have this file and i
>> > can't apply this method.
>> >
>> > Host Xen:
>> > Centos 5.3
>> > xen-3.0.3-80.el5_3.3
>> >
>> > HVM Guest
>> > Centos 5.3
>> >
>> > I have one windows 2003 in this Host Xen and this guest have the time ok
>> > using ntpclient.
>> > --
>> > Atte
>> > Angel Motta Paz
>> >
>> > _______________________________________________
>> > Xen-users mailing list
>> > Xen-users@xxxxxxxxxxxxxxxxxxx
>> > http://lists.xensource.com/xen-users
>> >
>
>
>
> --
> Atte
> Angel Motta Paz
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>