This is an old revision of the document!

iSCSI and Multipath

  • Install package
# apt-get install open-iscsi multipath-tools
  • Configure iSCSI
# nano -w /etc/iscsi/iscsid.conf

    node.startup = automatic

# /etc/init.d/open-iscsi restart
  • Configure multipath (storage with double controller)

Configure kernel modules required by storage.

# nano -w /etc/initramfs-tools/modules

     + scsi_dh_alua
     + dm_multipath
     + dm_round_robin
     + scsi_dh_rdac
     + sd_mod

# 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

Identify scsi id for local disk.

# /lib/udev/scsi_id --whitelisted --device=/dev/sda

Connect storage.

# iscsiadm -m discovery -t st -p
# iscsiadm -m node -T iqn.xxxxxx --login
# iscsiadm -m session -P 1

Target: iqn.xxxxxx
        Current Portal:,1
        Persistent Portal:,1
                Iface Name: default
                Iface Transport: tcp
        Current Portal:,2
        Persistent Portal:,2
                Iface Name: default
                Iface Transport: tcp
hypervisor/iscsi1404.1442495642.txt.gz ยท Last modified: 2015/09/17 15:14 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ and Anna Perin (anna.perin _@_
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