UiPath Documentation
orchestrator
2022.4
false
Orchestrator 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

更改 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 [PostLogoutRedirectUri] = REPLACE([PostLogoutRedirectUri], @CurrentServerName, @NewServerName)
WHERE [PostLogoutRedirectUri] 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 [PostLogoutRedirectUri] = REPLACE([PostLogoutRedirectUri], @CurrentServerName, @NewServerName)
WHERE [PostLogoutRedirectUri] LIKE '%' + @CurrentServerName + '%'; -- Update only if the row contains 'server1'

更新 Orchestrator 和 Identity Server 配置文件​

  1. Update the OrchestratorUrl parameter within Identity Server's appsettings.Production.json file with the new public address of Orchestrator.
  2. Update the ExternalAuth.System.OpenIdConnect.RedirectUri parameter within Orchestrator's UiPath.Orchestrator.dll.config (formerly web.config) with the new value https://[NewOrchestratorAddress]/signinsystemopenidconnect.
  3. Update the ExternalAuth.System.OpenIdConnect.PostLogoutRedirectUri parameters within Orchestrator's UiPath.Orchestrator.dll.config (formerly web.config) with the new value https://[NewOrchestratorAddress]/.
备注:
  • 将 [OldOrchestratorAddress] 和 [NewOrchestratorAddress] 替换为您的实际 Orchestrator URL 地址。
  • Make sure the certificates you use have the appropriate permissions set to prevent an internal server error. Refer to Troubleshooting Certificates for more details.
  • The Platform Configuration Tool provides as an alternative way to change the Orchestrator URL.
  • 更新数据库​
  • 更新 Orchestrator 和 Identity Server 配置文件​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新