JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 1M: System Administration Commands     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

Introduction

System Administration Commands - Part 1

6to4relay(1M)

accept(1M)

acct(1M)

acctadm(1M)

acctcms(1M)

acctcon1(1M)

acctcon(1M)

acctcon2(1M)

acctdisk(1M)

acctdusg(1M)

acctmerg(1M)

accton(1M)

acctprc1(1M)

acctprc(1M)

acctprc2(1M)

acctsh(1M)

acctwtmp(1M)

acpihpd(1M)

adbgen(1M)

add_allocatable(1M)

addbadsec(1M)

add_drv(1M)

add_install_client(1M)

add_to_install_server(1M)

afbconfig(1M)

apache(1M)

arp(1M)

atohexlabel(1M)

audit(1M)

auditconfig(1M)

auditd(1M)

auditrecord(1M)

auditreduce(1M)

auditstat(1M)

audit_warn(1M)

automount(1M)

automountd(1M)

autopush(1M)

bart(1M)

beadm(1M)

boot(1M)

bootadm(1M)

bootconfchk(1M)

bootparamd(1M)

busstat(1M)

cachefsd(1M)

cachefslog(1M)

cachefspack(1M)

cachefsstat(1M)

cachefswssize(1M)

captoinfo(1M)

catman(1M)

cfgadm(1M)

cfgadm_ac(1M)

cfgadm_cardbus(1M)

cfgadm_fp(1M)

cfgadm_ib(1M)

cfgadm_pci(1M)

cfgadm_sata(1M)

cfgadm_sbd(1M)

cfgadm_scsi(1M)

cfgadm_sdcard(1M)

cfgadm_shp(1M)

cfgadm_sysctrl(1M)

cfgadm_usb(1M)

cfsadmin(1M)

chargefee(1M)

chat(1M)

check(1M)

check-hostname(1M)

check-permissions(1M)

chk_encodings(1M)

chroot(1M)

cimworkshop(1M)

ckpacct(1M)

clear_locks(1M)

clinfo(1M)

closewtmp(1M)

clri(1M)

comsat(1M)

consadm(1m)

conv_lp(1M)

conv_lpd(1M)

coreadm(1M)

cpustat(1M)

cron(1M)

cryptoadm(1M)

cvcd(1M)

datadm(1M)

dcopy(1M)

dcs(1M)

dd(1M)

devattr(1M)

devfree(1M)

devfsadm(1M)

devfsadmd(1M)

device_allocate(1M)

device_remap(1M)

devinfo(1M)

devlinks(1M)

devnm(1M)

devprop(1M)

devreserv(1M)

df(1M)

dfmounts(1M)

dfmounts_nfs(1M)

dfshares(1M)

dfshares_nfs(1M)

df_ufs(1M)

dhcpagent(1M)

dhcpconfig(1M)

dhcpmgr(1M)

dhtadm(1M)

dig(1M)

directoryserver(1M)

disks(1M)

diskscan(1M)

dispadmin(1M)

dladm(1M)

dlmgmtd(1M)

dlstat(1M)

dmesg(1M)

dminfo(1M)

dns-sd(1M)

dnssec-dsfromkey(1M)

dnssec-keyfromlabel(1M)

dnssec-keygen(1M)

dnssec-makekeyset(1M)

dnssec-signkey(1M)

dnssec-signzone(1M)

dodisk(1M)

domainname(1M)

drd(1M)

drvconfig(1M)

dsbitmap(1M)

dscfg(1M)

dscfgadm(1M)

dscfglockd(1M)

dsstat(1M)

dsvclockd(1M)

dtrace(1M)

dumpadm(1M)

editmap(1M)

edquota(1M)

eeprom(1M)

efdaemon(1M)

embedded_su(1M)

etrn(1M)

fbconfig(1M)

fbconf_xorg(1M)

fcadm(1M)

fcinfo(1M)

fdetach(1M)

fdisk(1M)

ff(1M)

ffbconfig(1M)

ff_ufs(1M)

fingerd(1M)

fiocompress(1M)

flar(1M)

flarcreate(1M)

flowadm(1M)

flowstat(1M)

fmadm(1M)

fmd(1M)

fmdump(1M)

fmstat(1M)

fmthard(1M)

format(1M)

fpsd(1M)

fruadm(1M)

fsck(1M)

fsck_cachefs(1M)

fsck_pcfs(1M)

fsck_udfs(1M)

