advertisement
Rule Configuration File Snippets
SM_Configuration_Rule.xml snippet
<?xml version="1.0" encoding="UTF-8"?>
<xml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="SM_Configuration_Rule.xsd" version="1.0">
<source id="configuration" description="service mangaer configuration validation rules">
…
<domain id="StartUp" description="validate sm startup configuration" >
<rule id="sync" description="validate synch parameter" >
<operation param="sync" action="ValidateIsNotNull" />
</rule>
<rule id="systemstart" description="validate system.start" >
<operation param="system.start" action="ValidateIsNotNull" />
</rule>
<rule id="startuprule" description="validate startup by combination of sync and system.start" >
<condition operator="and" target="false">
<conditionrule id="sync" />
<conditionrule id="systemstart" />
</condition>
<output type="failed" message="failed: sync and system.start p rocesses should not be started at the same, the recommendation is to remove sync from configuration.
For further information, please refer to “Configuring a horizontal scaling environment” on help server."
/>
<output type="success" message="success: sync and system.start are not set both" />
</rule>
</domain>
……
SM_Configuration_Rule.xsd snippet
<xs:complexType name="rule_type">
HP Service Manager (9.33)
Page 32 of 39
SM Doctor User's Guide
Rule Configuration File Snippets
<xs:sequence>
<xs:element name="condition" minOccurs="0" type="condition-type">
<xs:unique name="NoRepeatConditionRule">
<xs:selector xpath="conditionrule"/>
<xs:field xpath="@id"/>
</xs:unique>
</xs:element>
<xs:element name="operation" minOccurs="0" type="operation_type">
</xs:element>
<xs:element name="output" minOccurs="0" maxOccurs="unbounded" type=
"output_type">
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:string" use="required" />
<xs:attribute name="description" type="xs:string" use="optional" />
<xs:attribute name="mode" use="optional" >
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="multiple" />
<xs:enumeration value="single" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
HP Service Manager (9.33)
Page 33 of 39
advertisement
advertisement
Table of contents
- 4 Contents
- 6 Introduction
- 6 Target audiences
- 6 Supported platforms
- 6 Supported Service Manager versions
- 6 Modes
- 6 Running Service Manager Doctor
- 8 Product Overview
- 8 Information collected
- 8 GUI mode
- 8 Service Manager Doctor Main window
- 9 Report window
- 10 Advanced Save window
- 11 Preference dialog box
- 11 Connect to Database dialog box
- 12 Connect to SM Server dialog box
- 12 Command-line mode
- 14 Command References
- 14 Service Manager Runtime commands (sm)
- 15 Extended Service Manager commands (esm)
- 18 Configuration commands (conf)
- 19 Database commands (db)
- 20 Operating System commands (os)
- 22 Web Service commands (ws)
- 22 Save commands (save)
- 23 Set commands (set)
- 24 Run commands (run)
- 26 Clear commands (clear)
- 26 Help command (help)
- 26 '-dlog' parameter
- 27 Configuration Validation Rules
- 27 Configuration rule file
- 27 Considerations for updating the rule file
- 28 Validation results
- 29 CmdOnDemand.xml
- 31 HTML Log Snippets
- 32 Rule Configuration File Snippets
- 34 Error References
- 37 Troubleshooting
- 38 We appreciate your feedback!