您可以在安装后的任何时候启用和禁用 Automation Suite 中的产品。
为此,您必须访问并更新存储在 /opt/UiPathAutomationSuite
文件夹中的 cluster_config.json
文件,然后重新运行服务安装程序步骤。
备注:
您只需从服务器节点执行这些步骤。
步骤 1:更改配置文件中的产品选择
- 导航至
UiPathAutomationSuite
文件夹并编辑cluster_config.json
。
cd /opt/UiPathAutomationSuite
nano cluster_config.json #optionally use any favourite editor of your choice.
- 在服务列表中,将要启用或禁用的特定服务的
enable
标志设置为true
或false
。请参阅以下单个产品的示例。
备注:
只需更新
enable
标志,即可管理 Action Center 和 Apps。其他产品可能需要额外的步骤来配置安装。有关详细信息,请参阅以下说明。
启用或禁用 Action Center
请参阅以下 cluster_config.json
文件中有关启用或禁用 Action Center 的配置详细信息:
"actioncenter": {
"enabled": "true" //Set to "false" to disable the Action Center
}
启用或禁用 Apps
请参阅以下 cluster_config.json
文件中有关启用或禁用 Apps 的配置详细信息:
"apps": {
"enabled": "true" //Set to "false" to disable the Apps
}
启用或禁用 AI Center
AI Center 需要更新 enable
标志和 SQL 数据库。
如果您先前在 cluster_config.json
中为 sql_connection_string_template_jdbc
设置了值,则默认的 AI Center 数据库名称为 AutomationSuite_AICenter
。
要更改默认数据库名称,您需要更新 AI Center 字段内的 sql_connection_str
。这将覆盖sql_connection_string_template_jdbc
中设置的默认数据库和连接字符串模板。
请参阅以下 cluster_config.json
中有关启用或禁用 AI Center 的配置详细信息:
"aicenter": {
"enabled": "true", //Set to "false" to disable the AICenter
"sql_connection_str": "" //Optional and only require to override the default database name
}
启用或禁用 Automation Ops
Automation Ops 需要更新 enable
标志和 SQL 数据库。
如果您先前在 cluster_config.json
中为 sql_connection_string_template
设置了值,则 Automation Ops 的默认数据库名称为 AutomationSuite_Platform
。
要更改默认数据库名称,您需要更新 Automation Ops 字段内的 sql_connection_str
。这将覆盖 sql_connection_string_template
中设置的默认数据库和连接字符串模板。
备注:
Automation Ops 与核心平台(包括 Orchestrator)共享一个数据库。如果您在此处更改数据库,则也将更新核心平台的数据库。
请参阅以下 cluster_config.json
中启用或禁用 Automation Ops 的配置详细信息:
"automation_ops": {
"enabled": "true", //Set to "false" to disable the Automation Ops
"sql_connection_str": "" //Optional and only require to override the default database name
}
启用或禁用 Data Service
Data Service 需要更新enable
标志和 SQL 数据库。
如果您先前在 cluster_config.json
中为 sql_connection_string_template
设置了值,则默认数据库名称为 AutomationSuite_DataService
。
要更改默认数据库名称,您需要更新 Data Service 字段中的sql_connection_str
。 这将覆盖sql_connection_string_template
中设置的默认数据库和连接字符串模板。
有关在cluster_config.json
中启用或禁用 Data Service 的配置,请参阅以下配置详细信息:
"dataservice": {
"enabled": "true", //Set to "false" to disable the Data Service,
"sql_connection_str": "" //Optional and only require to override the default database name
}
启用或禁用 Document Understanding
Document Understanding 需要更新 enable
标志和 SQL 数据库。
如果您先前在 cluster_config.json
中为 sql_connection_string_template_odbc
设置了值,则默认数据库名称为 AutomationSuite_DU_Datamanager
。
要更改默认数据库名称,您需要更新 Document Understanding 字段内的 sql_connection_str
。这将覆盖 sql_connection_string_template_odbc
中设置的默认数据库和连接字符串模板。
If you perform an offline installation, you need to download the offline bundle for Document Understanding as well. Before enabling Document Understanding, please refer to Install and Use Document Understanding.
请参阅以下 cluster_config.json
中有关启用或禁用 Document Understanding 配置详细信息:
"documentunderstanding": {
"enabled": "true", //Set to "false" to disable the Document Understanding
"sql_connection_str": "" //Optional and only require to override the default database name
}
启用或禁用 Insights
Insights 需要更新 enable
标志和 SQL 数据库。
如果您先前在 cluster_config.json
中为 sql_connection_string_template
设置了值,则默认数据库名称为 AutomationSuite_Insights
。
要更改默认数据库名称,您需要更新 Insights 字段内的 sql_connection_str
。这将覆盖 sql_connection_string_template
中设置的默认数据库和连接字符串模板。
Insights has an optional SMTP configuration to enable receiving email notifications. Refer to Advanced installation experience for more details.
请参阅以下 cluster_config.json
中有关启用或禁用 Insights 的配置详细信息:
"insights": {
"enabled": "true", //Set to "false" to disable the Insights,
"sql_connection_str": "" //Optional and only require to override the default database name
}
启用或禁用 Task Mining
Task Mining 需要更新 enable
标志和 SQL 数据库。
如果您先前在 cluster_config.json
中为 sql_connection_string_template
设置了值,则默认数据库名称为 AutomationSuite_Task_Mining
。
要将名称更改为非默认名称,您可以更新 Task Mining 字段内的 sql_connection_str,以覆盖 sql_connection_string_template 中设置的默认数据库和连接字符串模板
Task Mining 需要一些额外的步骤,包括为 AI 特定的工作负载配置专用的代理节点。启用 Task Mining 之前,请参阅 Task Mining 安装部分;为 Task Mining 添加专用代理节点
请参阅以下 cluster_config.json
中有关启用或禁用 Task Mining 的配置详细信息:
"task_mining": {
"enabled": "true", //Set to "false" to disable the Task Mining,
"sql_connection_str": "" //Optional and only require to override the default database name
}
卸载 Task Mining - 取消污染节点
要卸载 Task Mining 并释放包含的节点,请使用以下步骤:
- 使用
kubectl describe node task-mining_nodename
命令检查实际的污点。 - 运行命令
kubectl taint nodes task-mining_nodename task.mining/cpu=present:NoSchedule-
- 使用
kubectl describe node task-mining_nodename
命令检查污点已消失。
启用或禁用 Test Manager
Test Manager 需要更新 enable
标志和 SQL 数据库。
如果您先前在 cluster_config.json
中为 sql_connection_string_template
设置了值,则默认数据库名称为 AutomationSuite_Test_Manager
。
要更改默认数据库名称,您需要更新 Test Manager 字段内的 sql_connection_str
。这将覆盖 sql_connection_string_template
中设置的默认数据库和连接字符串模板。
请参阅以下 cluster_config.json
中有关启用或禁用 Test Manager 的配置详细信息:
"test_manager": {
"enabled": "true", //Set to "false" to disable the Test Manager,
"sql_connection_str": "" //Optional and only require to override the default database name
}
重要
更新配置文件后,请继续执行步骤 2。
步骤 2:运行安装程序脚本以更新新产品配置
更新 cluster_config.json
后,请在安装程序上运行以下命令以更新服务配置。
- 对于在线安装:
./install-uipath.sh -i cluster_config.json -o output.json -s --accept-license-agreement
- 对于离线安装:
./install-uipath.sh -i cluster_config.json -o output.json -s --install-type offline --accept-license-agreement
7 个月前更新