Problem on configuration iSCSI high availability with CRM and DRBD : "iSCSILogicalUnit" error

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
mrhassan60
Posts: 2
Joined: 2022-10-04 11:16

Problem on configuration iSCSI high availability with CRM and DRBD : "iSCSILogicalUnit" error

#1 Post by mrhassan60 »

Hello,

I have a problem with CRM configuration and that I cannot resolve. I am trying to configure an iSCSI target in high availability with CRM and DRBD on two nodes (drbd1 and drbd2). However, I am facing an issue with the resource "ocf:
iSCSILogicalUnit": it always shows "not configured" or "error," and I am unable to configure it correctly.

Here is my current configuration:": it always shows "not configured" or "error," and I am unable to configure it correctly.

Here is my current configuration CRM

Code: Select all

crm(live/drbd1)configure# show
node 1: drbd1
node 2: drbd2
primitive p_drbd_r0 ocf:linbit:drbd \
        params drbd_resource=r0 \
        op start timeout=240 interval=0 \
        op promote timeout=90 interval=0 \
        op demote timeout=90 interval=0 \
        op stop timeout=100 interval=0 \
        op monitor interval=29 role=Master \
        op monitor interval=31 role=Slave
primitive p_iscsi_ip0 IPaddr2 \
        params ip=192.168.0.110 cidr_netmask=24 \
        op start timeout=20 interval=0 \
        op stop timeout=20 interval=0 \
        op monitor interval=10s
primitive p_iscsi_lun_drbd0 iSCSILogicalUnit \
        params target_iqn="iqn.2024-09.com.example:drbd10" lun=0 path="/dev/drbd0" \
        op start timeout=20 interval=0 \
        op stop timeout=20 interval=0 \
        op monitor interval=20 timeout=40
primitive p_iscsi_target_drbd0 iSCSITarget \
        params iqn="iqn.2024-09.com.example:drbd10" portals="192.168.0.110:3260" \
        op start timeout=20 interval=0 \
        op stop timeout=20 interval=0 \
        op monitor interval=20 timeout=40 \
        params tid=1
clone ms_drbd_r0 p_drbd_r0 \
        meta master-max=1 master-node-max=1 notify=true clone-max=2 clone-node-max=1 promotable=true
colocation col_iscsi_on_drbd inf: p_iscsi_target_drbd0 p_iscsi_lun_drbd0 p_drbd_r0
order order_drbd_before_iscsi Mandatory: p_iscsi_target_drbd0 p_iscsi_lun_drbd0 p_drbd_r0
property cib-bootstrap-options: \
        have-watchdog=false \
        dc-version=2.1.5-a3f44794f94 \
        cluster-infrastructure=corosync \
        cluster-name=debian \
        stonith-enabled=false \
        no-quorum-policy=ignore \
        last-lrm-refresh=1728307138

Post Reply