Hi,
I am on the way to setup a 2 node xen cluster using drbd.
To automatically control the role (Secondary -> Secondary, Primary-> Secondary, Secondary->Primary) of my drbd resource, it seems like (not sure though) i need to use
disk = [ 'drbd1:guest01-disk,xvda,w' ]
instead of
disk = [ "phy:/dev/vg/guest01-disk,xvda,w" ]
And it is only possible with xen 3.2 or later. Is it true? With xen
3.0.3. I get Error: Disk not acceptable. If yes, is there any way out so that xen controls the role automatically without upgrading xen.
My current problem: if i want to start the xen domU, first i need to manually make the drbd resource primary using: drbdsetup /dev/drbd0 primary -o
And after migration I can not access the console in the other node. It hangs after few seconds. If I migrate back the domU to the original node, then I can again access the console easily.
Right now I have xen 3.0.3 running under centOS 5.2
Thanks
Paras.