This documentation supports the 20.08 version of BMC CMDB, which is available only to BMC Helix subscribers (SaaS).

To view an earlier version, select the version from the Product version menu.

Creating AR or JDBC federated data plug-ins to access data external to the CMDB

Federated data plug-ins use adapters to connect an external source of data to BMC CMDB so that you can view the data as part of the CMDB. If you want to federate data on a JDBC-compliant database or federate data in the forms residing on an AR System server, you can create a plug-in by using an adapter that is installed with BMC CMDB. 

Important

In recent Java security updates, TLSv1 and TLSv1.1 are not supported. If the external database that you are connecting to is not updated to the latest version of that database, the federation plug-in might fail. Hence, to create a federated plug-in to access an external database, make sure that the external database is running on the latest version. 

Before you begin

  • Learn more about plug-in naming conventions as described in the topic  Plug-in naming conventions Open link
  • You must have AR Administrator (ARADMIN) permissions to be able to create a plug-in.

To create AR federated data plug-ins

  1. Open the Federation Plugins page.
    Select Class Management > Federation Plug-ins.
  2. In the top-right of the page, in the Create Plugin list, select AR.
    The Create AR Federation Plug-in page opens.

  3. Enter the parameters for the AR plug-in.

    OptionDescription
    Plug-in NameUnique name for the plug-in.
    You cannot change the name after you save the plug-in. To make the name descriptive in a meaningful, consistent way, consider using the following naming convention: <arServer>PLUG-IN<hostName>
    AR Server Host NameName of the AR server.
    Port NumberPort number of the AR server.
    User Name and PasswordUser name and password to access the AR System server.
    Type of Form to RetrieveForm types from which you can retrieve data.
    You can select these options from the list:

    Regular Forms — Default setting.

    Specified FormsEnter the form in the Form Name field.

    All FormsIncludes all form types.

    Join FormsIncludes all join forms.

    View FormsIncludes all view forms.

    Join Forms that depend onIncludes all join forms that depend on the form specified in the Form Name field.

    Join Forms that are depended on byIncludes all join forms that the form specified in the Form Name field depends on.

    DialogsIncludes all dialog forms.

    Forms with DataIncludes all forms that contain data.

    Vendor FormsIncludes all vendor forms.

    Changed SinceEnter the date and time to limit the forms to those modified after the specified time.

    Include hidden forms

    You can check this to include hidden forms.
  4. Click Save.
    You can now define a federated class using this plug-in.

To create JDBC Federation plug-ins

The JDBC plug-in requires a database driver. If you do not want to use one of the drivers (SQL Server, Oracle, IBM DB2, or Sybase) that BMC provides, you must use your own database driver. Many database drivers are available on the internet.

Note

If your BMC CMDB environment uses a server group, you must install the database driver in the same directory path on each server in the group.

  1. Open the Federation Plugins page.
    Select Class Management > Federation Plugins.
  2. In the top-right of the page, in the Create Plugin list, select JDBC.
    The Create JDBC Federation Plugin page opens.

  3. Define the parameters required for the plug-in.

    OptionDescription

    Database Type

    Select a database from the list (for example, SQL Server).
    To select a different type of database (for example, MySQL), select Other from the Database Type list. You must then specify the parameters for the database, including login information, JDBC URL, and so on.

    Plug-in Name


    Unique name for the plug-in.
    To make the name descriptive in a meaningful, consistent way, consider using the following naming convention: <databaseType><databaseName>_PLUGIN<hostName>

    Note

    You cannot change this name after you save the plug-in.

    Database Name

    Name of the particular database to be used (for example, Northwind).
    For DB2, enter a schema name. The schema name is case-sensitive and must be specified in uppercase characters, for example, MYSCHEMA.
    Service Name (Oracle only)Alias to an Oracle instance

    Host Name

    Actual name of the server that hosts your database (for example, Calbro_server_SJ).

    Note

    Do not use localhost.

    Port number

    These are the default ports:

    • DB2 — 50000
    • Oracle — 1521
    • SQL Server — 1433
    • Sybase — 5001
      Note: These port numbers are the default values for the respective databases. You could use a different port number for your database.
    JDBC URL (Available only when you select Database Type as Other)
    The JDBC connection information to the database. You must enter the values for your particular database.
    JDBC Driver(Available only when you select Database Type as Other)
    The full name of the JDBC driver class. You must enter the proper values for your particular database.

    User Name and Password

    User name and password to log on to the database.

    Type of Object to Retrieve

    Select either Both, Views only, or Tables only based on the objects you want to retrieve from the database containing the federated database.


    Pattern

    For performance reasons, enter a pattern to filter the tables.
  4. Click Save.

Example JBDC Plug-in for MySQL database

In the following example, Allen, the Calbro Services administrator wants to create a custom JDBC plug-in for a MySQL Server database. The database contains workgroup and data transfer information about computer system Configuration Items (CIs). 

  1. Open Federation Plugins.
    Select Class Management > Federation Plugins.
  2. In the top-right of the page, in the Create Plugin list, select JDBC.
    The Create JDBC Federation Plugin page opens.

  3. Enter the parameters for the AR plug-in.

    OptionExamples values or options

    Database Type

    Select MySQL.

    Plug-in Name

    MySQLNorthwind_PLUGINCalbro_server_SJ

    Database Name

    Northwind

    Host Name

    Calbro_server_SJ
    Port numberSince it is an SQL server, enter 1433 or whichever port that SQL is configured with.

    User Name and Password

    User name and password to log in to the database.

    Type of Object to Retrieve

    Allen wants all types of objects, so he selects Both.

    Pattern

    Allen enters Ab% to retrieve only tables with Ab pattern from the database.
  4. Click Save.


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

Comments