Importing CIs from SQL databases
You can import configuration items (CIs) and CI relationships into FootPrints from an external Microsoft SQL server database that has both encrypted and non-encrypted connections. You can populate the Assignment type field values with users or teams. If you want to import multiple values for the Assignment type field, the values must be separated by a semi-colon (;), for example, User1;User2;Team3. For more information about importing CI relationships, see Importing CI relationships from SQL databases.
You cannot import users for the Assignment field in the following format:
To import CIs
- Click the Administration tab.
- In the System Management section, click Import.
The Task Scheduler page appears, showing a list of scheduled tasks and their status.
- Click New Task and select Import Task > Configuration Items.
The Import CI page appears, showing the Source Type pane.
- In the Source Type field, select SQL Database.
- In the left pane, click Source Configuration.
- In the Source Configuration pane, complete the following fields:
- In the Server Address field, enter the IP address or the name of the SQL server for this import task.
- In the Server Port field, enter the port number for the server.
- In the Database Type field, select an appropriate option:
- Sql Server.
If you select Database Type as Sql Server, in the External DB Security Type field, select an appropriate option:
For non-encrypted connection: None
For encrypted connection: SSL Connection (Default certificate)
To complete the encrypted connection configuration, on the Java tab (C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin > Tomcat7w.exe), you must enter the
-Djsse.enableCBCProtection=falseparameter and restart the Tomcat service.
- In the Database field, enter the name of the source database.
- In the Server User ID and Server Password fields, enter the credentials needed to access the data source server.
- Click Test Connection.
- In the left pane, click Data Destination.
- In the Data Destination pane, complete the following fields:
- In the Import into CMDB field, select the CMDB where you want to import the CIs.
- (Optional) To search existing contacts for matches and link the imported CIs to them:
- Select Link imported CIs to matching entries in address book checkbox.
- In the Address Book field, select from the address books associated with the selected CMDB.
- In the Contact Type field, select the appropriate contact type.
- In the left pane, click Map Fields.
- In the Map Fields pane, complete the follwoing fields:
- In the Table or view field, select the location of the CI data that you are importing.
- If you selected to link the imported CIs to an address book, the Link to Address Book section appears. Complete the fields:
- In Map data source field, select the source field that you want to map.
- In To this Address Book field, select the target field in the Address Book.
- In the Map CI Type Rules section, perform the following steps:
- In the Default CI Type field, select from the CI types defined for the selected CMDB and click Add.
- If you want to customize the import process, perform steps iii through vi. If you want to use the default import process, continue with step 10d.
With the default process, all CIs are assigned the default type.
- Click Add and in the If Column field, select a condition.
- In the Contains Text field, type the text to match.
- In the Set CI Type as field, select a CI Type.
- Click Update.
- Repeat steps i through vi to add as many rules as you need.
- In the Map Attributes section, perform the following steps:
- Click Add.
Select values for Attribute and Source Field. You must map at least one attribute.
The available values are based on selections already made on this pane.
- Click Add.
- In the Status for all CIs field, select the initial status for the uploaded CIs.
- (Optional) To update existing CIs, select Update the Status for existing CIs.
- In the Unique Key field, select the fields in the Source Columns list that are used as unique keys and move them to the Unique Key list.
- In the left pane, click Schedule Task.
In the Schedule Task pane, complete the following fields:
In the Task Name field, enter a specific name for this task.
(Optional) In the Notes field, enter any useful information about this task.
(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. You can enter multiple user names and email addresses with semicolons. A notification is sent about import outcome and includes results, task name, date, and so on. The notification includes the number of records that were rejected, created, updated, and unchanged.
(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.
- 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.
To import the relationships for these CIs, follow the instructions provided in Importing CI relationships from SQL databases.