9–iSER Configuration
Configuring iSER for Ubuntu
184
BC0154501-00 P
4.
Start the targetcli utility, and configure your targets on the iSER target
system.
Configuring iSER for Ubuntu
To configure iSER for Ubuntu, you must first configure RoCE, and then configure
the target and initiator devices as described in the following sections:
Configuring LIO as a Target
To configure the Linux-IO (LIO) as a target:
1.
Install targetcli by issuing the following command:
#
sudo apt-get install targetcli
2.
To enter the LIO CLI console, issue the
targetcli
command:
root@captain:~#
targetcli
targetcli GIT_VERSION (rtslib GIT_VERSION)
Copyright (c) 2011-2013 by Datera, Inc.
All rights reserved.
/>
ls
o- /...................................................[...]
o- backstores ...................................... [...]
| o- fileio ........................... [0 Storage Object]
| o- iblock ........................... [0 Storage Object]
| o- pscsi ............................ [0 Storage Object]
| o- rd_dr ............................ [0 Storage Object]
| o- rd_mcp ........................... [0 Storage Object]
o- ib_srpt ................................... [0 Targets]
o- iscsi ..................................... [0 Targets]
o- loopback .................................. [0 Targets]
o- qla2xxx ................................... [0 Targets]
NOTE
targetcli versions are different in RHEL and SLES. Be sure to use the
proper backstores to configure your targets:
RHEL uses
ramdisk
SLES uses
rd_mcp