mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
dc1e3d786ab629dc391d27be6578f5c35078bf47
Transport Target mode server need to able to function when running in containerized form factor in a secure and multi-tenant platform. Solution: Such applications when containerized can run in any container based platform such as Kubernetes/OpenShift or a custom one. These applications are generic in nature and all they need is access to SCST user storage device driver (/dev/scst_user). The security policy of the platform may not allow these applications to manage Fibre Channel (FC) port and /sys file-system. The platform, however, can manage the FC ports on behalf of these applications. The containerized applications can remain generic in nature and run on any containerized platforms. The sequence of operations would be 1. The platform converts the desired FC ports to target mode prior to starting the containerized application 2. The application does device registration using exported the SCST user storage device driver 3. The platform, at this point, asynchronously adds FC port LUNs to the user device registered by the application. As the application inside the container can auto or manual restart asynchronously, the platform would add the LUNs every time the application does device registration. Patch description: The SCST event mechanism is leveraged to achieve the asynchronous LUN additions when application does device registration. The current set of SCST events is extended to send a new event whenever there is a virtual user device registration happens. The platform can watch for the specific event and make business logic decisions to allow target mode applications function securely. By extending the set of event, the SCST module will be friendly to containerized applications and platforms. Signed-off-by: Vikas Goel <vikas.goel@veritas.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Overview
This is the source code repository of the SCST project. SCST is a collection of Linux kernel drivers that implement SCSI target functionality. The SCST project includes:
- The SCST core in the scst/ subdirectory.
- A tool for loading, saving and modifying the SCST configuration in directory scstadmin/.
- Several SCSI target drivers in the directories iscsi-scst/, qla2x00t/, srpt/, scst_local/ and fcst/.
- User space programs in the usr/ subdirectory, e.g. fileio_tgt.
- Various documentation in the doc/ subdirectory.
Instructions for building and installing SCST are available in the INSTALL.md file.
QLogic target driver
Two QLogic target drivers are included in the SCST project. The driver in the qla2x00t directory is a very stable driver that supports up to 16 Gb/s adapters. It is very stable, well tested and actively used in many production setups.
There is also a newer driver that supports 32 Gb/s FC in the qla2x00t-32gbit directory. That driver has not yet reached the same maturity level as the old qla2x00t driver.
Vladislav Bolkhovitin vst@vlnb.net, http://scst.sourceforge.net
Description
Languages
C
90.1%
Perl
4.2%
Shell
1.8%
HTML
1.7%
Makefile
1.2%
Other
0.9%