Configure the MongoDB Keys in PLOSSYS 5¶
As of PLOSSYS 5.3.2., MongoDB is installed separately before installing PLOSSYS 5. After the installation of PLOSSYS 5, the keys concerning the connection to MongoDB have to be specified and after an update of PLOSSYS 5, the keys have to be checked for correctness.
The following URL keys are relevant for the cooperation with MongoDB:
-
MONGO_ACTIONS_URL
: Database URL where the internal system actions are stored -
MONGO_CONFIGS_URL
: Database URL where the user-specific settings of PLOSSYS Administrator are stored -
MONGO_EVENTS_URL
: Database URL where the internal system notifications are stored -
MONGO_JOBS_URL
: Database URL where the job data is stored -
MONGO_LOCKS_URL
: Database URL where the data for the system-wide locking is stored -
MONGO_NOTIFICATIONS_URL
: Database URL where theseal-co-notifier
service stores its private data -
MONGO_PREPROCESS_URL
: Database URL where the flow configuration for the preprocessing is stored -
MONGO_PRINTERS_URL
: Database URL where the printer configuration is stored
The following keys can be specified for adjusting the behavior of MongoDB:
-
MONGO_ACTIONS_AGE
: Time interval after which an action is regarded as outdated and deleted from the database -
MONGO_CONNECT_RETRIES
: Number of attempts of a service to connect to the database -
MONGO_EVENTS_COLLECTION_SIZE
: Size of the capped collection used to store events in the database -
MONGO_LOCKER_POOL_SIZE
: Maximum number of parallel database connections per process for accessing locks and actions -
MONGO_LOCKS_AGE
: Time interval after which a lock is regarded as outdated and deleted from the database -
MONGO_LOCKS_INTERVAL
: Time interval after which the ages of the locks are checked