Installation of prerequisite packages
RHEL/CentOS
yum install httpd gcc perl kernel-devel sg3_utils
Ensure that the kernel-devel package version matches the installed kernel version To get the kernel-devel package version rpm -qa | grep kernel-devel To get the running kernel version uname -r If the kernel-devel version is ahead of the installed kernel then do the following additional steps yum upgrade kernel reboot yum upgrade kernel-devel
QLogic Firmware
The FC target-mode driver has issues with the 8.06 firmware installed by linux-firmware-20170606-56.gitc990aae.el7.noarch on RHEL/CentOS Linux release 7.3.1611 (Core)
The recent 8.07 firmware is recommended which can be got from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.... .
Firmware can also be updated using the following links
http://www.quadstor.com/vtlnext/firmware.tgz
http://www.quadstor.com/vtlnext/firmware2400.tgz
Firmware upgrade procedure
On the VTL system as root user 1. tar xvzf firmware.tgz (For the qla/qle24xx cards use tar xvzf firmware2400.tgz) 2. sh firmware/copyfirmware.sh 3. Reboot 4. grep "fw=" /var/log/dmesg This should be fw=8.07.00 or greater
SLES 12 SP2
zypper install apache2 gcc perl kernel-default-devel sg3_utils a2enmod cgi
Debian Wheezy 7.x
apt-get install uuid-runtime build-essential linux-headers-`uname -r` sg3-utils apache2 psmisc apt-get install firmware-qlogic (for FC access) a2enmod cgi
NOTE: a2enmod command is not present on Debian 7 and can be skipped
Run the following chkconfig commands to start httpd/apache2 on system startup
/sbin/chkconfig --add httpd (RHEL/CentOS)
/sbin/chkconfig --add apache2 (SLES 12)
Installation/Upgrading of QUADStor on RHEL/CentOS 6.x/7.x, SLES 12 SP2 and Debian 7
- Login to the target system as root
- Uninstall any previous version of the software by (in the same order listed)
On RHEL/CentOS/SLES 12 sh# rpm -e quadstor-xxxx - where the version can be got by sh# rpm -qa | grep quadstor On Debian systems Extended Edtion: sh# dpkg -r quadstor-vtl-ext
- Install the packages by running the following commands (in the same order listed)
On RHEL/CentOS/SLES 12: sh# rpm -ivh quadstor-vtl-xxx.rpm On Debian Systems dpkg -i quadstor-vtl-xxx.deb
By default quadstorvtl services are automatically started during system startup.If you wish to start the service manually then run the following command
sh# /sbin/chkconfig --del quadstorvtl
To start the service manually
sh# /etc/rc.d/init.d/quadstorvtl start (On RHEL/CentOS)
sh# /etc/init.d/quadstorvtl start (On SLES, Debian)
To stop the service
sh# /etc/rc.d/init.d/quadstorvtl stop (On RHEL/CentOS)
sh# /etc/init.d/quadstorvtl stop (On SLES, Debian)
SELinux Considerations
While the package installation and quadstorvtl start script takes care of on SELinux enabled environment the following need to be done if you have SELinux enabled
/usr/sbin/setsebool -P httpd_enable_cgi 1
/usr/sbin/semanage permissive -a httpd_t