drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: [DRBD-user] DRBD is deadly slow.

[DRBD-user] DRBD is deadly slow.

From: Balreddy Medipally <balreddy.m_at_nospam>
Date: Tue Mar 30 2010 - 12:38:10 GMT
To: <drbd-user@lists.linbit.com>

 Hi All,

        I am running DRBD 8.3.0 on RedHat Enterprise Linux AS 4.8 64-bit
OS for production purpose. MySQL works superfast in when load was not
there, when load was there it become deadly slow. Can any one please
help me to make it faster.

Here is my drbd.conf file.

[root@imi-drbd1 ~]# cat /etc/drbd.conf
resource drbd0 {
protocol C;
startup {
become-primary-on both;
}
net {
allow-two-primaries;
cram-hmac-alg sha256;
shared-secret DRBD2KVM123456;
after-sb-0pri discard-least-changes;
after-sb-1pri violently-as0p;
after-sb-2pri violently-as0p;
rr-conflict violently;
}
syncer {
rate 44M;
}

on imi-drbd1 {
         device /dev/drbd0;
         disk /dev/sda2;
         address ipv4 192.168.168.1:7768;
         meta-disk internal;
}
on imi-drbd2 {
         device /dev/drbd0;
         disk /dev/sda2;
         address ipv4 192.168.168.2:7768;
         meta-disk internal;
        }
}
[root@imi-drbd1 ~]#

Thanks,
BalReddy.
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user