- Overview
- Requirements
- Installation
- Q&A: Deployment templates
- Configuring the machines
- Configuring the external objectstore
- Configuring an external Docker registry
- Configuring the load balancer
- Configuring the DNS
- Configuring Microsoft SQL Server
- Configuring the certificates
- Online multi-node HA-ready production installation
- Offline multi-node HA-ready production installation
- Disaster recovery - Installing the secondary cluster
- Downloading the installation packages
- install-uipath.sh parameters
- Enabling Redis High Availability Add-On for the cluster
- Document Understanding configuration file
- Adding a dedicated agent node with GPU support
- Adding a dedicated agent Node for Task Mining
- Connecting Task Mining application
- Adding a Dedicated Agent Node for Automation Suite Robots
- Post-installation
- Cluster administration
- Monitoring and alerting
- Migration and upgrade
- Migration options
- Step 1: Moving the Identity organization data from standalone to Automation Suite
- Step 2: Restoring the standalone product database
- Step 3: Backing up the platform database in Automation Suite
- Step 4: Merging organizations in Automation Suite
- Step 5: Updating the migrated product connection strings
- Step 6: Migrating standalone Insights
- Step 7: Deleting the default tenant
- B) Single tenant migration
- Product-specific configuration
- Best practices and maintenance
- Troubleshooting
- How to troubleshoot services during installation
- How to uninstall the cluster
- How to clean up offline artifacts to improve disk space
- How to clear Redis data
- How to enable Istio logging
- How to manually clean up logs
- How to clean up old logs stored in the sf-logs bucket
- How to disable streaming logs for AI Center
- How to debug failed Automation Suite installations
- How to delete images from the old installer after upgrade
- How to automatically clean up Longhorn snapshots
- How to disable TX checksum offloading
- How to manually set the ArgoCD log level to Info
- How to generate the encoded pull_secret_value for external registries
- How to address weak ciphers in TLS 1.2
- Unable to run an offline installation on RHEL 8.4 OS
- Error in downloading the bundle
- Offline installation fails because of missing binary
- Certificate issue in offline installation
- First installation fails during Longhorn setup
- SQL connection string validation error
- Prerequisite check for selinux iscsid module fails
- Azure disk not marked as SSD
- Failure after certificate update
- Antivirus causes installation issues
- Automation Suite not working after OS upgrade
- Automation Suite requires backlog_wait_time to be set to 0
- GPU node affected by resource unavailability
- Volume unable to mount due to not being ready for workloads
- Support bundle log collection failure
- Failure to upload or download data in objectstore
- PVC resize does not heal Ceph
- Failure to resize PVC
- Failure to resize objectstore PVC
- Rook Ceph or Looker pod stuck in Init state
- StatefulSet volume attachment error
- Failure to create persistent volumes
- Storage reclamation patch
- Backup failed due to TooManySnapshots error
- All Longhorn replicas are faulted
- Setting a timeout interval for the management portals
- Update the underlying directory connections
- Authentication not working after migration
- Kinit: Cannot find KDC for realm <AD Domain> while getting initial credentials
- Kinit: Keytab contains no suitable keys for *** while getting initial credentials
- GSSAPI operation failed due to invalid status code
- Alarm received for failed Kerberos-tgt-update job
- SSPI provider: Server not found in Kerberos database
- Login failed for AD user due to disabled account
- ArgoCD login failed
- Failure to get the sandbox image
- Pods not showing in ArgoCD UI
- Redis probe failure
- RKE2 server fails to start
- Secret not found in UiPath namespace
- ArgoCD goes into progressing state after first installation
- Issues accessing the ArgoCD read-only account
- MongoDB pods in CrashLoopBackOff or pending PVC provisioning after deletion
- Unhealthy services after cluster restore or rollback
- Pods stuck in Init:0/X
- Prometheus in CrashloopBackoff state with out-of-memory (OOM) error
- Missing Ceph-rook metrics from monitoring dashboards
- Pods cannot communicate with FQDN in a proxy environment
- Running High Availability with Process Mining
- Process Mining ingestion failed when logged in using Kerberos
- Unable to connect to AutomationSuite_ProcessMining_Warehouse database using a pyodbc format connection string
- Airflow installation fails with sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string ''
- How to add an IP table rule to use SQL Server port 1433
- Using the Automation Suite Diagnostics Tool
- Using the Automation Suite support bundle
- Exploring Logs
Automation Suite on Linux Installation Guide
Step 4: Merging organizations in Automation Suite
When running the UiPath.OrganizationMigrationApp tool, you must provide the following details:
-
The list of organization IDs for the standalone product
-
The list of organization IDs for Automation Suite
For more details, see Migration tool parameters.
Make sure to use the same organization IDs as the ones identified in Step 1: Moving the Identity organization data from standalone to Automation Suite.
\
before special characters.
To merge organizations in Automation Suite, run the following command:
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s '<list of tenant IDs of the standalone product separated by comma, e.g. tenantID1,tenantID2>' -d '<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s '<list of tenant IDs of the standalone product separated by comma, e.g. tenantID1,tenantID2>' -d '<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>'
-
Make sure to add
TrustServerCertificate=True
for both the source and destination SQL connections in the input. -
If you have multiple organization pairs to merge, make sure the organization ID sequence for the standalone product and the organization ID sequence for Automation Suite match.
- If you migrate one standalone tenant to one Automation Suite organization for all tenants, you can run the command once for
all migrations. However, if you migrate multiple standalone tenants to one Automation Suite organization, you must run the
command separately for each tenant, as you may need to resolve user conflicts between the tenants. The following sample shows
how to run the command separately for each tenant:
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant1' -d 'orgId1' ./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant2' -d 'orgId1' ./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant3' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant1' -d 'orgId1' ./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant2' -d 'orgId1' ./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant3' -d 'orgId1'
For instructions on how to address user conflicts when migrating multiple standalone tenants to a single Automation Suite organization, see Solving user conflicts.
To merge organizations in Automation Suite, run the following command:
./UiPath.OrganizationMigrationApp merge -i "<identity database connection of Automation Suite>" -o "<restored orchestrator DB in Automation Suite connection string>" -s "<list of tenant IDs of the standalone product separated by comma, e.g. tenantID1,tenantID2>" -d "<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>"
./UiPath.OrganizationMigrationApp merge -i "<identity database connection of Automation Suite>" -o "<restored orchestrator DB in Automation Suite connection string>" -s "<list of tenant IDs of the standalone product separated by comma, e.g. tenantID1,tenantID2>" -d "<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>"
-
Make sure to add
TrustServerCertificate=True
for both source and destination SQL connection strings in the input. - If you migrate one standalone tenant to one Automation Suite organization for all tenants, you can run the command once for
all migrations. However, if you migrate multiple standalone tenants to one Automation Suite organization, you must run the
command separately for each tenant, as you may need to resolve user conflicts between the tenants. The following sample shows
how to run the command separately for each tenant:
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant1' -d 'orgId1' ./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant2' -d 'orgId1' ./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant3' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant1' -d 'orgId1' ./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant2' -d 'orgId1' ./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant3' -d 'orgId1'
For instructions on how to address user conflicts when migrating multiple standalone product tenants to a single Automation Suite organization, see Solving user conflicts.
Only users that are originally from standalone Orchestrator have access to Orchestrator after migrating to Automation Suite.
The following table provides insight into multiple migration scenarios and how they impact users:
Condition |
Does the source user have an email address? |
Does the target user have an email address? |
Is the source user email the same as the one of the target user? |
Is the source username the same as the target username? |
Result |
---|---|---|---|---|---|
1 |
|
|
|
|
The source user is moved to the target organization; the target organization user has access to standalone Orchestrator. |
2 |
|
|
|
|
The source user is moved to the target organization; the target organization user has access to standalone Orchestrator. After the merge, two users have the same username, and they must use the email address to login. |
3 |
|
|
|
or |
The source user is merged with the target user; the target user has access to standalone Orchestrator. |
4 |
|
|
N/A |
|
The source user is moved to the target organization; the target organization user has access to standalone Orchestrator. |
5 |
|
|
N/A |
|
The source user is merged with the target user; the target user has access to standalone Orchestrator. |
6 |
|
|
N/A |
|
The source user is moved to the target organization; the target organization user has access to standalone Orchestrator. |
7 |
|
|
N/A |
|
You must manually configure the email address for the target user or remove the target user. If you configure the email address, the source user is merged with the target user, and the target user has access to standalone Orchestrator. If you remove the target user, the source user is moved to the target organization, and the target organization user has access to standalone Orchestrator. |
8 |
|
|
N/A |
|
The source user is moved to the target organization, and the target organization user has access to standalone Orchestrator. |
9 |
|
|
N/A |
|
You must configure the email address to be empty for the target user or remove the target user. If you configure the email address as empty, the source user is merged with the target user, and the target user has access to standalone Orchestrator. If you remove the target user, the source user is moved to the target organization, and the target organization user has access to standalone Orchestrator. |
If the source and target robot usernames are the same, the source robot user is appended the user ID and is move to the target organization.
Source robot username |
Target robot username |
Moved source robot username |
---|---|---|
sameRobot |
sameRobot |
|
If the source and target robot group names are the same, the source robot user is appended a string and is moved to the target organization.
Source group name |
Target group name |
Moved source group username |
---|---|---|
sameGroup |
sameGroup |
|
[03:18:08 WRN] We found users in the target organization have the same email as those from the source organization. If you continue, we will keep the users in the target organization, but none of the application data for the source organization users will be moved.
The format is orgId -> list of emails.
[03:18:08 WRN] 3d8d01e6-3300-4988-87db-071bd8c8e786 -> user22@test.com,user2@test.com,user4@test.com,user3@test.com
[03:18:08 WRN] We found users without emails in the target organization have the same username with the users without emails from the source organization.If you continue, we will keep the users in the target organization, but none of the application data for the source organization users will be moved.
The format is orgId -> list of usernames.
[03:18:08 WRN] 3d8d01e6-3300-4988-87db-071bd8c8e786 -> user1
[03:18:08 INF] Do you want to continue? Type (y/n)
[03:18:08 WRN] We found users in the target organization have the same email as those from the source organization. If you continue, we will keep the users in the target organization, but none of the application data for the source organization users will be moved.
The format is orgId -> list of emails.
[03:18:08 WRN] 3d8d01e6-3300-4988-87db-071bd8c8e786 -> user22@test.com,user2@test.com,user4@test.com,user3@test.com
[03:18:08 WRN] We found users without emails in the target organization have the same username with the users without emails from the source organization.If you continue, we will keep the users in the target organization, but none of the application data for the source organization users will be moved.
The format is orgId -> list of usernames.
[03:18:08 WRN] 3d8d01e6-3300-4988-87db-071bd8c8e786 -> user1
[03:18:08 INF] Do you want to continue? Type (y/n)
-
Type
n
to end the merging process, then delete the users with conflicts in the Automation Suite organization and run the merging command again. By choosing this option, you lose the deleted user information. -
Type
y
to continue the merging process. By choosing this option, you replace all source user IDs with target user IDs. If a product running in Automation Suite, such as Insights, has a reference to a user ID, you lose the data for any merged user from the standalone environment. For instance, let us assume two users:- one user with the username
user1
and email addressuser1@test.com
, fromtenant1
in a standalone environment. - another use with the same username and email address, from
tenant2
in a standalone environment.
If you first mergetenant1
to an organization in Automation Suite, no conflict occurs. However, if you then mergetenant2
to the same Automation Suite organization, a conflict occurs, as two users have the same email address,user1@test.com
. If you typey
to continue the merging process, you lose the user data to which the product has a reference for the user fromtenant2
. - one user with the username
If the organization merge failed, check the logs. Depending on whether the Identity or the Orchestrator migration failed, take the following steps:
If the Identity migration failed, you can just fix the error and execute the organization merge command again. This would rollback all the changes since we have set a transaction for operations for Identity.
If the Orchestrator migration failed, the Orchestrator database would roll back, but the Identity database would not rollback. As a result, you must restore the backup of the Identity database and replace the connection string to use the new database. After fixing the error, run organization merge command again.
If the Orchestrator migration failed, take the following steps:
-
Restore the backup of the Identity database.
-
Right-click the database directory and select Import Data-tier Application.
-
Select the backup database file.
-
Input the backup database name.
-
Wait for the process to complete.
-
-
Replace the identity connection string.
`"platform": { "sql_connection_str": "<dotnet connection string>", (added line) "enabled": true, },`
`"platform": { "sql_connection_str": "<dotnet connection string>", (added line) "enabled": true, },` -
Fix the error and use the new platform connection string to run the merge command again.