[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] [Xen-devel] Remus disk replication failed



hi
 sorry for the delayed response. IIRC the blktap2 driver required for
tapdisk replication doesnt exist in the mainstream dom0 kernels, IIRC.
 I havent used it in a long time myself. I suggest trying disk
replication with DRBD.

thanks
shriram

On Mon, Feb 18, 2013 at 5:38 AM, Hery Dian Septama <herydians@xxxxxxxxx> wrote:
> Hello, Anyone have a clue? I have tried but still failed :(
>
> On Sat, Feb 16, 2013 at 6:56 PM, agya naila <agya.naila@xxxxxxxxx> wrote:
>>
>> Dear all,
>>
>> I am configure my machine to run the remus disk replication. I am using
>> xen 4.2.3 installed from sources and Ubuntu 12.04 64 bit both for Dom0 and
>> DomU.
>> I have install the blktap and its work properly with configuration string
>> phy or tap2 like this :
>> disk = ['phy:/dev/vggroup/DomU,xvda,w']
>> or
>> disk = ['tap2:tapdisk:aio:/dev/vggroup/DomU,xvda,w']
>>
>> and remus command
>>
>> remus --no-net myvm mybackuphost
>>
>>
>> However when I change the string as suggested on remus pages to enable the
>> disk replication its still failed :
>>
>> name = "DomU"
>> memory = 1024
>> disk = ['tap2:remus:10.10.10.3:8002|aio:/dev/vggroup/DomU,xvda,w']
>> vif = ['ip=192.168.1.55,bridge=xenbr0']
>> bootloader = "pygrub"
>>
>> with error messages :
>>
>> name1@machine1:~$ sudo xm create -c /etc/xen/DomU.cfg
>> Using config file "/etc/xen/DomU.cfg".
>> Error: ('create', '-aremus:10.10.10.3:8002|aio:/dev/vggroup/DomU') failed
>> (512  )
>>
>> and on the log file :
>>
>>
>> name1@machine1:~$ sudo sudo tail /var/log/xen/xend.log
>>     mounted_vbd_uuid = dom0.create_vbd(vbd, disk);
>>   File
>> "/usr/local/lib/python2.7/dist-packages/xen/xend/XendDomainInfo.py", line
>> 3987, in create_vbd
>>     devid = dev_control.createDevice(config)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/xen/xend/server/BlktapController.py",
>> line 174, in createDevice
>>     device = TapdiskController.create(params, file)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/xen/xend/server/BlktapController.py",
>> line 286, in create
>>     return TapdiskController.exc('create', '-a%s:%s' % (dtype, image))
>>   File
>> "/usr/local/lib/python2.7/dist-packages/xen/xend/server/BlktapController.py",
>> line 233, in exc
>>     (args, rc, out, err))
>> TapdiskException: ('create',
>> '-aremus:10.10.10.3:8002|aio:/dev/vggroup/DomU') failed (512  )
>>
>> Any hints and help would very appreciated.
>>
>> Regards,
>>
>> Agya
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxx
>> http://lists.xen.org/xen-devel
>>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.