Insights
2020.10
False
  • 发行说明
      • 2020.10.2
  • 入门指南
  • 安装和升级
    • 硬件和软件要求
      • 启用表格分组
      • 其他配置
      • Insights 管理员工具
    • 升级
    • 故障排除
  • Orchestrator 中的 Insights
  • Insights 门户
横幅背景图像
Insights
上次更新日期 2024年2月22日

其他配置

更新凭据

如果您需要更改和/或更新凭据,以下过程详细说明了必须在 Orchestrator Insights 计算机上执行的步骤。

Orchestrator 数据库凭据

在您的 Orchestrator 计算机上

  1. 打开 UiPath.Orchestrator.dll.config 文件。
  2. connectionStrings 部分中,修改 name="Default" 键的 connectionString 参数,如下所示:
  3. 对于 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}" />
  4. 对于 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" />

在您的 Insights 计算机上

在修复模式下运行 Insights 安装程序
要在 Insights 机器上更新 SQL 凭据,必须修改安装。可采用的方法为,在视窗的“Apps 和功能”页面为 UiPath Insights 安装程序选择“修改”,或通过管理员 cmd 以 UiPathInsightsInstaller.exe /modify 方式运行安装程序 exe。


您需要提供 Insights 门户地址以及 Insights 管理员电子邮件和密码才能继续。



在标题为“更新 Orchestrator 数据库配置”的页面上,可以添加新的数据库凭据。要保存更改,请单击“下一步”,然后在最后一个页面上单击“更改”。

Insights 数据库凭据

在 Orchestrator 计算机上:
  1. 打开 UiPath.Orchestrator.dll.config 文件。
  2. connectionStrings 部分中,修改 name="Insights" 键的 connectionString 参数,如下所示:
  3. 对于 SQL 身份验证:connectionString="Data Source={YOUR_INSIGHTS_DB_HOST};Initial Catalog={YOUR_INSIGHTS_DB_NAME};User ID={YOUR_INSIGHTS_DB_SQL_USER};Password={YOUR_INSIGHTS_DB_SQL_PASSWORD}" />
  4. 对于 Windows 身份验证:connectionString="Data Source={YOUR_INSIGHTS_DB_HOST};Initial Catalog={YOUR_INSIGHTS_DB_NAME};Integrated Security=true" />

SQL 身份验证的示例:

<add name="Insights" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathInsights;User ID=docs-uipath;Password=SecretP@ssword" /><add name="Insights" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathInsights;User ID=docs-uipath;Password=SecretP@ssword" />

Windows 身份验证示例:

<add name="Insights" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathInsights;Integrated Security=true" /><add name="Insights" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathInsights;Integrated Security=true" />
在 Insights 计算机上:
在修复模式下运行 Insights 安装程序
要在 Insights 机器上更新 SQL 凭据,必须修改安装。可采用的方法为,在视窗的“Apps 和功能”页面为 UiPath Insights 安装程序选择“修改”,或通过管理员 cmd 以 UiPathInsightsInstaller.exe /modify 方式运行安装程序 exe。


您需要提供 Insights 门户地址以及 Insights 管理员电子邮件和密码才能继续。



在标题为"更新 Insights 数据库配置"页面上可以添加新的数据库凭据。若要保存更改,请单击"下一步",然后在最后一页上单击"更改"。

更新 Insights 证书

注意: 在更新 Insights 证书之前,请确保根据您公司的相关策略内联信任此新证书。

如果您使用的是过期或不正确的证书,并且需要对其进行更改,则应注意,Insights 实施了专门针对此问题的自有机制。

要更改证书,请在 Insights Server 上执行以下步骤:

  1. 确保满足以下要求:
    • 新证书必须支持原始 Insights 主机名。
    • .pfx 文件应可用于证书。
    • 新式浏览器要求证书具有映射到证书使用者名称的 SAN 属性。
  2. 在网络管理员的帮助下生成 .pfx 文件。我们不建议您使用自签名证书,但是如果您仍然决定这样做,请参阅创建自签名 SAN SSL 证书
  3. 将新生成的 .pfx 文件导入到个人存储位置中。如果证书通过 MMC 生成,则该证书应该已经存在。
    • 请遵循“将 SAN 自签名证书导入其他计算机”部分提供的指示。
    • 在上一步中,不要将证书导入到“受信任的根”,而是将其导入到“个人”节点。
    • 此外,您需要输入 .pfx 的密码才能导入证书。
  4. 右键单击证书,选择“打开”,转到“详细信息”部分,然后选择“复制到文件”。
    • 当被问及是否应导出私钥时,请选择“否”。
    • 当被问及文件类型时,选择“Base-64 encoded X.509 (.CER)”。
  5. 如果 .pfx 文件通过 MMC 生成,请重做上一步,但导出私钥。格式将预先完成设置。
  6. 生成 .cer 文件和 .pfx 文件后,转到 http://localhost:3030
  7. 在网页的“更新证书”部分中,选择“浏览”。
  8. 选择 .pfx 文件并输入密码。完成后,点击“上传”。
  9. 上传完成后,您需要添加 SSL 证书。首先打开您之前在记事本中创建的 .cer 文件。
  10. 精确复制内容,将其粘贴到“SSL 证书”部分,然后选择“保存”。
  11. 双击 .cer 文件并将其导入“受信任的根”。Insights 要求将公共证书放置于受信任的根中。
  12. 访问 https://InsightsURL。如果它开始加载,则说明您已完成全部操作。

使用 Firefox

使用自签名证书时,最初无法通过 Firefox 浏览器访问 Insights。 这是一个已知问题,因为 Firefox 会阻止 HTTPS 站点使用自签名证书,除非用户明确允许。

为避免此问题,在首次访问 Insights 之前,无需登录 Orchestrator 帐户,请执行以下步骤:

  1. 使用 https://<Your_Insights_Host>/app/account格式将浏览器直接导航到 Insights 门户。 例如https://insights-test:8081/app/account
  2. 当 Firefox 提示时,显式选择继续访问该站点。
  3. 然后,您将被重定向到 Orchestrator 登录页面。 使用 Orchestrator 凭据登录,您现在可以访问 Insights 页面和门户。

将 Edge 和 Internet Explorer 与自签名证书结合使用

如果您计划使用非 Chromium Edge(版本 79 以下)或 IE 浏览器访问 Insights,则须先:

  1. 从 Insights 服务器导出自签名证书的副本。
  2. 将证书复制到使用 Edge 或 IE 的计算机。
  3. 将证书安装到受信任的根证书颁发机构中。

配置 Insights 不区分大小写

如果您没有对工作流中的所有自定义变量使用唯一的不区分大小写的名称(即successfulTransaction 和 SuccessfulTransaction),则 Insights 连接器将发生故障。Insights 无法区分名称相同的两个变量,即使大写字母不同也是如此。您可以通过将 Insights 连接器设置为“区分大小写”来解决此问题。为此:

  1. 从 Insights 计算机导航到 C:\Program Files\Sisense\DataConnectors\JVMContainer\Connectors\UiFrost\uipath_insights.properties
  2. 找到名为 insights.case.sensitive 的属性,并将其设置为 false
  3. 重新启动 Sisense.JVMConnectorsContainer 服务。
    注意:设置 Insights 不区分大小写将导致重复列合并为单列。

此页面是否有帮助?

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