Platform 模块详情 (摘要)
本页面是构成 PlantPulse Platform 所有模块的摘要目录。各模块的详细操作手册可在 各模块详细手册 页面中按模块查看。
安装路径
| 环境 | 路径 |
|---|---|
| 安装路径 | /opt/kopens/plantpulse-platform/ |
| Docker 容器内部 | /opt/kopens/plantpulse-platform/ |
模块目录
应用程序模块 (用户 / 外部系统直接访问)
| 模块 | 端口 | 角色 | 详情 |
|---|---|---|---|
| plantpulse-server | 80, 443 | Web 控制台 + IIoT 引擎 + REST API | 详情 |
| plantpulse-batch | 9500 | Quartz 调度批处理 (聚合, 报表) | 详情 |
| plantpulse-data-gateway | 5500 | REST + JDBC 数据网关 | 详情 |
| plantpulse-datalake-admin-api | 4950, 4949 | 管理控制台 + Health API + Prometheus | 详情 |
| plantpulse-warehouse | 9600 | Iceberg Lakehouse 归档 | 详情 |
处理模块
| 模块 | 端口 | 角色 | 详情 |
|---|---|---|---|
| plantpulse-timeseries | 7800, 3000 | 时序引擎 + PlantPulse Dashboard UI | 详情 |
| plantpulse-cep | 7400, 7401 | CEP (Aster CEP) | 详情 |
| plantpulse-plugin | 11004, 8007, 8090 | OPC-UA + AAS 工业标准 | 详情 |
基础架构模块
| 模块 | 端口 | 配置 | 详情 |
|---|---|---|---|
| plantpulse-storage | 9042, 5432, 6379, 9000 | Aster TSDB + PostgreSQL + Valkey + RustFS | 详情 |
| plantpulse-messaging | 9092, 1883 | Kafka + MQTT(HiveMQ). STOMP(ActiveMQ) 已停用 | 详情 |
| plantpulse-analytics | 7077, 4440, 10000, 19001 | Spark + Hive + Kyuubi + Gravitino + Hadoop | 详情 |
| plantpulse-workflow | 7233, 8233, 8380 | Temporal + Kestra | 详情 |
运维 / 实用程序模块
| 模块 | 用途 | 详情 |
|---|---|---|
plantpulse-datalake-cli (pd) | 数据湖启动·停止·重启·配置·节点管理单一入口 CLI | 详情 |
| plantpulse-setup | 站点/资产/标签模型批量注册 (CSV) | 详情 |
| plantpulse-backup | pgBackRest + Medusa + Restic 统一备份 | 详情 |
| plantpulse-recovery | 按时序数据期间重新处理 | 详情 |
| plantpulse-exporter | 时序 CSV 导出 + dsbulk | 详情 |
| plantpulse-migrator | Aster TSDB 服务器间迁移 (Spark) | 详情 |
| plantpulse-mirror-maker | Redis → REST 实时复制 (HA/DR) | 详情 |
| plantpulse-simulator | 时序数据模拟器 (最高 10K MPS) | 详情 |
| plantpulse-api | REST API 客户端 Java 库 | 详情 |
| plantpulse-lab | Jupyter + Metabase 分析环境 | 详情 |
模块通用结构
plantpulse-<module>/
├── app/ # 애플리케이션 WAR / JAR
├── bin/ # start.sh / stop.sh / log-viewer.sh
├── server/ 또는 lib/ # 내장 서버 또는 라이브러리
├── conf/ 또는 config/ # 설정 파일
└── logs/system.log # 메인 로그
模块依赖关系
重启注意事项: 重启基础架构模块 (storage / messaging / analytics) 时,所有依赖这些模块的应用程序也必须一起重启。在主机上通过
bin/restart.sh重启整个 Stack 是最安全的方式。
通用运维命令
# 호스트의 단일 진입점
cd /opt/kopens/plantpulse-platform/plantpulse-datalake-cli/bin
./start-daemon.sh # 전체 시작 (백그라운드)
./stop.sh # 전체 정지
./restart.sh # 전체 재시작
./status.sh # 포트 기반 상태 점검
./log-viewer.sh # 통합 로그 뷰어
./restart-<module>.sh # 모듈 단위 재시작