Configure the iSCSI Initiator

To support iSCSI connections, Oracle FS Path Manager (FSPM) requires the iSCSI initiator that is included in your operating system distribution be configured to startup automatically.

For complete installation and configuration instructions, refer to: /usr/share/doc/iscsi-initiator-utils-*/README. The steps below are an overview of the instructions in the README file.
Important! You must ensure that each iSCSI initiator on the iSCSI SAN has a unique name, and set this host's initiator name in the /etc/iscsi/initiatorname.iscsi file.
  1. Set up IP addresses and network parameters on Controller iSCSI ports.
    This might include setting up Challenge Handshake Authentication Protocol (CHAP) on your system.
  2. Configure iSCSI accordingly.
    Example: If you are using CHAP to communicate with the Controller iSCSI ports, you may need to modify the /etc/iscsi/iscsid.conf file accordingly.
  3. Start the iSCSI initiator.
    1. Run the following command for operating systems that use the open-iscsi service:
      # service open-iscsi start
    2. Run the following command for operating systems that use the iscsi service:
      # service iscsi start
  4. Discover the iSCSI target ports.
    Two methods are shown below to discover an iSCSI target port where 172.20.191.11 is the IP address and 3260 is the default port number of either a Controller iSCSI port or an iSCSI-to-FC router port:
    # iscsiadm –m discovery –t sendtargets –p 172.20.191.11:3260
    # iscsi_discovery 172.20.191.11:3260
    
  5. Log in to the iSCSI target ports.
    Example:
    # iscsiadm –m node --loginall=all
  6. (Optional) Discover the other ports, depending on the desired design.
  7. Restart the iscsi or open-iscsi service to log in to the discovered target ports.
    1. Run the following command for operating systems that use the open-iscsi service:
      # service open-iscsi start
    2. Run the following command for operating systems that use the iscsi service:
      # service iscsi start
  8. Use chkconfig to configure the iscsi or open-iscsi service to start up automatically.