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-devel

Re: [Xen-devel] Xen + Remus

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Xen + Remus
From: gilberto nunes <gilberto.nunes@xxxxxxxxxxxxxxx>
Date: Tue, 12 Jan 2010 15:30:38 -0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 12 Jan 2010 09:30:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100112125149.GF25902@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4B4C6AE2.6030001@xxxxxxxxxxxxxxx> <20100112125149.GF25902@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
Well...

Here is the facts:

I start a VM with Windows 2003 installed in DRBD. This DRBD partition is the storage from two nodes...

I start remus --no-net Windows-2003-I xen-slave ( yes. xen-slave is backup machine)

After 3 minutes, the VM starter on backup side, and the master side, I reviece any debug message:

[2010-01-12 15:22:31 4046] INFO (XendDomainInfo:2066) Domain has shutdown: name=Windows-2003-I id=2 reason=suspend.

But in backup side I see this message:

2010-01-12 15:17:26 3939] DEBUG (XendCheckpoint:286) restore:shadow=0x20, _static_max=0x80000000, _static_min=0x0, [2010-01-12 15:17:26 3939] DEBUG (XendCheckpoint:305) [xc_restore]: /usr/lib/xen/bin/xc_restore 4 2 2 3 1 1 1 0 [2010-01-12 15:17:26 3939] INFO (XendCheckpoint:424) xc_domain_restore start: p2m_size = 100000 [2010-01-12 15:17:26 3939] INFO (XendCheckpoint:424) Reloading memory pages: 0% [2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) read_exact_timed failed (select returned 0) [2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) ERROR Internal error: Error when reading batch size [2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) ERROR Internal error: error when buffering batch, finishing
[2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424)
[2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) Writing 6527 bytes of QEMU data
[2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) Restore exit with rc=0
[2010-01-12 15:22:33 3939] DEBUG (XendCheckpoint:395) store-mfn 1044476
[2010-01-12 15:22:33 3939] DEBUG (XendDomainInfo:2969) XendDomainInfo.completeRestore


And VM started in backup side without any intervention....!!!!!!!!!

Some idea???

Thanks

Pasi Kärkkäinen escreveu:
On Tue, Jan 12, 2010 at 10:28:18AM -0200, gilberto nunes wrote:
Hi people

Almost 3 mount I have compile xen-unstable to work with remus...

I deploy a VM like this:

name='Windows-2003-I'
kernel = "/usr/lib/xen/boot/hvmloader"
device_model = '/usr/lib/xen/bin/qemu-dm'
builder='hvm'
memory=1536
#shadow_memory=10
vif=['mac=00:13:3e:37:9f:00,bridge=xenbr0']
disk=['file:/storage/VMS/MSWindows/Windows-2003-I.img,hda,w', 'file:/storage/ISOS/win2003-STR2-i386.iso,hdb:cdrom,r' ]
# Boots from CDROM.
# Change to 'c' after windows installation in order to boot from disk.
boot='c'
on_poweroff = 'destroy'
on_reboot = 'restart'
n_crash = 'restart'
sdl=0
vnc=1
vnclisten="0.0.0.0"
stdvga=0

So, the VM start normally and I got replicate the VM via remus normally....

However, some minutes pass and the VM die and turn your state to suspend...
I search on google, I see something about pvops on DomU and Dom0....

I don't know what is excatly meant...

Somebody can help me please!!!

I need more explanation about how to enable pvops on DomU and/or Dom0....


I'm not sure where Remus logs, but you could start with checking
the following logs in dom0:

- "xm log" output - "xm dmesg" output
- "dmesg" output
- /var/log/messages
- /var/log/syslog
- /var/log/xen/*


-- Pasi


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

--
*Gilberto Nunes Ferreira*
*TI*
*Selbetti Gestão de Documentos*
*Telefone: +55 (47) 3441-6004*
*Celular: +55 (47) 8861-6672*



<><


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

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