Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
hypervisor:iscsi1404 [2015/09/17 15:02]
giancarlo created
hypervisor:iscsi1404 [2015/09/17 15:14]
giancarlo
Line 21: Line 21:
 <WRAP prewrap center> <WRAP prewrap center>
 <code> <code>
-# nano -w /etc/iscsi/iscsid.conf+# nano -w /etc/initramfs-tools/modules
  
-    node.startup = automatic+     + scsi_dh_alua 
 +     + dm_multipath 
 +     + dm_round_robin 
 +     + scsi_dh_rdac 
 +     + sd_mod
  
-# /etc/init.d/open-iscsi restart+# update-initramfs -v -u -k all 
 +# modprobe scsi_dh_alua 
 +# modprobe dm_multipath 
 +# modprobe dm_round_robin 
 +# modprobe scsi_dh_rdac 
 +# modprobe sd_mod 
 +# /etc/init.d/multipath-tools restart
 </code> </code>
 </WRAP> </WRAP>
 +Identify scsi id for local disk.
 +<WRAP prewrap center>
 +<code>
 +# /lib/udev/scsi_id --whitelisted --device=/dev/sda
 +e827ca06c08b1001787e0636005c35541
 +</code>
 +</WRAP>
 +Connect storage.
 +<WRAP prewrap center>
 +<code>
 +# iscsiadm -m discovery -t st -p 192.168.10.100
 +# iscsiadm -m node -T iqn.xxxxxx --login
 +# iscsiadm -m session -P 1
  
 +Target: iqn.xxxxxx
 +        Current Portal: 192.168.10.100:3260,1
 +        Persistent Portal: 192.168.10.100:3260,1
 +                **********
 +                Interface:
 +                **********
 +                Iface Name: default
 +                Iface Transport: tcp
 +                ...
 +        Current Portal: 192.168.10.101:3260,2
 +        Persistent Portal: 192.168.10.101:3260,2
 +                **********
 +                Interface:
 +                **********
 +                Iface Name: default
 +                Iface Transport: tcp
 +                ...
 +
 +</code>
 +</WRAP>
 
 
hypervisor/iscsi1404.txt · Last modified: 2015/09/17 15:23 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki