6.3 Managing Rule Sets
SEA is installed with all rule sets pre-registered. You can manipulate the rule sets in the following ways:
- View the rule sets that are currently registered (see Section 6.3.1).
- If you receive or create new analysis rule files, you can register the new rule sets as needed (see Section 6.3.2).
- Unregister rule sets that are no longer needed (see Section 6.3.2).
- Re-register all the default rule sets (see Section 6.3.2).
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 lisAn 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.006.3.1.2 Web Interface
- Click the Settings button from the toolbar.
- Select the Director Settings tab.
- 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).
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*
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:
- Click on the Settings button in the toolbar.
- Click the Director Settings tab at the bottom of the window.
- Click the Register Knowledge button in the navigation frame (Figure 6–1).
Figure 6–1 Rules Files
- 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.
- To register a rule set that is not registered, select the check box next to its name.
- To unregister a rule set that is currently registered, deselect the check box next to its name.