Note

 

This documentation supports the 20.15.01 version of BMC Remedyforce.

To view the latest version, select the version from the Product version menu.

Importing data from BMC BladeLogic Client Automation

You can import data from BMC BladeLogic Client Automation into BMC Remedyforce CMDB by using the Pentaho Data Integration tool only if Microsoft SQL Server data source is used in BMC BladeLogic Client Automation.

The following topics are provided:

Before you begin

Before importing data from BMC BladeLogic Client Automation, you must meet the following requirements:

  • Install JRE.
  • Download the Pentaho Data Integration tool.
  • Register at the BMC Communities website.
  • Configure Windows authentication to enable communication between the Pentaho Data Integration tool and BMC BladeLogic Client Automation.

For more information about these procedures, see Prerequisites for importing data to BMC Remedyforce.

KJB and KTR files for importing data from BMC BladeLogic Client Automation

In Pentaho, metadata is stored in XML format in the file system as KTR (transformations) or KJB files (jobs).

Depending upon the CMDB version that you are using, you must use different Pentaho package folders. For more information about which Pentaho folder is applicable to you, see Pentaho packages for CMDB 1.0 and 2.0.

A KTR file contains a single transformation. The KTR files that are provided to you include the following transformations for all the CI types:

Step

Description

Delta timestamp

Reads the saved time stamp.

BBCA input

An SQL query that fetches information from BMC BladeLogic Client Automation based on the stored time stamp.

Transform BBCA variables

Facilitates JavaScript transformations, such as appending or trimming fields.

Upsert into class <CI type name >

Accepts the destination of the data, the credentials for the Salesforce organization where you want to save the imported data.

(For CMDB 2.0 only) Salesforce Input[CMDB_Class]

Accepts the access details of the Salesforce organization to fetch the BMC Remedyforce CMDB classes details.

Success rows

Stores the rows that are imported successfully.

Failure rows

Stores the rows that are not imported, error code, error description, and error fields.

A job file contains a series of transformations. A KJB file that is provided to you includes the following steps:

Data to be importedSteps to follow
  • Operating System
  • Processor
  • IP EndPoint
  • LAN Endpoint
  1. Run the \CombinedJobs\TransferAdvancedADDMinfotoCMDB.bat file.
  2. Go to Remedyforce CMDB and verify whether the entries are correct in the Relationships Editor of the following classes:
    • Operating System
    • Processor
    • IP EndPoint
    • LAN Endpoint
Operating system details of the laptops
  1. Run the \ComputerSystem\SchedulingComputerSystem.bat file.
  2. Run the \OS\SchedulingOperatingSystem.bat file.
  3. Go to Remedyforce CMDB and open the Operating System class.
  4. Verify whether the entries are correct in the Relationships section in the Instance Editor of the Operating System class.
Software server details of the laptops
  1. Run the \CombinedJobs\TransferComputerSystemAndSoftwareADDMinfotoCMDB.bat file.
  2. Go to Remedyforce CMDB and open the Software Server class.
  3. Verify whether the entries are correct in the Relationships Editor of the Software Server class.

The KTR files contain mapping of the fields in BMC BladeLogic Client Automation to the fields in the Remedyforce CMDB. In CMDB 1.0, fields are mapped to the CMDB staging object that contains a flat structure of all the fields of the CMDB database as columns. The imported data is first saved into the CMDB staging object before being saved in the CMDB database. In CMDB 2.0, the imported data is saved in CMDB directly.

List of KJB files for importing data from BMC BladeLogic Client Automation

Different job files are provided for different jobs. These job files are bundled with related files and provided to you in folders. The following table provides the names of the folders and the description of the jobs for which the job files in these folders are used.

Folder name
(CI Type)

DescriptionJob file

Computer
System

Transfers information about the
BMC_ComputerSystem CI type

TransferBBCAComputer
SystemInfotoCMDB.kjb

OS

Transfers information about the
BMC_OperatingSystem CI type

TransferBBCAOSInfoto
CMDB.kjb
Processor

Transfers information about the
BMC_Processor CI type

TransferBBCAProcessorInfoto
CMDB.kjb

IPEndPoints

Transfers information about the
BMC_IPEndPoint CI type

