- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
安装后配置 FQDN
要更新 Automation Suite 的 FQDN,您需要再次运行安装程序,并在 cluster_config.json 文件中对集群中的所有节点进行如下更改。
-
fqdn- 使用访问集群所需的新 FQDN 更新此字段。 -
fixed_rke_address- 如果此值与cluster_config.json中的fqdn字段相同,则您也需要更新此值以反映新的 FQDN。备注:更改 FQDN 也需要新的服务器证书。如果新证书可用,您有两个选择:继续使用安装程序自动配置的新自签名证书,或停止安装并引入新证书。
您可以通过
cluster_config.json中的server_certificate字段配置证书。
在单节点评估模式下更新 FQDN
要在单节点评估模式下更新 FQDN,请执行以下步骤:
- 导航至
UiPathAutomationSuite文件夹(安装程序捆绑包所在位置)。 - 运行以下命令以更新 FQDN:
在线
sudo ./install-uipath.sh -i ./cluster_config.json -o output.json -a --accept-license-agreement
sudo ./install-uipath.sh -i ./cluster_config.json -o output.json -a --accept-license-agreement
离线
运行以下命令以更新基础架构的 FQDN:
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k --offline-bundle ./sf-infra.tar.gz --offline-tmp-folder /uipath/tmp --accept-license-agreement
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k --offline-bundle ./sf-infra.tar.gz --offline-tmp-folder /uipath/tmp --accept-license-agreement
运行以下命令以更新结构和服务的 FQDN:
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -f -s --install-type offline --accept-license-agreement
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -f -s --install-type offline --accept-license-agreement
安装程序会警告您更新 FQDN 的后果。在继续操作之前,它会要求您确认。如果没有与 FQDN 相关的新的有效证书,安装程序也会向您发出警告。
在多节点 HA 就绪生产模式下更新 FQDN
要在多节点 HA 就绪生产模式下更新 FQDN,请执行以下步骤:
在所有计算机(服务器和代理节点)上运行安装程序。请注意,执行顺序非常重要。您首先需要在所有服务器上运行安装程序,然后在所有剩余的代理节点和 Task Mining 节点上运行。
在第一个服务器节点上运行的命令、在后续服务器节点上执行的命令以及在代理节点上使用的命令之间存在一些变体,如下所示:
-a选项专用于在第一个服务器节点上执行的命令。您必须在此处运行结构和服务安装程序。-k选项专门应用于在以下服务器节点上运行的命令,并且它会跳过结构和服务安装程序的执行。-j server选项用于区分服务器节点和代理节点。
第一个服务器节点
-
导航至
UiPathAutomationSuite文件夹(安装程序捆绑包所在位置)。 -
运行以下命令以更新 FQDN:
在线
sudo ./install-uipath.sh -i cluster_config.json -o output.json -a --accept-license-agreementsudo ./install-uipath.sh -i cluster_config.json -o output.json -a --accept-license-agreement离线
运行以下命令以更新基础架构的 FQDN:
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k --offline-bundle ./sf-infra.tar.gz --offline-tmp-folder /uipath/tmp --accept-license-agreementsudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k --offline-bundle ./sf-infra.tar.gz --offline-tmp-folder /uipath/tmp --accept-license-agreement运行以下命令以更新结构和服务的 FQDN:
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -f -s --install-type offline --accept-license-agreementsudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -f -s --install-type offline --accept-license-agreement备注:安装程序会警告您更新 FQDN 的后果。在继续操作之前,它会要求您确认。如果没有与 FQDN 相关的新的有效证书,安装程序也会向您发出警告。
后续服务器节点
-
导航至
UiPathAutomationSuite文件夹(安装程序捆绑包所在位置)。 -
运行以下命令以更新 FQDN:
在线
sudo ./install-uipath.sh -i cluster_config.json -o output.json -k -j server --accept-license-agreementsudo ./install-uipath.sh -i cluster_config.json -o output.json -k -j server --accept-license-agreement离线
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k -j server --offline-bundle ./sf-infra.tar.gz --offline-tmp-folder /uipath/tmp --accept-license-agreementsudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k -j server --offline-bundle ./sf-infra.tar.gz --offline-tmp-folder /uipath/tmp --accept-license-agreement
Additional Agent Nodes and Task Mining Node
-
导航至
UiPathAutomationSuite文件夹(安装程序捆绑包所在位置)。 -
运行以下命令以更新 FQDN:
在线
sudo ./install-uipath.sh -i cluster_config.json -o output.json -k -j agent --accept-license-agreementsudo ./install-uipath.sh -i cluster_config.json -o output.json -k -j agent --accept-license-agreement离线
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k -j agent --offline-bundle ./sf-infra.tar.gz --offline-tmp-folder /uipath/tmp --accept-license-agreementsudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k -j agent --offline-bundle ./sf-infra.tar.gz --offline-tmp-folder /uipath/tmp --accept-license-agreement