Hmm. lio-utils is replaced with targetcli in rhel7. Is there any way to make pacemaker use targetcli? I’m starting to wonder if it’s even possible to make an HA iSCSI Target with RedHat...
-- [ jR ] @: [email protected] there is no path to greatness; greatness is the path On 7/20/16, 12:09 PM, "Andrei Borzenkov" <[email protected]> wrote: 20.07.2016 18:08, Jason A Ramsey пишет: > I have been struggling getting a HA iSCSI Target cluster in place for literally weeks. I cannot, for whatever reason, get pacemaker to create an iSCSILogicalUnit resource. The error message that I’m seeing leads me to believe that I’m missing something on the systems (“tcm_node”). Here are my setup commands leading up to seeing this error message: > > # pcs resource create hdcvbnas_tgtsvc ocf:heartbeat:iSCSITarget iqn="iqn.2016-07.local.hsinawsdev:hdcvadbs-witness" op monitor interval=15s > > # pcs resource create hdcvbnas_lun0 ocf:heartbeat:iSCSILogicalUnit target_iqn="iqn.2016-07.local.hsinawsdev:hdcvadbs-witness" lun="0" path=/dev/drbd1 implementation="lio" op monitor interval=15s > > > Failed Actions: > * hdcvbnas_lun0_stop_0 on hdc1anas002 'not installed' (5): call=321, status=complete, exitreason='Setup problem: couldn't find command: tcm_node', tcm_node is part of lio-utils. I am not familiar with RedHat packages, but I presume that searching for "lio" should reveal something. > last-rc-change='Wed Jul 20 10:51:15 2016', queued=0ms, exec=32ms > > This is with the following installed: > > pacemaker-cli-1.1.13-10.el7.x86_64 > pacemaker-1.1.13-10.el7.x86_64 > pacemaker-libs-1.1.13-10.el7.x86_64 > pacemaker-cluster-libs-1.1.13-10.el7.x86_64 > corosynclib-2.3.4-7.el7.x86_64 > corosync-2.3.4-7.el7.x86_64 > > Please please please…any ideas are appreciated. I’ve exhausted all avenues of investigation at this point and don’t know what to do. Thank you! > > -- > > [ jR ] > @: [email protected] > > there is no path to greatness; greatness is the path > > _______________________________________________ > Users mailing list: [email protected] > http://clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > _______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
