Governing

In this section:

How to:

When a user submits a request against any data source monitored by Resource Governor, the governing facility performs high-speed resource usage estimates at run time, using rules that it previously determined. It uses the rules that are stored in the Rule File associated with the data source. Resource Governor decides whether to run or cancel each request based on the Rule File. Depending on the decision, one of the following actions occurs:

In addition to the resources each request may use, the Resource Governor considers the time of day, the date, and detailed characteristics of the request and compares this to the information in the Rule File.

The Governor can be turned on or off for any data source at any time via the Web Console.

The following diagram illustrates the governing process.


Top of page

x
Procedure: How to Turn Governing On and Off

Once you have built a Rule File for a data source, you can begin to govern it.

  1. In an application directory right-click a data source object. Select Governing and then Rule Files.

    The Rule Files window opens.

  2. Right-click a Rule File line and select Govern Setting.

    The Govern Setting window opens..

  3. From the Governing State drop-down list select On, Off, or Advise, as shown in the following image.

  4. Click Update.

Note: If at any time in this process you decide you want to cancel the changes you have made, click the Refresh button on the toolbar, or the back button in your browser.


Top of page

x
Procedure: How to Set Global Governing

You can apply the same rules to all of your data sources by using Global Governing. Before you can turn on Global Governing, use Resource Governor to build the rule file or knowledge base with the business rule logic desired. Then, you can use the Resource Governor Global Governing menu option to turn global governing on.

  1. Launch the iWay Web Console.
  2. Click Resource Management in the toolbar.
  3. Right-click Resource Analyzer/Governor and select Global Governing.

    The Update Global Governing window opens, as shown in the following image. The window contains configuration options for setting Global governing on with an existing compiled business rule file or building a new rule file with existing business rules. If you have not set up business rules for global business requirements on accessing data, see Creating Business Rules.

  4. In the Current Global Rule File section, select an existing rule file from the business rule Select Global Rule File drop-down menu.
  5. From the Global Governing drop-down menu, select On, Off, or Advise.
  6. You can also create a new rule file name in the Name field that you want to put in place for global governing and choose the business rules that you want to include from the Business Rules drop-down menu under the Create a new global rule file section. Only those rule files built as custom only will be available for global governing.
  7. Click Save or New.

    Note: If New is selected, use the same steps from this procedure to set the new rule file as the current rule file, and then turn governing on or advise, if desired.


Top of page

x
Using ADVISE

ADVISE is a feature that enables the system administrator to ease Resource Governor into the production environment. When the governing mode is ADVISE, the Usage Monitor indicates which request would have been canceled if governing had been set on. A message is sent back to the client indicating that the request would have been canceled.

ADVISE gives you the ability to log data about a request that would be canceled by Resource Governor if it were on. With this information, you can then decide if the threshold limits in effect are correct, and if governing should be turned on.


WebFOCUS