Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Devices and File Systems Oracle Solaris 11 Express 11/10 |
1. Managing Removable Media (Overview)
2. Managing Removable Media (Tasks)
3. Accessing Removable Media (Tasks)
4. Writing CDs and DVDs (Tasks)
5. Managing Devices (Overview/Tasks)
6. Dynamically Configuring Devices (Tasks)
7. Using USB Devices (Overview)
9. Using InfiniBand Devices (Overview/Tasks)
11. Administering Disks (Tasks)
12. SPARC: Adding a Disk (Tasks)
13. x86: Adding a Disk (Tasks)
14. Configuring iSCSI Storage Devices With COMSTAR
15. Configuring and Managing the Solaris Internet Storage Name Service (iSNS)
The iSNS Technology (Overview)
Setting Up the iSNS Administrative Settings
How to Set Notifications for Changes in Server State
How to Set the Number of Retries for Client Inquiries
How to Specify the Data Store Location
How to Enable the iSNS Server Daemon
How to Disable the iSNS Server Daemon
Using the Command Line Interface to Configure iSNS
How to Display the Current Server Configuration
How to Enable the Default Discovery Domain Set
How to Create the Discovery Domain Sets
How to Create the Discovery Domains
Managing the iSNS Server and Clients
How to Display the Status of a Discovery Domain Set
How to Display the Status of a Discovery Domain
How to Display the Status of Clients
How to Remove a Client from a Discovery Domain
How to Remove a Discovery Domain from a Discovery Domain Set
How to Disable a Discovery Domain Set
How to Remove a Discovery Domain Set
17. The format Utility (Reference)
18. Managing File Systems (Overview)
19. Creating ZFS, UFS, TMPFS, and LOFS File Systems (Tasks)
20. Mounting and Unmounting File Systems (Tasks)
21. Configuring Additional Swap Space (Tasks)
22. Copying Files and File Systems (Tasks)
You can configure the iSNS server using as described in the following task maps and sections.
|
After these tasks, the iSNS server is operating in a minimal manner. All of the clients are in the default discovery domain and are unassigned. Each one can identify and get access to all of the other ones.
|
The next section provides instructions for setting up the iSNS environment. The following topics are discussed:
This section provides the procedures for changing the default administrative settings of the iSNS service and for starting the iSNS daemon. If you change a setting after the iSNS server has been started, you need to refresh the iSNS server. If you change the data store location, you need to restart the iSNS server.
See the man page for the isns(1M) command details about these operations.
By default, all clients are notified when the iSNS server is not available. To disable these notifications, change the Management_SCNs_Enabled property.
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# svccfg -s svc:/network/isns_server setprop\config/Management_SCNs_Enabled=no
# svcadm refresh svc:/network/isns_server
The default number of retries is 3. If the server does not get a response to three inquiries, it registers that client as unavailable. To change the number of retries, change the value of the ESI Retry Threshold property.
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# svccfg -s svc:/network/isns_server setprop\config/ESI_retry_threshold_count=6
# svcadm refresh svc:/network/isns_server
The default location and name for the file that contains the client data is /etc/isns/isnsdata.xml If you have a complex network environment that includes one or more backup iSNS servers, the data store must reside in a common location so that all servers can use it. Use the data_store_location property to specify the new location. You can also change the name of the file.
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
svccfg -s svc:/network/isns_server setprop\config/data_store_location="/etc/isns2/isns_data.xml"
# svcadm restart svc:/network/isns_server
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
#svcadm -v enable svc:/network/isns_server svc:/network/isns_server:default enabled
#svcs svc:/network/isns_server:default STATE STIME FMRI online 11:50:04 svcs svc:/network/isns_server:default
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
#svcadm -v disable svc:/network/isns_server svc:/network/isns_server:default disabled
#svcs svc:/network/isns_server:default STATE STIME FMRI disabled 11:51:05 svc:/network/isns_server:default
This section provides the procedures for configuring the iSNS server using the command line interface. The following topics are discussed:
These procedures use the isnsadm(1M) command. See the man page for a complete description of all of the command options.
#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: -
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
#isnsadm enable-dd-set Default
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
#isnsadm create-dd-set set_name
#isnsadm enable-dd-set set_name
#isnsadm list-dd-set -v DD Set name: Default State: Enabled DD Set name:set_name State: Enabled
The list of discovery domain sets includes the default discovery domain set as well as the new one.
New discovery domains are members of the default discovery domain set. After you create them, you add them to the new discovery domain set.
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
#isnsadm create-dd domain_name
#isnsadm list-dd-set Default DD name: name DD set(s): Default
This task removes the discovery domain from the default discovery domain set and adds it the discovery domain set that you specify. Because the new discovery domain set has been enabled, all the clients in its discovery domains can be discovered by the iSNS server.
You do not need to have privileges to list the members of the discovery domains and discovery domain sets.
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
#isnsadm list-dd -v Default
#isnsadm list-dd-set
#isnsadm add-dd domain_name -s set_name
#isnsadm list-dd-set -v domain_name
Use the client's management interface to register the client. Using the iSCSI configuration function, specify the IP address of the iSNS server and allow discovery of the client by the iSNS server.
Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in System Administration Guide: Security Services.
#isnsadm list-node iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.45173FEA.engr Alias: STK5320_NAS Type: Target . iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.acct Alias: Type: Initiator
The output shows the clients' iSCSI names.
#isnsadm list-dd
#isnsadm add-node -d domain_name iSCSI_Name
For example, to add the target called “STK5320_NAS” to the Eng-dd discovery domain:
#isnsadm add-node -d Eng-dd iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.engr
#isnsadm list-dd -v domain_name
For example, to check the Eng-dd discovery domain:
#isnsadm list-dd -v Eng-dd DD name: Eng-dd DD set: Development-dds 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