Migrating Smart IT data
After you perform the data migration for BMC Helix ITSM, perform the Smart IT data migration and then perform the Openfire data migration.
Before you begin
- Make sure that you have migrated your BMC Helix ITSM data.
See Migrating-data. - Make sure that you have downloaded and imported Template SmartIT 18.05 or Above to 21.3, Template Openfire to 21.3, Post Migration Data Update Template SmartIT, Template SmartIT 21.3 Clear Down, and Template Upgrade SmartIT Forms 18.05 and above to 21.3 migration packs. See Available-migration-packs.
- To download the migration packs, see Downloading-the-installation-files.
- To import the migration packs, see Importing-template-migration-packs.
To migrate Smart IT data
- Register a Smart IT source system.
- Register a source Smart IT system.
For the Smart IT source system, in the Schemas tab, make sure that you specify the logical names of Business and System schemas as Business and System: - Create a BMC Helix Data Manager user.
- Test system connectivity and get database character set details.
- Discover the source system.
- Register a source Smart IT system.
- Register a Smart IT target system.
- Register a target system.
For the Smart IT target system, in the Schemas tab, make sure that you specify the logical name of the schema as Default: - Create a BMC Helix Data Manager user.
- Test system connectivity and get database character set details.
- Discover the target system.
- Register a target system.
- Disable foreign keys in the Smart IT target system by using the Disable Trigger option.
- In the BMC Helix Data Manager, navigate to the System Configuration page for Smart IT target system.
- On the System Configuration page, click Actions and select Enable/Disable Triggers.
- On the Set Trigger page, select the Disable Trigger check box and specify the database AR administrator credentials to run the Disable Trigger option.
- Configure file system connections for the Smart IT source system and target system.
- Create a copy of the existing Template Smart IT migration pack:
- Select Data Migration > Migration Packs. The imported template BMC migration packs are listed.
- Select the Template Smart IT migration pack and select Action > Copy.
Select the source and target data dictionaries for the respective systems:
Source data dictionary
Data dictionary connecting to the source Smart IT system registered as Relational database in BMC Helix Data Manager.
Target data dictionary
Data dictionary connecting to the target system registered as Relational database in BMC Helix Data Manager.
- Enter the details and click Copy Migration Pack.
Clear down target system data:
Prior to the import of data from the source system, sample data must be removed.
- Copy the Template SmartIT 2x.x Clear Down migration pack for your target system.
- Create and execute a deletion job on the target system.
This automatically backs up any data prior to deletion so that it can be restored if needed.
Migrate the Forms and the Relational Tables data:
Migrate the Forms data from the source system to the target system by performing the following steps:
- Run the export job.
- (Optional) Copy files from source to target file system.
- Run the import job.
For more information, see Running-and-reviewing-migration-jobs.
Migrate the Relational Tables data from the source system to the target system by performing the following steps:
- Run the export job.
- (Optional) Copy files from source to target file system.
- Run the import job.
For more information, see Running-and-reviewing-migration-jobs.
- (Optional) For multi-tenant migration, perform the following steps:
- Change the filters in the Multi Tenant template in the migration pack with the correct tenant ID that you want to migrate from the source system.
- Select the Multi Tenant export template.
- Select the nodes that have data filter applied to the nodes.
- Delete the Qualification tenant_id = '1111' data filter.
The following image shows an example: - Create a new data filter by specifying the actual tenant ID in the qualification.
The following image shows an example: - After applying the export filters to all the required nodes, run data migration job by using the Multi Tenant template.
After you complete the migration, enable foreign keys in the Smart IT target system by using the Disable Trigger option.
Make sure that you do not select the Disable Trigger check box and specify the database administrator credentials to enable the foreign keys.
To migrate Openfire data
- Register an Openfire source system.
- Register an Openfire target system.
- Configure file system connections for the Openfire source system and target system.
- Copy the Openfire migration pack to your Openfire source system and target system.
Select the source and target data dictionaries for the respective systems:
Source data dictionary
Data dictionary connecting to the source Openfire system registered as Relational database in BMC Helix Data Manager.
Target data dictionary
Data dictionary connecting to the target system registered as Relational database in BMC Helix Data Manager.
Migrate data from the source system to the target system by performing the following steps:
- Run the export job by using Smart IT migration packs.
- (Optional) Copy files from source to target file system
- Run the import job by using Smart IT migration packs.
For more information, see Running-and-reviewing-migration-jobs.
- Enable foreign keys in the Smart IT target system by using the Disable Trigger option.
Make sure that you do not select the Disable Trigger check box and specify the database administrator credentials to enable the foreign keys.
Postmigration tasks
To run the postmigration scripts
- Copy the Post Migration Data Update Template SmartIT pack in BMC Helix Data Manager tool.
For steps, see Creating-a-migration-pack-for-your-systems. - Set the source and the target data dictionary as SmartIT Relational Database target.
- On the Home page, click on the target system icon and click Administrate.
- In the Administration tab, open the Data Updates tab and click Run Data Updates.
- In the Create Data Update Job dialog box, select the target system and the postmigration template.
- Click Create New Data Update Job.
- In the Track Data Update Jobs tab, click Run All Scripts.
To migrate custom data from the SHR:SchemaNames form
If you have created a custom class in the source system, the data of the custom class is stored in the SHR:SchemaNames form. The HDM utility does not migrate data stored in this form. You must manually enable the migration of the SHR:SchemaNames form to migrate the custom data.
Perform the following steps to migrate the data from the SHR:SchemaNames form:
- On the navigation bar, select Data Migration > Migration Packs.
- Select the Template SmartIT 18.05 or Above to 21.3 migration pack.
- Open Export Template > Included Forms tab.
- Select the SHR:SchemaNames form in the list and click Enable All
button.
- Get the entry Id of the custom class ID from the SHR:SchemaNames form.
- Click Add Data Filter and create a Custom Qualification as follows:
$Entry-Id$="entryId"
where entryId is the custom class ID of the SHR:SchemaNames form.
Steps to get the entry ID:- Open the SHR:SchemaNames form and search record.
- Click Report.
- Click Create New Report.
- Select Type as AR System.
- Add Entry-Id field in the report and click Save Record.
- Click Run Report.
The Entry-Id is displayed.
- Click Apply Data Filter.
- Open the Import Template tab. Ssearch for the SHR:SchemaNames form and click Form Mapping.
The Data Mapping window opens. - Open the Mapping tab, and set the Match On Fields field value to InstanceId.
Related topic