Method used to configure the iSCSI initiator in Solaris 10

39

Method used to configure the iSCSI initiator in Solaris 10:
1. Check whether iSCSI services have been started.
Run svcs -a |grep iscsi to check the status of iSCSI. If the status of iSCSI is online, iSCSI services have been started. Otherwise, run svcadm enable iscsi_initiator to start iSCSI services.
2. Configure the Solaris iSCSI initiator.
Run iscsiadm add discovery-address [ip addr:portal no]
# iscsiadm add discovery-address xxx.xxx.xxx.xxx:3260
to configure the Solaris iSCSI initiator.
3. Add an initiator corresponding to the host on the array side and map it to the LUN.
4. (Optional) Methods used to search for the iSCSI target:
a. If a dynamic discovery device (SendTargets) has been configured, run the following command:
# iscsiadm modify discovery --sendtargets enable
b. If a dynamic discovery device (iSNS) has been configured, run the following command:
# iscsiadm modify discovery --isns enable
c. If a static discovery device has been configured, run the following command:
# iscsiadm modify discovery --static enable
5. Run devfsadm -i iscsi to create links for iSCSI devices.
6. Run format to check iSCSI disks.

Other related questions:
Method used to configure the iSCSI initiator in SLES 10
Method used to configure the iSCSI initiator in SLES 10: Basic iSCSI configuration: 1. Run /etc/init.d/open-iscsi start to start iSCSI services. 2. Modify the configuration file /etc/iscsi/iscsid.conf and set node.startup to automatic to enable automatic logins to the target. 3. Run iscsiadm -m discovery -t st -p [targetip] to add the target. 4. Add ports detected on the storage array to corresponding hosts and map these ports to LUNs. 5. Run iscsiadm -m node -p [targetip] -l to register the target. 6. Run chkconfig -add open-iscsi to enable automatic startup of the server. 7. Run fdisk -l to scan for the LUN mapped to the host. CHAP configuration: 1. Run the following three commands in sequence to add the CHAP authentication for a target: iscsiadm -m node -o update -p [targetip] -n node.session.auth.authmethod -v CHAP iscsiadm -m node -o update -p [targetip] -n node.session.auth.username -v [chap user name] iscsiadm -m node -o update -p [targetip] -n node.session.auth.password -v [Chap auth passwd] 2. Configure the same user name and password for the target on the storage side by referring to the array operation guide. 3. Run iscsiadm -m node -p targetip -l to register the target. After registration, LUNs can be detected. 4. If CHAP authentication for multiple targets is required, repeat the preceding steps.

Method used to configure the iSCSI initiator in SLES 9
The basic iSCSI configuration and CHAP authentication configuration in SLES 9 are the same as those in Red Hat 4. Refer to iSCSI initiator configuration in Red Hat 4.

Method used to configure the iSCSI initiator in Windows
You can configure the iSCSI initiator in Windows as follows: Perform basic iSCSI configurations as follows: 1. Check whether the Microsoft iSCSI service has been started. If the iSCSI service has not been started, set the service to automatically start. 2. Open the iSCSI initiator configuration tool. Choose Start > Control Panel and double-click the iSCSI Initiator icon. 3. (Optional) Change the initiator name. On the General tab page, click Change... and modify Initiator node name. The node name must be unique. Note: When the service is running properly, do not modify the node name. Otherwise, services will be interrupted. 4. Add targets. Under Target Portal of the Discovery tab page, click Add. In the Add Target Portal dialog box that is displayed, configure Target IP and the port number. The port number of iSCSI is 3260 by default. 5. On the Targets tab page, click Refresh. You can see all targets. Select all targets in the inactive status and click Logon. Select the first item. 6. On the Computer Management page, choose Storage > Disk management. You can view the LUNs on the disk array. Configure Challenge Handshake Authentication Protocol (CHAP) as follows: 1. On the disk array, configure the CHAP name and password of the initiator. 2. In the Log On to Target dialog box, click Advanced... and configure the CHAP user name and password.

Method used to configure the iSCSI initiator in MAC OS
You can configure the iSCSI initiator in MAC OS as follows: Perform basic iSCSI configurations as follows: 1. Enable the globalSAN iSCSI initiator, select the Portals tab, and click + to add targets. 2. On the Targets tab, select a target and click Log On.... Configure CHAP as follows: 1. On the disk array, configure the corresponding CHAP user name and password. 2. Select a target and set CHAP authentication in the Log On dialog box.

Method used to configure the iSCSI initiator in AIX 5.3
You can configure the iSCSI initiator in AIX 5.3 as follows: Perform basic iSCSI configurations as follows: 1. Check whether the iSCSI initiator is installed. Run the lslpp -i | grep -i iscsi to check whether the following components are included: device.common.IBM.iscsi, device.iscsi.disk, device.iscsi_sw, and device.iscsi.tape. If the system is not installed with the iSCSI initiator, install it manually by using the compact disc read-only memory (CD-ROM) of the AIX operating system. 2. Check iSCSI Target Device name. Log in to the CLI of the array and run the showsys command. 3. Configure the Targets file. Run the vi command to open the /etc/iscsi/targets file and add target to the file. Targets must be in the format of IP Portal TargetName:IP. If you need to configure multiple paths, add targets of other paths in the /etc/iscsi/targets file. 4. (Optional) Configure the iSCSI initiator, such as modifying its name. Run the smit iscsi command and modify the parameter by following wizard instructions. 5. Run cfgmgr -v or cfgmgr -l iscsi0 to scan for disks. Run lspv to check disks. Configure CHAP as follows: 1. In AIX iSCSI, the initiator name is used as the user name for CHAP authentication. 2. Configure the autosecrets file. Run vi to open the /etc/iscsi/autosecrets file. At the end of the file text, add one line in the format of chap_user "chap auth pw". 3. Configure the targets file. Run vi to open the /etc/iscsi/targets file. Add the CHAP authentication password after target and separate them with a space. 4. On the disk array, configure the corresponding CHAP user name and password.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top