Migrate Connection Objects

This Quick Start Guide gives you the basic steps you need to know to begin migrating objects between connections. Migrations provide the following benefits:

 

Synchronize changes between environments by copying, replacing, merging, or deleting objects.

Migrate multiple objects at one time, or individually.

Migrate from a TM1 server connection or from a Snapshot.

Build migration packages for deployments or disconnected environments.

Preview migrations before processing and save results as an HTML report.

 

Caution_200

Migrations can currently only be used for making structural changes on a server. Be aware that structural changes such as deletions and replacements can cause data loss. For example, replacing a cube will cause any data values in that cube to be cleared.

 

Caution_200

Prior to performing migrations, ensure that your TM1 servers have been backed up. Changes to TM1 cannot be reversed through TM1Compare.

Basic Migration Steps

Standard migrations are performed through multiple steps:

hmtoggle_arrow1        Migrating Selected Objects

The first step in performing a standard migration is deciding which objects to migrate. Similar to comparing connection objects or creating snapshots, migrations can be performed on "All" objects, "Checked" or "Highlighted" objects, or "By Object Type". To perform "Checked" or "Highlighted" object migrations, ensure that the object is checked or highlighted in the main window. The screen-shot below displays the "mover" process is checked and highlighted, allowing either option.

clip0055

The next step in a standard migration is to set the Migrate Action. In the "Migrate Action" column displayed in the screen-shot above, the "Copy" action has been selected, and a descriptive tool-tip displays when hovering the mouse pointer over the selection. In this example, a "QA" server connection has been selected as the Source, and a "production" server has been selected as the Destination.

Note_200

Depending on the connection type, object type, and whether the object exists on one or both connections, the available selections in the "Migrate Action" column will update appropriately.

 

Tips_200

Notice that when a Migrate Action on an object is changed, its parent object also changes. In the case displayed in the screen-shot above, because only one process has a Migrate Action, the parent object (Processes) has been changed to "Varies". To give all processes will have the same action, select the action from the parent object instead. To reset all child objects to "Ignore", select "Ignore" on the parent object.

 

The types of migrate actions that can be performed are as follows:

Copy:

Similar to a file-copy in Windows, if the object already exists in the destination, objects that already exist on the destination will be replaced with the source object, while objects that don't exist on the destination are created new as copies of the source object.

To prevent data loss, care should be taken when replacing existing objects. Copying cubes and dimension members can result in data loss on the destination connection. Cubes with different dimensionality will clear their data when copied. Using "Copy" instead of "Merge" for dimension members will rebuild dimensions ignoring any members not existing on the Source. To copy over only new members to a dimension, use the "Merge" action.

This action is available for all objects that exist on the Source connection.

 

Merge:

Brings over new members/attributes from Source without affecting existing members/attributes in Destination.

This action is only available for Dimensions, Dimension, Attributes and Members.

 

Delete:

Deletes an object from the Destination connection.

If TM1 prevents deletion of the object, an error message will return and be displayed by TM1Compare.

When deleting a top-level object such as a Cube, Dimension, or Application Folder, all child objects within are also deleted.

Dimension members cannot be deleted without deleting the entire dimension.

 

Sync:

This action is available only for group-level objects (i.e. Cubes, Cube, Dimensions, Dimension, Views, Subsets, Applications, Chores, and Processes).

This action will copy everything from Source to Destination and delete objects from the Destination connection that don't exist on the Source connection.

As with the "Copy" action, data loss can result when syncing cubes or dimension members.

 

Ignore:

This default action will ignore the object in migrations.

Actions performed on parent objects may have an affect on child objects, even if the "Ignore" action is chosen. For example, copying or deleting a dimension by design will result in changes to its members.

Once the decision has been made which objects will be migrated and migrate actions have been selected, click the "Migrate" [clip0036] button. The "Migrate Options" dialog box will then appear.

clip0051

Similar to creating a snapshot, the Migrate Options dialog allows you to migrate "All", "Highlighted", "Checked" objects, or "By Object Type". It also gives you the options of including TM1 Control Objects, Application File Content, or Attribute Values. In contrast to creating a snapshot, however, the Destination Connection cannot be changed. This ensures that the Migrate Action selected in the main window will only be performed on the Destination Connection.

