[stgt] iSNSServerIP and targets.conf

Tomasz Chmielewski mangoo at wpkg.org
Wed Mar 24 12:48:03 CET 2010


Am 24.03.2010 12:15, Tomasz Chmielewski wrote:

> Does it always accept one value, or is it allowed to use more values? Say:
>
> tgtadm --op update --mode sys --name iSNSServerIP -v 192.168.11.133
> tgtadm --op update --mode sys --name iSNSServerIP -v 192.168.22.233
> tgtadm --op update --mode sys --name iSNSServerIP -v 192.168.33.33

Looks iSNSServerIP will be updated each time with commands above.

Some more questions:


1) README.iscsi states:

"once you enable iSNS, you can't disable it".

What about updating iSNS* parameters - is it allowed to change them once 
iSNS has been enabled (i.e. will updating iSNS* parameters have any effect)?


2) with 1.0.3, I did:

# tgtd
tgtadm --op update --mode sys --name iSNSAccessControl -v On
tgtadm --op update --mode sys --name iSNSServerIP -v 192.168.111.177
tgtadm --op update --mode sys --name iSNSServerPort -v 2342
tgtadm --op update --mode sys --name iSNS -v On


Here, iSNSAccessControl shows "Off" - is it expected?

# tgtadm --lld iscsi --op show --mode sys
System:
     State: ready
iSNS:
     iSNS=Off
     iSNSServerIP=192.168.111.177
     iSNSServerPort=2342
     iSNSAccessControl=Off


-- 
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list