Importing CI relationships from SQL databases

You can import the relationships for the CIs you import into FootPrints. Instructions are provided below for importing from a SQL database.

For more information about importing CIs, see Importing CIs from SQL databases.

To import CI relationships from a SQL database.

  1. Click the Administration tab.
  2. In the System Management section, click Import.
    The Task Scheduler page appears, showing a list of scheduled tasks and their status. Tasks with a Status of “Completed” were performed successfully; tasks with a Status of “Completed with Errors” failed.
  3. Click New Task and select Import Task > CI Relationships.
    The Import CI Relationships page appears, showing the Source Type pane.
  4. In the Source Type field, select SQL Database.
  5. In the left pane, click Source Configuration.
    The Source Configuration pane appears.
  6. Complete the fields:
    1. In the Server Address field, enter the IP address or the name of the SQL server for this import task.
    2. In the Server Port field, enter the port number for the server.
    3. In the Database Type field, select the type of database.
      Options are Postgres, Sql Server, and MS SQL.
    4. In the Database field, enter the name of the source database.
    5. In the Server User ID and Server Password, enter the credentials for logging into this server.
    6. Click Test Connection.
      The system attempts to connect to the SQL server. If not successful, an error message appears.
  7. In the left pane, click Data Destination.
    The Data Destination pane appears.
  8. In the Import into CMDB field, select the CMDB where you want to import the relationships.
  9. In the left pane, click Map Fields.
    The Map field pane appears.
  10. Complete the fields:
    1. In the Table or view field, select the location of the CI data that you are importing.
    2. In the Relationship for import section, select whether to specify a relationship or use the one identified in the source data:
      • To select a relationship, in the Specify Relationship field, select a relationship type.
      • To use relationship identified in the source data, select Use Relationship Specified in Source and select the source field.
        The latter option lets you select multiple relationships for a single import file.
    3. In the From CI Identifiers section:
      1. Click Add.
      2. Select a Source Field and an Attribute.
      3. Click Update.
    4. In the To CI Identifiers section, do the same.

      1. Click Add.
      2. Select a Target Field and an Attribute.
      3. Click Update.
      4. To edit a From CI or To CI Identifier entry, click the pencil icon next to it.
    5. To delete a From CI or To CI Identifier entry, select it and click either the Delete button or the red X at the right of the entry. A confirmation message appears. Click Yes.
  11. In the left pane, click Schedule Task.
    The Schedule Task pane appears.
  12. Complete the fields:
    1. In the Task Name field, enter a specific name for this task.
    2. (Optional) In the Notes field, enter any useful information about this task.
    3. (Optional) In the Notify by Email field, enter the email addresses of anyone who should be notified when this task runs.
      You can also enter an agent's user name to send notification to the agent's primary email address. Separate multiple user names and email addresses with semicolons. Notification is sent about import outcome and includes results, task name, date, and so on, including the number of records that were rejected, created, updated, and unchanged.
    4. (Optional) Select whether to run this task immediately or at a specific time, and whether and when to run it again.
      If you do not select any settings, the task will only run manually. For more information, see Scheduling tasks.
  13. Click Schedule Task.
    Your selections are validated by the system. If no errors are found, the Task Schedule page appears. Local files that won't change between scheduling and running are validated immediately. Web and network server files are validated at run-time. Next Run Time is the next or first time a task will be run.

Related topics

Viewing task logs

Importing CIs from BMC Client Management

Importing CI relationships from BMC Client Management

Importing CIs from CSV files

Importing CI relationships from CSV files

Working with mappings

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

Comments