fsck_ufs(1M)

fsdb(1M)

fsdb_udfs(1M)

fsdb_ufs(1M)

fsirand(1M)

fssnap(1M)

fssnap_ufs(1M)

fsstat(1M)

fstyp(1M)

ftpaddhost(1M)

ftpconfig(1M)

ftpd(1M)

ftprestart(1M)

ftpshut(1M)

fuser(1M)

fwflash(1M)

fwtmp(1M)

getdev(1M)

getdevpolicy(1M)

getdgrp(1M)

getent(1M)

gettable(1M)

getty(1M)

getvol(1M)

GFXconfig(1M)

gkadmin(1M)

groupadd(1M)

groupdel(1M)

groupmod(1M)

growfs(1M)

grpck(1M)

gsscred(1M)

gssd(1M)

hald(1M)

hal-device(1M)

hal-fdi-validate(1M)

hal-find(1M)

hal-find-by-capability(1M)

hal-find-by-property(1M)

hal-get-property(1M)

hal-set-property(1M)

halt(1M)

hextoalabel(1M)

host(1M)

hostconfig(1M)

hotplug(1M)

hotplugd(1M)

htable(1M)

ickey(1M)

id(1M)

idmap(1M)

idmapd(1M)

idsconfig(1M)

ifconfig(1M)

if_mpadm(1M)

ifparse(1M)

iiadm(1M)

iicpbmp(1M)

iicpshd(1M)

ikeadm(1M)

ikecert(1M)

ilbadm(1M)

ilbd(1M)

imqadmin(1M)

imqbrokerd(1M)

imqcmd(1M)

imqdbmgr(1M)

imqkeytool(1M)

imqobjmgr(1M)

imqusermgr(1M)

in.chargend(1M)

in.comsat(1M)

in.daytimed(1M)

in.dhcpd(1M)

in.discardd(1M)

in.echod(1M)

inetadm(1M)

inetconv(1M)

inetd(1M)

in.fingerd(1M)

infocmp(1M)

in.ftpd(1M)

in.iked(1M)

init(1M)

init.sma(1M)

init.wbem(1M)

inityp2l(1M)

in.lpd(1M)

in.mpathd(1M)

in.named(1M)

in.ndpd(1M)

in.rarpd(1M)

in.rdisc(1M)

in.rexecd(1M)

in.ripngd(1M)

in.rlogind(1M)

in.routed(1M)

in.rshd(1M)

in.rwhod(1M)

install(1M)

installboot(1M)

installer(1M)

installf(1M)

installgrub(1M)

install_scripts(1M)

install-solaris(1M)

in.stdiscover(1M)

in.stlisten(1M)

in.talkd(1M)

in.telnetd(1M)

in.tftpd(1M)

in.timed(1M)

intrd(1M)

intrstat(1M)

in.uucpd(1M)

iostat(1M)

ipaddrsel(1M)

ipadm(1M)

ipf(1M)

ipfs(1M)

ipfstat(1M)

ipmgmtd(1M)

ipmon(1M)

ipmpstat(1M)

ipnat(1M)

ippool(1M)

ipqosconf(1M)

ipsecalgs(1M)

ipsecconf(1M)

ipseckey(1M)

iscsiadm(1M)

isns(1M)

isnsadm(1M)

itadm(1M)

itu(1M)

k5srvutil(1M)

kadb(1M)

kadmin(1M)

kadmind(1M)

kadmin.local(1M)

kcfd(1M)

kclient(1M)

kdb5_ldap_util(1M)

kdb5_util(1M)

kdcmgr(1M)

kernel(1M)

keyserv(1M)

killall(1M)

kmscfg(1M)

kprop(1M)

kpropd(1M)

kproplog(1M)

krb5kdc(1M)

ksslcfg(1M)

kstat(1M)

ktkt_warnd(1M)

labeld(1M)

labelit(1M)

labelit_hsfs(1M)

labelit_udfs(1M)

labelit_ufs(1M)

lastlogin(1M)

latencytop(1M)

ldapaddent(1M)

ldap_cachemgr(1M)

ldapclient(1M)

ldmad(1M)

link(1M)

listdgrp(1M)

listen(1M)

llc2_loop(1M)

lms(1M)

localeadm(1M)

localectr(1M)

locator(1M)

lockd(1M)

lockfs(1M)

lockstat(1M)

lofiadm(1M)

logadm(1M)

logins(1M)

lpadmin(1M)

