Installing Megaladata Server as a Service

Important:

  • Ensure your Linux kernel version is at least 5.3
  • You need internet access during installation
  • You must install a license Key for the megaladatad to operate

Installation process

The Megaladata distribution contains three folders for the main platform elements:

Run the script located in each element's folder to complete the installation.

Follow these steps:

  1. Upload the distribution to the target machine.
  2. Unpack the distribution.

     mkdir Megaladata-dist && tar -xf Megaladata.tar.gz -C Megaladata-dist/
    
  3. Navigate to the /megaladata-dist/server/ folder and install the Megaladata-server.

     sudo ./install_server.sh
    
  4. Navigate to the /megaladata-dist/http/ folder and install the Megaladata-http.

     sudo ./install_http.sh
    
  5. Navigate to the /megaladata-dist/integrator/ folder and install the Megaladata-integrator.

     sudo ./install_integrator.sh
    
  6. Open the gnclient.ini file (default location: /var/opt/megaladata/server/) and enter the IP address or hostname of where you activated the license on the IP_NAME= line.

  7. Start the Megaladata-server and Megaladata-integrator services.

     1   sudo systemctl start Megaladatad
     2   sudo systemctl start Megaladatai
    

Megaladata directories

Megaladata-http

The system uses apache2 as the web server.

Standard apache2 directories:

  • /etc/apache2: configuration files
  • /var/www/html/client: client files

Megaladata-server

Binary files directory: /opt/Megaladata/server.

The root user owns these files; permissions are 664 (775 for executables).

Working directory: /var/opt/Megaladata/server. The megaladata user owns these files; permissions are 660. The server runs as the Megaladata-server service (alias megaladatad).

Service parameters:

  • The service runs under the megaladata user; it creates files with 660 permissions.
  • OOMScoreAdjust=-200: lowers the score for the process to set the priority for termination by the Linux Out-Of-Memory killer (OOM).
  • TimeoutStopSec=11: stop timeout in seconds.
  • Restart=on-failure RestartSec=30: restarts the service 30 seconds after a failure.

Megaladata-integrator

Binary files directory: /opt/Megaladata/integrator.

The root user owns these files; permissions are 664 (775 for executables).

Working directory: /var/opt/Megaladata/integrator.

The megaladata user owns these files; permissions are 660.

Megaladata-integrator runs as the Megaladata-integrator service (alias Megaladatai).

Service parameters:

  • The service runs under the megaladata user; files created by the service have 660 permissions.
  • OOMScoreAdjust=-100 (lowers the score for the process to set the priority for termination by the OOM mechanism).
  • TimeoutStopSec=6 (stop timeout in seconds).
  • Restart=on-failure RestartSec=30 (restarts the service upon failure after 30 seconds).

Read on: Megaladata Installation in Containers (Podman/Docker)

results matching ""

    No results matching ""