[DRBD-user] Problem to use DRBD with LVM controlled by Pacemaker

SOPORTE AYTO VERA soporte at vera.es
Mon May 11 13:12:27 CEST 2015

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


Yo tengo el mismo problema, en el log de pacemaker me aparece el error:
did not activate correctly

La única diferencia con el usuario *KAMI911 *es que yo tengo dos volumenes y
uno de ellos si lo activa bien. Ambos estan vacios no tienen volumenes
lógicos.

primitive apache lsb:apache2 \
        op monitor interval="5s" \
        meta target-role="started"
primitive drbdhome ocf:linbit:drbd \
        params drbd_resource="home" \
        op monitor interval="29s" role="Master" \
        op monitor interval="31s" role="Slave" \
        meta target-role="started"
primitive drbdmeta ocf:linbit:drbd \
        params drbd_resource="meta" \
        op monitor interval="29s" role="Master" \
        op monitor interval="31s" role="Slave" \
        meta target-role="started"
primitive drbdmirror ocf:linbit:drbd \
        params drbd_resource="mirror" \
        op monitor interval="29s" role="Master" \
        op monitor interval="31s" role="Slave" \
        meta target-role="started"
primitive drbdxen ocf:linbit:drbd \
        params drbd_resource="xen" \
        op monitor interval="29s" role="Master" \
        op monitor interval="31s" role="Slave" \
        meta target-role="started"
primitive fsmeta ocf:heartbeat:Filesystem \
        params device="/dev/drbd2" directory="/meta" fstype="ext4" \
        op start interval="0" timeout="240s" \
        op stop interval="0" timeout="100s" \
        meta target-role="started"
primitive fsmirror ocf:heartbeat:Filesystem \
        params device="/dev/drbd3" directory="/var/www" fstype="ext4" \
        op start interval="0" timeout="240s" \
        op stop interval="0" timeout="100s" \
        meta target-role="started"
primitive home ocf:heartbeat:iSCSILogicalUnit \
        params target_iqn="iscsi.vera.es:cluster" lun="1" path="/dev/drbd1"
scsi_sn="home" additional_parameters="type=fileio" \
        op start interval="0" timeout="60" on-fail="restart" \
        op monitor interval="60" timeout="60" on-fail="restart" \
        meta target-role="stopped"
primitive ipcluster ocf:heartbeat:IPaddr2 \
        params ip="10.200.1.1" cidr_netmask="24" nic="eth0" \
        op monitor interval="30s" \
        meta target-role="started"
primitive ipiscsi ocf:heartbeat:IPaddr2 \
        params ip="192.168.1.1" cidr_netmask="24" nic="bond0" \
        op monitor interval="30s" \
        meta target-role="stopped"
primitive lvmhome ocf:heartbeat:LVM \
        params
volgrpname="VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767" \
        op monitor interval="10" timeout="50" \
        op start interval="0" timeout="240s" \
        op stop interval="0" timeout="100s" \
        meta target-role="started"
primitive lvmxen ocf:heartbeat:LVM \
        params
volgrpname="VG_XenStorage-4426659e-8315-0732-e3cc-a6f2bf5cd127" \
        op monitor interval="10" timeout="50" \
        op start interval="0" timeout="240s" \
        op stop interval="0" timeout="100s" \
        meta target-role="started"
primitive target ocf:heartbeat:iSCSITarget \
        params iqn="iscsi.vera.es:cluster" tid="1" incoming_username="root"
incoming_password="iscsi" portals="" additional_parameters="type=fileio" \
        op start interval="0s" timeout="60s" on-fail="restart" \
        op monitor interval="60s" timeout="60s" on-fail="restart" \
        meta target-role="stopped"
primitive xen ocf:heartbeat:iSCSILogicalUnit \
        params target_iqn="iscsi.vera.es:cluster" lun="0" path="/dev/drbd0"
scsi_sn="xen" additional_parameters="type=fileio" \
        op start interval="0" timeout="60" on-fail="restart" \
        op monitor interval="60" timeout="60" on-fail="restart" \
        meta target-role="stopped"
group drbdgroup drbdmirror drbdmeta drbdxen drbdhome
group fsgroup fsmirror fsmeta
group iscsi ipiscsi target
group lun home xen
group lvm lvmhome lvmxen
group services ipcluster apache
ms msdrbdgroup drbdgroup \
        meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"
