Configure the iSCSI (Initiator) Service After verifying that the iscsi-initiator-utils package is installed, start

the iscsid service and enable it to automatically start when the system boots. I will also configure the iscsi service to automatically start which logs into iSCSI targets needed at system start up.

[root@linux3 ~]# service iscsid start Turning off network shutdown. Starting iSCSI daemon: [ [ OK ] [root@linux3 ~]# chkconfig iscsid on [root@linux3 ~]# chkconfig iscsi on



Now that the iSCSI service is started, use the iscsiadm command-line interface to discover all available targets on the network storage server:

[root@linux3 ~]# iscsiadm -m discovery -t sendtargets -p openfiler1-san,1 Manually Login to iSCSI Target(s) At this point the iSCSI initiator service has been started and the client node was able to discover the available target(s) from the network storage server. The next step is to manually login to the available target(s) which can be done using the iscsiadm command-line interface. Note that I had to specify the IP address and not the host name of the network storage server (openfiler1-san) - I believe this is required given the discovery (above) shows the targets using the IP address. [root@linux3 ~]# iscsiadm -m node -T -p --login Logging in to [iface: default, target:, portal:,3260] Login to [iface: default, target:, portal:,3260]: successful Configure Automatic Login The next step is to make certain the client will automatically login to the target(s) listed above when the machine is booted (or the iSCSI initiator service is started/restarted): [root@linux3 ~]# iscsiadm -m node -T -p --op update -n node.startup -v automatic

Sign up to vote on this title
UsefulNot useful