Overview
Since version 5.2.0, GreenLight runs on a Linux host that you provide. You prepare the host with a supported Linux distribution and Docker; the panagenda installer then sets up GreenLight on it as a set of Docker containers. This gives you more flexibility in choosing your virtualization platform and makes it easier to keep the operating system GreenLight runs on up to date.
As of version 5.2.0, panagenda no longer supplies virtual appliance images for GreenLight. Existing GreenLight appliances keep running and are upgraded with the same installer (see Upgrading GreenLight (NEW)).
This page lists the requirements for the Linux host. Share it with the team that provides your Linux servers, and have them prepare the host before you install GreenLight.
The installation at a glance:
- Provide a Linux host that meets the requirements on this page.
- Create and mount the filesystems for GreenLight (see Partitioning).
- Install Docker Engine.
- Download and run the GreenLight installer (see Installing GreenLight on Linux).
- Log in to GreenLight and configure it.
Responsibilities
- You provide and operate the host: the operating system and its security updates, Docker, monitoring, and backups of the host and of the GreenLight database.
- panagenda provides GreenLight as Docker containers, and the installer that installs and upgrades them. Each new GreenLight version also brings updated components inside the containers.
Operating Systems
Recommended Distributions
panagenda recommends these distributions. They are among the most widely used Linux distributions, and panagenda tests GreenLight on them:
- Red Hat Enterprise Linux 9 and 10
- AlmaLinux 9 and 10
- Ubuntu 24.04 LTS and 26.04 LTS
panagenda tests on Red Hat Enterprise Linux 9, AlmaLinux 10, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. AlmaLinux is binary-compatible with Red Hat Enterprise Linux, so each of these tests also covers the same version of the other distribution.
Note on version RHEL 10: Red Hat Enterprise Linux 10 and most compatible distributions require a processor with the x86-64-v3 feature level (Intel Haswell from 2013 or newer, or a comparable AMD processor). On a virtual machine, the hypervisor must pass these processor features through; an older VMware EVC mode, for example, keeps the operating system from starting. AlmaLinux 10 also offers a build for older processors.
Supported Distributions
GreenLight runs on any Linux distribution that meets these requirements:
- An x86_64 processor (64-bit Intel or AMD).
- A current Docker Engine with the Docker Compose plugin (version 2).
- Docker starts at boot. systemd is recommended: the setting that makes Docker wait for the GreenLight filesystems is a systemd setting (see Partitioning).
- bash and the standard tools the installer checks for (see Access and Software).
- Writable directories
/optand/usr/bin. - Ports 80, 443 and 5432 free.
panagenda support (support@panagenda.com) helps you install and run GreenLight on any distribution that meets these requirements, including distributions panagenda does not test itself. Examples are Rocky Linux, Oracle Linux, CentOS Stream, Debian and SUSE Linux Enterprise.
Unsupported Setups
Setups that do not meet these requirements but may still work. You are welcome to try them, but panagenda does not recommend them for production and cannot guarantee that they run stably or keep working after an upgrade. panagenda support covers GreenLight itself, starting at the web interface, but not the setup.
Not Supported
- ARM processors (for example AWS Graviton or Apple Silicon): the GreenLight containers exist for x86_64 only.
- Distributions with a read-only system partition, such as Fedora CoreOS, Flatcar or Ubuntu Core: the installer needs to write to
/usr/bin. - Podman instead of Docker Engine: the installer and the GreenLight containers need Docker Engine (
docker compose,docker infoand the Docker socket). - Windows and macOS as hosts: containers need a Linux kernel. For WSL2, see Evaluation on Windows (WSL2).
Evaluation on Windows (WSL2)
For evaluation and tests, GreenLight can run in the Windows Subsystem for Linux (WSL2), with a recommended distribution and Docker. It is not intended for production: the WSL2 environment depends on a Windows user session, and the ports have to be forwarded from Windows.
Host Requirements
Access and Software
- Root access: the installer runs as root, directly or through
sudo. - Docker Engine with the Docker Compose plugin (Compose version 2). Install it from Docker's own repository, following Docker's guide for your distribution:
- Red Hat Enterprise Linux: docs.docker.com/engine/install/rhel
- CentOS Stream: docs.docker.com/engine/install/centos
- Ubuntu: docs.docker.com/engine/install/ubuntu
Afterwards, both of these commands must work:Docker must start at boot; the GreenLight containers start automatically together with Docker:docker version docker compose version
systemctl enable --now docker
- Standard tools: tar, grep, awk, sed, hostname, getent, timeout, ip, fdisk, one of ss, lsof, netstat or fuser, and timedatectl. A normal server installation includes them; the installer names any that are missing. You also need unzip to unpack the download. With curl, the installer also checks at the end that the server address answers; without it, it skips this check.
- SELinux can stay in enforcing mode. With a standard Docker installation, no SELinux changes are needed. Only if SELinux support is enabled in Docker (
"selinux-enabled": truein/etc/docker/daemon.json) does the installer need the package policycoreutils-python-utils, and it asks before it changes anything. On Ubuntu, AppArmor needs no changes.
Network
- Ports 80 and 443 must be free on the host. The GreenLight web server uses both; port 80 redirects to HTTPS on port 443. Users and administrators reach GreenLight over HTTPS.
- Port 5432: the GreenLight database container publishes PostgreSQL's port 5432 on all network interfaces of the host, so that external tools can query the database. Another PostgreSQL on the host conflicts with it. If the host is reachable from networks you do not trust, block port 5432 in a firewall in front of the host.
- Firewall: Docker opens the ports of its containers with its own firewall rules, so firewalld or ufw on the host usually need no extra rule. Firewalls between your users and the host must allow port 443.
- Monitored servers: the host needs network access to the servers GreenLight monitors (see Setup Guide, Network Access), and must resolve their names in DNS. The GreenLight containers use the DNS servers and search domains of the host; whether they also see entries in the host's
/etc/hostsdepends on how the host resolves names: with the default network setup of Ubuntu (systemd-resolved) they do, with that of RHEL and AlmaLinux they do not. - Internal Docker network: GreenLight uses a private subnet for the communication between its containers, by default 172.18.0.0/16. If your network already uses this subnet, change it after the installation (see Configuration File).
- Internet access: the online installer downloads the GreenLight Docker images from docker.panagenda.com over HTTPS (no login needed). If the host reaches the internet through a proxy, configure Docker's proxy settings (docs.docker.com/engine/daemon/proxy). The offline installer contains the images and needs no internet access.
- Server address: decide on the DNS name under which users will open GreenLight in their browser, for example
greenlight.acme.com, and register it in DNS so that it points to the host before the installation. GreenLight uses this address for its web interface and its Metabase reports, in the links of Metabase emails, and in GreenLight alert emails. The installer suggests names, checks them in DNS and lets you choose (see Server Address). The host's own name does not have to match, and the installer does not rename the host. An IP address also works, but every link breaks when it changes. - Time zone: set the time zone of the host (
timedatectl set-timezone). The installer copies it into the GreenLight configuration.
Dedicated Host
We recommend a host that runs only GreenLight. To manage the GreenLight containers, the GreenLight cron container has access to the Docker daemon (/var/run/docker.sock). This gives it full control over every container on the host, including containers of other applications. The installer points this out and asks for confirmation if other containers are already running on the host when GreenLight is installed for the first time.
Sizing
Draft: to confirm
Taken from the hardware requirements of the virtual appliance (Setup Guide, Hardware). Check whether they still fit a host that also carries the operating system and Docker.
For a production environment, start with at least:
- 2 CPU cores
- 8 GB RAM
- 120 GB disk space
For an evaluation, 4 GB RAM is enough; then lower the shared memory of the database (PANAGENDA_POSTGRES_SHM_SIZE, see Configuration File). Additional resources may be needed, depending on the collection intervals, the number of sensors enabled and the number of servers GreenLight monitors.
Partitioning
Keep the GreenLight directories that grow on filesystems of their own. If the log files or the operating system fill their filesystem, the database keeps working, and the filesystems that grow can be extended without touching the root filesystem.
Draft: to confirm
The sizes are a proposal for the 120 GB minimum, by analogy with iDNA Applications; GreenLight's own numbers are still to be confirmed.
Example for 120 GB:
| Filesystem | Recommendation | Size in the example | Why |
|---|---|---|---|
/ (root) | required | 40 GB | The operating system (about 20 GB) and Docker, which keeps the GreenLight images and containers in /var/lib/docker. During an upgrade, the old and the new images exist side by side, and the offline installer unpacks itself in /tmp. Plan the root filesystem generously: a full root filesystem is hard to fix, while the GreenLight filesystems are easy to extend. |
/opt/panagenda/appdata | recommended | 10 GB | The GreenLight configuration, exports and database backups made from GreenLight. GreenLight deletes exports after 30 days and these backups after 14 days. |
/opt/panagenda/logs | recommended | 5 GB | The log files of all GreenLight services. GreenLight deletes them after 7 to 30 days; a filesystem of their own keeps an unusual amount of log output away from the operating system and the database. |
/opt/panagenda/pgdata | strongly recommended | 55 GB | The GreenLight database, the part that grows continuously. A filesystem of its own keeps a full root or log filesystem from affecting it. |
| unassigned | recommended | 10 GB | Free space in the LVM volume group, to extend a filesystem quickly when needed. |
Rules for the filesystems:
- Use LVM, so that the filesystems can be extended.
- Mount the filesystems before you run the installer, with entries in
/etc/fstab. Otherwise the installer writes into the directories on the root filesystem, and a filesystem mounted there later hides that data. - Make Docker wait for the filesystems at boot. If
/opt/panagenda/pgdatais not mounted when Docker starts, the database container finds an empty directory and creates a new, empty database on the root filesystem; GreenLight then starts without its data. This setting keeps Docker from starting until the filesystems are mounted (list the filesystems you created):mkdir -p /etc/systemd/system/docker.service.d cat > /etc/systemd/system/docker.service.d/panagenda-mounts.conf <<'EOF' [Unit] RequiresMountsFor=/opt/panagenda/pgdata /opt/panagenda/appdata /opt/panagenda/logs EOF systemctl daemon-reload
Next Steps
- New installation: Installing GreenLight on Linux
- Upgrading an existing installation or appliance: Upgrading GreenLight (NEW)
