Skip to content

hydroshare/hydroshare-quota

Repository files navigation

HydroShare Quota Management iRODS Microservices

Installation

For installation instructions, see the INSTALL document.

Additional Considerations

The msiHSRemoveFile microservices now depends on the iRODS delay queue and the iRODS Rule Engine Plugin for Python.

Delay Queue Considerations

By default, iRODS configures the delay queue for parallel execution. Because these microservices access running quota totals without a locking mechanism, the microservices must be executed single threaded. This is accomplished by the following settings in /etc/irods/server_config.json.

iRODS 4.2.x

"maximum_number_of_concurrent_rule_engine_server_processes": 1

iRODS 4.3.x

"number_of_concurrent_delay_rule_executors": 1

Rule Engine Plugin for Python Considerations

The Python Rule Engine Plugin (PREP) should be installed via your plaform package manager.

The Python Rule Engine Plugin configuration instuctions are here.

More helpful information can be found here.

In /etc/irods/server_config.json, the Python Rule Engine Plugin (PREP) should be configured following the Native Rule Engine Plugin (NREP) and before the C++ default policy plugin.