- 入门指南
- 要求
- 最佳实践
- 安装
- 正在更新
- 迁移 Elasticsearch 索引
- 更改 Orchestrator/身份服务器 URL
- 使用 Windows 安装程序更新
- 使用 Azure 脚本进行更新
- 身份服务器
- 对启动错误进行故障排除
更改 Orchestrator/身份服务器 URL
If you decide to manually upgrade your Orchestrator / Identity Server instances from single node to multi-node, you may need to change the Orchestrator / Identity Server URL. The case where you should change the Orchestrator / Identity Server URL is when the load balancer URL is used in a multi-node installation, as it is independent from any node name.
如果单节点安装配置为由负载均衡器使用,则升级到多节点安装不需要更改公共 URL。
更改 Orchestrator 或身份服务器公共地址时需要几个步骤,以便保持 Orchestrator 的完整功能。本页介绍这些步骤。
REPLACE
function.
-- 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'
-
Update the
OrchestratorUrl
parameter within Identity Server's appsettings.Production.json file with the new public address of Orchestrator. -
Update the
ExternalAuth.System.OpenIdConnect.RedirectUri
parameter within Orchestrator's UiPath.Orchestrator.dll.config (formerlyweb.config
) with the new valuehttps://[NewOrchestratorAddress]/signinsystemopenidconnect
. -
Update the
ExternalAuth.System.OpenIdConnect.PostLogoutRedirectUri
parameters within Orchestrator's UiPath.Orchestrator.dll.config (formerlyweb.config
) with the new valuehttps://[NewOrchestratorAddress]/
.
-
Replace
[OldOrchestratorAddress]
and[NewOrchestratorAddress]
with your actual Orchestrator URL addresses. -
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.