- Apr 15, 2022
-
-
Ezekiel Dohmen authored
-
- Mar 07, 2022
-
-
Erik von Reis authored
RTS_ENV environment variable can be used to override the default path to /etc/advligorts/env This change facilitates automatic testing of model build,install,and running
-
- Mar 02, 2022
-
-
Erik von Reis authored
-
- Feb 23, 2022
-
-
Ezekiel Dohmen authored
Adding support for a custom target dir while building, fixing a few issues where the SITE.ipc folder/file was not created for a fresh build
-
- Nov 23, 2021
-
-
Erik von Reis authored
-
Erik von Reis authored
uppercase characters in model names cause problems with the build system, so they are forbidden for most commands.
-
Erik von Reis authored
If models are already started when requested to start, there's no need to check. Systemd won't mind another request to start. Removing these checks allows the user to specify a list of models to start, stop or restart, and not have to worry if some of them are already in the requested state.
-
Erik von Reis authored
-
Erik von Reis authored
START_DELAY can be set to any value of seconds to change the default 15 second delay after each model is started. If the startup sequencer is used, the delay can be set to 1 second. previously 'rtcds restart --all' would not restart the IOP model, since the kernel was unable to unload hte module before it was ordered to load it again. Now, stopping a model waits until the kernel module is unloaded.
-
- Jan 10, 2021
-
-
Erik von Reis authored
rtcds: added end-of-word check to status scan of lsmod for model names. Fix had previously been applied to other system models
-
- Dec 17, 2020
-
-
Erik von Reis authored
The default build can still be set back to user space by setting USE_KERNEL_MODELS=false in the environment.
-
- Dec 14, 2020
-
-
Erik von Reis authored
rtcds: read in environment before setting flags and change flag tests to explictly look for non-empty strings. The entire block of code for initializing environment variables has been moved before the command line flag checks. The USERLAND_FLAG and NO_KERNELSPACE_FLAG default values are determined by the environment, but the /etc/advligorts files need to be read in first. Command line flags are cleared if empty string, or set if not empty. This wasn't obvious originally since the test for flags was just [[ $SOME_FLAG ]]. The tests have been changed to [[ -n $SOME_FLAG ]] or in the negative case [[ -z $SOME_FLAG ]]. This doesn't change the behavior but is less ambigous to the eye.
-
Erik von Reis authored
-
- Dec 11, 2020
-
-
Erik von Reis authored
-
- Dec 09, 2020
-
-
Erik von Reis authored
rtcds: refactor epics-only tests. get_model_unit now produces the right unit_name for a given model name
-
- Dec 03, 2020
-
-
Erik von Reis authored
local_dc: get rid of wanted by in systemd unit file. Start of local_dc now sequenced by a systemd generator. Also, this will stop the default behavior of starting local_dc on systems that don't need it.
-
- Dec 01, 2020
-
-
Erik von Reis authored
systemd_generator: moved to src/python/cds_frontend. Will make it into a more generic front end control library.
-
Erik von Reis authored
-
- Nov 30, 2020
-
-
Erik von Reis authored
-
Erik von Reis authored
-
- Nov 19, 2020
-
-
Jonathan Hanks authored
This is to protect these critical processes in the FE system to make sure they do not get starved for CPU if there are other processes monopolizing the processor.
-
- Nov 16, 2020
-
-
Erik von Reis authored
-
- Nov 11, 2020
-
-
Jonathan Hanks authored
Remove old # of files, # of dirs directives. Update the default prefix for epics.
-
- Oct 20, 2020
-
-
Erik von Reis authored
rtcds status improved to not look for dolphin on non-dolphin hosts. Hosts must have IS_DOLPHIN_NODE=true for rtcds to check dolphin modules etc. Likewise, rtcds will not check streamers and local DC if there there is no DAQ streaming. Set DAQ_STREAMING=true to force rtcds to check streamers.
-
- Oct 19, 2020
-
-
Erik von Reis authored
-
- Oct 16, 2020
-
-
Erik von Reis authored
-
- Oct 08, 2020
-
-
Erik von Reis authored
This makes awgtpman fail if the module service is not loaded, but does systemd will not attempt to start the module. Previously if the module failed, awgtpman would eventually restart, triggering a restart of the whole model. This would lead to cluttered logs full of errors from each restart. This chang fixes that issue.
-
- Sep 29, 2020
-
-
Erik von Reis authored
Fixed build_edc_ini to add newline at end of ini file if not present. Also added some simple tests for build_edc_ini.
-
- Sep 12, 2020
-
-
Erik von Reis authored
-
Erik von Reis authored
-
- Sep 10, 2020
-
-
Erik von Reis authored
rtcds: added orthagonal commandline flags for choosing kernel or user space model building. Default is user space, but can be changed by setting USE_KERNEL_MODELS to true.
-
- Aug 25, 2020
-
-
Erik von Reis authored
-
Erik von Reis authored
-
- Aug 21, 2020
-
-
Erik von Reis authored
new argument system for rtcds now works well. Tested all commands. --userland flag added but does not yet do anything." "
-
Erik von Reis authored
-
- Aug 14, 2020
-
-
Erik von Reis authored
-
- Jul 30, 2020
-
-
Erik von Reis authored
-
rtcds lsmod now checks local_dc and cps_xmit processes. Also checks all dolphin modules. Closes #122 rtcds start and stop no longer require a model to be enabled, since we don't use "enabled" systemd units to start models at boot. Instead rtcds start and rtcds stop check to see if the model is active or not. rtcds start now has a sleep between starts. This puts a gap between IOP starts and user model starts, sidestepping a race condition. Also ignores errors when building every model, allowing for expected errors such as channels missing from the channels file. Closes #134
-
- Jul 20, 2020
-
-
Erik von Reis authored
Enable now controled by environmental option ALLOW_MODEL_ENABLE. When false, rtcd enable commands cannot be issued.
-
- Jul 17, 2020
-
-
Erik von Reis authored
-