Professional Documents
Culture Documents
Before you begin using this tool, you need to know the key concepts and capabilities
described in related guides.
In this section:
Related Guides
Related Guides
Before using this tool, you need to understand the basic concepts and capabilities of
the 3DEXPERIENCE platform.
Recommendations
Migration Principles
The migration process is broken down into four main phases:
Customer Files Generation Phase
Generates CSV files that can be modified by customers to set target types and
attributes mapping. It is triggered using the –GenFiles or the –GenAllFiles option.
The migration process cannot be performed if this phase is not executed.
1
The –GenFiles option must be run each time new objects to migrated are added to
the database. If the database is not populated with new objects, it is not necessary
to run this option again, even if the database is restored.
Migration Phase
Triggered
Steps Comment
by
Step_
-step 1 Adds object migration extensions to the objects attributes to migrate.
1
Step_ Changes the object type, updates semantic relations (paths) and
-step 2
2 exchange status objects.
Step_
-step 5 Removes migration extensions.
5
Note: All the steps of this second phase can be performed in a single execution
using the -step All option and can be explicitly committed using the –
commit option.
Each second step (step_2) of a migration loop generates a “.ntmpath” file that may
be empty if there is no path to update. You must therefore update the paths
launching the tool using the "-updateImpacted <N>" option, after migrating all data.
Cleaning Phase
Updates exchange status objects, updates and cleans migration information related
to the migrated objects. It is triggered using the –Clean option and can be explicitly
committed using the –commit option.
Tips:
In guide mode, you can limit the number of types to manage. It is useful to
2
test a migration for some types. You can also limit the number of objects
to migrate. It can be useful if you want to test the migration on a reduced
number of objects.
The tool does not migrate all the objects in a single transaction, the
migration is performed in several transactions. The number of objects per
transaction can be controlled using the appropriate option.
When simulating the migration, the transactions are not committed: the
memory consumption increases and the tool can fail. In simulation mode,
it is recommended that you limit the number of objects.
The generated MQL scripts shall not be run manually by the administrator. It
would break the migration. They can be used and archived to keep a trace
of the migration process.
Note: Before beginning the migration, it is highly recommended that you back up the database
and shut down the application server.
Recommendations
This section provides you with recommendations related to the migration itself.
VPLMDataMigration
Always make a backup of your database before launching the Unified Typing Migration
using emxNewTypingMigrationProgram.
3
If possible, monitor the database and, if needed, add SQL indexes when possible.
In CSE cases, the modification of CSV sheets must be performed at this stage. Save the
new updated CSV files at the GenFiles directory location. Never modify CSV files after
the migration steps are started ( step -1-5, step -all).
Note: Data are migrated when migration step #5 has been executed using the -commit option.
Once you are done with the tests, restore the database to perform the full migration.
When the migration is started, including -GenFiles, do not add new data to the database.
Break down the migration into several runs according to the number of objects for each
type using the -Types option.
Run the -Clean option only at the very end of the process. Do not run this option after
each type migration.
If possible, monitor the database in real time and, if needed, add SQL indexes when
possible.
Reactivate the unique keys you may have deactivated before running the migration.
Note: You may not be able to reactivate the unique keys depending on the user's
specifications.
4
About the Unified Typing Migration Tool
Unified Typing is the default typing mode as of R2014x and it is the only mode supported
starting R2018x. If you had previously created data in former typing mode, it is recommended
that you migrate this data to have your data consistent with the typing mode you operate. It is
not mandatory to do so but it is highly recommended. You can also migrate the old data when
you are ready to do so. To help you with this migration, a JPO (Java Programming Object) was
developed.
This page discusses:
Migration Principles
Recommendations
Migration Principles
The migration process is broken down into four main phases:
Customer Files Generation Phase
Generates CSV files that can be modified by customers to set target types and
attributes mapping. It is triggered using the –GenFiles or the –GenAllFiles option.
The migration process cannot be performed if this phase is not executed.
The –GenFiles option must be run each time new objects to migrated are added to
the database. If the database is not populated with new objects, it is not necessary
to run this option again, even if the database is restored.
Migration Phase
Triggered
Steps Comment
by
Step_
-step 1 Adds object migration extensions to the objects attributes to migrate.
1
Step_ Changes the object type, updates semantic relations (paths) and
-step 2
2 exchange status objects.
5
Triggered
Steps Comment
by
Step_
-step 5 Removes migration extensions.
5
Note: All the steps of this second phase can be performed in a single execution
using the -step All option and can be explicitly committed using the –
commit option.
Each second step (step_2) of a migration loop generates a “.ntmpath” file that may
be empty if there is no path to update. You must therefore update the paths
launching the tool using the "-updateImpacted <N>" option, after migrating all data.
Cleaning Phase
Updates exchange status objects, updates and cleans migration information related
to the migrated objects. It is triggered using the –Clean option and can be explicitly
committed using the –commit option.
Tips:
In guide mode, you can limit the number of types to manage. It is useful to
test a migration for some types. You can also limit the number of objects
to migrate. It can be useful if you want to test the migration on a reduced
number of objects.
The tool does not migrate all the objects in a single transaction, the
migration is performed in several transactions. The number of objects per
transaction can be controlled using the appropriate option.
When simulating the migration, the transactions are not committed: the
memory consumption increases and the tool can fail. In simulation mode,
it is recommended that you limit the number of objects.
The generated MQL scripts shall not be run manually by the administrator. It
would break the migration. They can be used and archived to keep a trace
6
of the migration process.
Note: Before beginning the migration, it is highly recommended that you back up the database
and shut down the application server.
Recommendations
This section provides you with recommendations related to the migration itself.
VPLMDataMigration
Always make a backup of your database before launching the Unified Typing Migration
using emxNewTypingMigrationProgram.
If possible, monitor the database and, if needed, add SQL indexes when possible.
In CSE cases, the modification of CSV sheets must be performed at this stage. Save the
new updated CSV files at the GenFiles directory location. Never modify CSV files after
the migration steps are started ( step -1-5, step -all).
Note: Data are migrated when migration step #5 has been executed using the -commit option.
7
Use the -Step <x> option where x=1 to 5 for tests purposes only.
Once you are done with the tests, restore the database to perform the full migration.
When the migration is started, including -GenFiles, do not add new data to the database.
Break down the migration into several runs according to the number of objects for each
type using the -Types option.
Run the -Clean option only at the very end of the process. Do not run this option after
each type migration.
If possible, monitor the database in real time and, if needed, add SQL indexes when
possible.
Note: You may not be able to reactivate the unique keys depending on the user's
specifications.