[DRBD-user] Integrating DRBD with Redhat cluster

Jayanta Ghosh jayanta.ghosh at rp-sg.in
Sat Aug 17 10:37:54 CEST 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Dear List,

 

We have deployed mailing solution over a two node cluster using Red  Hat
Cluster Suit. The OS is RHEL 6.1 (64 bit) at our data center. We  are having
an identical setup at our DR site. We need to replicate the 

 mail store and the mail queue to the DR site. For this we are planning  to
implement DRBD  8.4.3 (community version). We have created the DRBD related
RPMs using  the rpmbuild command and this has generated the following
packages:

 

drbd-heartbeat-8.4.3-2.el6.x86_64

 

drbd-xen-8.4.3-2.el6.x86_64

 

drbd-km-debuginfo-8.4.3-2.el6.x86_64

 

drbd-udev-8.4.3-2.el6.x86_64

 

drbd-8.4.3-2.el6.x86_64

 

drbd-pacemaker-8.4.3-2.el6.x86_64

 

drbd-debuginfo-8.4.3-2.el6.x86_64

 

drbd-utils-8.4.3-2.el6.x86_64

 

drbd-km-2.6.32_131.0.15.el6.x86_64-8.4.3-2.el6.x86_64

 

drbd-bash-completion-8.4.3-2.el6.x86_64

 

We have tested the drbd replication is happening. Now we would like to
integrate the drbd with Redhat failover cluster. We have incorporated the
changes in the cluster.conf file and the same is attached herein for your
reference. In the cluster.conf we have called a script "drbd_manage.sh" to
manage the operations of drbd and it is also attached herewith. 

 

But the issue is  the cluster service is not working . The errors that are
coming up is as follows:-

 

Aug 17 12:39:59 drmail1 rgmanager[5899]: Initializing Services

Aug 17 12:39:59 drmail1 rgmanager[6709]: Executing /usr/etc/cron_manage.sh
stop

Aug 17 12:39:59 drmail1 rgmanager[6764]: Executing /usr/etc/cron_manage.sh
stop

Aug 17 12:39:59 drmail1 rgmanager[6763]: Executing /etc/init.d/httpd stop

Aug 17 12:39:59 drmail1 rgmanager[6829]: Executing /etc/init.d/saslauthd
stop

Aug 17 12:39:59 drmail1 rgmanager[6896]: Executing
/etc/init.d/courier-authlib stop

Aug 17 12:39:59 drmail1 rgmanager[7000]: Executing /etc/init.d/courier-imap
stop

Aug 17 12:39:59 drmail1 rgmanager[6979]: /dev/emcpowera1 is not mounted

Aug 17 12:40:00 drmail1 rgmanager[7062]: Executing /etc/init.d/postfix stop

Aug 17 12:40:00 drmail1 rgmanager[7097]: Executing /usr/etc/drbd_manage.sh
stop

Aug 17 12:40:00 drmail1 rgmanager[7176]: stop: Could not match /dev/drbd2
with a real device

Aug 17 12:40:00 drmail1 rgmanager[5899]: stop on fs "drbd-spool" returned 2
(invalid argument(s))

Aug 17 12:40:00 drmail1 rgmanager[7213]: stop: Could not match /dev/drbd1
with a real device

Aug 17 12:40:00 drmail1 rgmanager[5899]: stop on fs "drbd-mailstore"
returned 2 (invalid argument(s))

Aug 17 12:40:00 drmail1 rgmanager[5899]: Services Initialized

Aug 17 12:40:00 drmail1 rgmanager[5899]: State change: Local UP

 

Regards,

Jayanta ghosh

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130817/0a936185/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cluster.conf
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130817/0a936185/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drbd_manage.sh
Type: application/octet-stream
Size: 669 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130817/0a936185/attachment.obj>


More information about the drbd-user mailing list