User Tools

Site Tools


ubuntu:iser_rdma

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
ubuntu:iser_rdma [2018/02/21 12:33]
tschulz [Check IO Delay/Sats]
ubuntu:iser_rdma [2018/02/21 12:49]
tschulz [ISER/RMDA with ZFS on Ubuntu Server 17.04/17.10]
Line 1: Line 1:
-====== ISER/RMDA with ZFS on Ubuntu Server 17.04 ======+====== ISER/RMDA with ZFS on Ubuntu Server 17.04/​17.10 ​====== 
  
-gg 
 ===== RDMA Infiniband Modules ===== ===== RDMA Infiniband Modules =====
 <file bash /​etc/​modules>​ <file bash /​etc/​modules>​
Line 54: Line 54:
  
  
-===== Other Commands ​===== +===== Configure TargetCLI ​===== 
-==== Check IO Delay/​Sats ​====+==== Disable ISCSI Authentication ​==== 
 +  * Remember on new version of Debian and Ubuntu **targetcli** has been replaced with **targetcli-fb** ​
 <​file>​ <​file>​
-apt install sysstat+cd iscsi/​iqn.*/​tpgt1/​  
 +set attribute authentication=0 demo_mode_write_protect=0 generate_node_acls=1 cache_dynamic_acls=1
 </​file>​ </​file>​
 +==== Enable ISCSI iSER ====
 <​file>​ <​file>​
-iostat -x 1+cd iscsi/​iqn.*/​tpgt1/​portals/​192.168.221.1:3260 
 +enable_iser true
 </​file>​ </​file>​
  
-==== Disable ISCSI Authentication ​====+==== Create File based iSCSI backstore ​====
 <​file>​ <​file>​
-cd iscsi/iqn.*/tpgt1/  +cd /backstores/fileio
-set attribute authentication=0 demo_mode_write_protect=0 generate_node_acls=1 cache_dynamic_acls=1+create file_or_dev=/​tank/​vol1/​iservol2 name=iservol2 size=20G write_back=true
 </​file>​ </​file>​
  
-==== Check ZFS IO Stats ====+==== Assign a new lun to a target ​====
 <​file>​ <​file>​
-zpool iostat -v 1+cd /​iscsi/​iqn.*/​tpg1/​luns/​ 
 +create /​backstores/​fileio/​iservol2
 </​file>​ </​file>​
-==== Discover Targets from ISCSI Portal ====+ 
 +===== ISCSI Admin Commands ===== 
 +==== Discover Targets from ISCSI Portal ​(TCP) ====
 <​file>​ <​file>​
 iscsiadm -m discovery -p <​IP>:<​PORT>​ iscsiadm -m discovery -p <​IP>:<​PORT>​
 +</​file>​
 +
 +==== Discover Targets from ISCSI Portal using iSER ====
 +<​file>​
 +iscsiadm -m discovery -p <​IP>:<​PORT>​ -I iser
 </​file>​ </​file>​
 ==== Refresh LUNS of ISCSI Target ==== ==== Refresh LUNS of ISCSI Target ====
Line 98: Line 110:
 iscsiadm -m node -T <​TARGETNAME>​ -l iscsiadm -m node -T <​TARGETNAME>​ -l
 </​file>​ </​file>​
 +
 +===== Other Commands =====
 +==== Check IO Delay/Sats ====
 +<​file>​
 +apt install sysstat
 +</​file>​
 +<​file>​
 +iostat -x 1
 +</​file>​
 +==== Check ZFS IO Stats ====
 +<​file>​
 +zpool iostat -v 1
 +</​file>​
 +
  
  
ubuntu/iser_rdma.txt · Last modified: 2018/02/23 15:12 by tschulz