Skip to contentSkip to conversation

Xen + Remus

DISCUSSION gilberto nunes 2 participants 3 messages Jan 12, 2010

lore
Share & tools
lore
#0 lore raw

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

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



<><
#1 lore raw
Quoted 28 lines · gilberto nunes

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

Quoted 9 lines

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

#2 lore raw

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:

Quoted 59 lines · gilberto nunes
Quoted 28 lines

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

Quoted 10 lines

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
[email protected]
http://lists.xensource.com/xen-devel

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



<><