Automation Suite
2023.10
False
横幅背景图像
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日

访问 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. 要检索当前证书,请运行以下命令:
    kubectl get secrets/istio-ingressgateway-certs -n istio-system \
    -o "jsonpath={.data['ca\.crt']}" | echo $(base64 -d)kubectl get secrets/istio-ingressgateway-certs -n istio-system \
    -o "jsonpath={.data['ca\.crt']}" | echo $(base64 -d)
  2. 要更新证书,请参阅 管理证书

访问集群管理门户

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

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

转到以下 URL:https://${CONFIG_CLUSTER_FQDN}/uipath-management
注意:您不需要使用任何凭据即可访问集群管理门户。

访问 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']}" | echo $(base64 -d)kubectl get secrets/platform-service-secrets -n uipath \
    -o "jsonpath={.data['identity\.hostAdminPassword']}" | echo $(base64 -d)
    备注:

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

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

访问主机管理

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

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

  1. 转到以下 URL:

    https://${CONFIG_CLUSTER_FQDN}

  2. 切换到主机组织。
  3. 用户名是管理员
  4. 使用以下命令检索密码:
    kubectl get secrets/platform-service-secrets -n uipath \
    -o "jsonpath={.data['identity\.hostAdminPassword']}" | echo $(base64 -d)kubectl get secrets/platform-service-secrets -n uipath \
    -o "jsonpath={.data['identity\.hostAdminPassword']}" | echo $(base64 -d)
    备注:

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

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

访问 ArgoCD

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

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

  • 基本方案下的只读帐户;
  • 高级方案中的管理员帐户。

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

访问监控工具

概述

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

应用程序

工具

URL

示例

指标

Prometheus

https://monitoring.fqdn/metrics

https://monitoring.automationsuite.mycompany.com/metrics

仪表板

Grafana

https://monitoring.fqdn/grafana

https://monitoring.automationsuite.mycompany.com/grafana

警示管理

警示管理器

https://monitoring.fqdn/alertmanager

https://monitoring.automationsuite.mycompany.com/alertmanager

身份验证

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

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

要更新用于访问监控工具的默认密码,请执行以下步骤:

  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. 通过将 <cluster_config.json> 替换为配置文件的路径来运行以下命令:
    /opt/UiPathAutomationSuite/UiPath_Installer/install-uipath.sh -i <cluster_config.json> -f -o output.json --accept-license-agreement/opt/UiPathAutomationSuite/UiPath_Installer/install-uipath.sh -i <cluster_config.json> -f -o output.json --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 --decodekubectl -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

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.