[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Ubuntu XEN cluster - heartbeat reboot issue


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Daniel Asplund" <danielsaori@xxxxxxxxx>
  • Date: Sat, 19 Jul 2008 23:13:17 +0200
  • Delivery-date: Sat, 19 Jul 2008 14:14:21 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lzndGUuyNQsI/XZA5+3DKvTaWsYMKvj7DucjyEKaeiyTYt/h2APNoTLhm3QEa7iyR1 p09JiSnn0ZnsAPER2taFoP135XDyOi18/GkWbnnk0LBYRVCSShs4HYV+2os1upHonCOr kslf9pDT7K0gLQEpdOMjBk6c/eNWPxNT36b5s=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks for the reply Stephan,

Not sure the timers in /etc/default/xendomains will be much of help.
Couldn't find any default timer that would make any sense in this
case.

I did some further tests and put the sleep command in the hearbeat
resource script instead of in the init.d script. Putting it there had
no effect at all. So it means that when the heartbeat resource script
is executed during reboot it will not wait for it to complete before
moving along with the shutdown of the system, causing xend to shutdown
before domains are migrated.

Didn't have this problem in Debian, so it could be a combination of
the heartbeat script and Ubuntu's reboot mechanism. But I believed
Ubuntu and Debian would be similar in this aspect?

Regards, Daniel


On Sat, Jul 19, 2008 at 9:43 AM, netz-haut - stephan seitz
<s.seitz@xxxxxxxxxxxx> wrote:
> Am Samstag, den 19.07.2008, 08:44 +0200 schrieb Daniel Asplund:
>> Hi all,
>>
>> Done a test install with a cluster and now running Ubuntu 8.04 on two
>> Dom0 nodes.
>> The problem I found was with the rc scripts at reboot, that heartbeat
>> didn't have time to perform live migration before the node rebooted.
>> Executing: reboot at the prompt I could see it started to prepare for
>> the live migration, but at the same time in the log I could see it
>> started to shutdown xend (not good if migration is not complete ;) )
>> plus other processes, so the migration failed.
>>
>> They way I at least temporary solved it was to put a sleep command in
>> the heartbeat init.d script, in the scripts stop section. I put sleep
>> 15 so it waits 15 seconds before moving along. Everything works now,
>> but it seems like a very cheap trick.
>
> You might want to take a look into /etc/default/xendomains and tune
> delays there.
>
> cheers
>
> Stephan
>
>
>> Anyone having a similar setup and experienced the same thing? All
>> software are from the Ubuntu repository.
>> I earlier ran Debian Etch and didn't have this problem.
>>
>> Regards, Daniel
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
> --
> ï--
> Stephan Seitz
> Senior System Administrator
>
> *netz-haut* e.K.
> multimediale kommunikation
>
> zweierweg 22
> 97074 wÃrzburg
>
> fon: +49 931 2876247
> fax: +49 931 2876248
>
> web: www.netz-haut.de <http://www.netz-haut.de/>
>
> registriergericht: amtsgericht wÃrzburg, hra 5054
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.