9–iSER Configuration
Configuring iSER for Ubuntu
186
BC0154501-00 P
| o- iqn.2004-01.com.qlogic.iSERPort1.Target ..... [1 TPG]
| o- tpgt1 ................................... [enabled]
| o- acls ................................... [0 ACLs]
| o- luns ................................... [0 LUNs]
| o- portals ............................. [0 Portals]
o- loopback .................................. [0 Targets]
o- qla2xxx ................................... [0 Targets]
o- tcm_fc .................................... [0 Targets]
/>
5.
Create a LUN by issuing the following command. Be sure that the RAM disk
is activated:
/>
/iscsi/iqn.2004-01.com.qlogic.iSERPort1.Target1/tpgt1/luns
create /backstores/rd_mcp/iSERPort1-1
Selected LUN 0.
Successfully created LUN 0.
/>
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 ........................... [1 Storage Object]
| o- iSERPort1-1 ................... [ramdisk activated]
o- ib_srpt ................................... [0 Targets]
o- iscsi ...................................... [1 Target]
| o- iqn.2004-01.com.qlogic.iSERPort1.Target1 .... [1 TPG]
| o- tpgt1 ................................... [enabled]
| o- acls ................................... [0 ACLs]
| o- luns .................................... [1 LUN]
| | o- lun0 ........... [rd_mcp/iSERPort1-1 (ramdisk)]
| o- portals ............................. [0 Portals]
o- loopback .................................. [0 Targets]
o- qla2xxx ................................... [0 Targets]
o- tcm_fc .................................... [0 Targets
6.
Create a portal by issuing the following command. Supply the IP address of
the interface on which to run iSER (RoCE enabled).
/> /
iscsi/iqn.2004-01.com.qlogic.iSERPort1.Target1/tpgt
1/
portals create 192.168.10.5