| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 | 
= VBLADE-PERSISTENCE(5)== NAMEvblade-persistence - description of the vblade persistence== DESCRIPTIONvblade-persistence uses the files in `/etc/vblade.conf.d/` to manageexports. File names must end in `.conf`. The "instance" name is thefile name without `.conf`.The file format is a POSIX shell fragment.The following variables *must* be defined: `netif`, `shelf`, `slot`,and `filename`. See vblade(8) for their meaning. Incompleteconfiguration files are ignored, so are files that are not a validshell syntax.Additionally, the following variables may be defined:* `options`Any options as provided by vblade(7).* `ionice`Use these to define an I/O scheduling class and level for that export.The value must be understood by ionice(1).== EXAMPLE----    shelf=14    slot=2    netif=ens3    filename=/dev/mapper/export    options='-r -m 11:22:33:44:55:66,22:33:44:55:66:77 -o 8'    ionice='--class best-effort --classdata 7'----== USAGE=== On systems using systemdInstall `vblade-generator` in `/lib/systemd/system-generators/`, andboth `vblade.service` and `vblade@.service` in `/lib/systemd/system/`.Enable the vblade service, reload systemd. Additional units for eachexport should appear, named `vblade@<instance>.service`.=== On systems using SysV initIndividual instances may be controlled by providing their name asa second option, e.g.----    /etc/init.d/vblade status demo----Two different init scripts are available:==== `vblade.init.lsb-daemon`Uses LSB functions and daemon(1) program to control the instance.Pros: daemon(1) is a very fine tool for this, providing also respawningand output redirection.==== `vblade.init.daemon`As above, but without using LSB functions.Pros: Should be fairly portable, no thrills.==== TemplateThe template for these scripts is `vblade.init.in`, the actualtemplating is done using tpage(1p), see `vblade.init.generate`.Support for using Debian's start-stop-daemon has been prepared butrequires pid file supprt in vblade to be usable.== BUGSOn SysV init systems, the configuration files are always sourced asshell scripts. On systemd systems, the configuration file is justa key/value store without shell expansion.It's a wise idea to run `sh -n` against a configuration file after anymodification for basic format validation.== SEE ALSOdaemon: <http://www.libslack.org/daemon/>tpage(1p)vblade(8)== AUTHORChristoph Biedl <sourceforge.bnwi@manchmal.in-ulm.de>
 |