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.

Scroll to top