Orchestrator
2023.4
False
横幅背景图像
Orchestrator 安装指南
上次更新日期 2024年4月19日

更改 Orchestrator/身份服务器 URL

如果您决定手动将 Orchestrator/Identity Server 实例从单节点升级到多节点,则可能需要更改 Orchestrator/Identity Server URL。在多节点安装中使用负载均衡器 URL 时,应更改 Orchestrator/Identity Server URL,因为它独立于任何节点名称。

如果单节点安装配置为由负载均衡器使用,则升级到多节点安装不需要更改公共 URL。

更改 Orchestrator 或身份服务器公共地址时需要几个步骤,以便保持 Orchestrator 的完整功能。本页介绍这些步骤。

更新数据库

要更新 Orchestrator/Identity Server URL,请按照以下 SQL 查询操作,在其中首先声明当前服务器名称和新服务器名称的变量,然后使用 REPLACE 函数更新语句。
-- Declare variables for the current server name and the new server name DECLARE @CurrentServerName NVARCHAR(255) = 'server1'; -- Input: e.g., 'server1' 
DECLARE @NewServerName NVARCHAR(255) = 'server2'; -- Input: e.g., 'server2'  

-- Update statement using REPLACE function 
UPDATE identity.ClientRedirectUris 
SET RedirectUri = REPLACE(RedirectUri, @CurrentServerName, @NewServerName)
WHERE RedirectUri LIKE '%' + @CurrentServerName + '%'; -- Update only if the row contains 'server1'  

UPDATE identity.ClientPostLogoutRedirectUris SET RedirectUri = REPLACE(RedirectUri, @CurrentServerName, @NewServerName) 
WHERE RedirectUri LIKE '%' + @CurrentServerName + '%'; -- Update only if the row contains 'server1'-- Declare variables for the current server name and the new server name DECLARE @CurrentServerName NVARCHAR(255) = 'server1'; -- Input: e.g., 'server1' 
DECLARE @NewServerName NVARCHAR(255) = 'server2'; -- Input: e.g., 'server2'  

-- Update statement using REPLACE function 
UPDATE identity.ClientRedirectUris 
SET RedirectUri = REPLACE(RedirectUri, @CurrentServerName, @NewServerName)
WHERE RedirectUri LIKE '%' + @CurrentServerName + '%'; -- Update only if the row contains 'server1'  

UPDATE identity.ClientPostLogoutRedirectUris SET RedirectUri = REPLACE(RedirectUri, @CurrentServerName, @NewServerName) 
WHERE RedirectUri LIKE '%' + @CurrentServerName + '%'; -- Update only if the row contains 'server1'

更新 Orchestrator 和 Identity Server 配置文件

  1. 将身份服务器 appsettings.Production.json 文件中的 OrchestratorUrl 参数更新为 Orchestrator 的新公共地址。
  2. 使用新值 https://[NewOrchestratorAddress]/signinsystemopenidconnect 更新 Orchestrator 的 UiPath.Orchestrator.dll.config (先前为 web.config)中的 ExternalAuth.System.OpenIdConnect.RedirectUri 参数。
  3. 使用新值 https://[NewOrchestratorAddress]/ 更新 Orchestrator 的 UiPath.Orchestrator.dll.config (先前为 web.config)中的 ExternalAuth.System.OpenIdConnect.PostLogoutRedirectUri 参数。
备注:
  • [OldOrchestratorAddress][NewOrchestratorAddress] 替换为您的实际 Orchestrator URL 地址。
  • 确保证书设置了适当的权限,以避免出现内部服务器错误。有关更多信息,请参阅证书故障排除

  • 平台配置工具提供了另一种更改 Orchestrator URL 的方法。

  • 更新数据库
  • 更新 Orchestrator 和 Identity Server 配置文件

此页面是否有帮助?

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