SCST Build [ DKMS | RPM ]
automated Source CODE build
[ Debian-family 15.04-20.04 | RedHat Family 6.x-8.x ]
Summary
Steps for creating and installing SCST DKMS Debian package on Ubuntu 15.04-20.04+. This has been tested on VirtualBox VM's for Ubuntu 15.04-20.04. This is a WIP and this page may be updated frequently.
Supported Distros
Currently supported and tested distros for DKMS DEB packaging:
Ubuntu 15.04 Vivid Vervet
Ubuntu 15.10 Wily Werewolf
Ubuntu 16.04 Xenial Xerus *
Ubuntu 16.10 Yakkety Yak
Ubuntu 17.04 Zesty Zapus
Ubuntu 17.10 Artful Aardvark
Ubuntu 18.04 Bionic Beaver
Ubuntu 18.10 Cosmic Cuttlefish
Ubuntu 19.04 Disco Dingo
Ubuntu 19.10 Eoan Ermine
Ubuntu 20.04 Focal Fossa
Debian 9 Stretch
Debian 8 Jessie *
Pop!_OS 17.10+
Pop!_OS 18.04
Currently some RedHat family distros are also supported by the Orabuntu-LXC scst-files.tar installer (RPM packaging):
CentOS 6,7,8
Oracle Linux 6,7,8
RedHat 6,7,8
Fedora 22-36
Update: April 27, 2018
The scst-files.tar scripting now uses "make dpkg" (thanks to Bart Vanassche of SCST project) which fully supports building DKMS SCST on Ubuntu 16.04 stock kernels 4.4.0.x so the requirement to upgrade to HWE (hardware-enablement) kernel is no longer required.
* 16.04 4.4.0-x-generic kernels are excluded and will not work with DKMS SCST build. You must upgrade 16.04 to the HWE 4.10.x kernel before running the script (script prompts for permission to automatically install HWE kernel upgrade for you).
* Debian 8 Jessie SCST DKMS works (create-scst-install.sh) and SAN creation script works (create-scst-oracle.sh) but create-scst-multipath.sh does not create multipath links in /dev/mapper although multipath devices in /dev/ are created.
Create and Install SCST DKMS DEB packages on Ubuntu 15.04-20.04+ & Debian 9
To completely build, install and configure SCST DKMS complete SAN system on Ubuntu 15.04-17.04+ do the following steps.
BE SURE you have a working internet connection on the box where SCST will be installed.
Make sure you are connected as a user that is a member of sudo ALL group
If you had to add current username to sudo ALL then logout and login again
Download the GitHub zip archive to the Ubuntu host of the Orabuntu-LXC project here
Unzip the archive
Navigate to "orabuntu-lxc-master/linuxsan/scst" directory
Run command: sudo tar -xvPf scst-files.tar
Run command: cd /opt/olxc/home/scst-files
Run command: sudo chmod +x *.sh vercomp
Probably a good idea to review the scripts and glance over the README (but this is optional)
Edit the create-scst.sh file and set the LUN sizes and configuration to meet your needs and disk space resources.
Run command: ./create-scst.sh
(Optional) Note: 4K/4K logical/physical LUNs can be configured in create-scst.sh optionally
Create and Install SCST RPM packages on Linux 6.x-8.x Red Hat family
BE SURE you have a working internet connection on the box where SCST will be installed.
Make sure you are connect as the user root.
Download the GitHub zip archive to the Ubuntu host of the Orabuntu-LXC project here
Unzip the archive
Navigate to "orabuntu-lxc-master/linuxsan/scst" directory
Run command: sudo tar -xvPf scst-files.tar
Run command: cd /opt/olxc/home/scst-files
Run command: sudo chmod +x *.sh vercomp
Probably a good idea to review the scripts and glance over the README (but this is optional)
Edit the create-scst.sh file and set the LUN sizes and configuration to meet your needs and disk space resources.
Run command: ./create-scst.sh (if you want the target, LUNs, multipath.conf file, and UDEV rules created too).
(Optional) Note: 4K/4K logical/physical LUNs can be configured in create-scst.sh optionally
What the ScriptS DO
Get the SCST source code
Build the SCST packages
Install the SCST packages
Complete post-install steps to complete the configuration of SCST
Complete all configuration of target, group, LUNs, multipath, UDEV rules, on-boot iscsi logins
Deliver a fully-configured working file-backed SCST SAN
Configure onboot services so that SCST SAN starts up on reboots.