Configuring an iSCSI Server in OEL 8….

Oracle Linux with both Unbreakable Enterprise Kernel and RHCK uses the Linux-IO Target (LIO) to provide the block-storage SCSI target for FCoE, iSCSI, and Mellanox InfiniBand (iSER and SRP). In Oracle Linux 8, all storage fabrics are managed with the targetcli utility.

Fiber Channel over Ethernet (FCoE) requires you to install the fcoe-utils package that includes both the fcoemon service and the fcoeadm command. Note that Mellanox InfiniBand is only supported with UEK.

To configure an Oracle Linux system as an iSCSI server, begin by installing the targetcli software package:

# dnf install targetcli

Installing the targetcli software package also installs the python-rtslib package, which provides the /usr/lib/systemd/system/target.service file.

Before using the targetcli utility to create, delete, and view storage targets, use the systemctl command to enable and start the target service on the iSCSI server.

# systemctl enable target

ln –s ‘/usr/lib/systemd/system/target.service’ ‘/etc/systemd/system/’

# systemctl start target