6.3  Managing Rule Sets

SEA is installed with all rule sets pre-registered. You can manipulate the rule sets in the following ways:

Note


This section describes how to manage rule sets using the new common syntax. For the equivalent old common syntax commands, refer to Appendix E.


6.3.1  Viewing Registered Rules

Using the CLI or web interface, you can view the rulesets that are registered for use with SEA.

6.3.1.1  CLI

The new common syntax lis command provides a list of the paths and versions of the knowledge files registered with DeCOR. The syntax for the command is shown here:

wsea lis

Output

An example of the output is shown here:

      Ruleset                      Version
==================== ===================================
CATEST               Rules_v1_1
DS10                 Rev_030509
DS20                 Rev_030320
DS25                 Rev_030509
ES40                 Rev_030512
ES45                 Rev_030509
GS1280_EV7           V4_2
GS1280_IO7           V4_2
GS1280_RBOX          V4_2
GS1280_SM            V4_2
GS1280_ZBOX          V4_2
GS320_CE             V53_0953
GS320_SE             V53_0953
GS320_STARTUP        V53_0953
GS320_UCE            V53_0953
MCII                 Rev_1
Storage              Rev_2.20
Storage_HSV_DRM      Rev_X1_00
Storage_HSV_EMU      Rev_X1_00
Storage_HSV_EXEC     Rev_X1_00
Storage_HSV_FCS      Rev_X1_00
Storage_HSV_FM       Rev_X1_00
Storage_HSV_SCMI     Rev_X1_00
TS202c               Rev_4_1_A0
Vstor                Rev_1.00

6.3.1.2  Web Interface

From the web interface:

  1. Click the Settings button from the toolbar.
  2. Select the Director Settings tab.
  3. Click the Register Knowledge button in the navigation frame.

All the available rule sets are listed with a check box. Rule sets with a selected check box are registered.

6.3.2  Registering and Unregistering Rule Sets

You can register a set of rules using the CLI or the web interface.

6.3.2.1  CLI

The syntax for registering and unregistering rule sets is shown here (the first command shown is used to register rule sets and the second command is used to unregister rule sets).

Using the new common syntax:

wsea reg [ruleSet]
wsea unr [ruleSet]

Where ruleSet represents the name or names of the desired knowledge files. If you do not enter any rule set names, all the default rule sets are registered.

Wildcards can be used to specify multiple filenames, as shown in the following examples:

wsea reg ds*
wsea unr ds*

Note


If you are running analysis in the CLI, you will see the changes take effect immediately. However, to run analysis in the web interface, you must restart the Director first (see Sections 1.8 and 1.7).


6.3.2.2  Web Interface

To register or unregister a set of rules using the web interface, do the following:

  1. Click on the Settings button in the toolbar.
  2. Click the Director Settings tab at the bottom of the window.
  3. Click the Register Knowledge button in the navigation frame (Figure 6–1).
Figure 6–1 Rules Files

Click for Larger Image
All the available rule sets are listed with a check box. If the check box is selected the rule set is registered, otherwise it is not registered.
  1. Register or unregister the necessary rule sets.
  1. Click the Update Knowledge Registration button to save your changes.

Note


Changes will not take effect in the web interface for automatic analysis until the analyzer is restarted. This is done by stopping and restarting the Director. These changes will not affect manual analysis jobs already in progress.


  1. Stop and Restart the Director to apply the changes (see Sections 1.8 and 1.7).