Environment Requirements¶
Before deploying OpsAnt, please confirm that the environment meets the following requirements.
Server Requirements¶
| Item | Minimum Configuration | Recommended Configuration |
|---|---|---|
| CPU | 2 cores | 4 cores |
| Memory | 4 GB | 8 GB |
| Disk | 40 GB | 100 GB+ (SSD) |
| Operating System | CentOS 7+ / Ubuntu 18+ / Debian 10+ | Same as left |
Software Requirements¶
- Docker: 18.09+ (the install script uses
docker runfor deployment, Docker Compose is not required) - Network: access to the external network (to pull images); for offline deployment, images must be prepared in advance
For Docker installation commands, please refer to Quick Install.
Port Requirements¶
Ensure the following ports are available (not occupied):
| Port | Purpose | Externally Open |
|---|---|---|
| 8010 | Web Platform | Yes |
| 4505 / 4506 | SaltStack Master | Internal network |
| 4507 | OpsMini Server data plane (gRPC) | Internal network |
| 4508 | OpsMini Server control plane HTTP | No (called within container) |
| 9090 / 9093 | Prometheus / Alertmanager | Optional |
| 8500 | Consul | Internal network |
4508 is the control plane HTTP of OpsMini Server, called by the OpsAnt backend within the container via
127.0.0.1:4508, and does not need to be externally open. The install script only maps 4507 (data plane), not 4508.
Managed Host Requirements¶
The OpsAnt platform itself and the managed hosts need network connectivity (depending on the management method):
| Management Method | Requirements |
|---|---|
| SSH | Target host opens SSH port, provides account (password or key) |
| SaltStack | Target host installs salt-minion, can connect to salt-master |
| OpsMini | Target host installs OpsMini Agent, can report to the platform |