<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><br>Today I can tell you is just the following,<br><span style="background-color: rgb(255, 0, 0);"><b>OS: </b></span>CentOS 7.2</div><div><span style="background-color: rgb(255, 0, 0);"><b>DRBD9 resource file content:</b></span><br>resource r0 {<br> device minor 1;<br> meta-disk internal;<br> on drbd.node102 {<br> disk /dev/ram0;<br> address 192.168.56.102:7789;<br> node-id 2;<br> }<br> on drbd.node101{<br> disk /dev/ram0;<br> address 192.168.56.101:7789;<br> node-id 1;<br> }<br> on drbd.node103{<br> disk /dev/ram0;<br> address 192.168.56.103:7789;<br> node-id 3;<br> }<br> connection{<br> host drbd.node102 port 7789;<br> host drbd.node101 port 7789;<br> }<br> connection{<br> host drbd.node102 port 7789;<br> host drbd.node103 port 7789;<br> }<br> connection{<br> host drbd.node101 port 7789;<br> host drbd.node103 port 7789;<br> }</div><div> }</div><div><span style="background-color: rgb(255, 0, 0);"><b>the output for the error</b></span>(sorry, I can't give you the complete output message today. If the error message is not enough, I will sent you another email about the complete output message):<br>Sep 23 04:00:16 drbd lrmd[6057]: notice: WebData_start_0:6093:stderr [ 'r0' is a normal resource, and not available in stacked mode. ]<br> Sep 23 04:00:16 drbd lrmd[6057]: notice: WebData_start_0:6093:stderr [ 'r0' is a normal resource, and not available in stacked mode. ]<br> Sep 23 04:00:16 drbd crmd[6060]: error: Result of start operation for WebData on drbd.node102: Timed Out | call=7 key=WebData_start_0 timeout=240000ms<br> Sep 23 04:00:16 drbd crmd[6060]: notice: drbd.node102-WebData_start_0:7 [ 'r0' is a normal resource, and not available in stacked mode.\n'r0' is a normal resource, and not available in stacked mode.\n'r0' is a normal resource, and not available in stacked mode.\n'r0' is a normal resource, and not available in stacked mode.\n'r0' is a normal resource, and not available in stacked mode.\n'r0' is a normal resource, and not available in stacked mode.\n'r0' is a normal resource, and not available in stacked mode.\n'r0' is a normal resource,<br> Sep 23 04:00:16 drbd lrmd[6057]: notice: WebData_notify_0:7894:stderr [ 'r0' is a normal resource, and not available in stacked mode. ]</div><div><br></div><div><span style="background-color: rgb(255, 0, 0);"><b>pacemaker1.1.15 + corosync2.3.5:</b></span></div><div>According to chapter 7.6 <Configure the Cluster for the DRBD device <br>> of <<a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>>, the drbd resource is configured as:<br>[root@pcmk-1 ~]# pcs -f drbd_cfg resource create WebData ocf:linbit:drbd \ </div><div> drbd_resource=wwwdata op monitor interval=60s</div><div> [root@pcmk-1 ~]# pcs -f drbd_cfg resource master WebDataClone WebData \ </div><div> master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 \ </div><div> notify=true <br><span style="background-color: rgb(255, 0, 0);">ps:We have no filesystem on the DRBD device.</span></div><div><br></div><pre><br>At 2016-09-24 22:43:52, "Digimer" <lists@alteeve.ca> wrote:
>On 23/09/16 05:16 AM, mzlld1988 wrote:
>> Hello, everyone
>>
>> I have a question about using DRBD9 with pacemaker 1.1.15 .
>>
>> Does DRBD9 can be used in pacemaker£¿
>
>Yes
>
>> Why do my cluster can't start drbd?
>>
>> Error message:
>> "r0 is a normal resource , and not available in stacked mode."
>
>You will need to tell us more about your setup. What OS? What are the
>pacemaker and DRBD configurations? Show the complete log output from
>both nodes (starting from just before you tried to start until a little
>after it failed, from both/all nodes).
>
>--
>Digimer
>Papers and Projects: https://alteeve.ca/w/
>What if the cure for cancer is trapped in the mind of a person without
>access to education?
</pre></div><br><br><span title="neteasefooter"><p> </p></span>