- Erste Schritte
- Anforderungen
- Best Practices
- Installation
- Wird aktualisiert
- Identity Server
- Fehlerbehebung bei Startfehlern
Ändern der Orchestrator/Identity Server-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.
Wenn die Installation mit einem einzelnen Knoten so konfiguriert ist, dass sie von einem Lastausgleich verwendet wird, muss die öffentliche URL beim Upgrade auf eine Installation mit mehreren Knoten nicht geändert werden.
Beim Ändern der öffentlichen Adresse von Orchestrator oder Identity Server sind mehrere Schritte erforderlich, um Orchestrator voll funktionsfähig zu halten. Auf dieser Seite werden diese Schritte beschrieben.
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.