วันที่ตรวจสอบ : 13 พฤษภาคม 2569 (2026-05-13)
สถานะ : รายงานสถานะปัจจุบัน — ยังไม่ดำเนินการอัปเกรด
ผู้ดำเนินการ : บริษัท แรคซิงค์ จำกัด (RACKSYNC Co., Ltd.)
สัญญา : PM065-2026 (MA ประจำปี 2569)
ระบบเป้าหมาย : Database / Time-Series Stack db (194.1.0.2)
Pre-upgrade assessment of the db VM hosting InfluxDB, Grafana, Prometheus, Chronograf, MariaDB, and phpMyAdmin. This report documents the current state before any upgrade is performed, identifies risks, and provides recommendations for safe upgrade sequencing.
Item
Value
Hostname
rilf-db
IP Address
194.1.0.2
SSH alias
db (via cf-rilf-gw jump)
Host OS
Debian 11 bullseye (LTS ends Aug 2026)
Kernel
5.10.0-21-amd64 (2023-01-21)
CPU
Intel Xeon Gold 6252 @ 2.10GHz, 4 cores
RAM
7.8 GB total, 1.7 GB used, 5.8 GB available
Swap
974 MB total, 196 MB used
Disk
294 GB total, 219 GB used (79%) , 60 GB free
Docker Engine
20.10.5+dfsg1 (very old — no compose v2 plugin, no buildx)
Uptime
8 days, 14 hours (stable)
Load average
0.14, 0.11, 0.03 (low)
All containers created on 2023-10-05 (rilf-metrics stack) and 2023-07-11 (rilf-db stack). No container has been recreated in 19+ months.
Container
Image
Running Version
Image Built
Port
Status
rilf-influxdb
influxdb:latest
2.7.1
2023-07-28
8086
Up 8 days
rilf-grafana
grafana/grafana:latest
10.0.3
2023-07-26
3000
Up 8 days
rilf-prometheus
prom/prometheus:latest
2.46.0
2023-07-25
9090 (internal)
Up 8 days
rilf-chronograf
chronograf:latest
1.10.1
2023-07-28
8888
Up 8 days
rilf-node-exporter
prom/node-exporter:latest
1.6.1
2023-07-17
9100
Up 8 days
Container
Image
Running Version
Image Built
Port
Status
mariadb
mariadb
11.0.2
2023-07-05
3306
Up 7 days
phpmyadmin
phpmyadmin/phpmyadmin
—
2023-03-27
8090
Up 8 days
Container
Image
Note
portainer
portainer/portainer-ce:latest
Image present (2023-07-07) but no running container
Path
Size
Type
Contents
/var/lib/docker/volumes/ (InfluxDB v2 data)
111 GB
Docker volume
InfluxDB 2 engine, bolt, sqlite
/home/mtd/rilf-db/mariadb/
99 GB
Bind mount
MariaDB databases
/var/lib/docker/volumes/ (Grafana)
1.3 GB
Docker volume
Grafana dashboards & data
/home/mtd/rilf-metrics/grafana-data/
49 MB
Bind mount
Grafana plugins/config
/home/mtd/rilf-metrics/prometheus/
8 KB
Bind mount
Prometheus config only
/home/mtd/rilf-metrics/influxdb/
Empty
Bind mount
Mounted at /var/lib/influxdb (v1 path) — unused
Total disk used
219 GB / 294 GB
79% full — 60 GB free
Type
Count
Active
Size
Reclaimable
Images
10
7
2.4 GB
583 MB (old images)
Local Volumes
4
4
120 GB
0
Old unused images: prom/prometheus:v2.32.0 (201 MB, Dec 2021), prom/node-exporter:v1.3.1 (21 MB, Dec 2021)
Item
Value
Server version
2.7.1
Build date
2023-04-28
Git commit
407fa622e9
CLI version
dev (build 2023-04-28)
Image ID
7b36d1273818
Image size
266 MB
Compose Mount
Container Path
Actual Usage
./influxdb (bind)
/var/lib/influxdb
Empty — v1 legacy path, not used
Docker volume (anonymous)
/var/lib/influxdb2
111 GB — actual v2 data lives here
Docker volume (anonymous)
/etc/influxdb2
8 KB — v2 config (empty dir)
Risk : The compose file mounts ./influxdb → /var/lib/influxdb (InfluxDB v1 path), but InfluxDB 2.x stores data at /var/lib/influxdb2 which is on an anonymous Docker volume . If the container is removed with docker compose down -v, the 111 GB of data would be lost. The bind mount gives a false sense of security.
│ ├── data/ (TSM data files)
│ ├── replicationq/ (replication queue)
│ └── wal/ (write-ahead log)
├── influxd.bolt (262 KB — metadata, orgs, buckets, tokens)
└── influxd.sqlite (123 KB — KV store)
Uses InfluxDB v1 environment variables (INFLUXDB_ADMIN_USER, INFLUXDB_HTTP_AUTH_ENABLED) which are ignored by InfluxDB 2.x . The v2 setup was likely done through the UI onboarding wizard.
Date
influxdb:latest points to
Currently (May 2026)
2.8.0 — includes irreversible token hashing
After May 27, 2026
InfluxDB 3 Core — completely different engine
A blind docker compose pull would jump from 2.7.1 to 2.8.0 (or 3.x after May 27), not to 2.7.12.
Item
Value
Running version
10.0.3
Latest upstream
13.0.1
Gap
3 major versions
Data location
Docker volume (1.3 GB) + bind mount ./grafana-data (49 MB)
Major breaking changes between 10.x → 13.x: alerting engine refactor, auth model changes, plugin API updates, dashboard schema changes.
Item
Value
Running version
2.46.0 (Jul 2023)
Latest upstream
3.11.3
Gap
1 major version
Config location
./prometheus/prometheus.yml (bind mount, 8 KB)
Data storage
Docker anonymous volume (within 120 GB total)
Prometheus 3.x has breaking config changes: remote_write → remote.write, metric naming, rule evaluation changes.
Item
Value
Running version
11.0.2
Latest upstream
11.4 LTS
Data size
99 GB
Data location
./mariadb bind mount
Note
11.0 is a non-LTS short release. Should upgrade to 11.4 LTS
Item
Value
Running version
1.10.1
Data
Ephemeral (no volume mount in compose)
Item
Value
Running version
1.6.1
Latest
1.8.x
Risk
Low — stateless metrics collector
Item
Value
Image date
2023-03-27
Risk
Low — stateless web UI
#
Risk
Detail
1
InfluxDB data on anonymous Docker volume
111 GB of time-series data is on an unnamed volume. docker compose down -v would delete it. The bind mount in compose (./influxdb) is for v1 path and is empty
2
All images tagged :latest — no pinning
Every service uses :latest. A docker compose pull would upgrade everything simultaneously with no version control
3
influxdb:latest = 2.8.0 (not 2.7.x)
Token hashing in 2.8.0 is irreversible. After May 27, :latest = v3 Core (different engine)
4
Disk 79% full, only 60 GB free
InfluxDB alone is 111 GB. Backup + new image pull may exceed available space
#
Risk
Detail
5
Host OS Debian 11 EOL Aug 2026
3 months until end of LTS
6
Docker Engine 20.10.5
4+ years old, no compose v2 plugin, no buildx, missing security patches
7
InfluxDB v1 env vars in compose
INFLUXDB_ADMIN_USER etc. are ignored by v2. Misleading config
8
MariaDB 11.0 is non-LTS
Short-lived release, should move to 11.4 LTS
#
Risk
Detail
9
Grafana 3 major versions behind
Alerting, auth, and plugin API changes across 10→13
10
Prometheus 1 major version behind
Config breaking changes in v3
11
No healthchecks defined
No container has a healthcheck in compose
12
Chronograf has no persistent volume
Data lost on container recreate (low impact — mainly UI state)
Step
Action
Why
1a
Pin all image tags in both compose files
Prevent accidental major version jumps
1b
Name the InfluxDB anonymous volume or add proper bind mount for /var/lib/influxdb2
Protect 111 GB of data
1c
Clean up old images (docker image prune)
Reclaim ~583 MB
1d
Backup InfluxDB via influx backup
Prerequisite for any upgrade
1e
Backup MariaDB via mysqldump --all-databases
99 GB — needs space or external storage
Step
Action
Target
Risk
2a
InfluxDB 2.7.1 → 2.7.12 (pin tag)
Same branch, patches only
Low
2b
Node Exporter 1.6.1 → 1.8.x
Stateless, no data
Low
2c
phpMyAdmin refresh
Stateless web UI
Low
Step
Action
Target
Risk
3a
Grafana 10.0.3 → 13.x
Test dashboards + alerts
Medium
3b
Chronograf 1.10.1 → latest
Low-use UI
Low
Step
Action
Target
Risk
4a
InfluxDB 2.7 → 2.8
Token hashing (irreversible)
High
4b
Prometheus 2.46 → 3.x
Config breaking changes
High
4c
MariaDB 11.0 → 11.4 LTS
Major data migration
Medium-High
4d
Debian 11 → 12
Full OS upgrade
High
4e
Docker 20.10 → 28.x
With Debian upgrade
High
image : influxdb:latest # → 2.8.0 now, 3.x after May 27
image : grafana/grafana:latest # → 13.x
image : prom/prometheus:latest # → 3.x
image : prom/node-exporter:latest
image : mariadb # → 11.x latest
image : influxdb:2.7.12 # pin to latest 2.7 patch
image : grafana/grafana:10.0.3 # pin current, upgrade separately
image : prom/prometheus:v2.46.0 # pin current
image : chronograf:1.10.1 # pin current
image : prom/node-exporter:v1.6.1
image : mariadb:11.0.2 # pin current, plan 11.4 LTS later
บทบาท
ชื่อ
วันที่
ผู้ตรวจสอบ
RACKSYNC Engineering
2026-05-13
ผู้อนุมัติแผน (RACKSYNC)
—
—
ผู้รับทราบ (OBH)
—
—
ma/2569/software-version-audit.md §2.1 — version inventory
ma/2569/plan.md §2.2 — infrastructure under maintenance
docs/architecture.md — VM stack overview
docs/monitoring.md — Prometheus/AlertManager configuration
docs/integrations.md — InfluxDB entity references
/home/mtd/rilf-metrics/docker-compose.yml — metrics stack compose
/home/mtd/rilf-db/docker-compose.yml — database stack compose