Authentication question with RBD+STGT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux