automation-suite
2023.4
false
Linux 版 Automation Suite 安装指南
- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 如何在安装过程中对服务进行故障排除
- 如何卸载集群
- 如何清理离线工件以改善磁盘空间
- 如何清除 Redis 数据
- 如何启用 Istio 日志记录
- 如何手动清理日志
- 如何清理存储在 sf-logs 存储桶中的旧日志
- 如何禁用 AI Center 的流日志
- 如何对失败的 Automation Suite 安装进行调试
- 如何在升级后从旧安装程序中删除映像
- 如何自动清理 Longhorn 快照
- 如何禁用 TX 校验和卸载
- 如何手动将 ArgoCD 日志级别设置为 Info
- 如何为外部注册表生成已编码的 pull_secret_value
- 如何解决 TLS 1.2 中的弱密码问题
- 如何使用证书
- 如何使用集群内对象存储 (Ceph) 收集 DU 使用情况数据
- 如何在离线环境中安装 RKE2 SELinux
- 如何清理 NFS 服务器上的旧差异备份
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- ArgoCD 在首次安装后进入“进行中”状态
- 访问 ArgoCD 只读帐户时出现问题
- MongoDB Pod 处于 CrashLoopBackOff 状态或在删除后处于“等待 PVC 配置”状态
- 集群还原或回滚后服务运行状况不佳
- Pod 在 Init:0/X 中卡住
- Prometheus 处于 CrashLoopBackoff 状态,并出现内存不足 (OOM) 错误
- 监控仪表板中缺少 Ceph-rook 指标
- Pod 无法在代理环境中与 FQDN 通信
- 无法配置升级后的电子邮件警示
- 无正常的上游问题
- 使用 Automation Suite 诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
重要提示:如果您将原始磁盘用于对象存储或迁移到外部对象存储,则不需要调整对象存储 PVC 的大小
要查看有关对象存储的更多信息,请运行以下命令:
sudo ./configureUiPathAS.sh objectstore --helpsudo ./configureUiPathAS.sh objectstore --help输出
************************************************************************************
Manage objectstore configuration
Usage:
configureUiPathAS.sh objectstore [command]
configureUiPathAS.sh objectstore [flags]
Available Commands:
resize-pvc Resize PVC
Flags:
-h|--help Display help
************************************************************************************************************************************************************************
Manage objectstore configuration
Usage:
configureUiPathAS.sh objectstore [command]
configureUiPathAS.sh objectstore [flags]
Available Commands:
resize-pvc Resize PVC
Flags:
-h|--help Display help
************************************************************************************注意:调整 PVC 大小可能很危险,并且会导致整个集群或少数效果组件停机。在执行此操作之前,请务必小心。
要查看有关调整对象存储 PVC 大小的更多信息,请运行以下命令:
sudo ./configureUiPathAS.sh objectstore resize-pvc --helpsudo ./configureUiPathAS.sh objectstore resize-pvc --help该命令返回以下输出:
***************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [mon|data]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for objectstore mon to 105 Gi
configureUiPathAS.sh objectstore resize-pvc --size 105Gi --sub-component "mon"
******************************************************************************************************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [mon|data]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for objectstore mon to 105 Gi
configureUiPathAS.sh objectstore resize-pvc --size 105Gi --sub-component "mon"
***************************************************************************************要调整 ceph 对象存储的数据存储大小,请运行以下命令:
sudo ./configureUiPathAS.sh objectstore resize-pvc --size 1024Gi --sub-component datasudo ./configureUiPathAS.sh objectstore resize-pvc --size 1024Gi --sub-component data上述命令会将数据存储 PVC 的大小调整为 1 TiB。
在开始 PVC 大小的调整操作之前,工具会警告您相关影响。您必须接受,然后才能继续。您也可以使用
--force 标志跳过警告。
注意:如果尝试调整对象存储 pvc 大小的操作失败,请参阅故障排除部分以获取修复方法。
要查看有关调整 RabbitMQ PVC 大小的更多信息,请运行以下命令:
sudo ./configureUiPathAS.sh rabbitmq resize-pvc --helpsudo ./configureUiPathAS.sh rabbitmq resize-pvc --help该命令返回以下输出:
***************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [server]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for rabbitmq server to 105 Gi
configureUiPathAS.sh rabbitmq resize-pvc --size 105Gi --sub-component "server"
******************************************************************************************************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [server]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for rabbitmq server to 105 Gi
configureUiPathAS.sh rabbitmq resize-pvc --size 105Gi --sub-component "server"
***************************************************************************************如要调整 RabbitMQ PVC 的大小,请运行以下命令:
sudo ./configureUiPathAS.sh rabbitmq resize-pvc --size 100Gi --sub-component "server"sudo ./configureUiPathAS.sh rabbitmq resize-pvc --size 100Gi --sub-component "server"要查看有关调整 MongoDB PVC 大小的更多信息,请运行以下命令:
sudo ./configureUiPathAS.sh mongodb resize-pvc --helpsudo ./configureUiPathAS.sh mongodb resize-pvc --help该命令返回以下输出:
***************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [data|logs]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for mongodb data to 105 Gi
configureUiPathAS.sh mongodb resize-pvc --size 105Gi --sub-component "data"
******************************************************************************************************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [data|logs]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for mongodb data to 105 Gi
configureUiPathAS.sh mongodb resize-pvc --size 105Gi --sub-component "data"
***************************************************************************************如要调整 MongoDB PVC 的大小,请运行以下命令:
sudo ./configureUiPathAS.sh mongodb resize-pvc --size 105Gi --sub-component "data"sudo ./configureUiPathAS.sh mongodb resize-pvc --size 105Gi --sub-component "data"该命令可调整 MongoDB 的数据 PVC 的大小。如果要调整
logs pvc 的大小,则必须使用 --sub-component "logs"。
要查看有关调整监控 PVC 大小的更多信息,请运行以下命令:
sudo ./configureUiPathAS.sh monitoring resize-pvc --helpsudo ./configureUiPathAS.sh monitoring resize-pvc --help该命令返回以下输出:
***************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [alertmanager|prometheus]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for monitoring alertmanager to 105 Gi
configureUiPathAS.sh monitoring resize-pvc --size 105Gi --sub-component "alertmanager"
******************************************************************************************************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [alertmanager|prometheus]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for monitoring alertmanager to 105 Gi
configureUiPathAS.sh monitoring resize-pvc --size 105Gi --sub-component "alertmanager"
***************************************************************************************如要调整监控 PVC 的大小,请运行以下命令:
sudo ./configureUiPathAS.sh monitoring resize-pvc --size 100Gi --sub-component "alertmanager"sudo ./configureUiPathAS.sh monitoring resize-pvc --size 100Gi --sub-component "alertmanager"您可以通过将值
prometheus 传递给 --sub-component 参数来调整 prometheus PVC 的大小。
要查看有关调整注册表 PVC 大小的更多信息,请运行以下命令:
sudo ./configureUiPathAS.sh registry resize-pvc --helpsudo ./configureUiPathAS.sh registry resize-pvc --help该命令返回以下输出:
***************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [data]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for registry data to 105 Gi
configureUiPathAS.sh registry resize-pvc --size 105Gi --sub-component "data"
******************************************************************************************************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [data]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for registry data to 105 Gi
configureUiPathAS.sh registry resize-pvc --size 105Gi --sub-component "data"
***************************************************************************************如要调整注册表 PVC 的大小,请运行以下命令:
sudo ./configureUiPathAS.sh registry resize-pvc --size 100Gi --sub-component "data"sudo ./configureUiPathAS.sh registry resize-pvc --size 100Gi --sub-component "data"