[stgt] iSNSServerIP and targets.conf

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Mar 24 01:36:33 CET 2010

On Tue, 23 Mar 2010 00:06:56 +0100
Tomasz Chmielewski <mangoo at wpkg.org> wrote:

> Am 22.03.2010 23:26, Mike Christie wrote:
> > Hi,
> >
> > Is it possible to set the iSNS settings:
> >
> > iSNSServerIP
> > iSNS
> > iSNSServerPort
> > iSNSAccessControl
> >
> > in targets.conf?
> I'm afraid not yet.
> Could you provide:
> 1) example tgtadm command lines for each of above settings (perhaps for 
> a full target configuration, or even two),

tgtadm --op update --mode sys --name iSNSServerIP -v
tgtadm --op update --mode sys --name iSNS -v On
tgtadm --op update --mode sys --name iSNSServerPort -v 3205
tgtadm --op update --mode sys --name iSNSAccessControl -v Off

> 2) is the order important how these commands are used (i.e. one must be 
> run before the other)?

Yes, we need to finish all the iSNS configurations before we start
iSNS service. That is, we need to finish everything before executing
the following command:

tgtadm --op update --mode sys --name iSNS -v On

Note that we also need to finish all the iSNS configurations before we
create the first target.
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