1. Introduction to MFBASE

1.1. What is mfbase?

MFBASE is the storage module of the Metwork framework.

1.1.1. SQL Database storage

MFBASE allows you to easily and quickly install a database.

Currently, Metwork supplies only PostgreSQL / PostGIS. You could check the current PostgreSQL/PostGIS version here

In the near future, some other database engine will be available in Metwork.

If you make your first steps with MFBASE, we prompt you to check the Quickstart section to discover the MFBASE features.

1.1.2. WebDAV storage

MFBASE also provides a WEBDAV storage powered by a Nginx instance.

This feature can be a solution for BLOB storage if you don’t want to store them in PostgreSQL (for various reasons).

1.2. Why would I use mfbase?

MFBASE is the efficient module, if you need:

  • a ‘ready to use’ database engine. When you create a PostgreSQL database from MFBASE, the most popular PostgreSQL and PostGIS extensions are installed and available.

  • a storage repository through the Web.

Of course, the same MFBASE plugin can handle both, Postgres database ad WebDAV repository at once.

1.3. How it works?

image
  • Circus is a Python program in order to monitor and control processes and sockets.

  • Telegraf is a plugin-driven server agent for collecting and sending metrics and events from databases, systems, and IoT sensors.

  • Nginx is intended for file management automation via the WebDAV protocol. It acts as a WebDAV repository.

  • mflog2mfadmin (based on jsonlog2elasticsearch) is a daemon to send mflog logs to elasticsearch.

Circus acts as a process watcher and runner. You may check the full circus.ini configuration file in the /home/mfbase/tmp/config_auto/ directory. Check the Circus architecture

Monitoring and Dashboards are available through MFADMIN.

See also

MFADMIN Documentation
mfadmin:mfadmin_monitoring_plugins.
mfadmin:mfadmin_miscellaneous:Circus hooks