[DRBD-user] DRBD9&Pacemaker

刘丹 mzlld1988 at 163.com
Sun Sep 25 17:53:56 CEST 2016

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


Today I can tell you is just the following,
OS:  CentOS 7.2
DRBD9 resource file content:
resource r0 {
           device minor 1;
           meta-disk internal;
           on drbd.node102 {
             disk /dev/ram0;
             address 192.168.56.102:7789;
             node-id 2;
           }
           on drbd.node101{
              disk /dev/ram0;
              address 192.168.56.101:7789;
              node-id 1;
           }
           on drbd.node103{
              disk /dev/ram0;
              address 192.168.56.103:7789;
              node-id 3;
           }
           connection{
              host  drbd.node102 port 7789;
              host  drbd.node101 port 7789;
           }
           connection{
              host drbd.node102 port 7789;
              host drbd.node103 port 7789;
           }
           connection{
              host drbd.node101 port 7789;
              host drbd.node103 port 7789;
           }
 }
the output for the error(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):
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. ]
 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. ]
 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
 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,
 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. ]


pacemaker1.1.15 + corosync2.3.5:
According to chapter 7.6 <Configure the Cluster for the DRBD device
> of <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>, the drbd resource is configured as:
[root at pcmk-1 ~]# pcs -f drbd_cfg resource create WebData ocf:linbit:drbd \        
                            drbd_resource=wwwdata op monitor interval=60s
 [root at pcmk-1 ~]# pcs -f drbd_cfg resource master WebDataClone WebData \        
                            master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 \        
                            notify=true
ps:We have no filesystem on the DRBD device.



At 2016-09-24 22:43:52, "Digimer" <lists at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160925/7cb3cea4/attachment.htm>


More information about the drbd-user mailing list