Customizable allocation process, Policy configuration file, Rule file – HP Matrix Operating Environment Software User Manual
Page 60: Policy configuration file rule file

Edit the Create Boot Environment and add the export kernparm=mpath kernel parameter. After
updating the job, you are able to deploy both Red Hat Enterprise Linux 5.2 and Red Hat Enterprise
Linux 5.3 to a multi-path LUN.
Customizable allocation process
Insight Orchestration performs automated resource allocation using a built-in allocation
mechanism, as described above. This built in allocator is the default allocation mechanism. In
addition, version 6.2 also includes a customizable allocation mechanism that can be used instead
of the built in allocator for some parts of the resource customizable allocation process. The
customizable allocator supports a flexible, rule based fitting process using the JBoss Drools rule
engine
rule based fitting processes, which you can then customize as needed. By default, all of the rule
based fitting processes are disabled — the built in allocator’s fitting process is used. This section
describes how to enable rule based fitting processes.
Policy configuration file
The customizable allocation process uses pre-defined policy hooks in the
configuration file. The policy file (policy.xml) contains multiple
pre-defined entry points (or hooks), enabled state, and the corresponding rule files. A sample
entry in the policy.xml file is shown in the following figure.
•
The name PhysicalServerPolicyCheck.applyFitting in the figure indicates the
entry point or hook for the physical server fitting process.
•
The enabled flag, enables or disables the rule-based fitting for this hook.
•
The
When the customizable allocation process initiates, Insight Orchestration reads the policy.xml
file and uses this information to locate the fitting process to use by referencing the corresponding
hook status. If the hook is enabled, the hook uses the rule-based fitting process, otherwise it
continues to use the default fitting process.
You must restart the Insight Orchestration Windows service to reflect any changes made to the
policy file.
Rule file
A rule file is typically a text file with a .drl extension. In a .drl file, you can have multiple
rules, queries, and functions, as well as resource declarations assigned and used by the rules and
queries. You can also separate your rules into multiple rule files to help manage large numbers
of rules.
The overall structure of a rule file is:
60
Insight Orchestration provisioning and allocation