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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
|
'\" te
.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH ISNSADM 8 "Sep 25, 2008"
.SH NAME
isnsadm \- administer the internet Storage Name Server (iSNS) server
.SH SYNOPSIS
.LP
.nf
\fBisnsadm\fR \fIoptions\fR
.fi
.LP
.nf
\fBisnsadm\fR \fIsubcommand\fR [\fIsubcommand_options\fR] [\fIoperand\fR]
.fi
.SH DESCRIPTION
.sp
.LP
The \fBisnsadm\fR command is the command-line interface to the Internet Storage
Name Service (iSNS) server. \fBisnsadm\fR comprises a set of subcommands,
described in their own section, each of which accomplishes one of the iSNS
server management functions.
.sp
.LP
For any operations that will change the iSNS configurations the
\fBsolaris.isnsmgr.write\fR authorization is required. Refer to \fBisns\fR(8).
For read operations, the command does not require special authorizations.
.sp
.LP
\fBisnsadm\fR has a set of general options and a set of subcommand-specific
options. The first category is described under OPTIONS; the second category is
described in the context of each subcommand description.
.SH OPTIONS
.sp
.LP
The following options are supported:
.sp
.ne 2
.na
\fB\fB-?\fR, \fB--help\fR\fR
.ad
.sp .6
.RS 4n
Displays context help. Stops interpretation of any subsequent arguments.
.RE
.sp
.ne 2
.na
\fB\fB-V\fR, \fB--version\fR\fR
.ad
.sp .6
.RS 4n
Displays version information. Stops interpretation of any subsequent
arguments.
.RE
.SH OPERANDS
.sp
.LP
The following operands are used by one or more \fBisnsadm\fR subcommands.
.sp
.ne 2
.na
\fB\fIiscsi-node-name\fR\fR
.ad
.sp .6
.RS 4n
iSCSI target or iSCSI initiator symbolic name. A string with a maximum length
of 223 characters.
.RE
.sp
.ne 2
.na
\fB\fIdiscovery-domain-name\fR\fR
.ad
.sp .6
.RS 4n
Discovery domain symbolic name. A string with a maximum length of 256
characters.
.RE
.sp
.ne 2
.na
\fB\fIdiscovery-domain-set-name\fR\fR
.ad
.sp .6
.RS 4n
Discovery domain set symbolic name. A string with a maximum length of 256
characters.
.RE
.SH SUBCOMMANDS
.sp
.LP
The \fBisnsadm\fR command supports the subcommands described below.
.SS "\fBadd-dd\fR"
.sp
.LP
The \fBadd-dd\fR subcommand adds a discovery domain to a discovery domain set.
.sp
.LP
The \fBadd-dd\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm add-dd \fIoption\fR \fIdiscovery-domain-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBadd-dd\fR has the following option:
.sp
.ne 2
.na
\fB\fB-s\fR \fIdiscovery-domain-set-name\fR\fR
.ad
.sp .6
.RS 4n
Specifies a discovery domain set.
.RE
.SS "\fBadd-node\fR"
.sp
.LP
The \fBadd-node\fR subcommand adds a node to a specified discovery-domain.
.sp
.LP
The \fBadd-node\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm add-node \fIoption\fR \fIiscsi-node-name\fR,...\fR
.fi
.in -2
.sp
.sp
.LP
\fBadd-node\fR has the following options:
.sp
.ne 2
.na
\fB\fB-d\fR,\fB--dd\fR \fIdiscovery-domain-name\fR\fR
.ad
.sp .6
.RS 4n
Specifies a discovery domain.
.RE
.SS "\fBcreate-dd\fR"
.sp
.LP
The \fBcreate-dd\fR subcommand creates a discovery domain with the name you
specify.
.sp
.LP
The \fBcreate-dd\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm create-dd \fIdiscovery-domain-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBcreate-dd\fR has no options.
.SS "\fBcreate-dd-set\fR"
.sp
.LP
The \fBcreate-dd-set\fR subcommand creates a discovery domain set with the name
you specify.
.sp
.LP
The \fBcreate-dd-set\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm create-dd-set \fIdiscovery-domain-set-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBcreate-dd-set\fR has no options.
.SS "\fBdelete-dd\fR"
.sp
.LP
The \fBdelete-dd\fR subcommand deletes a discovery domain of the name you
specify.
.sp
.LP
The \fBdelete-dd\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm delete-dd \fIdiscovery-domain-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBdelete-dd\fR has no options.
.SS "\fBdelete-dd-set\fR"
.sp
.LP
The \fBdelete-dd-set\fR subcommand deletes a discovery domain set of the name
you specify.
.sp
.LP
The \fBdelete-dd-set\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm delete-dd-set \fIdiscovery-domain-set-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBdelete-dd-set\fR has no options.
.SS "\fBdisable-dd-set\fR"
.sp
.LP
The \fBdisable-dd-set\fR subcommand disables a discovery domain set.
.sp
.LP
The \fBdisable-dd-set\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm disable-dd-set \fIdiscovery-domain-set-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBdisable-dd-set\fR has no options.
.SS "\fBenable-dd-set\fR"
.sp
.LP
The \fBenable-dd-set\fR subcommand enables a discovery domain set.
.sp
.LP
The \fBenable-dd-set\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm enable-dd-set \fIdiscovery-domain-set-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBenable-dd-set\fR has no options.
.SS "\fBlist-dd\fR"
.sp
.LP
The \fBlist-dd\fR subcommand displays information about discovery domains. If
no operand is specified, it lists all discovery domains that currently exist on
the iSNS server.
.sp
.LP
The \fBlist-dd\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm list-dd [\fIoption\fR] [\fIdiscovery-domain-name\fR, ...]\fR
.fi
.in -2
.sp
.sp
.LP
\fBlist-dd\fR supports the following option:
.sp
.ne 2
.na
\fB\fB-v\fR, \fB--verbose\fR\fR
.ad
.sp .6
.RS 4n
Displays the member contents of the discovery domain(s).
.RE
.SS "\fBlist-dd-set\fR"
.sp
.LP
The \fBlist-dd-set\fR subcommand lists the discovery domain sets, both enabled
and disabled, that exist on the iSNS server. Note that there is no \fBdd-set\fR
registration. If no operand is specified, it lists all of the discovery domain
sets.
.sp
.LP
The \fBlist-dd-set\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm list-dd-set [\fIoption\fR] [\fIdiscovery-domain-set-name\fR, ...]\fR
.fi
.in -2
.sp
.sp
.LP
\fBlist-dd-set\fR supports the following option:
.sp
.ne 2
.na
\fB\fB-v\fR, \fB--verbose\fR\fR
.ad
.sp .6
.RS 4n
Shows all discovery domains within the discovery domain set.
.RE
.SS "\fBlist-node\fR"
.sp
.LP
The \fBlist-node\fR subcommand displays information about nodes that are
currently registered with the iSNS server or that are not registered and belong
to non-default discovery-domain(s). For the latter case, the node has its type
field shown as \fBunknown\fR. If no operand is specified, \fBlist-node\fR lists
all nodes known by the iSNS server.
.sp
.LP
The \fBlist-node\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm list-node [\fIoptions\fR] [\fIiscsi-node-name\fR, ...]\fR
.fi
.in -2
.sp
.sp
.LP
\fBlist-node\fR supports the following options:
.sp
.ne 2
.na
\fB\fB-t\fR, \fB--target\fR\fR
.ad
.sp .6
.RS 4n
Filters the list to display only iSCSI target nodes.
.RE
.sp
.ne 2
.na
\fB\fB-i\fR, \fB--initiator\fR\fR
.ad
.sp .6
.RS 4n
Filters the list to display only iSCSI initiator nodes.
.RE
.sp
.ne 2
.na
\fB\fB-v\fR, \fB--verbose\fR\fR
.ad
.sp .6
.RS 4n
Displays details about a node. Without this option, only the name, alias, and
type information are displayed.
.RE
.SS "\fBmodify-dd\fR"
.sp
.LP
The \fBmodify-dd\fR subcommand modifies an attribute of a specified discovery
domain.
.sp
.LP
The \fBmodify-dd\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm modify-dd \fIoption\fR \fIdiscovery-domain-name\fR\fR
.fi
.in -2
.sp
.sp
.LP
\fBmodify-dd\fR has the following option:
.sp
.ne 2
.na
\fB\fB-n\fR \fIdiscovery-domain-name\fR\fR
.ad
.sp .6
.RS 4n
Specifies the new name of a discovery domain to be applied to an existing
discovery-domain.
.RE
.SS "\fBmodify-dd-set\fR"
.sp
.LP
The \fBmodify-dd-set\fR subcommand modifies a discovery domain set.
.sp
.LP
The \fBmodify-dd-set\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm modify-dd-set \fIoption\fR \fIdiscovery-domain-set-name\fR\fR
.fi
.in -2
.sp
.sp
.LP
\fBmodify-dd-set\fR has the following option:
.sp
.ne 2
.na
\fB\fB-n\fR \fIdiscovery-domain-set-name\fR\fR
.ad
.sp .6
.RS 4n
Specifies the new name of a discovery domain set to be applied to an existing
discovery-domain-set.
.RE
.SS "\fBremove-dd\fR"
.sp
.LP
The \fBremove-dd\fR subcommand removes the association with a specified
discovery domain set.
.sp
.LP
The \fBremove-dd\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm remove-dd \fIoption\fR \fIdiscovery-domain-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBremove-dd\fR has the following option:
.sp
.ne 2
.na
\fB\fB-s\fR \fIdiscovery-domain-set-name\fR\fR
.ad
.sp .6
.RS 4n
Specifies the discovery domain set from which the discovery domain will be
removed.
.RE
.SS "\fBremove-node\fR"
.sp
.LP
The \fBremove-node\fR subcommand removes a node.
.sp
.LP
The \fBremove-node\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm remove-node \fIoption\fR \fIiscsi-node-name\fR, ...\fR
.fi
.in -2
.sp
.sp
.LP
\fBremove-node\fR has the following option:
.sp
.ne 2
.na
\fB\fB-d\fR \fIdiscovery-domain-name\fR\fR
.ad
.sp .6
.RS 4n
Specifies the discovery domain from which a node will be removed.
.RE
.SS "\fBshow-config\fR"
.sp
.LP
The \fBshow-config\fR subcommand displays the iSNS server administrative
settings. Note that the setting can be modified by means of the service
management facility (see \fBsmf\fR(7)). Refer to \fBisns\fR(8).
.sp
.LP
The \fBshow-config\fR subcommand has the following syntax:
.sp
.in +2
.nf
# \fBisnsadm show-config\fR
.fi
.in -2
.sp
.sp
.LP
\fBshow-config\fR has no options.
.SH EXAMPLES
.LP
\fBExample 1 \fRDisplaying Clients
.sp
.LP
The following use of the \fBlist-node\fR subcommand displays clients.
.sp
.in +2
.nf
# \fBisnsadm list-node -v\fR
iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.45173FEA.engr
Alias: STK5320_NAS
Type: Target
Network Entity: SE5310
Portal: 172.20.57.95:3260
Portal Group: 1
Portal: 172.20.56.95:3260
Portal Group: 1
DD Name: Default
iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.acct
Alias:
Type: Target
Network Entity: SE5310
Portal: 172.20.57.95:3260
Portal Group: 1
Portal: 172.20.56.95:3260
Portal Group: 1
DD Name: Default
iSCSI Name: iqn.1986-03.com.sun:01:e00000000000.46fd8e2b
Alias: host-x2100
Type: Initiator
Network Entity: iqn.1986-03.com.sun:01:e00000000000.46fd8e2b
Portal: 172.20.236.123:58530
Portal Group: 1
DD Name: Default
.fi
.in -2
.sp
.LP
\fBExample 2 \fRDisplaying a Discovery Domain
.sp
.LP
The following use of the \fBlist-dd\fR subcommand displays discovery domains.
.sp
.in +2
.nf
# \fBisnsadm list-dd -v\fR
DD name: Default
DD set(s): Default
iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.45173FEA.engr
iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.acct
iSCSI name: iqn.1986-03.com.sun:01:e00000000000.46fd8e2b
DD name: acct-dd
DD name: engineering-dd
.fi
.in -2
.sp
.LP
\fBExample 3 \fRAdding a Node
.sp
.LP
The following use of the \fBadd-node\fR subcommand adds a node to a discovery
domain, creating a discovery domain membership.
.sp
.in +2
.nf
# \fBisnsadm add-node -d engineering-dd \e
iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.engr\fR
.fi
.in -2
.sp
.LP
\fBExample 4 \fRRemoving a Node
.sp
.LP
The following use of the \fBremove-node\fR subcommand removes a node from a
discovery domain, thereby removing a discovery domain membership.
.sp
.in +2
.nf
# \fBisnsadm remove-node -d acct-dd \e
iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.acct\fR
.fi
.in -2
.sp
.LP
\fBExample 5 \fRCreating a Discovery Domain Set
.sp
.LP
The following use of the \fBcreate-dd-set\fR subcommand creates a discovery
domain set.
.sp
.in +2
.nf
# \fBisnsadm create-dd-set operation-dd-set\fR
.fi
.in -2
.sp
.LP
\fBExample 6 \fRDisplaying a Discovery Domain Set
.sp
.LP
The following use of the \fBlist-dd-set\fR subcommand displays discovery domain
sets.
.sp
.in +2
.nf
# \fBisnsadm list-dd-set -v\fR
DD Set name: Default
State: Disabled
DD Name: Default
DD Set name: operation-dd-set
State: Disabled
.fi
.in -2
.sp
.LP
\fBExample 7 \fRAdding a Discovery Domain
.sp
.LP
The following use of the \fBadd-dd\fR subcommand adds a discovery domain to a
discovery domain set.
.sp
.in +2
.nf
# \fBisnsadm add-dd -s operation-dd-set engineering-dd\fR
.fi
.in -2
.sp
.LP
\fBExample 8 \fRDisplaying a Discovery Domain Set
.sp
.LP
The following use of the \fBlist-dd-set\fR displays the attributes of a
discovery domain set.
.sp
.in +2
.nf
# \fBisnsadm list-dd-set\fR
DD Set name: Default
State: Disabled
DD Name: Default
DD Set name: operation-dd-set
State: Disabled
DD Name: engineering-dd
.fi
.in -2
.sp
.LP
\fBExample 9 \fREnabling a Discovery Domain Set
.sp
.LP
The following use of the \fBenable-dd-set\fR subcommand enables a discovery
domain set.
.sp
.in +2
.nf
# \fBisnsadm enable-dd-set Default\fR
.fi
.in -2
.sp
.LP
\fBExample 10 \fRDisabling a Discovery Domain Set
.sp
.LP
The following use of the \fBdisable-dd-set\fR subcommand disables a discovery
domain set.
.sp
.in +2
.nf
# \fBisnsadm disable-dd-set Default\fR
.fi
.in -2
.sp
.LP
\fBExample 11 \fRDisplaying Administrative Settings
.sp
.LP
The following use of the \fBshow-config\fR subcommand displays current
administrative settings.
.sp
.in +2
.nf
# \fBisnsadm show-config\fR
Data Store Location: /etc/isns/isnsdata.xml
Entity Status Inquiry Non-Response Threshold: 3
Management SCN Enabled: yes
Authorized Control Node Names: -
.fi
.in -2
.sp
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
_
Interface Stability Volatile
.TE
.SH SEE ALSO
.sp
.LP
.BR attributes (7),
.BR smf (7),
.BR iscsiadm (8),
.BR iscsitadm (8),
.BR isns (8)
.SH NOTES
.sp
.LP
When a subcommand is invoked with multiple operands and there are failures on
one or more, but not all, operands, \fBisnsadm\fR displays a generic message
indicating partial failure, with list of failed operands. An error on a
specific operand can be found by issuing the same subcommand on the failing
operand.
|