iSCSI-SCST: Add scstadmin example todocumentation

Add an scstadmin iSNSServer configuration example to the iSCSI-SCST
documentation.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4253 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-04-30 19:32:30 +00:00
parent ec5adf6e1a
commit a913a223f9
+34
View File
@@ -693,6 +693,40 @@ both iSCSI-SCST targets will look like:
`-- version
Configuring iscsi-scst via scstadmin
------------------------------------
All iscsi-scst parameters that were configured in the previous section via the
sysfs interface can also be set via scstadmin. Here is an example that shows
how to configure the IP address of the iSNSServer and to enable iSNS access
control at the same time:
# scstadmin -noprompt -set_drv_attr iscsi -attributes iSNSServer="192.168.1.16 AccessControl"
Collecting current configuration: done.
-> Making requested changes.
-> Done, 0 change(s) made.
All done.
# scstadmin -list_drv_attr iscsi
Collecting current configuration: done.
Attribute Value Writable KEY
------------------------------------------------------------
iSNSServer 127.0.0.1 AccessControl Yes Yes
Dynamic attributes available
----------------------------
OutgoingUser
IncomingUser
All done.
Advanced initiators access control
----------------------------------