From a913a223f92715e03df9e19b63c1deee12e28829 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Mon, 30 Apr 2012 19:32:30 +0000 Subject: [PATCH] iSCSI-SCST: Add scstadmin example todocumentation Add an scstadmin iSNSServer configuration example to the iSCSI-SCST documentation. Signed-off-by: Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4253 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/README | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/iscsi-scst/README b/iscsi-scst/README index b648050f3..71501c323 100644 --- a/iscsi-scst/README +++ b/iscsi-scst/README @@ -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 ----------------------------------