I am configuring my first DRBD cluster on CentOS 5.5 and facing hell lot of issues however I managed to configure the DRBD on both the nodes and somehow I am both the nodes are unable to detect each other. Also i do have few queries and would appreciate if DRBD Gurus out there can help me understand.
My scenario is like this
Here is the /etc/init.d status on mail1
[root@mail1 ~]# /etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 8.2.6 (api:88/proto:86-88)
GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by buildsvn@c5-i386-build, 2008-10-03 11:42:32
m:res cs st ds p mounted fstype
0:r0 StandAlone Primary/Unknown UpToDate/DUnknown - /opt ext3
Hoever on seciondary is uable to detect Primary.
Can someone shed light on this issue?
Also my queries are
1] Since after every reboot though my DRBD services comes up I do need to execute below command on both the nodes else they unable to detect their role from drbd.conf
drbdsetup /dev/drbd0 primary -o AND then mount /dev/drbd0 /opt
So, I would like to know that where I can put that command so that same will be taken after reboot and will survive
Also, do I need to install zimbra before DRBD or can that be installed after everything is finished?