Migrate an existing environment to Cloud Private (Lift & shift)
This page contains third-party references. We strive to keep our content up to date, but information about external vendors may change independently of Omada. If you spot any inconsistencies, report them through the support channel.
You can migrate your existing Omada Identity environment, with its data, to Omada Identity Cloud Private. Instead of starting from empty product databases, the installer creates each database from a backup of your existing environment. To migrate, run the installer in Installation Script mode with its lift & shift option, --lift-and-shift.
The installer also migrates your databases to Horizons during the installation.
When to use this
When to use this migration:
- Moving your existing Omada Identity environment, with its data, into Cloud Private.
When not to use this migration:
- You have no existing Omada Identity environment. Run a standard installation in Installation Script mode.
- Upgrading an existing Cloud Private environment. See the Upgrade guide.
- Loading data into a Cloud Private workspace that already has databases. The migration only works on a workspace with no databases yet.
Before you start
We recommend that you plan the migration with Omada or your implementation partner. Some parts of your existing environment must be migrated by hand before you take the backups.
In addition to the standard Prerequisites for Cloud Private, the migration requires the following:
-
Omada Identity in your existing environment.
noteWe recommend that you update Omada Identity to the latest version before the migration process.
-
A new workspace: a
workspace_prefixthat has not been installed yet. The installer creates the workspace and creates each database from your backup.noteThe installer cannot restore a backup into a database that already exists. If an earlier installation without
--lift-and-shiftalready created databases for thisworkspace_prefix, it stops. If a migration run stops partway, see Database cannot be created from its backup to resume it. -
One
.bacpacexport for each of the eight databases listed in the table below.noteA
.bacpacis a SQL Server export file with the database's schema and data.Database Contents oisEnterprise Server oisaEnterprise Server archive odwOmada Data Warehouse (ODW) odwmODW Master odwsODW Staging opsOmada Provisioning Service (OPS) ropeRole and Policy Engine (RoPE) ossddbSource System Data -
Backup files named after their databases:
<database>.bacpac(for example,odw.bacpac). The installer uses the file names to match each file to its database.noteIf a name doesn't match, the installer asks you what to do. In a
--non-interactiverun, it can't ask, so it stops at startup instead.
Run the installation
Run the installation as described on the Installation Script mode page, paying special attention to the Migrating an existing environment notes on that page.
When the installation finishes, come back to this page and continue with After the installation.
After the installation
During the installation, the installer migrates your databases to Horizons. Until you release the review gate, nothing is provisioned, and no import runs.
Once every database exists, later runs and upgrades do not need --lift-and-shift.
If your databases already use Horizons, the installer does not change them, and there is no review gate.
What the migration changed
The migration makes two changes. They are not part of the review gate, so they stay in place after the gate is released:
- Every system except Omada Identity is disabled. Provisioning is turned off, and so are the system's import queries. Each system stays disabled until it is reconnected through the Cloud Application Gateway (CAG) and re-enabled. This is why releasing the gate does not reach your systems right away.
- Two RoPE settings are set to
1.SkipOrphanPermissionsandRoPESkipImplAssnsForTechIdentare set to1, whatever value your environment had before.
Bring the environment online
After the installation, the environment is held behind a review gate. Until the gate is released, the environment does not provision and does not run imports. This gives you time to review the migrated configuration before anything reaches your target systems.
We recommend that you review the migrated configuration and release the gate together with Omada or your implementation partner.
What the gate holds
- RoPE is paused, so role and policy processing does not run.
- Target systems are in preview mode, so provisioning results are calculated but not applied.
- Import timers are disabled, so no imports run on their schedule.
The gate also disables the Import Check Timer, but it is turned on again automatically when the Enterprise Server starts. Do not turn it on by hand.
Before you release the gate
Review these items:
- Export mappings: make sure no export mapping of the Omada Identity system contains an
AUTOCONVERSION NOT SUPPORTEDmarker. The installer lists the marked parts as a warning in its output. Fix them before the gate is released. - Event definitions: make sure the event definitions that do not run in the current version, such as the customer identity and access management ones, are fixed or removed.
- Import schedule: decide which imports you want running after the release. Only turn on the imports you need.
- Systems: decide which systems to reconnect first.
Release the gate
Run the imports before you resume RoPE. RoPE compares what each identity should have with the accounts it knows from the imports. Right after the migration, no imports have run yet, so RoPE has no accounts to compare against. If RoPE is resumed before the imports, it orders every account to be recreated in every system, including duplicate users in Omada Identity.
-
Run the imports. Re-enable the import timers you decided on. Let Omada Identity finish one full import. If you reconnect more systems later, let each one finish an import too.
-
Resume RoPE. First, check that RoPE knows the accounts from the imports. Then resume RoPE.
-
Review the jobs that RoPE created. All systems are still in preview mode, so no job has been applied yet. Archive the jobs that must not run.
noteIf the technical identity Tech Ident Omada Identity has direct assignments to admin groups, expect
Create new account 'ADMINISTRATOR'andCreate new account 'ADMIN'jobs in the Omada Identity system. Archive them. If they run, they fail with "user name already assigned" and are retried. -
Turn off preview mode. Turn it off for each OPS target system and in each system's provisioning configuration. Then push the OPS configuration.
-
Reconnect each system. For each system, in Omada Identity:
- Enter the connection credentials again in Connection Details. See Imports fail after a system is reconnected.
- Assign the system to its CAG instance group.
- Turn its import query mappings back on.
- Let one import of the system finish.
- Clear Disable provisioning.
- Push the OPS configuration.
Verify the release
After the release, check that:
- RoPE is running.
- No OPS target system is in preview mode, and preview mode is turned off in every system's provisioning configuration.
- The re-enabled imports run on their schedule and finish.
- Every reconnected system is enabled. Only the systems that are not reconnected yet are still disabled.
- A provisioning change for a test user is applied to the target system.
Clean up the backups
After the databases are created, the uploaded backups are no longer used. They contain your full identity data, including personal data. Delete them from the dbbacpacs/lift-and-shift/<workspace_prefix>/ folder in the artifact storage account, and delete the local copies in the folder set in backups_path.
Troubleshooting
This section addresses common issues you might encounter during and after the migration.
Database cannot be created from its backup
If the installer cannot create a database from its backup (for example, because the export is damaged), the run stops in the terraform_iac phase. Get a corrected .bacpac, replace that one file, and resume.
Tool: Bash shell
./lift-and-shift-db-backups.sh --config ./deployment-config.json --replace odw --file /data/ODW_fixed.bacpac
./install.sh --config ./deployment-config.json --resume --lift-and-shift
Always resume an interrupted migration with --resume --lift-and-shift. Without the flag, the installer would create the missing databases from the product's own backups, next to the ones that hold your data, so it stops instead.
Imports fail after a system is reconnected
The migrated connection credentials are encrypted with the keys of your on-prem environment, so the new CAG cannot read them. Until you enter them again in Connection Details, imports fail with Padding is invalid and cannot be removed.
For SQL Server systems that use Provider=MSOLEDBSQL19, the connection is encrypted by default, and the server certificate is validated. If the SQL Server has a self-signed certificate, add Trust Server Certificate=true to the connection string.
Pay attention to formatting, for example:
TrustServerCertificate=yesis ignored in this connection string style.Trust Server Certificate=yesis rejected as malformed.
The OLE DB provider named in the connection string (for example, MSOLEDBSQL19 – Microsoft OLE DB Driver 19 for SQL Server) must be installed on the CAG host.
Contact Support
If something is still on hold after the release, contact Omada Support with the environment name and the step where you stopped. Running the installer again does not release the gate.