- 概述
- 要求
- 预安装
- 安装
- Disaster Recovery - 安装辅助集群
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
Disaster Recovery - 安装辅助集群
在 Automation Suite 多站点部署中安装用于 Disaster Recovery 的辅助集群。
要在主动/被动部署中安装辅助 Automation Suite 集群,请执行以下步骤。
- 从主 Automation Suite 集群生成或复制
input.json文件。有关详细信息,请参阅生成或复制主集群的配置文件。 - 使用特定于辅助 Automation Suite 集群的参数更新
input.json文件。 - 继续安装 Automation Suite。
- 如果您使用主动/被动配置,请关闭不活动的产品。
生成或复制主集群的配置文件
生成新的 input.json 文件或从主集群复制该文件。
uipathctl manifest get-revision --namespace <uipath> >> /path/to/new/input.json
uipathctl manifest get-revision --namespace <uipath> >> /path/to/new/input.json
更新配置文件
使用特定于辅助 Automation Suite 集群的参数更新 input.json 文件,具体操作步骤如下所示:
-
关闭不支持的产品。
将多站点中不支持的所有产品设置为
false。- 对于主动/被动配置,请禁用不支持主动/被动的产品。有关产品级别的主动/被动支持的详细信息,请参阅“Disaster Recovery - 主动/被动”中的表格。以下示例显示了如何禁用产品:
{ "process_mining": { "enabled": false }, "automation_hub": { "enabled": false }, "insights": { "enabled": false } }{ "process_mining": { "enabled": false }, "automation_hub": { "enabled": false }, "insights": { "enabled": false } }
备注:确保启用
platform服务,如以下示例所示:"platform": { "enabled": true },"platform": { "enabled": true }, - 对于主动/被动配置,请禁用不支持主动/被动的产品。有关产品级别的主动/被动支持的详细信息,请参阅“Disaster Recovery - 主动/被动”中的表格。以下示例显示了如何禁用产品:
-
使用特定于辅助集群的参数更新
input.json文件。您必须提供主集群的 kubeconfig,因为辅助集群需要它才能访问在主集群上进行的配置。"fqdn" : "<global traffic manager fqdn>" "cluster_fqdn": "<fqdn of the secondary cluster>", "multisite": { "enabled": true, "primary": false, "other_kube_config": "[base64 encoded kubeconfig]" }"fqdn" : "<global traffic manager fqdn>" "cluster_fqdn": "<fqdn of the secondary cluster>", "multisite": { "enabled": true, "primary": false, "other_kube_config": "[base64 encoded kubeconfig]" }有关详细信息,请参阅高级安装体验。
-
您必须保持辅助集群中的命名空间与主集群中的相同,因为在辅助安装期间,将从主集群复制一些配置。
"namespace": "<namespace same as primary>""namespace": "<namespace same as primary>" -
您必须确保正确设置 ArgoCD 和 Istio 的命名空间。
"ingress": { "namespace": "<namespace where istio is installed>", } "argocd": { "application_namespace": "<namespace where istio is installed>" }"ingress": { "namespace": "<namespace where istio is installed>", } "argocd": { "application_namespace": "<namespace where istio is installed>" } -
来自辅助集群的某些请求将转发到主集群。要支持此行为,辅助集群必须信任主集群的根 CA。将主集群的 CA 证书的路径添加到
input.json中的additional_ca_certs字段。CA 证书位于主集群的 Istio 命名空间中的istio-ingressgateway-certs密码。解码ca.crt键下的值并将其保存为.pem文件。"additional_ca_certs": "<path to PEM file containing the primary cluster CA certificate>""additional_ca_certs": "<path to PEM file containing the primary cluster CA certificate>"如果未应用此配置,服务可能会失败,并显示以下错误:
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot -
如果
<uipath>命名空间与<argocd>命名空间不同,请确保 Argo CD 实例可以管理<uipath>命名空间。运行以下命令:oc label namespace <uipath> argocd.argoproj.io/managed-by=<argocd>oc label namespace <uipath> argocd.argoproj.io/managed-by=<argocd>应用此配置后,重新启动 Argo CD 应用程序控制器 (状态副本集) 和服务器 (部署)。
-
如果 Istio 由外部管理(而不是由
uipathctl),请更新 WASM 插件配置中的以下参数:fqdn- 将值从cluster_fqdn更改为流量管理器 FQDN。uipath_service_namespace- 将此设置为与input.json中的namespace字段相同的值。如果这些值未更新,Orchestrator 可能会显示以下错误:URL is invalidRouting error occurs in the WASM plugin: error status returned by host: bad argument
继续安装。
在input.json中提供或修改上一步中的参数后,您可以继续安装。有关详细信息,请参阅安装 Automation Suite 。
您必须使用 uipathctl 安装程序执行 Automation Suite 安装。请注意,您不需要生成新的 input.json。
关闭不活动的产品
此为必填步骤。跳过它可能会导致某些服务失败。
如果您在主动/被动模式下部署了 Automation Suite,请使用以下命令关闭非活动产品。
uipathctl cluster maintenance enable
uipathctl cluster maintenance enable