Files
TaskPool/docs/guide/agents.md
T
admin e6956aa001 Initial commit: TaskPool React panel
- React frontend with route-level code splitting
- Backend rebranded from Baihu to TaskPool
- DB brand migration script and local compatibility
2026-07-26 08:43:52 +08:00

24 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 远程执行 (Agents)
远程执行模块(Agents)是实现分布式、多节点任务管理的关键,允许您在一台主控制面板上协同调度部署在不同区域、不同操作系统的任务。
## Agents 架构
- **Agent 节点**:独立运行的小型客户端程序,监听主面板的任务分配。
- **通信协议**:基于高效且稳定的消息队列与 WebSocket 协议,确保持久化双向实时通信。
- **异构环境**Agent 完全支持 Linux、Windows 及 macOS。您可以将 Agent 安装在轻量级树莓派、本地闲置电脑甚至异地数据中心。
## 节点管理
- **节点注册**:通过唯一的指纹认证,确保存储与数据传输的安全性。
- **多状态监控**
- `在线`:节点准备就绪,可以接受任务。
- `离线`:失去连接,所有指派的任务将自动进入等待或失败逻辑(取决于具体任务配置)。
- `异常`:连接握手失败或版本由于过低暂不支持。
## 指派任务
1.`定时任务` 编辑页面,将执行器选项从 `本地执行` 切换为特定的 Agent 节点。
2. 任务执行完成后,所有的控制台日志将通过加密隧道回传至主面板进行统一存储与检索。