Installation/Upgrading on RHEL/CentOS, SLES 12 SP2 and Debian 7/8

Installation of prerequisite packages

RHEL/CentOS

yum install httpd
yum install gcc
yum install perl
yum install kernel-devel
yum install 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

SLES 12 SP2

zypper install apache2
zypper install gcc
zypper install perl
zypper install kernel-default-devel
zypper install sg3_utils

Debian Wheezy 7.x

apt-get install uuid-runtime
apt-get install build-essential
apt-get install sg3-utils
apt-get install apache2
apt-get install psmisc
apt-get install firmware-qlogic (for FC access)
apt-get install linux-headers-{uname}
where {uname} can be got from the command 'uname -r'
a2enmod cgi (if running cgi-scripts need to be manually enabled)

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
/quadstorvtl/pgdata contains the configuration database of the software. This data is maintained even after an uninstall of the software and is required during upgrades. If this data were to manually removed all previous configuration such as configured storage, VTL information etc is lost. Refer to http://www.quadstor.com/support/131-recovering-from-a-lost-or-damaged-da... to recover from a lost or damage database
  • 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)
If the system already has other iscsi target software services running, ensure that they are not started on system startup and while starting the quadstorvtl service
After an install and if a reboot was not initiated you will need to manually start the quadstor service. However if after the install the system was rebooted quadstorvtl service would have started automatically

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
On RHEL/CentOS 6.x you need to install policycoreutils-python package (yum install policycoreutils-python) to install semanage utility

Fibre Channel driver installation

A reboot is required to load the new FC driver if LUNs are to be accessed via the FC interface