From mboxrd@z Thu Jan 1 00:00:00 1970 From: gilberto nunes Subject: Re: Xen + Remus Date: Tue, 12 Jan 2010 15:30:38 -0200 Message-ID: <4B4CB1BE.2050906@selbetti.com.br> References: <4B4C6AE2.6030001@selbetti.com.br> <20100112125149.GF25902@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100112125149.GF25902@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Well... Here is the facts: I start a VM with Windows 2003 installed in DRBD. This DRBD partition is=20 the storage from two nodes... I start remus --no-net Windows-2003-I xen-slave ( yes. xen-slave is=20 backup machine) After 3 minutes, the VM starter on backup side, and the master side, I=20 reviece any debug message: [2010-01-12 15:22:31 4046] INFO (XendDomainInfo:2066) Domain has=20 shutdown: name=3DWindows-2003-I id=3D2 reason=3Dsuspend. But in backup side I see this message: 2010-01-12 15:17:26 3939] DEBUG (XendCheckpoint:286)=20 restore:shadow=3D0x20, _static_max=3D0x80000000, _static_min=3D0x0, [2010-01-12 15:17:26 3939] DEBUG (XendCheckpoint:305) [xc_restore]:=20 /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=20 start: p2m_size =3D 100000 [2010-01-12 15:17:26 3939] INFO (XendCheckpoint:424) Reloading memory=20 pages: 0% [2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) read_exact_timed=20 failed (select returned 0) [2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) ERROR Internal=20 error: Error when reading batch size [2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) ERROR Internal=20 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=20 of QEMU data [2010-01-12 15:22:33 3939] INFO (XendCheckpoint:424) Restore exit with rc= =3D0 [2010-01-12 15:22:33 3939] DEBUG (XendCheckpoint:395) store-mfn 1044476 [2010-01-12 15:22:33 3939] DEBUG (XendDomainInfo:2969)=20 XendDomainInfo.completeRestore And VM started in backup side without any intervention....!!!!!!!!! Some idea??? Thanks Pasi K=E4rkk=E4inen escreveu: > On Tue, Jan 12, 2010 at 10:28:18AM -0200, gilberto nunes wrote: > =20 >> Hi people >> >> Almost 3 mount I have compile xen-unstable to work with remus... >> >> I deploy a VM like this: >> >> name=3D'Windows-2003-I' >> kernel =3D "/usr/lib/xen/boot/hvmloader" >> device_model =3D '/usr/lib/xen/bin/qemu-dm' >> builder=3D'hvm' >> memory=3D1536 >> #shadow_memory=3D10 >> vif=3D['mac=3D00:13:3e:37:9f:00,bridge=3Dxenbr0'] >> disk=3D['file:/storage/VMS/MSWindows/Windows-2003-I.img,hda,w',=20 >> '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=3D'c' >> on_poweroff =3D 'destroy' >> on_reboot =3D 'restart' >> n_crash =3D 'restart' >> sdl=3D0 >> vnc=3D1 >> vnclisten=3D"0.0.0.0" >> stdvga=3D0 >> >> So, the VM start normally and I got replicate the VM via remus normall= y.... >> >> However, some minutes pass and the VM die and turn your state to suspe= nd... >> 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.= ... >> >> =20 > > I'm not sure where Remus logs, but you could start with checking > the following logs in dom0: > > - "xm log" output=20 > - "xm dmesg" output > - "dmesg" output > - /var/log/messages > - /var/log/syslog > - /var/log/xen/* > > > -- Pasi > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > =20 --=20 *Gilberto Nunes Ferreira* *TI* *Selbetti Gest=E3o de Documentos* *Telefone: +55 (47) 3441-6004* *Celular: +55 (47) 8861-6672* <><