Users Guide
9–iSER 配置
为 SLES 12 及更高版本配置 iSER
189 AH0054602-05 M
为 SLES 12 及更高版本配置 iSER
由于 targetcli 没有在 SLES 12 及更高版本上内建,您必须完成以下步骤。
要为 SLES 12 及更高版本配置 iSER:
1. 安装 targetcli。
对于 SLES 12:
从 ISO 映像 (x86_64 和 noarch 位置)定位、复制并安装以下 RPM:
lio-utils-4.1-14.6.x86_64.rpm
python-configobj-4.7.2-18.10.noarch.rpm
python-PrettyTable-0.7.2-8.5.noarch.rpm
python-configshell-1.5-1.44.noarch.rpm
python-pyparsing-2.0.1-4.10.noarch.rpm
python-netifaces-0.8-6.55.x86_64.rpm
python-rtslib-2.2-6.6.noarch.rpm
python-urwid-1.1.1-6.144.x86_64.rpm
targetcli-2.1-3.8.x86_64.rpm
对于 SLES 15 和 SLES 15 SP1:
通过发出以下 Zypper 命令加载 SLES 包 DVD 并安装 targetcli,该命令会将
安装所有依赖包:
# zypper install python3-targetcli-fb
2. 启动 targetcli 之前,请如下加载所有 RoCE 设备驱动程序和 iSER 模块:
# modprobe qed
# modprobe qede
# modprobe qedr
# modprobe ib_iser
(启动器)
# modprobe ib_isert (目标)
3. 配置 iSER 目标之前,配置 NIC 接口并运行 L2 和 RoCE 流量,如第 152 页
上的步骤 7 中所述。
4. 对于 SLES 15 和 SLES 15 SP1,插 入 SLES 包 DVD 并安装 targetcli 公用程
序。此命令还会安装所有依赖包。
# zypper install python3-targetcli-fb