User Tools

Site Tools


iscsi_centos7

This is an old revision of the document!


iSCSI target CentOS 7

Installation

  • Do a minimal installation
  • Configure iSCSI network interfaces with MTU of 9000
  • Do a yum update after the installation
yum install targetcli net-tools wget chrony
wget https://downloads.linux.hp.com/SDR/add_repo.sh
sh ./add_repo.sh spp -d rhel -r 7
yum install hpssacli

Configuration

/etc/sysconfig/modules/scsi.modules
#!/bin/sh

if [ ! -c /dev/sg0 ] ; then
  exec /sbin/modprobe sg >/dev/null 2>&1
fi
chmod 755 /etc/sysconfig/modules/scsi.modules
hpssacli
controller slot=2 modify cacheratio=75/25
/etc/rc.local
echo noop > /sys/block/sda/queue/scheduler
# /sbin/blockdev --setra 1024 /dev/sda
tuned-adm profile network-throughput
iscsi_centos7.1440239491.txt.gz · Last modified: by herwarth