All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gionatan Danti <g.danti@assyoma.it>
To: linux-scsi@vger.kernel.org
Cc: g.danti@assyoma.it
Subject: Limit max concurrent sessions
Date: Wed, 06 May 2015 17:36:19 +0200	[thread overview]
Message-ID: <554A34F3.5080507@assyoma.it> (raw)

Hi all,
I would like to understand if, and how to, limit the maximum number of 
simultaneous connections to a specific LUN, both with the old iSCSI 
stack (tgtadmin and friends) and the new one (targetcli and the likes).

I am exporting a LUN with a general purpose filesystem (non cluster 
aware) and I would be 100% sure that only a single machine at a time can 
mount it.

At the moment, I protected the iSCSI LUN with both an IP-based access 
list and a username/password combo, but hard limiting the maximum number 
of connections opened against it to 1 (one) would be a nice thing...

As I have mixed RHEL 6 and 7 environment, I am interested in how to do 
that on both the old and new iSCSI stack.

Thank you,
regards.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

             reply	other threads:[~2015-05-06 15:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-06 15:36 Gionatan Danti [this message]
2015-09-23 14:20 ` Limit max concurrent sessions Gionatan Danti
2015-09-23 15:18   ` Emmanuel Florac
2015-09-27 10:28     ` Gionatan Danti
2015-10-02 16:37       ` Emmanuel Florac
2015-10-02 17:00       ` Bernd Schubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=554A34F3.5080507@assyoma.it \
    --to=g.danti@assyoma.it \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.