SCST Package Build Install (Ubuntu 14.x-17.x)

Update: 2017 July 7

This procedure has been updated to create a Debian (*.deb) package from latest SCST source code and install it. The solution is accomplished using checkinstall.

The solution is entirely scripted and automatic all the way from start, to build of the SCST *.deb package, to install of the SCST package and through to creating an SCST file-backed SAN and a fully-configured multipath.conf file. It also configures everything so that the SCST SAN will come up on reboot automatically.

Important Note

Everytime the kernel is upgraded on the SCST host machine, it will be necessary to re-run create-scst-install.sh and reboot the SCST host. This step only takes a couple of minutes to do after each kernel upgrade.

Note

The create-scst-oracle.sh script is designed for as one might guess use with Oracle RDBMS. However, one can easily edit the create-scst-oracle.sh script to customize it for any requirement.

Note

For Ubuntu 14.04 the reboot automation for bringing up the SAN differs from the reboot automation for bringing up the SAN from Ubuntu 15.04 onwards. An inspection of the scripting will reveal the differences in how the SAN is restarted on reboots.

More information on SCST.

More information on checkinstall.

The scst-files.tar is attached to this post. It is also available at the Orabuntu-LXC github. The SCST Linux SAN solution is a production-grade industrial-strength solution used by many of the largest and most well-known companies worldwide. The SCST Linux SAN is the included solution of the Orabuntu-LXC project.

More information on Orabuntu-LXC.

Just use the attached scst-files.tar archive attached. It creates a Debian *.deb SCST package and installs it automatically, and then also creates a SAN with LUNs and an automatically configured multipath.conf file.

This Debian SCST package builder and SAN builder scripting has been tested in all of the following Ubuntu VMs (and should also work on bare metal Ubuntu installs of the below versions as well):

  • Ubuntu 14.04

  • Ubuntu 15.04

  • Ubuntu 16.04

  • Ubuntu 17.04

To install download the scst-files.tar archive attached to this post to your directory (Where username is the Ubuntu install user or a user that has full 'sudo' privilege).

/home/username/Downloads

Untar the scst-files.tar archive:

tar -xvf scst-files.tar

then:

cd scst-files

then run:

./create-scst.sh

The script will take care of all the rest automatically.

The scripting will:

  • Pull the latest SCST source code for SCST using subversion (svn)

  • Build the Debian package from the latest source code using checkinstall

  • Install the Debian package

  • Build and configure the SCST SAN

  • Configure an appropriate /etc/multipath.conf file and install it

  • Start the SCST SAN

  • Run a suite of tests to verify SCST correct operation

July 8 2017

Gilbert Standen

St. Louis, MO