2026-05-19 23:08:04 +02:00
|
|
|
# Airflow — atc-airflow01
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 23:08:04 +02:00
|
|
|
| Item | Value |
|
|
|
|
|
|------|-------|
|
|
|
|
|
| Host | `atc-airflow01` / `10.0.21.55` |
|
|
|
|
|
| URL | http://atc-airflow01:8080/ or http://10.0.21.55:8080/ |
|
|
|
|
|
| Home | `/root/airflow/` |
|
|
|
|
|
| Config | `/root/airflow/airflow.cfg` |
|
|
|
|
|
| DAGs | `/root/airflow/dags/` |
|
|
|
|
|
| DB | SQLite (`airflow.db` — not in git) |
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 23:08:04 +02:00
|
|
|
## Files in git
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 23:08:04 +02:00
|
|
|
| File | Notes |
|
|
|
|
|
|------|-------|
|
|
|
|
|
| `airflow.cfg` | Reference copy; `fernet_key` and `internal_api_secret_key` redacted |
|
|
|
|
|
| `generate_data_dag.py` | Synced from live DAGs folder |
|
|
|
|
|
| `../airflow/airflow.cfg` | Older path (legacy); prefer this directory |
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 23:08:04 +02:00
|
|
|
## Restore
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 23:08:04 +02:00
|
|
|
```bash
|
|
|
|
|
# On atc-airflow01
|
|
|
|
|
mkdir -p /root/airflow/dags
|
|
|
|
|
cp airflow.cfg /root/airflow/
|
|
|
|
|
cp generate_data_dag.py /root/airflow/dags/
|
|
|
|
|
# Set real fernet_key in airflow.cfg or via env
|
|
|
|
|
systemctl restart airflow-webserver airflow-scheduler # if using systemd
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Refresh
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
./scripts/collect/collect-fleet-config.sh
|
|
|
|
|
```
|