TransferBBCAIPEndPointInfoto
CMDB.kjb

LANEndPoints

Transfers information about the
BMC_LANEndpoint CI type

TransferBBCALANEndPoint
Infoto
CMDB.kjb

Software Server

Transfers information about the BMC_SoftwareServer CI type.

Note: Depending on the organization size, running the software server job transfers large amounts of data to the Salesforce organization, which might lead to exceeding the organization storage limit.

TransferBBCASoftwareServer
Infoto
CMDB.kjb

Person

Transfers information about BMC_Person CI type

TransferBBCAPerson
InfotoCMDB.kjb

Combined Jobs

There are two job files in the folder. The TransferAdvancedBBCAInfotoCMDB.kjb job file transfers information related to the BMC_ComputerSystem,
BMC_OperatingSystem, BMC_Processor, BMC_IPEndPoint, and BMC_LANEndpoint CI types. The TransferComputerSystemAndSoftwareBBCAInfotoCMDB.kjb
job file transfers information related to the BMC_ComputerSystem and BMC_SoftwareServer CI types.

TransferAdvancedBBCA
InfotoCMDB.kjb and
TransferComputerSystemAnd
SoftwareBBCAInfotoCMDB.kjb

To import data from BMC BladeLogic Client Automation by using Pentaho packages

Before importing data from BMC BladeLogic Client Automation, perform all of the actions in Before you begin.

  1. To download the job files from the BMC Communities website, perform one of the following actions:
    • If you are using CMDB 1.0, click https://communities.bmc.com/docs/DOC-18455.
    • If you are using CMDB 2.0, click https://communities.bmc.com/docs/DOC-28435.

      Note

      If you have upgraded to CMDB 2.0 and you were using CMDB 1.0 packages, you can continue using the CMDB 1.0 packages. However, BMC recommends that you use packages for CMDB 2.0 for faster imports.

      BMC recommends that you download the job files in the folder in which you have unzipped the Pentaho Data Integration tool.

      Note

      Do not change the folder structure because doing so can interfere with the running of the batch files provided in the CombinedJobs folder.

  2. To launch the Pentaho Data Integration tool, in the \pdi-ce-4.x.0-stable\data-integration or pdi-ce-5.0.1.A-stable\data-integration folder, double-click the Spoon.bat file, and open the required KJB file.
  3. To open the KTR file, based on the CMDB and Pentaho version that you are using, perform one of the following actions:

    CMDB versionPentaho versionAction
    1.04.4Right-click the Updatestaging table with BBCA <CI type name> information step, and select Open transformation.
    1.05.0.1Right-click the Update staging table with BBCA <CI type name> information step, select Open referenced object, and then select Transformation.
    2.04.4Right-click the Update BE table with BBCA <CI type name> Information step, and select Open transformation.
    2.05.0.1Right-click the Update BE table with BBCA <CI type name> information step, select Open referenced object, and then select Transformation.
  4. To provide the details to access BMC BladeLogic Client Automation database, perform the following actions:
    1. In the KTR file, double-click the BBCA Input step.
    2. Next to the Connection list, click Edit.
    3. In the Database Connection window, enter the host name, database name, user name, and password.
      The host name is the name of the computer where the BMC BladeLogic Client Automation database is installed.

      Note

      If you have configured Windows authentication on the BMC BladeLogic Client Automation database, user name and password are not required.

    4. (Optional) To verify the connection, click Test.
    5. Click OK.
  5. To provide the details to access your Salesforce organization, perform the following actions:
    1. Double-click the Upsert into class <CI type name> step.
    2. In the Salesforce Upsert window, enter your Salesforce organization user name and password.
    3. (Optional) To update the predefined mapping between the BMC BladeLogic Client Automation fields and the Remedyforce CMDB, click Edit Mapping.
      For more information about mapping, see Overview of how CIs are imported in CMDB 1.0.

      Note

      If you are using an earlier version of Pentaho data integration tool (for example, Pentaho 4.1 or 4.2), you must modify the Salesforce Webservice URL to https://www.salesforce.com/services/Soap/u/20.0.

    4. (Optional) To verify the connection, click Test connection.
    5. Click OK.
  6. (For CMDB 2.0 only) You also need to provide Salesforce access details in the Salesforce Input[CMDB_Class] step. To enter the information required to access your Salesforce organization, perform the following actions:
    1. Double-click Salesforce Input[CMDB_Class].
    2. In the Connection section, enter the Salesforce organization access details.
    3. (Optional) To test the connection, click Test connection.
    4. Click OK.
  7. (Optional) If you have enabled the setting to access your Salesforce organization from limited IP addresses, to enable communication between Salesforce and the Pentaho Data Integration tool, perform the following actions:
    1. In Salesforce, navigate to Setup > Reset My Security Token.
    2. Click Reset Security Token.
      An email message is sent to your email address stored in Salesforce.
    3. In the Password field of the Upsert into class <CI type name> step, append the security token to the password.
      For example, if your password is mypassword and your security token is XXXXXXXXX, then you must enter mypasswordXXXXXXXXX in the Password field.
  8. To save the KTR and KJB files, click .
  9. In the KJB file, click .
  10. In the Execute a job window, click Launch.
    Transformation status is depicted by using the following icons:
    •  — Complete
    •  — Running
    •  — Unsuccessful
  11. (Optional) To view logs, in the Execution results section, click the Logging tab.
    All errors are displayed in red.
    The relationship between the Computer System as a source and the Software Server as a destination is not displayed in the Configuration Items Explorer because the Configuration Items Explorer can display only a limited number of relationships (due to platform limitations). Displaying Computer System and Software Server relationships might hide other important relationships between the Computer System and other CIs.

    The BMCServiceDesk_AssemblyId_c field is required to create a relationship between the computer system and various CIs. The source is the computer system and the destination can be operating system, processor, IP End Points, LAN End Points, software server, or Person.

    For example, the value of the BMCServiceDesk_AssemblyId_c field is 1 for a computer system record and a processor record has a Assembly ID value as 1, a relationship is automatically created between the computer system (source) and processor (destination).

