SHURIWorker Documentation

The SHURI Worker is a service that run on Windows or Linux.

Windows

To install SHURIWorker for Windows download the install msi file from the downloads page. Then simply double-click on the downloaded file. The SHURI Worker will be installed using the Windows installer and the file will be installed into the C:\Program Files\SHELL\SHURIWorker folder. To uninstall SHURIWorker go to Settings then Apps from the Windows menu and uninstall as any other Windows application.

SHURI Worker will be configured for checking for tasks from the Production environment by default. If you would like to use SHURI Worker to run tasks from the QA environment then you will need to stop the SHURIWorker Windows service. You then need to run the command from a command prompt:

setx DOTNET_ENVIRONMENT "Test" /M

This sets the .NET environment to use Test instead of the default of Production. Then start the Windows service.

By default the SHURI Worker checks every 30 seconds for tasks that it needs to run by querying the SHURI Web API. If you would like to change the frequency of the checks you can adjust the TimeInterval setting in the appsettings.json file accordingly. Be aware that the number is in milliseconds so 30000 is thirty seconds.

If you are installing SHURIWorker to receive commands from Moogsoft you will need to also install BATMN / BATSIGNL. The SHURIWorker updates Moogsoft via BATSIGNL and it can be downloaded from the BATMN Download page.

Linux

To install SHURIWorker for Linux simply follow the download instructions on the SHURI Download page to install the service. The service will be installed to /opt/shell/SHURIWorker. To uninstall SHURIWorker simply run "sudo yum remove SHURIWorker".

SHURI Worker will be configured for checking for tasks from the Production environment by default. If you would like to use SHURI Worker to run tasks from the QA environment then you will need to stop the SHURIWorker service and edit the service configuration file. (/etc/systemd/system/SHURIWorker.service) Change the two Environment settings to point to Test instead of Production. Here is what the update Service section will look like:

[Service]
Type=notify
ExecStart=/opt/shell/SHURIWorker/SHURIWorker
Environment=ASPNETCORE_ENVIRONMENT=Test
Environment=DOTNET_ENVIRONMENT=Test

This sets the .NET environment to use Test instead of the default of Production. Then start the service.

By default the SHURI Worker checks every 30 seconds for tasks that it needs to run by querying the SHURI Web API. If you would like to change the frequency of the checks you can adjust the TimeInterval setting in the appsettings.json file accordingly. Be aware that the number is in milliseconds so 30000 is thirty seconds.

If you are installing SHURIWorker to receive commands from Moogsoft you will need to also install BATMN / BATSIGNL. The SHURIWorker updates Moogsoft via BATSIGNL and it can be downloaded from the BATMN Download page.