All of lore.kernel.org
 help / color / mirror / Atom feed
* Authentication question with RBD+STGT
@ 2013-04-22 18:09 Scott Sullivan
  2013-04-22 19:02 ` Wido den Hollander
  2013-04-22 23:42 ` Dan Mick
  0 siblings, 2 replies; 4+ messages in thread
From: Scott Sullivan @ 2013-04-22 18:09 UTC (permalink / raw)
  To: ceph-devel

Referring to this: http://ceph.com/dev-notes/adding-support-for-rbd-to-stgt/

I compiled the latest tgt with RBD support. My question is when using 
this method to access RBD volumes, where do you tell it what user to 
authenticate to the cluster with? I do see the above linked page 
mentions it will read a local ceph.conf.

Say I want to use cephx for authentication; how do I tell this:

tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1 
--backing-store pool0/test-image --bstype rbd

to authenticate to pool0/test-image as user testuser? My local ceph.conf 
(that I run the tgtadm command on) contains:

[global]
         log_max_recent = 500

[mon.a]
         host = c01-m01
         mon addr = XX.XX.XX.XX:6789

[mon.b]
         host = c01-m02
         mon addr = XX.XX.XX.XX:6789

[mon.c]
         host = c01-m03
         mon addr = XX.XX.XX.XX:6789



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-23  3:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-22 18:09 Authentication question with RBD+STGT Scott Sullivan
2013-04-22 19:02 ` Wido den Hollander
2013-04-22 23:42 ` Dan Mick
2013-04-23  3:49   ` Sage Weil

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.