Automation Suite
2023.10
False
- 概述
- 要求
- 推荐:部署模板
- 手动:准备安装
- 手动:准备安装
- 步骤 1:为离线安装配置符合 OCI 的注册表
- 步骤 2:配置外部对象存储
- 步骤 3:配置 High Availability Add-on
- 步骤 4:配置 Microsoft SQL Server
- 步骤 5:配置负载均衡器
- 步骤 6:配置 DNS
- 步骤 7:配置内核和操作系统级别设置
- Step 8: Configuring the disks
- 步骤 9:配置节点端口
- 步骤 10:应用其他设置
- 步骤 12:验证并安装所需的 RPM 包
- 步骤 13:生成 cluster_config.json
- 证书配置
- 数据库配置
- 外部对象存储配置
- 预签名 URL 配置
- 符合 OCI 的外部注册表配置
- Disaster Recovery:主动/被动和主动/主动配置
- High Availability Add-on 配置
- 特定于 Orchestrator 的配置
- Insights 特定配置
- Process Mining 特定配置
- Document Understanding 特定配置
- Automation Suite Robot 特定配置
- 监控配置
- 可选:配置代理服务器
- 可选:在多节点 HA 就绪生产集群中启用区域故障恢复
- 可选:传递自定义 resolv.conf
- 可选:提高容错能力
- install-uipath.sh 参数
- 添加具有 GPU 支持的专用代理节点
- 为 Task Mining 添加专用代理节点
- 连接 Task Mining 应用程序
- 为 Automation Suite Robot 添加专用代理节点
- Step 15: Configuring the temporary Docker registry for offline installations
- Step 16: Validating the prerequisites for the installation
- 手动:执行安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日
启动和关闭节点
本页介绍 Automation Suite 的手动和自动启动和关闭行为。
以
rke2-service
开头,在后面添加 node-drainer
和 node-uncordon
。node-drainer
在启动时不执行任何操作,仅返回服务已启动的确认信息。
node-uncordon
仅运行一次并启动 /opt/node-drain.sh nodestart
,从而取消封锁节点。这属于停止行为时发生的排出程序,会封锁节点,使其无法调度。当 rke2 服务启动时,这种状态持续存在。因此,必须在 rke2-service
重新启动后取消封锁节点。
手动启动
该服务会随 Automation Suite 自动启动。但是,如果已手动停止
rke2-service
,您必须通过运行以下命令再次启动该服务:
- 启动在服务器节点上运行的 Kubernetes 进程:
systemctl start rke2-server
systemctl start rke2-server - 启动在服务器节点上运行的 Kubernetes 进程:
systemctl start rke2-agent
systemctl start rke2-agent - 启动
rke2
服务后,请取消封锁节点,以确保 Kubernetes 现在可以在此节点上计划工作负载:systemctl restart node-uncordon
systemctl restart node-uncordon - 启动节点后,您必须排空节点:
systemctl start node-drain.service
systemctl start node-drain.service重要提示:如果系统重新启动,跳过步骤 4 可能会导致 Kubelet 服务以不正常的方式关闭。
在关闭期间,
systemd
会按照启动顺序停止服务。由于 node-drain
服务具有指令 After=rke2-server.service
或 After=rke2-agent.service
,因此它会在 rke2-service
关闭之前执行其关闭序列。这意味着在正确配置的系统中,只需正常关闭节点即可安全操作。
手动重新启动
如果您计划停止 rke2 服务并重新启动计算机,请执行以下步骤:
-
要确保集群在执行节点维护活动时正常运行,您必须将该节点上运行的工作负载排出到其他节点。要排空节点,请运行以下命令:
systemctl stop node-drain.service
systemctl stop node-drain.service - 停止在服务器节点上运行的 Kubernetes 进程:
systemctl stop rke2-server
systemctl stop rke2-server - 停止在代理节点上运行的 Kubernetes 进程:
systemctl stop rke2-agent
systemctl stop rke2-agent -
终止 rke2 服务、Containerd 和所有子进程:
此文件应已在路径中,但它位于rke2-killall.sh
rke2-killall.sh/bin/rke2-killall.sh
。
- 系统在安装过程中将创建以下单元文件:
rke2-server.service
(仅限服务器)。启动rke2-server
,这将启动服务器节点。rke2-agent.service
(仅限代理)。启动rke2-agent
,这将启动代理节点。node-drain.service
。在关闭时使用。在关闭rke2-agent
或rke2-server
并执行排空之前执行。超时时间为 300 秒。node-uncordon.service
。在启动时用于取消封锁节点。var-lib-kubelet.mount
。由 fstab 生成器自动生成。var-lib-rancher-rke2-server-db.mount
。由 fstab 生成器自动生成。var-lib-rancher.mount
。由 fstab 生成器自动生成。
单元文件之间没有强依赖项。但是,
node-drain
和 node-uncordon
具有 After=rke2-server.service
或 After=rke2-agent.service
指令。这意味着这些服务将在 rke2-service
之后启动。