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

步骤 3:部署后步骤

本页说明将 Automation Suite 部署到 AWS 后可以执行的操作。

验证安装​

  1. 在“CloudFormation” > “堆栈”下,您可以找到所有部署。
  2. 选择您部署的堆栈,状态为CREATE_COMPLETE表示部署已成功完成。

更新证书​

重要提示:

安装过程会代表您生成自签名证书。 默认情况下,这些证书将在 1825 天后过期,但您可以在部署时选择以下任一过期期限:90 天、365 天、730 天、1825 天或 3650 天。

安装完成后,您必须将自签名证书替换为由受信任的证书颁发机构 (CA) 签名的证书。 如果您不更新证书,则安装将在证书到期日期后停止工作。

For instructions, see Managing certificates.

访问安装程序包​

在 AWS 部署中,包含用于部署后操作的所有脚本的安装程序包将在/root/installer目录中解压。

访问部署输出​

  1. 从您选择的堆栈中,单击顶部的“输出”选项卡。在此选项卡上,您应该可以访问后续步骤所需的所有信息。

  2. 对于任何凭据,您都可以通过表中提供的密码链接访问它们。单击链接,然后转到“检索密码值”以获取凭据。

    密钥值描述
    ArgoCDhttps://alm.${CONFIG_CLUSTER_FQDN}您可以使用 ArgoCD 控制台来管理已安装的产品。
    ArgoCD 密码< 查看控制台中的链接 >ArgoCD 的凭据
    Automation Suite 密码< 查看控制台中的链接 >Automation Suite 门户的凭据
    集群管理 URLhttps://${CONFIG_CLUSTER_FQDN}/uipath-managementPortal 集中了完成 Automation Suite 安装和执行常见的安装后操作所需的资源。
    Automation Suite URLhttps://${CONFIG_CLUSTER_FQDN}Automation Suite 门户
    主机管理门户https://${CONFIG_CLUSTER_FQDN}主机门户是系统管理员配置 Automation Suite 实例的地方。您从该门户配置的设置将由您的所有组织继承,有些设置可以在组织级别覆盖。
    主机管理密码< 查看控制台中的链接 >主机管理凭据
    界面导览界面导览通用的 Automation Suite 用户界面可用作组织管理员和组织用户的门户。它是常见的组织级别资源,每个人都可以从中访问 Automation Suite 的所有区域:管理页面、平台级别页面、特定于服务的页面和特定于用户的页面。
    Rancherhttps://monitoring.${CONFIG_CLUSTER_FQDN}Automation Suite 使用 Rancher 提供开箱即用的集群管理工具。这可帮助您管理集群以及访问监控和故障排除功能。

访问集群管理门户​

The Cluster Administration portal is a centralized location where you can find all the resources required to complete an Automation Suite installation and perform common post-installation operations. For details, see Getting started with the Cluster Administration portal.

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

转到以下 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. 通过选择输出表中为AutomationSuiteSecret提供的密码链接来检索密码。转到“检索密码值”以获取凭据。

访问主机管理​

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

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

  1. 转到以下 URL:https://{CONFIG_CLUSTER_FQDN}。
  2. 切换到主机组织。
  3. 用户名是管理员。
  4. 通过选择输出表中为HostAdministrationSecret提供的密码链接,以检索密码。转到“检索密码值”以获取凭据。

访问 ArgoCD​

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

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

  1. 转到以下 URL:https://alm.${CONFIG_CLUSTER_FQDN}。
  2. 如果要使用 ArgoCD 管理员帐户,则用户名为admin ;如果要使用ArgoCD只读帐户,则用户名为 argocdro。
  3. 通过选择输出表中为ArgoCdSecret提供的密码链接,检索密码。转到“检索密码值”以获取凭据。

访问 Rancher​

Automation Suite 使用 Rancher 提供开箱即用的集群管理工具。这可帮助您管理集群以及访问监控和故障排除功能。

For more details, see Rancher documentation.

For more on how to use Rancher monitoring in Automation Suite, see Using the monitoring stack.

