UiPath Documentation
automation-suite
2023.10
false

Linux 版 Automation Suite 安装指南

上次更新日期 2026年5月8日

访问 Automation Suite

启用 kubectl

在运行任何 kubectl 命令之前,请确保启用 kubectl。这使您可以运行命令以检索集群的密码和配置详细信息。

要启用 kubectl,请运行以下命令:

sudo su -
export KUBECONFIG="/etc/rancher/rke2/rke2.yaml" \
&& export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"
sudo su -
export KUBECONFIG="/etc/rancher/rke2/rke2.yaml" \
&& export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"

管理证书

重要提示:

安装流程会代表您生成自签名证书。这些证书将在 90 天后过期,安装完成后,您必须将其替换为由受信任的证书颁发机构 (CA) 签名的证书。如果不更新证书,安装将在 90 天后停止工作。

有关说明,请参阅管理证书

如果您尝试使用网页浏览器访问集群,但证书并非来自受信任的 CA,您将在浏览器中看到警告。您可以通过在运行浏览器的客户端计算机上导入并信任集群 SSL 证书来解决此问题。

要管理证书,请执行以下步骤:

  1. 要检索当前证书,请运行以下命令:
    • 在 Linux 上:
      kubectl get secrets/istio-ingressgateway-certs -n istio-system \
      -o "jsonpath={.data['ca\.crt']}" | base64 --decode
      kubectl get secrets/istio-ingressgateway-certs -n istio-system \
      -o "jsonpath={.data['ca\.crt']}" | base64 --decode
      
    • 在 Windows (PowerShell) 上:
      (kubectl get secret -n istio-system istio-ingressgateway-certs -o jsonpath='{.data.ca\.crt}') | ForEach-Object { [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($_)) }
      (kubectl get secret -n istio-system istio-ingressgateway-certs -o jsonpath='{.data.ca\.crt}') | ForEach-Object { [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($_)) }
      
  2. 要更新证书,请参阅管理证书

访问集群管理门户

集群管理门户是一个集中位置,您可以在此找到完成 Automation Suite 安装和执行常见的安装后操作所需的所有资源。有关详细信息,请参阅集群管理门户入门

要访问“集群管理”门户,请执行以下步骤:

转到以下 URL:https://${CONFIG_CLUSTER_FQDN}/uipath-management

备注:

You do not need any credentials to access the Cluster Administration portal.

访问 Automation Suite 常规界面

备注:

您需要在网页浏览器中接受自签名证书,才能访问仍配置有自签名证书的集群。

通用 Automation Suite 用户界面可用作组织管理员和组织用户的门户。 它是一种常见的组织级别资源,每个人都可以从中访问 Automation Suite 的所有区域:管理页面、平台级别页面、特定于产品的页面和特定于用户的页面。

要访问 Automation Suite,请执行以下步骤:

  1. 转到以下 URL:

    https://${CONFIG_CLUSTER_FQDN}

  2. 切换到默认组织。

  3. 用户名是组织管理员

  4. 使用以下命令检索密码:

    kubectl get secrets/platform-service-secrets -n uipath \
    -o "jsonpath={.data['identity\.hostAdminPassword']}" | base64 --decode ; echo
    kubectl get secrets/platform-service-secrets -n uipath \
    -o "jsonpath={.data['identity\.hostAdminPassword']}" | base64 --decode ; echo
    
    备注:

    使用相同的命令来检索组织管理员密码和主机管理员密码是设计使然。这是因为两个密码最初相同。如果在主机级别将“首次登录时的“更改密码””设置为“必需” ,则组织管理员必须在首次登录时设置新密码。

访问主机管理

主机门户是系统管理员配置 Automation Suite 实例的地方。您从该门户配置的设置将由您的所有组织继承,有些设置可以在组织级别覆盖。

要访问主机管理,请执行以下步骤:

  1. 转到以下 URL:

https://${CONFIG_CLUSTER_FQDN} 2. 切换到主机组织。3. 用户名为admin 。4. 使用以下命令检索密码:

kubectl get secrets/platform-service-secrets -n uipath \
-o "jsonpath={.data['identity\.hostAdminPassword']}" | base64 --decode ; echo
kubectl get secrets/platform-service-secrets -n uipath \
-o "jsonpath={.data['identity\.hostAdminPassword']}" | base64 --decode ; echo
备注:

使用相同的命令来检索组织管理员和主机管理员密码是设计使然。

这是因为这两个密码最初是相同的。 如果在主机级别将“首次登录时更改密码”设置为“必需”,则组织管理员必须在首次登录时设置新密码。

访问 ArgoCD

您可以使用 ArgoCD 控制台来管理已安装的产品。

根据要在 ArgoCD 中执行的操作,您可以使用两种类型的帐户来访问控制台:

  • 基本方案中的只读帐户
  • 高级场景中的管理员帐户

有关 ArgoCD 及其访问方式的更多详细信息,请参阅在 ArgoCD 中管理集群

访问监控工具

概述

您可以使用以下 URL 单独访问 Automation Suite 监控工具:

应用程序工具URL示例
指标Prometheushttps://monitoring.fqdn/metricshttps://monitoring.automationsuite.mycompany.com/metrics
仪表板Grafanahttps://monitoring.fqdn/grafanahttps://monitoring.automationsuite.mycompany.com/grafana
警示管理警示管理器https://monitoring.fqdn/alertmanagerhttps://monitoring.automationsuite.mycompany.com/alertmanager

监控工具身份验证

首次访问监控工具时,请使用以下默认凭据以管理员身份登录:

  • 用户名: admin
  • 密码:要检索密码,请运行以下命令:
    kubectl get secrets/dex-static-credential -n uipath-auth -o "jsonpath={.data['password']}" | base64 -d
    kubectl get secrets/dex-static-credential -n uipath-auth -o "jsonpath={.data['password']}" | base64 -d
    

Dex 身份验证

要在访问监控工具时更新用于 Dex 身份验证的默认密码,请执行以下步骤。

备注:

Dex 是基于监控工具的基本身份验证方法。 因此,更新 Dex 密码不会影响监控工具的密码。 在这种情况下,监控工具的密码将与以前相同。

  1. 通过将 newpassword 替换为您的新密码来运行以下命令:
    password="newpassword"
    password=$(echo -n $password | base64)
    kubectl patch secret dex-static-credential -n uipath-auth --type='json' -p="[{'op': 'replace', 'path': '/data/password', 'value': '$password'}]"
    password="newpassword"
    password=$(echo -n $password | base64)
    kubectl patch secret dex-static-credential -n uipath-auth --type='json' -p="[{'op': 'replace', 'path': '/data/password', 'value': '$password'}]"
    
  2. 运行以下命令以更新密码:
    ./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -f --accept-license-agreement
    ./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -f --accept-license-agreement
    

访问服务数据库连接字符串

您可以按如下方式访问每个服务的数据库连接字符串:

kubectl -n uipath get secret aicenter-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret orchestrator-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret automation-hub-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret automation-ops-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret insights-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret platform-service-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret test-manager-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret aicenter-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret orchestrator-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret automation-hub-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret automation-ops-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret insights-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret platform-service-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
kubectl -n uipath get secret test-manager-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新