lpfilter(1M)

lpforms(1M)

lpget(1M)

lpmove(1M)

lpsched(1M)

lpset(1M)

lpshut(1M)

lpsystem(1M)

lpusers(1M)

lu(1M)

luactivate(1M)

lucancel(1M)

lucompare(1M)

lucreate(1M)

lucurr(1M)

ludelete(1M)

ludesc(1M)

lufslist(1M)

lumake(1M)

lumount(1M)

lurename(1M)

lustatus(1M)

luumount(1M)

luupgrade(1M)

luxadm(1M)

m64config(1M)

mail.local(1M)

System Administration Commands - Part 2

System Administration Commands - Part 3

isnsadm

- administer the internet Storage Name Server (iSNS) server

Synopsis

isnsadm options
isnsadm subcommand [subcommand_options] [operand]

Description

The isnsadm command is the command-line interface to the Internet Storage Name Service (iSNS) server. isnsadm comprises a set of subcommands, described in their own section, each of which accomplishes one of the iSNS server management functions.

For any operations that will change the iSNS configurations the solaris.isnsmgr.write authorization is required. Refer to isns(1M). For read operations, the command does not require special authorizations.

isnsadm 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.

Options

The following options are supported:

-?, --help

Displays context help. Stops interpretation of any subsequent arguments.

-V, --version

Displays version information. Stops interpretation of any subsequent arguments.

Operands

The following operands are used by one or more isnsadm subcommands.

iscsi-node-name

iSCSI target or iSCSI initiator symbolic name. A string with a maximum length of 223 characters.

discovery-domain-name

Discovery domain symbolic name. A string with a maximum length of 256 characters.

discovery-domain-set-name

Discovery domain set symbolic name. A string with a maximum length of 256 characters.

Subcommands

The isnsadm command supports the subcommands described below.

add-dd

The add-dd subcommand adds a discovery domain to a discovery domain set.

The add-dd subcommand has the following syntax:

# isnsadm add-dd option discovery-domain-name, ...

add-dd has the following option:

-s discovery-domain-set-name

Specifies a discovery domain set.

add-node

The add-node subcommand adds a node to a specified discovery-domain.

The add-node subcommand has the following syntax:

# isnsadm add-node option iscsi-node-name,...

add-node has the following options:

-d,--dd discovery-domain-name

Specifies a discovery domain.

create-dd

The create-dd subcommand creates a discovery domain with the name you specify.

The create-dd subcommand has the following syntax:

# isnsadm create-dd discovery-domain-name, ...

create-dd has no options.

create-dd-set

The create-dd-set subcommand creates a discovery domain set with the name you specify.

The create-dd-set subcommand has the following syntax:

# isnsadm create-dd-set discovery-domain-set-name, ...

create-dd-set has no options.

delete-dd

The delete-dd subcommand deletes a discovery domain of the name you specify.

The delete-dd subcommand has the following syntax:

# isnsadm delete-dd discovery-domain-name, ...

delete-dd has no options.

delete-dd-set

The delete-dd-set subcommand deletes a discovery domain set of the name you specify.

The delete-dd-set subcommand has the following syntax:

# isnsadm delete-dd-set discovery-domain-set-name, ...

delete-dd-set has no options.

disable-dd-set

The disable-dd-set subcommand disables a discovery domain set.

The disable-dd-set subcommand has the following syntax:

# isnsadm disable-dd-set discovery-domain-set-name, ...

disable-dd-set has no options.

enable-dd-set

The enable-dd-set subcommand enables a discovery domain set.

The enable-dd-set subcommand has the following syntax:

# isnsadm enable-dd-set discovery-domain-set-name, ...

enable-dd-set has no options.

list-dd

The list-dd subcommand displays information about discovery domains. If no operand is specified, it lists all discovery domains that currently exist on the iSNS server.

The list-dd subcommand has the following syntax:

# isnsadm list-dd [option] [discovery-domain-name, ...]

list-dd supports the following option:

-v, --verbose

Displays the member contents of the discovery domain(s).

list-dd-set

The list-dd-set subcommand lists the discovery domain sets, both enabled and disabled, that exist on the iSNS server. Note that there is no dd-set registration. If no operand is specified, it lists all of the discovery domain sets.

The list-dd-set subcommand has the following syntax:

# isnsadm list-dd-set [option] [discovery-domain-set-name, ...]

list-dd-set supports the following option:

-v, --verbose

