Skip to content

Prepare the migration#

A migration without surprises is prepared before opening the importer: you need to know which schemas the Empowerment Center 7 installation has, give read access to its database, create the target connections in ECenter 8 and decide how the cutover will be done. This page brings those preparations together.

Before you start#

  • ECenter 8 installed and licensed (see Installation). The license has to allow at least as many enabled users as those to be imported.
  • A user with System administration in ECenter 8.
  • Administrative access to the EC7 database, or someone who has it.
  • It is advisable to do the first test in an isolated environment, with its own ECenter 8 database, so as not to mix the imported metadata with that of other tests.

1. Take inventory of the EC7 installation#

Note down, for the EC7 installation:

Item Where to find it What for
The engine and the address of its database The EC7 Server Admin The importer's JDBC URL
The Security schema The EC7 server configuration Users, roles, privileges and universes
For each EC7 connection: its Metadata and User metadata schemas The connections of the Server Admin The metadata, the lists, the groupings and the workbooks
For each connection: its data schemas The EC7 connections and the tables its metadata uses The target connections
The build of each schema The importer's “Check” (below) Knowing which format its workbooks have
Whether users will sign in with a password or with single sign-on The organization Deciding whether passwords are imported

The importer reads EC7 databases on Oracle and SQL Server.

Tip

An EC7 connection can read tables from several data schemas, and its metadata can cite tables of the common repository. Check which schemas the metadata of each connection really uses: if one is missing in the target connection, its tables will be discarded.

2. Give read access to the EC7 database#

The importer opens its own connection to the EC7 database, outside the ECenter pools, and only reads. Create in the EC7 database a dedicated, read-only user, with query permission on all the tables of the Security, Metadata and User metadata schemas.

  • The ECenter 8 server has to reach the EC7 database port over the network.
  • That user's password travels in the request of each analysis or import and is not stored.
  • A table missing in an old installation (lists, groupings, workbooks…) is read as empty. But if a table exists and cannot be read (a permission is missing, the time runs out), the run fails saying which table: it does not import without it.

Note

In Oracle, a table the user has no permission to query gives the same error as one that does not exist. If in Check a table you know exists appears without rows, review the read user's permissions.

3. Prepare the client database#

ECenter 8 queries the same data tables as EC7. Check that:

  • The fact and auxiliary tables of the EC7 metadata exist in the data schemas. Those that do not will be discarded with a warning.
  • The tables of the EC7 groupings (DATAGILU_nnnn and DATAGI_nnnn) and of the EC7 external data (DATAUSERFT_nnnnn) are in one of the connection's data schemas: the importer reads them through the target connection.
  • The user with which ECenter 8 connects to the client database can read those tables.
  • There is a work schema for ECenter 8 in which it can create its work tables (those of the lists and the groupings). See Connections.

4. Create the target connections#

For each EC7 connection, create a new connection in ECenter 8:

  1. In Administration › Connections, click New connection….
  2. Give it a name and the details of the client database.
  3. In Add data schema, add one by one all the data schemas the EC7 connection used, in their order.
  4. Choose the Work schema.
  5. Save it, open View catalog and click Refresh catalog to read its tables.

The connection has to meet these three things for the importer:

  • Exist and be active. The importer also offers inactive ones (with the mark “(inactiva)”, inactive), but it reads the tables of the EC7 groupings through the target connection and checks each universe in it, so with an inactive one the analysis and the import do not start: the server responds that the target connection is inactive and has to be activated in Connections. Activate it before analyzing.
  • Have a catalog: if not, the report says “la conexión no tiene catálogo: refresque la estructura de la base de datos” (the connection has no catalog: refresh the database structure).
  • Have no metadata: if it has, the report says “la conexión ya tiene metadata: el importador solo trabaja sobre una conexión sin él (cree otra conexión con los mismos esquemas)” (the connection already has metadata: the importer only works on a connection without it; create another connection with the same schemas).

The importer's report is written in Spanish; this chapter quotes its messages as they appear, with their meaning.

To repeat an import on the same database, create another connection with the same schemas (see After importing).

5. Prepare EC7#

A few adjustments in EC7 before migrating avoid warnings:

  • Open and save in EC7 the workbooks and lists with very old segmentations (earlier than build 171): the importer does not read that format.
  • Clean up what is no longer used: test workbooks, duplicate lists, universes of tables that no longer exist, unused privileges. What is not imported does not have to be validated afterwards.
  • Review the universes written for a table with the same name in another connection: the importer only brings them if their condition is valid in this one.
  • Note down the pre and post scripts of the recalculation groups and the scheduled procedures in the Windows registry: they are not migrated and will have to be rebuilt.
  • Note down the portal templates that are used: they are rebuilt with the ECenter 8 designer.
  • If you are going to import the passwords, obtain the EC7 internal key.

6. Decide the cutover plan#

As the two versions do not coexist on the same data, decide:

Decision Options
When EC7 is frozen From the final import onwards, nobody changes the metadata, the security or the workbooks in EC7: what changes afterwards will not reach ECenter 8.
How users sign in With their EC7 password (importing them), with single sign-on or with a new password they are given.
When scheduled tasks are activated They come in deactivated; they are activated when EC7 stops recalculating.
Who validates Key users of each area, who compare the figures of their workbooks in the two versions.
How long validation lasts Days or weeks, with EC7 still available for comparison.

A good practice is to do a full rehearsal in the isolated environment, validate with the key users, correct in EC7 what is needed and repeat the import in the final environment just before the cutover.

See also#