At this point in the migration process, you may opt to save the output to a Migration Package instead of performing it directly to the Destination Connection. Migration Packages are described in detail later in this QuickStart.

Prior to performing the migration, you may also choose to preview it. To proceed directly to the migration process instead, click the "Migrate" button.

To cancel the migration process, click the "Cancel" button.

Caution_200

Canceling a migration does not change the object or Migrate Action selections in the main window. These selections must be changed manually if you decide you no longer want to migrate the selected objects.

 

Caution_200

During a migration, a progress window will be displayed, from which it is possible to cancel migration actions that have not yet been performed. This does not, however, have an affect on actions which have already been processed. Once a migrate action has been processed, it cannot be reversed through TM1Compare. It is important to ensure that your TM1 server has been properly backed up prior to migrating.

hmtoggle_arrow1        Previewing the Migration

During a standard migration process, a preview report can be generated and saved. The screen-shot below displays a sample report for migrating a single process:

clip0052

To save this report as an HTML file, click the "Save Report" button.

To proceed with the migration as displayed in the preview report, click the "Migrate" button.

To close the preview report and return to the "Migrate Options" dialog, click the "Close" button.

hmtoggle_arrow1        Viewing Migration Results

Upon completion of a standard migration, either a success message or an error report will be displayed. Additionally, an icon will be displayed in the "Migrate Results" column of the main window.

Tips_200

Notice that Comparison Results are cleared prior to an object being migrated and the comparison is not automatically regenerated. To quickly re-compare a migrated object, right-click the object and choose "Compare" from the context menu.

clip0039

To review the details of the migration result, double-click the icon in the "Migrate Results" column. This will display a report window with detailed information. The screen-shot below shows the details for the "mover" process migration.

clip0040

If a migration has been performed successfully, no error report will be displayed. Instead, the Migrate Result column will display a check-mark [clip0042] icon. The screen-shot below displays a successful migrations of a "Default" view from a "production" TM1 server connection to a "QA" TM1 server connection.

clip0041

Tips_200

Notice in this example that a view was created as new object on the Destination Connection. The full circle  [clip0011] icon was added to the "QA" column and its parent object statuses were updated appropriately. As with the "mover" process migration, Comparison Results were cleared prior to the view being migrated and the comparison was not automatically regenerated. To quickly re-compare the view, right-click the object and choose "Compare" from the context menu.

hmtoggle_arrow1        Migrating from a Migration Package

New to this release of TM1Compare is the option of creating a Migration Package, which is a combination of a snapshot file and the selected migration actions. Migration Packages can be created and used as an alternative to performing a standard migration directly to the Destination Connection, and they can be especially useful in disconnected environments or for managing deployments.

As with snapshots, when a Migration Package is initially created, it is automatically added to the available Source and Destination connections. To select a different Migration Package file, click the "Load Migration Package" option from the "Migrate" button's drop-down menu, and the Migration Package will be available as a Source or Destination connection.

At this point, the rest of the migration process is identical to the above steps.

In addition to "standard" migrations and Migration Packages, TM1Compare also gives you the ability to migrate through alternate options and shortcuts:

hmtoggle_arrow1        Alternate Migration Options and Shortcuts

Alternate migration options and shortcuts can be accessed by right-clicking an object in the main window. The screen-shot below shows the results of right-clicking a "mover" process object.

clip0053

Under the "Object Selection" header, shortcuts will be displayed depending on the object type. For single objects such as the "mover" process, only one option is loaded.

The next section of the context menu gives shortcuts for migrating the "mover" process from the "development" connection to the "QA" connection. Below this section are shortcuts for migrating it the opposite direction.

Caution_200

CAUTION:  Alternate migration options are processed without regard to Source and Destination selections. This allows for quick object maintenance between connections without needing to swap their positions in the connection list selections. For these reasons, carefully read the description provided in the context menu to ensure that the action is actually what you want to do.

Other objects may display additional options depending on their type and status on each connection. For example the following screen-shot shows the options available for a cube with inconsistent statuses between connections:

clip0054