User scenarios for importing data from BMC BladeLogic Client Automation

David is a member of the Infrastructure team for Downtown Bank, responsible for managing the laptops for ABC project.

He signs up for BMC Remedyforce and expects to use the pre-configured, ITIL based incident and problem management processes for managing CIs. Also, David wants to use the CMDB to represent the physical, logical, and conceptual items and to track the relationships between the different CIs.

John Doe, a BMC Remedyforce administrator, helps David to import details of the laptops provided to the team members of ABC project from BMC BladeLogic Client Automation to BMC Remedyforce CMDB. 

Data to be importedSteps to follow
  • Operating System
  • Processor
  • Person
  • LAN Endpoint
  1. Run the \CombinedJobs\TransferAdvancedBBCAInfotoCMDB.kjb file.
  2. Go to Remedyforce CMDB and verify whether the entries are correct in the Relationships Editor of the following classes:
    • Operating System
    • Processor
    • Person
    • LAN Endpoint
Operating system details of the laptops
  1. Run the \ComputerSystem\TransferBBCAComputerSystemInfotoCMDB.kjb file.
  2. Run the \OS\TransferBBCAOSInfotoCMDB.kjb file.
  3. Go to Remedyforce CMDB and open the Operating System class.
  4. Verify whether the entries are correct in the Relationships section in the Instance Editor of the Operating System class.
Processor details of the laptops
  1. Run the \ComputerSystem\TransferBBCAComputerSystemInfotoCMDB.kjb file.
  2. Run the \Processor\TransferBBCAProcessorInfotoCMDB.kjb file.
  3. Go to Remedyforce CMDB and open the Processor class.
  4. Verify whether the entries are correct in the Relationships Editor of the Processor class.
Software server details of the laptops
  1. Run the \CombinedJobs\TransferComputerSystemAndSoftwareBBCAInfotoCMDB.kjb file.
  2. Go to Remedyforce CMDB and open the Software Server class.
  3. Verify whether the entries are correct in the Relationships Editor of the Software Server class.

Related topics

Overview of how is data imported in BMC Remedyforce

Importing data to custom attributes

Scheduling jobs to import data

Troubleshooting issues with importing data

Was this page helpful? Yes No Submitting... Thank you

Comments