Shows all discovery domains within the discovery domain set.

list-node

The list-node 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 unknown. If no operand is specified, list-node lists all nodes known by the iSNS server.

The list-node subcommand has the following syntax:

# isnsadm list-node [options] [iscsi-node-name, ...]

list-node supports the following options:

-t, --target

Filters the list to display only iSCSI target nodes.

-i, --initiator

Filters the list to display only iSCSI initiator nodes.

-v, --verbose

Displays details about a node. Without this option, only the name, alias, and type information are displayed.

modify-dd

The modify-dd subcommand modifies an attribute of a specified discovery domain.

The modify-dd subcommand has the following syntax:

# isnsadm modify-dd option discovery-domain-name

modify-dd has the following option:

-n discovery-domain-name

Specifies the new name of a discovery domain to be applied to an existing discovery-domain.

modify-dd-set

The modify-dd-set subcommand modifies a discovery domain set.

The modify-dd-set subcommand has the following syntax:

# isnsadm modify-dd-set option discovery-domain-set-name

modify-dd-set has the following option:

-n discovery-domain-set-name

Specifies the new name of a discovery domain set to be applied to an existing discovery-domain-set.

remove-dd

The remove-dd subcommand removes the association with a specified discovery domain set.

The remove-dd subcommand has the following syntax:

# isnsadm remove-dd option discovery-domain-name, ...

remove-dd has the following option:

-s discovery-domain-set-name

Specifies the discovery domain set from which the discovery domain will be removed.

remove-node

The remove-node subcommand removes a node.

The remove-node subcommand has the following syntax:

# isnsadm remove-node option iscsi-node-name, ...

remove-node has the following option:

-d discovery-domain-name

Specifies the discovery domain from which a node will be removed.

show-config

The show-config subcommand displays the iSNS server administrative settings. Note that the setting can be modified by means of the service management facility (see smf(5)). Refer to isns(1M).

The show-config subcommand has the following syntax:

# isnsadm show-config

show-config has no options.

Examples

Example 1 Displaying Clients

The following use of the list-node subcommand displays clients.

# isnsadm list-node -v
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

Example 2 Displaying a Discovery Domain

The following use of the list-dd subcommand displays discovery domains.

# isnsadm list-dd -v
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

Example 3 Adding a Node

The following use of the add-node subcommand adds a node to a discovery domain, creating a discovery domain membership.

# isnsadm add-node -d engineering-dd \ iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.engr

Example 4 Removing a Node

The following use of the remove-node subcommand removes a node from a discovery domain, thereby removing a discovery domain membership.

# isnsadm remove-node -d acct-dd \ iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.acct

Example 5 Creating a Discovery Domain Set

The following use of the create-dd-set subcommand creates a discovery domain set.

# isnsadm create-dd-set operation-dd-set

Example 6 Displaying a Discovery Domain Set

The following use of the list-dd-set subcommand displays discovery domain sets.

# isnsadm list-dd-set -v
DD Set name: Default
        State: Disabled
        DD Name: Default
DD Set name: operation-dd-set
        State: Disabled

Example 7 Adding a Discovery Domain

The following use of the add-dd subcommand adds a discovery domain to a discovery domain set.

# isnsadm add-dd -s operation-dd-set engineering-dd

Example 8 Displaying a Discovery Domain Set

The following use of the list-dd-set displays the attributes of a discovery domain set.

# isnsadm list-dd-set
DD Set name: Default
        State: Disabled
        DD Name: Default
DD Set name: operation-dd-set
        State: Disabled
        DD Name: engineering-dd

Example 9 Enabling a Discovery Domain Set

The following use of the enable-dd-set subcommand enables a discovery domain set.

# isnsadm enable-dd-set Default

Example 10 Disabling a Discovery Domain Set

The following use of the disable-dd-set subcommand disables a discovery domain set.

# isnsadm disable-dd-set Default

Example 11 Displaying Administrative Settings

The following use of the show-config subcommand displays current administrative settings.

# isnsadm show-config
        Data Store Location: /etc/isns/isnsdata.xml
        Entity Status Inquiry Non-Response Threshold: 3
        Management SCN Enabled: yes
        Authorized Control Node Names: -

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
service/storage/isns
Interface Stability
Volatile

See Also

iscsiadm(1M), isns(1M), attributes(5), smf(5)

Notes

When a subcommand is invoked with multiple operands and there are failures on one or more, but not all, operands, isnsadm 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.