Importing data from BMC Atrium CMDB
You can import configuration items (CIs) and relationships from BMC Atrium Configuration Management Database (BMC Atrium CMDB) into BMC Remedyforce CMDB 2.0 by using Atrium Integrator with a customized Pentaho package. The Pentaho package is available on the BMC Communities website.
The following topics provide information about importing data from BMC Atrium CMDB into BMC Remedyforce CMDB:
Note
For information about the BMC Atrium CMDB versions that BMC Remedyforce supports, see Supported browsers, mobile devices, and integrations.
Before you begin
Before you can import data from BMC Atrium CMDB into BMC Remedyforce CMDB, you must perform the following tasks:
- Install Java Runtime Environment (JRE).
- Register at the BMC Communities website.
- Create a Log Files folder at the root level of the drive on which the BMC Remedy Action Request System (BMC Remedy AR System) server is installed.
For example, if you have installed the BMC Remedy AR System server on the C: drive, create a C:\Log Files folder. - Download the Pentaho package from the BMC Communities website (https://communities.bmc.com/docs/DOC-28437).
The files in the Pentaho package are customized to be used in Atrium Integrator. For information about the KJB (job) and KTR (transformation) files that are included in the Pentaho package, see KJB and KTR files for importing data from BMC Atrium CMDB.
To import CIs from BMC Atrium CMDB
- Log on to BMC Remedy AR System and access the Atrium Integrator Console.
- To launch the Atrium Integrator Spoon, click .
- To create a new folder in Atrium Integrator to store your KTR and KJB files, perform the following actions:
- Go to Tools > Repository > Explore.
- Right-click the window, and select New Folder.
- Enter a name for the folder in which you want to save the KTR and KJB files that you have downloaded from the BMC Communities website, and click OK.
For example, create a folder called Remedyforce.
- To save the KTR and KJB files in the folder, perform the following actions for each file:
- Click File > Open URL and browse to the folder in which you have saved the job files that you downloaded from the BMC Communities website.
- Open the KJB and KTR files for the required CI type, such as computer system.
- Click File > Save As.
- In the Directory field, click .
- Click OK.
- In the KJB file, double-click the AtriumtoCMDB_<CI type> step.
For example, double-click the AtriumtoCMDB_ComputerSystem step. - In the Job entry details for this transformation window, in the Specify by name and directory option, click
For example, Remedyforce > AtriumToCMDB_ComputerSystem.ktr. , and select the KTR for the opened KJB file from the folder that you have created. - Click File > Open, and open the required KTR file.
In the KTR file, enter the information to access BMC Remedy AR System, the SQL server that BMC Atrium CMDB uses, and your Salesforce organization.
- To save the KTR and KJB files, click .
- Navigate back to the Atrium Integrator Console.
- Select the job that you have set up, and click
While the data is being imported, the following log files are generated:- Job-level logs: Created in the Atrium Integrator Console.
- Success, process, and error logs: Created as CSV files in the Log Files folder that you created before importing CIs from BMC Atrium CMDB. For more information, see Before you begin.
The failure log is created only if an error occurs in inserting a record in BMC Remedyforce. The delta_value log stores the time stamp of the last time you imported data. Rejected logs are also created if records with blank unique identifier values exist.
For the imported records, the Source field is set to Atrium. You can use the Source field to generate reports and also when you enable and configure reconciliation.
.
To import relationships from BMC Atrium CMDB
Before importing relationships from BMC Atrium CMDB, perform all the actions listed in Before you begin and import all the CIs from BMC Atrium CMDB.
- Log on to BMC Atrium Action Request System and access Atrium Integrator Console.
- To launch the Atrium Integrator Spoon, click .
- To save the KTR and KJB files in the folder on Atrium Integrator, perform the following actions for each file:
- Click File > Open URL and browse to the folder in which you have saved the job files that you downloaded from the BMC Communities website.
- Open the AtriumtoCMDB_BaseRelationship.kjb and AtriumtoCMDB_BaseRelationship.ktr files.
- Click File > Save As.
- In the Directory field, click .
- Click OK.
- In the KJB file, double-click the AtriumtoCMDB_BaseRelationship step.
- In the Job entry details for this transformation window, in the Specify by name and directory option, click , and select the AtriumtoCMDB_BaseRelationship.ktr from the folder where you have saved the KTR file.
- Click File > Open, and open the AtriumtoCMDB_BaseRelationship.ktr file.
In the AtriumtoCMDB_BaseRelationship.ktr KTR file, enter the information to access BMC Remedy AR System, the SQL server that BMC Atrium CMDB uses, and your Salesforce organization.
If you have created custom relationships in the database used by BMC Atrium CMDB, perform additional actions.
- To save the KTR and KJB files, click .
- Navigate back to the Atrium Integrator Console.
- Select the job that you have set up, and click
While the data is being imported, the following log files are populated:- Job-level logs: Created in the Atrium Integrator Console.
- Success, process, and error logs: Created as CSV files in the Log Files folder that you created before importing CIs from BMC Atrium CMDB. For more information, see Before you begin.
The error log is created only if an error occurs in inserting a record in BMC Remedyforce. The delta_value log stores the time stamp of the last time you imported data. Rejected logs are also created if records with blank unique identifier values exist.
.
To schedule import jobs from the Atrium Integrator Console
- Go to the Atrium Integrator Console.
- Save the combined job KJB files in the Atrium Integrator folder in which you saved the KJB and KTR files for CIs and relationships.
- In the KJB and KTR files for all the CIs, provide the information required to access the BMC Remedy AR System, SQL database used by BMC Remedy AR System and your Salesforce organization.
For more information, see To import CIs from BMC Atrium CMDB and To import relationships from BMC Atrium CMDB. - Schedule the jobs (the combined job KJB files) in the following sequence:
- AtriumToCMDBComputerSystem&Hardware
- AtriumToCMDBComputerSystem&SoftwareServer
- AtriumtoCMDB_BaseRelationship
KJB and KTR files for importing data from BMC Atrium CMDB
The Pentaho package contains job (KJB) and transformation (KTR) files that are created in the Pentaho Data Integration tool. The KJB files (jobs) and KTR files (transformations) store metadata in XML format. A KJB file contains a series of transformations that are run in a sequence. A KTR file contains a single transformation. The KJB (job) files retrieve data from external sources into BMC Remedyforce CMDB.
For information about the KJB and KTR files in the Pentaho package for BMC Atrium CMDB, see KJB files in the Pentaho package and KTR files in the Pentaho package.
KJB files in the Pentaho package
The Pentaho package includes different KJB (job) files for importing different types of CIs, such as computer systems and LAN endpoints, from BMC Atrium CMDB. These job files are bundled with related files and provided to you in folders. The folder names correspond to CI types in BMC Remedyforce CMDB.
The following table provides information about the job files that you must run to import specific CI types to BMC Remedyforce CMDB:
Folder name (CI Type) | Job file | Job description |
---|---|---|
Application | AtriumToCMDB_Application.kjb | Transfers information about the |
ApplicationService | AtriumToCMDB_Application Service.kjb | Transfers information about the |
BusinessService | AtriumToCMDB_Business Service.kjb | Transfers information about the |
Cluster | AtriumToCMDB_Cluster.kjb | Transfers information about the |
ComputerSystem | AtriumToCMDB_Computer System.kjb | Transfers information about the |
Concrete Collection | AtriumToCMDB_Concrete Collection.kjb | Transfers information about the |
Database | AtriumToCMDB_Database.kjb | Transfers information about the |
IPConnectivitySubnet | AtriumToCMDB_IPConnectivity Subnet.kjb | Transfers information about the |
IPEndPoint | AtriumToCMDB_IPEndPoint.kjb | Transfers information about the |
LANEndPoint | AtriumToCMDB_LANEndPoint.kjb | Transfers information about the |
NetworkPort | AtriumToCMDB_NetworkPort.kjb | Transfers information about the |
Offering | AtriumToCMDB_Offering.kjb | Transfers information about the |
OperatingSystem | AtriumToCMDB_Operating System.kjb | Transfers information about the |
Printer | AtriumToCMDB_Printer.kjb | Transfers information about the |
Processor | AtriumToCMDB_Processor.kjb | Transfers information about the |
Product | AtriumToCMDB_Product.kjb | Transfers information about the |
Rack | AtriumToCMDB_Rack.kjb | Transfers information about the |
SoftwareServer | AtriumToCMDB_Software Server.kjb | Transfers information about the |
VirtualSystemEnabler | AtriumToCMDB_VirtualSystem Enabler.kjb | Transfers information about the |
Combined Packages |
|
|
BaseRelationship | AtriumToCMDB_Base Relationship.kjb | Transfers information about relationships in BMC Atrium CMDB. |
KTR files in the Pentaho package
Each KJB file (job file) that is provided for importing data from BMC Atrium CMDB contains the following steps:
- Start
- AtriumToCMDB_<CI type>
The AtriumToCMDB_<CI type>.ktr file (AtriumToCMDB_<CI type> step) contains the following steps to import data from BMC Atrium CMDB.
Step | Description |
---|---|
ARInput | Gets time stamp for this package and saves it in the NGIE:Delta form of the BMC Remedy AR System server. |
Table Source | Fetches information from the Microsoft SQL server that is used by BMC Remedy AR System about CIs that are modified after the time displayed in the stored time stamp. When you import data for the first time, all CIs are imported. |
Read Response Variable | Facilitates JavaScript transformations, such as appending or trimming field values. For example, in the BMC Remedy AR System, the value of the Mark As Deleted field is stored as a boolean value (0 or 1); whereas in BMC Remedyforce, the value of the field is stored as True or False. In this step, 0 or 1 is changed to True or False. |
Salesforce Input[CMDB_Class] | Accepts the Salesforce organization access details to fetch the details of the BMC Remedyforce CMDB classes. |
Get CMDB Class ID | Fetches the class ID of the BMC Remedyforce CMDB class for the source record. For example, if the source is a computer system record, it fetches the class ID of the BMC_ComputerSystem class from the BMC Remedyforce CMDB. |
Unique Identify Filter | Removes all records that have a blank unique identifier field and saves the records in a CSV file that is defined in the rejected records as a reference log. |
Salesforce Upsert | Accepts the Salesforce organization access details where you want to save the imported data. This step also displays field mapping between BMC Remedyforce and BMC Atrium CMDB fields. |
Success logging | Stores the rows that are imported successfully. |
Error logging | Stores the error code, error description, error fields, and field values for the rows that are not imported successfully. |
Identify last row in a stream | Fetches the last record from the successfully imported records (sorted by the date they were modified). |
AROutput | Saves the modified date of the record fetched in the Identify last row in a record stream step into the NGIE:Delta form record that correspond to the running KTR. |
Related topics
Overview of how is data imported in BMC Remedyforce
Applying models while importing CIs and assets
Troubleshooting common issues when importing data
Known and corrected issues for Pentaho packages
Comments
Log in or register to comment.