- Primeros pasos
- Requisitos
- Mejores prácticas
- Instalación
- Actualizando
- Migrar índices de Elasticsearch
- Cambio de la URL de Orchestrator/Identity Server
- Actualizar el instalador de Windows
- Actualizar el script de Azure
- Servidor de identidad
- Solución de problemas de errores de inicio
Si decide actualizar manualmente sus instancias de Orchestrator/Identity Server de nodo único a multinodo, es posible que deba cambiar la URL de Orchestrator/Identity Server. El caso en el que debe cambiar la URL de Orchestrator/Identity Server es cuando la URL del equilibrador de carga se utiliza en una instalación multinodo, ya que es independiente de cualquier nombre de nodo.
Si la instalación de nodo único está configurada para ser utilizada por un equilibrador de carga, actualizar a una instalación multinodo no requiere cambiar la URL pública.
Para que Orchestrator siga siendo totalmente funcional, es necesario seguir varios pasos al cambiar la dirección pública de Orchestrator o Identity Server. Esta página describe estos pasos.
Actualizar la base de datos
Para actualizar la URL de Orchestrator/Identity Server, siga la siguiente consulta SQL, donde primero declara variables para el nombre del servidor actual y el nuevo nombre del servidor, y luego actualiza la instrucción usando la función 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'
Actualizar el archivo de configuración de Orchestrator e Identity Server
- Update the
OrchestratorUrlparameter within Identity Server's appsettings.Production.json file with the new public address of Orchestrator. - Update the
ExternalAuth.System.OpenIdConnect.RedirectUriparameter within Orchestrator's UiPath.Orchestrator.dll.config (formerlyweb.config) with the new valuehttps://[NewOrchestratorAddress]/signinsystemopenidconnect. - Update the
ExternalAuth.System.OpenIdConnect.PostLogoutRedirectUriparameters within Orchestrator's UiPath.Orchestrator.dll.config (formerlyweb.config) with the new valuehttps://[NewOrchestratorAddress]/.
- Reemplace
[OldOrchestratorAddress]y[NewOrchestratorAddress]con sus direcciones URL de Orchestrator reales. - 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.