要访问 Rancher 控制台,请执行以下步骤:

  1. 转到以下 URL: https://monitoring.${CONFIG_CLUSTER_FQDN}

  2. 用户名是管理员。

  3. 要访问密码,请在服务器节点上运行以下命令:

    kubectl get secrets/rancher-admin-password -n cattle-system \
    -o "jsonpath={.data['password']}" | echo $(base64 -d)
    kubectl get secrets/rancher-admin-password -n cattle-system \
    -o "jsonpath={.data['password']}" | echo $(base64 -d)
    
    备注:

    Make sure kubectl is enabled. For more information, see Accessing Automation Suite.

访问集群虚拟机​

  1. 导航到 EC2 并找到您的 Automation Suite 实例,具体取决于您部署的是单节点还是多节点。

  2. 找到要连接到的堡垒或实例的公共 IP。

  3. 打开终端并使用 SSH 连接到堡垒。

    ssh -i <path_to_private_key> <username>@<bastion_ip>
    ssh -i <path_to_private_key> <username>@<bastion_ip>
    
  4. 从堡垒中,您可以使用以下命令通过 SSH 访问其他节点。用户名必须与用于连接到堡垒的用户名相同。

    ssh -i .ssh/private_key <username>@<node_address>
    ssh -i .ssh/private_key <username>@<node_address>
    

执行集群操作​

这些模板利用 Systems Manager 文档为集群操作提供自动化。

Using Systems Manager documents​

要使用 Systems Manager 文档,请执行以下步骤:

  1. Go to the Systems Manager service.

  2. 在左侧菜单中,选择“文档” 。

  3. 在“由我所有”选项卡中,选择要运行的 SSM 文档。

  4. 选择“执行自动化”按钮。

  5. 填写参数,然后选择“执行”按钮。

UpdateAMIDocument​

描述​

SSM 文档使用更新的 AMI ID 为服务器和代理自动扩展组创建新的启动模板版本。

用法​

该文档公开了 2 个参数:

  • ImageName (例如: RHEL-8.6*_HVM-20* )– 如果提供了ImageName参数,并且将在自动扩展组上设置与ImageName匹配的 AMI;
  • AmiId (例如: ami-032e5b6af8a711f30 )– 如果提供,则AmiId优先于ImageName ,并在自动扩展组上设置。

如果您在部署时未使用自定义 AMI,则可以将参数留空。 在这种情况下,存储在 Parameter Store 中的ImageName用作默认值。

RegisterAiCenter​

描述​

SSM 文档将 AI Center 注册到部署时提供的外部 Orchestrator。

用法​

该文档公开了一个必需参数IdentityToken ,这是由外部身份服务生成的安装访问令牌。由于令牌的可用时间很短(大约 1-2 小时),我们建议在运行 SSM 文档之前生成该令牌。有关说明,请参阅安装密钥。

OnDemandBackup​

描述​

创建 Automation Suite 集群的快照。 不在 SQL Server 上执行备份。

用法​

此 SSM 文档不需要任何参数。

执行日志​

要检查文件的日志,请选择captureOnDemandBackup步骤的步骤 ID 。

GetAllBackups​

描述​

列出 Automation Suite 集群中的所有可用快照。

用法​

此 SSM 文档不需要任何参数。

执行日志​

要查看可用快照列表,请选择getSnapshotList步骤的“步骤 ID” 。

OnDemandRestore​

描述​

将 Automation Suite 集群还原到快照。

用法​

SSM 文档公开SnapshotName参数。 要获取快照,请使用GetAllBackups文档并检查日志。

执行日志​

要查看执行日志,请执行以下步骤:

  1. 通过选择“状态机”查看还原流程。

  2. 选择“按需还原状态机” 。

  3. 选择正在运行的执行的名称。

  4. 选择要检查执行日志的步骤,并在输出部分中查找CommandInformation.CommandId并进行复制。

  5. 转到“运行命令”服务。

  6. In Command history, search for the command ID you copied earlier.

  7. 选择实例 ID。

  8. 在输出部分中,选择CloudWatch Logs以查看完整日志。

完成升级​

After performing an Automation Suite cluster upgrade, AWS template deployments require some changes to ensure a new node joins the cluster correctly. To automate the changes, we recommend using the dedicated script. For instructions, see the AWS deployment template docs.

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新