Xen-unstable and Remus
Hi folks
I would to know if somebody here use remus with xen-unstable...
I deploy two servers with this tools and see some abnormal behavior.
I have this xen HVM:
kernel = "/usr/lib/xen/boot/hvmloader"device_model = '/usr/lib/xen/bin/qemu-dm'
builder='hvm'
memory = 512shadow_memory = 16
name = "Windows-2003"
vif=['mac=00:13:3e:37:9f:9e,bridge=xenbr0'] disk=['phy:/dev/drbd0,hda,w', 'file:/storage/ISOS/win2003-STR2-i386.iso,hdc:cdrom,r'] boot="c"on_poweroff = 'destroy'on_reboot = 'restart'n_crash = 'restart'
sdl=0
vnc=1
vnclisten="0.0.0.0"
stdvga=0
serial='pty'
I success create a vm on server xen-0 (my master node). I success migrate the vm to xen-1 (my slave node). I came back successfully vm to xen-0.
When I run remus -i 100 Windows-2003 xen-slave, I see the vm on slave node turn paused and vm started on master node. I see remus continuously send packages to slave node.
But after 3 or 5 minutes, I see the the VM on master node enter in suspend mode without any human intervention! :) I see that state of vm on slave node has change also, to started mode ( xm list show a ---b-- state). After this point, the vm freeze and everything goes to down!!!!
Some details about my enviroment:
Two Dell PowerEdge T300 with 1 GB of memory (I know! It's not enoght) and 160 GB of hard disk. CentOS x86_64 with kernel 2.6.18.8 compile against xen-unstable...
I have a isolated network to performer live migration and remus...
I hope to be clear here....
Thanks for any help
Signature · 9 lines
*Gilberto Nunes Ferreira* *TI* *Selbetti Gestão de Documentos* *Telefone: +55 (47) 3441-6004* *Celular: +55 (47) 8861-6672* <><
HI again
I recompile xen-unstable, and at this time, I have remus running with flag --no-net and everything seems good...
I just see that VM on master node change your state between -b----, r----- and ---s--, in feel seconds...
I do not know if this is a desired behavior or not...
Thanks a lot
gilberto nunes escreveu:
Quoted 54 lines
Hi folks
I would to know if somebody here use remus with xen-unstable...
I deploy two servers with this tools and see some abnormal behavior.
I have this xen HVM:
kernel = "
/usr/lib/xen/boot/hvmloader"device_model= '/usr/lib/xen/bin/qemu-dm'
builder='hvm'
memory = 512shadow_memory= 16
name = "Windows-2003"
vif=['mac=00:13:3e:37:9f:9e,bridge=xenbr0'] disk=['phy:/dev/drbd0,hda,w', 'file:/storage/ISOS/win2003-STR2-i386.iso,hdc:cdrom,r'] boot="c"on_poweroff= 'destroy'on_reboot= 'restart'n_crash= 'restart'
sdl=0
vnc=1
vnclisten="0.0.0.0"
stdvga=0
serial='pty'I success create a vm on server xen-0 (my master node). I success migrate the vm to xen-1 (my slave node). I came back successfully vm to xen-0.
When I run remus -i 100 Windows-2003 xen-slave, I see the vm on slave node turn paused and vm started on master node. I see remus continuously send packages to slave node.
But after 3 or 5 minutes, I see the the VM on master node enter in suspend mode without any human intervention! :) I see that state of vm on slave node has change also, to started mode ( xm list show a ---b-- state). After this point, the vm freeze and everything goes to down!!!!Some details about my enviroment:
Two Dell PowerEdge T300 with 1 GB of memory (I know! It's not enoght) and 160 GB of hard disk. CentOS
x86_64with kernel 2.6.18.8 compile against xen-unstable...
I have a isolated network to performer live migration and remus...I hope to be clear here....
Thanks for any help
Signature · 9 lines
*Gilberto Nunes Ferreira* *TI* *Selbetti Gestão de Documentos* *Telefone: +55 (47) 3441-6004* *Celular: +55 (47) 8861-6672* <><
Re: Xen-unstable and Remus (It's drive me crazy...)
Hi again...
Now, I active -i 1000 on remus tool and I have VM on both sides with -b---- state!
This is a normal behavior???
thanks
gilberto nunes escreveu:
Quoted 67 lines
HI again
I recompile xen-unstable, and at this time, I have remus running with flag --no-net and everything seems good...
I just see that VM on master node change your state between -b----, r----- and ---s--, in feel seconds...
I do not know if this is a desired behavior or not...
Thanks a lot
gilberto nunes escreveu:
Quoted 54 lines
Hi folks
I would to know if somebody here use remus with xen-unstable...
I deploy two servers with this tools and see some abnormal behavior.
I have this xen HVM:
kernel = "
/usr/lib/xen/boot/hvmloader"device_model= '/usr/lib/xen/bin/qemu-dm'
builder='hvm'
memory = 512shadow_memory= 16
name = "Windows-2003"
vif=['mac=00:13:3e:37:9f:9e,bridge=xenbr0'] disk=['phy:/dev/drbd0,hda,w', 'file:/storage/ISOS/win2003-STR2-i386.iso,hdc:cdrom,r'] boot="c"on_poweroff= 'destroy'on_reboot= 'restart'n_crash= 'restart'
sdl=0
vnc=1
vnclisten="0.0.0.0"
stdvga=0
serial='pty'I success create a vm on server xen-0 (my master node). I success migrate the vm to xen-1 (my slave node). I came back successfully vm to xen-0.
When I run remus -i 100 Windows-2003 xen-slave, I see the vm on slave node turn paused and vm started on master node. I see remus continuously send packages to slave node.
But after 3 or 5 minutes, I see the the VM on master node enter in suspend mode without any human intervention! :) I see that state of vm on slave node has change also, to started mode ( xm list show a ---b-- state). After this point, the vm freeze and everything goes to down!!!!Some details about my enviroment:
Two Dell PowerEdge T300 with 1 GB of memory (I know! It's not enoght) and 160 GB of hard disk. CentOS
x86_64with kernel 2.6.18.8 compile against xen-unstable...
I have a isolated network to performer live migration and remus...I hope to be clear here....
Thanks for any help
Signature · 9 lines
*Gilberto Nunes Ferreira* *TI* *Selbetti Gestão de Documentos* *Telefone: +55 (47) 3441-6004* *Celular: +55 (47) 8861-6672* <><
Re: Xen-unstable and Remus (It's drive me crazy...)
Quoted 6 lines · gilberto nunes
Hi again...
Now, I active -i 1000 on remus tool and I have VM on both sides with -b---- state!
This is a normal behavior???
No, that happens if the backup thinks that the primary failed, but it hasn't. In this case, it's because the primitive heartbeat built into Remus expects traffic at least every 500ms, so at 1000 it's not getting it. I'd recommend keeping -i at or below the default of 200 until we make the heartbeat smarter. You could also use something like linux-HA's STONETH to kill off the primary before unleashing the backup on the world. Seamless integration with linux-ha is a TODO item.
Re: Xen-unstable and Remus (It's drive me crazy...)
Thanks for answers
I get success work withou -i option...
If I put -i flags, with 200 or minor, whatever, remus do not work properly....
Do you have any idea when remus go up to production state? Any date??
Thanks again
Brendan Cully escreveu:
Quoted 24 lines · gilberto nunes
Quoted 8 lines
Hi again...
Now, I active -i 1000 on remus tool and I have VM on both sides with -b---- state!
This is a normal behavior???
No, that happens if the backup thinks that the primary failed, but it hasn't. In this case, it's because the primitive heartbeat built into Remus expects traffic at least every 500ms, so at 1000 it's not getting it. I'd recommend keeping -i at or below the default of 200 until we make the heartbeat smarter. You could also use something like linux-HA's STONETH to kill off the primary before unleashing the backup on the world. Seamless integration with linux-ha is a TODO item.
_______________________________________________
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* <><
Re: Xen-unstable and Remus (It's drive me crazy...)
In reply to Brendan Cully_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 9 lines · gilberto nunes
HI again
I recompile xen-unstable, and at this time, I have remus running with flag --no-net and everything seems good...
I just see that VM on master node change your state between -b----, r----- and ---s--, in feel seconds...
I do not know if this is a desired behavior or not...
Yes, that's normal. It should go between r (or b) and s at the interval you've specified with -i (200ms, or 5/sec by default).