* Xen + Remus
@ 2010-01-12 12:28 gilberto nunes
2010-01-12 12:51 ` Pasi Kärkkäinen
0 siblings, 1 reply; 3+ messages in thread
From: gilberto nunes @ 2010-01-12 12:28 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
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....
Thanks
--
*Gilberto Nunes Ferreira*
*TI*
*Selbetti Gestão de Documentos*
*Telefone: +55 (47) 3441-6004*
*Celular: +55 (47) 8861-6672*
<><
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xen + Remus
2010-01-12 12:28 Xen + Remus gilberto nunes
@ 2010-01-12 12:51 ` Pasi Kärkkäinen
2010-01-12 17:30 ` gilberto nunes
0 siblings, 1 reply; 3+ messages in thread
From: Pasi Kärkkäinen @ 2010-01-12 12:51 UTC (permalink / raw)
To: gilberto nunes; +Cc: xen-devel@lists.xensource.com
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xen + Remus
2010-01-12 12:51 ` Pasi Kärkkäinen
@ 2010-01-12 17:30 ` gilberto nunes
0 siblings, 0 replies; 3+ messages in thread
From: gilberto nunes @ 2010-01-12 17:30 UTC (permalink / raw)
To: Pasi Kärkkäinen; +Cc: xen-devel@lists.xensource.com
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@lists.xensource.com
> 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*
<><
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-12 17:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 12:28 Xen + Remus gilberto nunes
2010-01-12 12:51 ` Pasi Kärkkäinen
2010-01-12 17:30 ` gilberto nunes
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.