Page History
...
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.
...
- 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/binand/mnt. - Ports 80, 443 and 5432 free.
...
- 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.acmeexample.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.
...
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
...
| title | Draft: to confirm |
|---|
...
For a production environment, start with at least:
...
For an evaluation, 4 GB RAM is enough; then . With less, 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.
...
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.
...
| title | Draft: to confirm |
|---|
...
.
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 the daily database backups made from GreenLight makes. GreenLight deletes exports after 30 days and these backups after 14 days. |
/opt/panagenda/logs | recommended | 5 GB | The log files of all the GreenLight services. GreenLight deletes most of them after 7 to 30 days; a . 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. |
...
- New installation: Installing GreenLight on Linux
- Upgrading an existing installation or appliance: Upgrading GreenLight (NEW)
