Setting up a data model

To set up a data model, you must first determine what data you need to use in your solution and where that data is stored. Then, you create a data source for each real world source of data and create a data type for each structural element that contains the data you need.

Procedure

  1. Create data sources

    Identify the data you want to use and where it is stored. Then, you create one data source for each real world source of data. For example, if the data is stored in one MySQL database and one LDAP server, you must create one MySQL and one LDAP data source.

  2. Create data types

    After you have set up the data sources, you create the required data types. You must create one data type for each database table (or other data element, depending on the data source) that contains data you want to use. For example, if the data is stored in two tables in an Oracle database, you must create one data type for each table.

  3. Optional: Create data items

    For most data types, the best practice is to create data items using the native tools supplied by the data source. For example, if your data source is an Oracle database, you can add any required data to the database using the native Oracle tools. If the data source is the internal data repository, you must create data items using the GUI.

  4. Optional: Create links

    After you create data types, you can define linking relationships between them using dynamic links. You can also define linking relationships between internal data items using static links. That makes it easier to traverse the data programmatically from within a policy. Use of links is optional.

  5. Create event sources

    Most process events are retrieved from a Netcool/OMNIbus ObjectServer. The ObjectServer is represented in the data model as an event source.