Working with Knowledge Bases

In this section:

Knowledge bases can be applied globally, in which case only one can be active at a time, and/or applied to an individual data source (Synonym or Direct passthru source).



Applying a Global Knowledge Base

How to:

Note: You must create a Business Rule file before adding a global Knowledge base. For more information on creating rules, see Creating Business Rules.



Procedure: How to Add a Global Knowledge Base

  1. Launch the Web Console.
  2. Click the Resource Management option on the toolbar.
  3. On the ribbon, in the Configuration group, click Configuration, select Global Governing, and then select Add Knowledgebase.

    The Add Global Knowledgebase window opens, as shown in the following image.

  4. Select the rule file you want to use from the Business Rules drop-down menu.
  5. Enter a name for the Knowledge base.
  6. Click Add.

    The List Global Knowledgebase window opens, listing the new Knowledge base.

The new Knowledge base now appears in the navigation pane, under the Knowledgebase Maintenance folder.



Procedure: How to List Global Knowledge Bases

  1. Launch the Web Console.
  2. Click the Resource Management option on the toolbar.
  3. On the ribbon, in the Configuration group, click Configuration, select Global Governing, and then select List Knowledgebases.

    The List Global Knowledgebase window opens, as shown in the following image.

    The columns shown have the following drill-down options available:

    Knowledgebase Column
    • View. Opens the View Global Business Rules pane that enables you to view the business rule associated with that Knowledge base.
    • Rebuild. Rebuilds the selected Knowledge base.
    Govern Column
    • On. Turns governing on for the selected Knowledge base. The request will be canceled if the Knowledge base rules are applicable to the request.
    • Off. Turns governing off for the selected Knowledge base.
    • Advise. Activates governing for the selected Knowledge base but allows the request to execute after a message is issued indicating the request would have been canceled if governing was set to On.


Procedure: How to Delete Global Knowledge Bases

  1. Launch the Web Console.
  2. Click the Resource Management option on the toolbar.
  3. On the ribbon, in the Configuration group, click Configuration, select Global Governing, and then select Delete Knowledgebases.

    The Delete Global Knowledgebase window opens.

  4. Select the Knowledge bases you want to delete and click Delete.


Applying an Individual Knowledge Base

How to:

Note: Before applying an individual Knowledge base, you must monitor a data source. For more information, see How to Monitor Individual Data Sources.



Procedure: How to Add an Individual Knowledge Base

  1. Launch the Web Console.
  2. Click the Resource Management option on the toolbar.
  3. From the navigation pane, right-click a data source, select Governing, and then click Add Knowledgebase.

    The Add Knowledgebase window opens, as shown in the following image.

    Note: If the object you selected has no monitored data, the Add Knowledgebase window will show less fields, as shown in the following image.

    The following options are available:

    Knowledgebase

    The name of the new Knowledge base.

    Type

    The rule type. The following options are available:

    • Data. Available for a data source that has had historical monitoring at some time.
    • Business. Only allows a business rule source to be included in a built Knowledge base file. A list of those rule sources will be available.
    • Both. Allows data and business rules to be included in the Knowledge base file.
    Earliest Monitored Date

    Shows the earliest monitored date for this data source.

    Latest Monitored Data

    Shows the latest monitored date for this data source.

    Time

    A rule type of Data or Both allows for either CPU or Elapsed times to be used as benchmarks in the monitored data as compared to thresholds entered through governing parameters or shifts. Elapsed time is wall clock time for a data request to run versus the CPU time used in processing.

    Business Rules

    A list of the available business rules. This drop-down menu is only available if the object you selected has no data.

  4. Click Add.

    The List Knowledgebase window opens, listing the new Knowledge base.

The new Knowledge base now appears in the navigation pane, under the Knowledgebase Maintenance folder.



Procedure: How to List Individual Knowledge Bases

  1. Launch the Web Console.
  2. Click the Resource Management option on the toolbar.
  3. From the navigation pane, right-click a data source, select Governing, and then click List Knowledgebases.

    The List Knowledgebase window opens, as shown in the following image.

    The columns shown have the following drill-down options available:

    Knowledgebase Column
    • View. Opens the View Knowledgebase Rules pane that enables you to view the business rule associated with that Knowledge base.
    • Rebuild. Rebuilds the selected Knowledge base.
    Govern Column
    • On. Turns governing on for the selected Knowledge base. The request will be canceled if the Knowledge base rules are applicable to the request.
    • Off. Turns governing off for the selected Knowledge base.
    • Advise. Activates governing for the selected Knowledge base but allows the request to execute after a message is issued indicating the request would have been canceled if governing was set to On.


Procedure: How to Delete Individual Knowledge Bases

  1. Launch the Web Console.
  2. Click the Resource Management option on the toolbar.
  3. From the navigation pane, right-click a data source, select Governing, and then click Delete Knowledgebases.

    The Delete Knowledgebase window opens.

  4. Select the Knowledge bases you want to delete and click Delete.

WebFOCUS