<html><head/><body><html><head></head><body> I can't finde this packet in ubuntu repos. I'll try to use debian's one<br><br><div class="gmail_quote">emmanuel segura <emi2fast@gmail.com> escribió:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello Angel<br /><br />I'm using debian, i don't know if the result on ubuntu is the same, try<br /><br />apt-file search dlm_controld.pcmk<br /><br />Result should be:<br />dlm-pcmk: /usr/sbin/dlm_controld.pcmk<br /><br /><br /><div class="gmail_quote">
2013/3/22 Angel L. Mateo <span dir="ltr"><<a href="mailto:amateo@um.es" target="_blank">amateo@um.es</a>></span><br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br />
<br />
        I'm trying to configure a cluster based in pacemaker and corosync in two ubuntu precise servers. The cluster is for an active/standby pop/imap server with a shared storage accesed through fibrechannel.<br />
<br />
        In order to avoid concurrent access to this shared storage, I need clvm (maybe I'm wrong), so I'm trying to configure it. According to different guides and howtos I have found I have configured a DLM and clvm resource:<br />

<br />
root@myotis51:/etc/cluster# crm configure show<br />
node myotis51<br />
node myotis52<br />
primitive clvm ocf:lvm2:clvmd \<br />
        params daemon_timeout="30" \<br />
        meta target-role="Started"<br />
primitive dlm ocf:pacemaker:controld \<br />
        meta target-role="Started"<br />
group dlm-clvm dlm clvm<br />
clone dlm-clvm-clone dlm-clvm \<br />
        meta interleave="true" ordered="true"<br />
property $id="cib-bootstrap-options" \<br />
        dc-version="1.1.6-<u></u>9971ebba4494012a93c03b40a2c58e<u></u>c0eb60f50c" \<br />
        cluster-infrastructure="cman" \<br />
        expected-quorum-votes="2" \<br />
        stonith-enabled="false" \<br />
        no-quorum-policy="ignore" \<br />
        last-lrm-refresh="1363957949"<br />
rsc_defaults $id="rsc-options" \<br />
        resource-stickiness="100"<br />
<br />
        With this configuration, resources are not launched, I think because DLM is failing because it's trying to launch dlm_controld.pcmk which is not installed in my system<br />
<br />
Mar 22 13:52:57 myotis51 pengine: [2989]: notice: LogActions: Start dlm:0       (myotis51)<br />
Mar 22 13:52:57 myotis51 pengine: [2989]: notice: LogActions: Leave dlm:1       (Stopped)<br />
Mar 22 13:52:57 myotis51 crmd: [2990]: info: te_rsc_command: Initiating action 4: monitor dlm:0_monitor_0 on myotis51 (local)<br />
Mar 22 13:52:57 myotis51 crmd: [2990]: info: do_lrm_rsc_op: Performing key=4:0:7:71fa2334-a3f3-4c01-<u></u>a000-7e702a32d0e2 op=dlm:0_monitor_0 )<br />
Mar 22 13:52:57 myotis51 lrmd: [2987]: info: rsc:dlm:0 probe[2] (pid 3050)<br />
Mar 22 13:52:57 myotis51 controld[3050]: ERROR: Setup problem: couldn't find command: dlm_controld.pcmk<br />
Mar 22 13:52:57 myotis51 lrmd: [2987]: info: operation monitor[2] on dlm:0 for client 2990: pid 3050 exited with return code 5<br />
Mar 22 13:52:57 myotis51 crmd: [2990]: info: process_lrm_event: LRM operation dlm:0_monitor_0 (call=2, rc=5, cib-update=27, confirmed=true) not installed<br />
Mar 22 13:52:57 myotis51 crmd: [2990]: WARN: status_from_rc: Action 4 (dlm:0_monitor_0) on myotis51 failed (target: 7 vs. rc: 5): Error<br />
Mar 22 13:52:57 myotis51 crmd: [2990]: info: abort_transition_graph: match_graph_event:277 - Triggered transition abort (complete=0, tag=lrm_rsc_op, id=dlm:0_last_failure_0, magic=0:5;4:0:7:71fa2334-a3f3-<u></u>4c01-a000-7e702a32d0e2, cib=0.32.14) : Event failed<br />

Mar 22 13:52:57 myotis51 crmd: [2990]: info: match_graph_event: Action dlm:0_monitor_0 (4) confirmed on myotis51 (rc=4)<br />
Mar 22 13:52:57 myotis51 pengine: [2989]: notice: unpack_rsc_op: Hard error - dlm:0_last_failure_0 failed with rc=5: Preventing dlm-clvm-clone from re-starting on myotis51<br />
Mar 22 13:52:57 myotis51 pengine: [2989]: notice: LogActions: Leave dlm:0       (Stopped)<br />
Mar 22 13:52:57 myotis51 pengine: [2989]: notice: LogActions: Leave dlm:1       (Stopped)<br />
<br />
        The problem with this is that I can't find any dlm_controld.pcmk binary for ubuntu. Any idea on how to fix this?<br />
<br />
        The closest command I have found is dlm_controld provided with cman packages, but then I have to replace corosync with cman. Doing this is not a big problem for me. The fact is that I'm newbie in HA and the use of corosync instead of cman is because this is the one documented with pacemaker (<a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Clusters_from_Scratch/index.html" target="_blank">http://clusterlabs.org/doc/<u></u>en-US/Pacemaker/1.1-plugin/<u></u>html/Clusters_from_Scratch/<u></u>index.html</a>).<br />

<br />
        Is it corosync supposed to be better (or more open or more standard based) than cman? In case corosync is more recommended, then what is the solution for the dlm problem?<br />
<br />
        Thanks in advanced.<br />
<br />
-- <br />
Angel L. Mateo Martínez<br />
Sección de Telemática<br />
Área de Tecnologías de la Información<br />
y las Comunicaciones Aplicadas (ATICA)<br />
<a href="http://www.um.es/atica" target="_blank">http://www.um.es/atica</a><br />
Tfo: 868889150<br />
Fax: 868888337<br />
<br />
______________________________<u></u>_________________<br />
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br />
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br />
<br />
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br />
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br />
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br />
</blockquote></div><br /><br clear="all" /></blockquote></div><br>
-- <br>
Enviado desde mi teléfono Android con K-9 Mail. Disculpa mi brevedad</body></html></body></html>