Files
scst/scstadmin/README.procfs
Bart Van Assche abdb80fe67 Merge r7516 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 17:03:09 +00:00

65 lines
1.9 KiB
Plaintext

Installation:
=============
Installation is simple.
#> make
#> make install
This installs scstadmin, the init.d script and the perl module. If you want SCST to
startup and configure automatically upon boot, enable SCST using your favorite
SysV init editor.
NOTE: The init.d startup & shutdown scripts now depend on lsb-core. Ensure you have
lsb-core installed or 'make install' will fail. Make sure /usr/lib/lsb/install_initd
exists.
To enable the obsolete procfs version:
#> make enable_proc
#> make
#> make install
Getting Started:
================
The following pertains to the older procfs based SCST.
The scstadmin script is much more functional than scst_db at this point but uses a
standard text-based config file. The original thought behind scst_db was to write
a daemon process which would except network connections and issue SCST commands. A
client app would then connect to that port.
Copy scst.conf to /etc and edit it to your liking. if you have an existing configuration
then have scstadmin write it out to a config file for you:
#> scstadmin -WriteConfig /etc/scst.conf
When removing devices, users or groups from the config file keep in mind that
"scstadmin -config" will NOT remove those configurations from the running system unless
you use the -ForceConfig flag. Also, using the init script to reload the configuration
#> /etc/init.d/scst reload-config
will also not remove configurations from a running system.
NOTE! Section "[TARGETS enable]" in the config file is for qla2x00t driver only!
Mark.Buechler@gmail.com
To Do:
======
- Compare device and assignment options between current and saved configurations and
reopen/reassign as required if -ForceConfig is used.
Completed:
==========
- Create options section to scst.conf which will be carried forward in a -writeconfig.
- Add option to issue a LIP after any group assignment changes so initiators can see
the change immediately.