This repository was archived by the owner on May 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrtstool.8
More file actions
59 lines (59 loc) · 1.33 KB
/
rtstool.8
File metadata and controls
59 lines (59 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.TH RTSTOOL "8" "March 2013" "rtstool Usage:" "User Commands"
.SH NAME
rtstool \- manual page for rtstool
.SH DESCRIPTION
rtstool is a command-line wrapper for python-rtslib. It can be used to configure LIO iSCSI targets.
.PP
The primary intent of this program to act as an interface between python-rtslib and OpenStack Cinder.
.SH USAGE
.B
rtstool
[operation] [arguments]
.PP
.B
rtstool
create [device] [name] [userid] [password] <initiator_iqn,iqn2,iqn3,...>
.RS
Create a new iSCSI target with CHAP authentication, and allow access from specified IQNs.
.RE
.PP
.B rtstool
add\-initiator [target_iqn] [userid] [password] [initiator_iqn]
.RS
Add an initiator's IQN to the ACL of an existing iSCSI target.
.RE
.PP
.B rtstool
get\-targets
.RS
List current iSCSI targets.
.RE
.PP
.B rtstool
delete [iqn]
.RS
Delete an iSCSI target.
.RE
.PP
.B rtstool
verify
.RS
Ensure that rtstool can run (python requirements met).
.SH EXAMPLES
\&rtstool create /dev/volumes/volume-1 iqn.2010-10.org.my:volume-1 chap_user chap_pass iqn.1994-05.com.redhat:ba25f73f5f2b
.PP
\&rtstool add-initiator iqn.2010-10.org.my:volume-1 chap_user chap_auth iqn.1994-05.com.redhat:beeffed1
.PP
\&rtstool get-targets
.RS
iqn.2010-10.org.my:volume-1
.RE
.PP
\&rtstool delete iqn.2010-10.org.my:volume-1
\&
.RE
.PP
.SH SEE ALSO
targetcli(8)
.SH AUTHOR
Written by Eric Harney <[email protected]>.