Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Pacemaker iSCSI target with multiple portals

    Posted on

    Hi there,

    Been looking everywhere for a solution for my problem:

    I'm setting up a iSCSI target cluster and I want to setup 2 portals on a single target using LIO. From the docs of the iSCISTarget resource it looks like you can add multiple portals, but it does not seem to work.

    Using this does not work:

    pcs resource create target-sup-clutest-01 iSCSITarget portals="x.x.x.167 x.x.x.168" iqn="iqn.2015-01.lab.support:sup-clutest-01"
    

    I get the following error in /var/log/messages:

    Jan 26 20:21:54 lx-sys05 iSCSITarget(target-sup-clutest-01)[7796]: INFO: Created target iqn.2015-01.lab.support:sup-clutest-01. Created TPG 1.
    Jan 26 20:21:54 lx-sys05 iSCSITarget(target-sup-clutest-01)[7796]: INFO: Using default IP port 3260 Created network portal x.x.x.167:3260.
    Jan 26 20:21:54 lx-sys05 iSCSITarget(target-sup-clutest-01)[7796]: ERROR: This Target already exists in configFS
    

    When using a single IP it works fine:

    pcs resource create target-sup-clutest-01 iSCSITarget portals="x.x.x.167" iqn="iqn.2015-01.lab.support:sup-clutest-01"
    

    Also creating an extra target does not add an extra portal, though no errors appear.

    pcs resource create target2-sup-clutest-01 iSCSITarget portals="x.x.x.168" iqn="iqn.2015-01.lab.support:sup-clutest-01"
    

    Am I misunderstanding the docs? Or overlooking something?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat