[Pacemaker] Errors in configuring cluster project with DRBD and OCFS2, Help !
Jonathan-Marc Lapointe
jmlapointe at ccdmd.qc.ca
Wed Jun 19 14:21:03 CEST 2013
Hi,
I have a project I'm working on and I'm stuck right now.
I'm building a cluster of 2 load balanced web server and I'm using DRBD,
OCFS2 and Pacemaker/Corosync.
My Problem is with configuring Pacemaker, the rest is working fine.
Here is the config I used to configure my resources:
--------------------------------------------------------------------------------
primitive p_drbd_ocfs2 ocf:linbit:drbd \
params drbd_resource="ocfs2"
ms ms_drbd_ocfs2 p_drbd_ocfs2 \
meta master-max=2 clone-max=2
primitive p_controld ocf:pacemaker:controld
primitive p_o2cb ocf:pacemaker:o2cb
group g_ocfs2mgmt p_controld p_o2cb
clone cl_ocfs2mgmt g_ocfs2mgmt \
meta interleave=true
primitive p_fs_ocfs2 ocf:heartbeat:Filesystem \
params device="/dev/drbd0" directory="/mnt/data" fstype="ocfs2"
options="rw,noatime"
clone cl_fs_ocfs2 p_fs_ocfs2
order o_ocfs2 inf: ms_drbd_ocfs2:promote cl_ocfs2mgmt:start
cl_fs_ocfs2:start
colocation c_ocfs2 inf: cl_fs_ocfs2 cl_ocfs2mgmt ms_drbd_ocfs2:Master
--------------------------------------------------------------------------------
But when I commit it, I get the following errors in crm_mon that I don't
understand:
--------------------------------------------------------------------------------
============
Last updated: Tue Jun 18 16:36:02 2013
Last change: Tue Jun 18 16:36:02 2013 via crm_shadow on web1dev
Stack: openais
Current DC: web1dev - partition with quorum
Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
2 Nodes configured, 2 expected votes
8 Resources configured.
============
Online: [ web2dev web1dev ]
Master/Slave Set: ms_drbd_ocfs2 [p_drbd_ocfs2]
p_drbd_ocfs2:0 (ocf::linbit:drbd): Slave web1dev
(unmanaged) FAILED
p_drbd_ocfs2:1 (ocf::linbit:drbd): Slave web2dev
(unmanaged) FAILED
Failed actions:
p_drbd_ocfs2:0_stop_0 (node=web1dev, call=10, rc=6,
status=complete): not configured
p_controld:0_monitor_0 (node=web1dev, call=6, rc=5,
status=complete): not installed
p_drbd_ocfs2:1_stop_0 (node=web2dev, call=10, rc=6,
status=complete): not configured
p_controld:0_monitor_0 (node=web2dev, call=6, rc=5,
status=complete): not installed
--------------------------------------------------------------------------------
Any help appreciated !
Thanx !
CCDMD 20 ans !
Jonathan-Marc Lapointe
Technicien en informatique,
Administrateur système,
Administrateur réseau
Centre collégial de développement de matériel didactique
6220, rue Sherbrooke Est, bureau 404
Montréal (Québec) H1N 1C1
514) 864-8443
www.ccdmd.qc.ca <http://www.ccdmd.qc.ca>
jmlapointe at ccdmd.qc.ca <mailto:jmlapointe at ccdmd.qc.ca>
Skype: jmlccdmd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20130619/bb2a8454/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Logo_CCDMD_20ans_186_RGB.png
Type: image/png
Size: 2967 bytes
Desc: not available
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20130619/bb2a8454/attachment.png>
More information about the Pacemaker
mailing list