[DRBD-user] [Pacemaker] Pacemaker unable to start DRBD

Jaco van Niekerk jaco at desktop.co.za
Tue Jul 24 09:27:28 CEST 2018


I am using the following packages:

my /etc/drbd.conf
global { usage-count no; }
common { protocol C; }
resource imagesdata {
 on node1.san.localhost {
  device /dev/drbd0;
  disk   /dev/vg_drbd/lv_drbd;
  meta-disk internal;
 on node2.san.localhost {
  device /dev/drbd0;
  disk   /dev/vg_drbd/lv_drbd;
  meta-disk internal;

my /etc/corosync/corosync.conf:
totem {
    version: 2
    secauth: off
    cluster_name: san_cluster
    transport: udpu
    interface {
        ringnumber: 0
        broadcast: yes
        mcastport: 5405

nodelist {
    node {
    ring0_addr: node1.san.localhost
        name: node1
        nodeid: 1

    node {
    ring0_addr: node2.san.localhost
        name: node2
        nodeid: 2

quorum {
    provider: corosync_votequorum
    two_node: 1
    wait_for_all: 1
    last_man_standing: 1
    auto_tie_breaker: 0

logging {
    to_logfile: yes
    logfile: /var/log/cluster/corosync.log
    to_syslog: yes

DRBD Starts perfectly fine and syncs as well.

Pacemaker setup:
pcs cluster auth node1.san.localdomain node2.san.localdomain -u hacluster -p PASSWORD
pcs cluster setup --name san_cluster node1.san.localdomain node2.san.localdomain
pcs cluster start --all
pcs cluster enable --all
pcs property set stonith-enabled=false
pcs property set no-quorum-policy=ignore

The following command doesn't work:
pcs resource create my_iscsidata ocf:linbit:drbd drbd_resource=iscsidata op monitor interval=10s
pcs resource master MyISCSIClone my_iscsidata master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 notify=true

I receive the following on pcs status:
* my_iscsidata_monitor_0 on node2.san.localhost 'not configured' (6): call=9, status=complete, exitreason='meta parameter misconfigured, expected clone-max -le 2, but found unset.',


Jaco van Niekerk

Office:   011 608 2663  E-mail:  jaco at desktop.co.za
accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Disclaimer added by CodeTwo Exchange Rules 2010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180724/ca331482/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signature.png
Type: image/png
Size: 17343 bytes
Desc: Signature.png
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180724/ca331482/attachment-0001.png>

More information about the drbd-user mailing list