colocation fsgroup_on_msdrbdgroup inf: fsgroup msdrbdgroup:Master
colocation iscsi_on_lvm inf: iscsi lvm
colocation lun_on_iscsi inf: lun iscsi
colocation lvm_on_msdrbdgroup inf: lvm msdrbdgroup:Master
colocation services_on_fsgroup inf: services fsgroup
order fsgroup_before_services inf: fsgroup services
order iscsi_before_lun inf: iscsi lun
order lvm_before_iscsi inf: lvm iscsi
order msdrdbgroup_before_fs inf: msdrbdgroup:promote fsgroup:start
order msdrdbgroup_before_lvm inf: msdrbdgroup:promote lvm:start



LVM(lvmhome)[26716]:    2015/05/11_12:51:37 WARNING: LVM Volume
VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767 is not available
(stopped)
LVM(lvmhome)[26716]:    2015/05/11_12:51:37 INFO: LVM Volume
VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767 is offline
LVM(lvmhome)[27479]:    2015/05/11_12:51:39 INFO: Activating volume group
VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767
LVM(lvmhome)[27479]:    2015/05/11_12:51:39 INFO: Reading all physical
volumes. This may take a while... Found volume group
"VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767" using metadata type
lvm2 Found volume group
"VG_XenStorage-4426659e-8315-0732-e3cc-a6f2bf5cd127" using metadata type
lvm2
LVM(lvmhome)[27479]:    2015/05/11_12:51:39 INFO: 0 logical volume(s) in
volume group "VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767" now active
LVM(lvmhome)[27479]:    2015/05/11_12:51:39 ERROR: LVM Volume
VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767 is not available
(stopped)
LVM(lvmhome)[27479]:    2015/05/11_12:51:39 ERROR: LVM:
VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767 did not activate
correctly
LVM(lvmhome)[27701]:    2015/05/11_12:51:40 INFO: Deactivating volume group
VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767
LVM(lvmhome)[27701]:    2015/05/11_12:51:40 INFO: 0 logical volume(s) in
volume group "VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767" now active
LVM(lvmhome)[27701]:    2015/05/11_12:51:40 INFO: LVM Volume
VG_XenStorage-b6ae9ae5-256f-a2cc-212d-1b20a313f767 is not available
(stopped)


LVM(lvmxen)[18627]:     2015/05/11_10:51:49 WARNING: LVM Volume
VG_XenStorage-4426659e-8315-0732-e3cc-a6f2bf5cd127 is not available
(stopped)
LVM(lvmxen)[18627]:     2015/05/11_10:51:49 INFO: LVM Volume
VG_XenStorage-4426659e-8315-0732-e3cc-a6f2bf5cd127 is offline
LVM(lvmxen)[27883]:     2015/05/11_10:54:49 WARNING: LVM Volume
VG_XenStorage-4426659e-8315-0732-e3cc-a6f2bf5cd127 is not available
(stopped)
LVM(lvmxen)[27883]:     2015/05/11_10:54:49 INFO: LVM Volume
VG_XenStorage-4426659e-8315-0732-e3cc-a6f2bf5cd127 is offline
LVM(lvmxen)[15160]:     2015/05/11_10:59:01 WARNING: LVM Volume
VG_XenStorage-4426659e-8315-0732-e3cc-a6f2bf5cd127 is not available
(stopped)
LVM(lvmxen)[15160]:     2015/05/11_10:59:01 INFO: LVM Volume
VG_XenStorage-4426659e-8315-0732-e3cc-a6f2bf5cd127 is offline



May 11 12:51:44 cluster2 crm_simulate[28599]:  warning: unpack_rsc_op:
Processing failed op start for lvmhome on cluster3: not running (7)
May 11 12:51:44 cluster2 crm_simulate[28599]:  warning: unpack_rsc_op:
Processing failed op start for lvmhome on cluster2: not running (7)
May 11 12:51:44 cluster2 crm_simulate[28599]:  warning:
common_apply_stickiness: Forcing lvmhome away from cluster2 after 1000000
failures (max=1000000)
May 11 12:51:44 cluster2 crm_simulate[28599]:  warning:
common_apply_stickiness: Forcing lvmhome away from cluster3 after 1000000
failures (max=1000000)
May 11 12:51:44 cluster2 crm_simulate[28599]:   notice: run_graph:
Transition 0 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0,
Source=crm_simulate): Complete
May 11 12:51:44 cluster2 crm_simulate[28599]:   notice: unpack_config: On
loss of CCM Quorum: Ignore
May 11 12:51:44 cluster2 crm_simulate[28599]:  warning: unpack_rsc_op:
Processing failed op start for lvmhome on cluster3: not running (7)
May 11 12:51:44 cluster2 crm_simulate[28599]:  warning: unpack_rsc_op:
Processing failed op start for lvmhome on cluster2: not running (7)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20150511/abb5ed63/attachment.htm>


More information about the drbd-user mailing list