UiPath Documentation
automation-suite
2.2510
true
OpenShift 上的 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

Disaster Recovery - 安装辅助集群

在 Automation Suite 多站点部署中安装用于 Disaster Recovery 的辅助集群。

要在主动/被动部署中安装辅助 Automation Suite 集群,请执行以下步骤。

  1. 从主 Automation Suite 集群生成或复制input.json文件。有关详细信息,请参阅生成或复制主集群的配置文件。
  2. 使用特定于辅助 Automation Suite 集群的参数更新 input.json 文件。
  3. 继续安装 Automation Suite。
  4. 如果您使用主动/被动配置,请关闭不活动的产品。

生成或复制主集群的配置文件​

生成新的 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 文件,具体操作步骤如下所示:

  1. 关闭不支持的产品。

    将多站点中不支持的所有产品设置为 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
    },
    
  2. 使用特定于辅助集群的参数更新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]"
     }
    

    有关详细信息,请参阅高级安装体验。

  3. 您必须保持辅助集群中的命名空间与主集群中的相同,因为在辅助安装期间,将从主集群复制一些配置。

    "namespace": "<namespace same as primary>"
    "namespace": "<namespace same as primary>"
    
  4. 您必须确保正确设置 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>"
    }
    
  5. 来自辅助集群的某些请求将转发到主集群。要支持此行为,辅助集群必须信任主集群的根 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

  6. 如果<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 应用程序控制器 (状态副本集) 和服务器 (部署)。

  7. 如果 Istio 由外部管理(而不是由uipathctl ),请更新 WASM 插件配置中的以下参数:

    • fqdn - 将值从cluster_fqdn更改为流量管理器 FQDN。
    • uipath_service_namespace - 将此设置为与input.json中的namespace字段相同的值。如果这些值未更新,Orchestrator 可能会显示以下错误:
    • URL is invalid
    • Routing 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

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新