Hi Kemal,

I had some bad experience with the stock Ubuntu 12.04 drbd8 packages. For example in the past they delivered an old drbd8-utils version (8.3.11) with a more recent kernel module (8.4.2). Today (with all repos active) you get drbd8-utils 8.4.3 with module 8.4.2 which is ok, but I don't want to rely on a cluster where an dist-upgrade could break my drbd. In my opinion Dirk did right to compile the module on his own. The docs at drbd.org are straight forward and I didn't have to change anything in the code. Be sure to compile with "--with-km" as building the module isn't default.

Another point with your setup: You wrote that you want the VM(s) to failover. For this setup you do not need necessarily an active/active config. If the cluster node running your VM fails, the other node cannot live migrate any more. But it is possible to configure cluster and drbd temporarily into maintenance and active/active respectively for live migration during planned downtime. My favorite setup for a VM cluster uses KVM and DRBD as backing devices, so I don't have to mount anything between the "promote" of drbd-device and the "start" of KVM. This setup should work in nearly the same way with Xen, because you can use the same resource agent in your cluster config. I didn't use Xen for a couple of years, so I cannot privide detailed information here, sorry.

Regards,
Mathias


Am 17.05.2014 04:23, schrieb kamal kishi:
Thank you Dirk, may i know if you changed any settings in source code while compiling DRBD or just compiled the default one.

Anyone know why the folders are not created?


On Fri, May 16, 2014 at 5:37 PM, Dirk Bonenkamp - ProActive <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I'm running production with 12.04. I use DRDB version 8.4.4, which
    I've compiled myself.

    Pacemaker / corosync is stock ubuntu.

    I'm using a master slave setup. I've done quite some test with
    master/ master and OCFS2 and never was satisfied. Performance was
    'sub optimal'.

    My current setup works excellent!

    Kind regards,

    Dirk





    kamal kishi schreef op 16-5-2014 6:52:
    Hi all,

    I'm trying to configure DRBD+Pacemaker+XEN+OCFS2 for
    ACTIVE/ACTIVE VM failover.

    I'm stuck at the first step itself, installing and configuring
    Pacemaker to handle DRBD.

    There are 2 issues I'm facing :
    1. After installing DRBD using "apt-get install drbd8-utils", the
    /dev/drbd/by-res/r0 or /dev/drbd/by-disk/disk_name folders are
    not created by itself (Few months back I had followed same
    procedure to install DRBD, it created the folders mentioned above)
    As this /dev/drbd/by-res/r0 used for configuring Pacemaker,
    putting this query

    2. Although the above mentioned folders are not created, running
    DRBD manually works fine.
    When integrated with pacemaker to handle DRBD, DRBD doesn't start
    at all.
    Find the attached logs for DRBD and Pacemaker configuration used
    and the logs from 2 servers

    Request :
    Can anyone please suggest best UBUNTU( or any other OS suggestion
    also fine), DRBD and Pacemaker versions which works fine to be
    used in production level

    Looking for a solution as same is to be deployed in Production
    Servers :(

-- Regards,
    Kamal Kishore B V


    _______________________________________________
    drbd-user mailing list
    [email protected]  <mailto:[email protected]>
    http://lists.linbit.com/mailman/listinfo/drbd-user

-- <http://www.proactive.nl>
    T   023 - 5422299
    www.proactive.nl <http://www.proactive.nl>

    LinkedIn <http://www.linkedin.com/groups?home=&gid=2914028>
    Twitter <https://twitter.com/ProActive_nl>    YouTube
    <http://www.youtube.com/user/ProActiveSoftware>

    My status




--
Regards,
Kamal Kishore B V


_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to