Orchestrator
2022.10
False
Image de fond de la bannière
Guide d'installation d'Orchestrator
Dernière mise à jour 19 avr. 2024

Changement de l'URL d'Orchestrator/du serveur d'identité

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.

Si l’installation à nœud unique est configurée pour être utilisée par un équilibreur de charge, il n’est pas nécessaire de modifier l’URL publique lors de la mise à niveau vers une installation multi-nœuds.

Afin d'assurer le fonctionnement optimal d'Orchestrator, plusieurs étapes doivent être suivies lors de la modification de l'adresse publique d'Orchestrator ou du serveur d'identité. Cette page les décrit.

Updating the database

For updating the Orchestrator / Identity Server URL, follow the below SQL query, where you first declare variables for the current server name and the new server name, and then update the statement using 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'

Updating the Orchestrator and Identity Server configuration file

  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]/.
Remarque :
  • 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.

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Logo Uipath blanc
Confiance et sécurité
© 2005-2024 UiPath. All rights reserved.