- 发行说明
- 入门指南
- 安装和升级
- 访问和权限
- 与 Insights 交互
- 日志
要求
要修改或卸载 Insights,您需要拥有原始安装文件。
修改 Insights 安装
-
转到“应用程序和功能”。单击“UiPath Insights”,然后选择“更改”。
-
在新打开的窗口中单击“下一步”。
-
单击“更改”。
修改 Looker 配置文件路径
-
If you want to modify the SMTP configuration, replace a Linux certificate, or change the database authentication to windows authentication, then you must first rerun the Preinstallation Tool.
-
输入新的 Looker 配置文件路径,然后单击“下一步”。
-
如果您不想实施任何其他更改,可以单击下一页上的“跳过”。
-
单击“下一步”。
-
最后,在“准备安装”窗口中单击“下一步”。
修改 Orchestrator/身份属性
-
Input the new Orchestrator URL and Installation Access Token and click Next. See Installation key for instructions on how to get an Installation Access Token.
-
如果您不想更改任何其他可用设置,请在以下窗口中单击“跳过”。
-
最后,在“准备安装”窗口中单击“下一步”。
修改 Insights 数据库连接
-
在 Orchestrator 服务器上更新 Insights 数据库连接字符串。您需要在 Orchestrator 配置文件中手动更改它。
- 打开
UiPath.Orchestrator.dll.config文件。 - 在
connectionStrings部分中,修改name="Default"键的connectionString参数,如下所示:-
对于 SQL 身份验证:
connectionString="Data Source={YOUR_ORCH_DB_HOST};Initial Catalog={YOUR_ORCH_DB_NAME};User ID={YOUR_ORCH_DB_SQL_USER};Password={YOUR_ORCH_DB_SQL_PASSWORD}" /> -
对于 Windows 身份验证:
connectionString="Data Source={YOUR_ORCH_DB_HOST};Initial Catalog={YOUR_ORCH_DB_DATABASE_NAME};Integrated Security=true" />。SQL 身份验证的示例:
<add name="Default" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathOrchestrator;User ID=docs-uipath;Password=SecretP@ssword" /><add name="Default" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathOrchestrator;User ID=docs-uipath;Password=SecretP@ssword" />Windows 身份验证示例:
<add name="Default" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathOrchestrator;Integrated Security=true" /><add name="Default" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathOrchestrator;Integrated Security=true" />
-
- 打开
-
转到“应用程序和功能”,然后单击“UiPath Insights”,然后选择“修改”。
-
如果您不想在任何其他窗口中添加任何更改,可以单击“跳过”。
-
输入新的 Insights 数据库设置。
-
单击“下一步”。
-
最后,在“准备安装”窗口中单击“下一步”。
修改 SMTP 配置
如果取消选中“配置电子邮件服务 (SMTP)”选项,则不会删除电子邮件服务配置。
-
导航到“应用程序和功能”,然后单击“UiPath Insights”,然后选择“修改”。
-
如果您不想在其他窗口中进行更改,可以单击“跳过”。
-
单击“配置电子邮件服务 (SMTP)”。
-
输入电子邮件设置以配置电子邮件服务
-
单击“下一步”。
-
最后,在“准备安装”窗口中单击“下一步”。
在 IIS 中更新门户证书
-
确保将新证书导入到“个人”(对于证书)和“受信任的根证书颁发机构”(对于根证书)。还要确保证书有效。
-
转到 IIS 管理器并打开 UiPath Insights 网站。
-
打开“绑定”页面。
-
选择绑定并单击“编辑”,然后从“SSL 证书”下拉菜单中选择新证书,然后单击“确定”。
-
重新启动 IIS。
在 Insights Linux 计算机上更新 Looker 证书
如果要更新或替换 Looker 证书,请按照以下说明操作:
-
将具有私钥的 Insights 证书导出为 PFX 文件。
-
通过运行以下命令,将
insights cert.pfx文件复制到 Insights Linux 计算机:scp {certificateFolder}\NewInsightsCert.pfx InsightsUser@LinuxMachine:/Home/InsightsUser/NewInsightsCert.pfxscp {certificateFolder}\NewInsightsCert.pfx InsightsUser@LinuxMachine:/Home/InsightsUser/NewInsightsCert.pfx -
通过运行以下命令,下载更新证书所需的脚本:
wget https://github.com/UiPath/Insights-Customer/blob/master/Scripts/OnPrem/certificateChange.shwget https://github.com/UiPath/Insights-Customer/blob/master/Scripts/OnPrem/certificateChange.sh -
更新文件权限以使其可执行:
chmod 755 certificateChange.shchmod 755 certificateChange.sh -
使用以下命令运行脚本:
./certificateChange.sh -c {cert.pfx filename} -s {RHEL FQDN as listed in certificate SAN}./certificateChange.sh -c {cert.pfx filename} -s {RHEL FQDN as listed in certificate SAN}系统会要求您提供 PFX 文件的路径和密码(如果证书需要)。
安装后更新端口
要在安装 Insights 后更新端口号,您需要按照以下步骤操作。
| 步骤 | 操作 |
|---|---|
| 1. 创建域签名证书 | 使用新 URL 创建域签名证书。 |
| 2. 在 IIS 中更改端口号 | 打开 IIS 管理器并导航至“站点” > “Insights”应用程序 > “绑定”以更改端口号。 |
| 3. 从 Identity Server DB 中删除 URI 端口号 | Remove the URI port number from the the following parameters found in the Identity Server database:
|
4. 修改 provisioning.url Insights 配置文件中的参数
|
|
5. 修改 permission.url Insights 配置文件中的参数
|
|
| 6. 重置 IIS | 以管理员身份打开 CMD 并运行 iisreset 以重置 IIS。
|
更新 Looker 的 SMTP 设置
要更新 Looker 的 SMTP 设置,请使用以下步骤:
- 运行预安装工具。
- 将文件解压缩到 Insights 目录中。
- 重新运行初始化。