Service model: example 2
This topic describes an example service hierarchy, the dependencies for the example service hierarchy, and the service hierarchy displayed in the View Service tab of the Service Editor/Viewer.
Figure 1 shows another way you could create a service hierarchy for a similar service. In this example, the status of the services depends on both ObjectServer events and data from a DNS SQL data source.

Table 1 describes the dependencies for the example service model in Figure 1.
| Template | Service instances | Aggregation rules | Incoming status rules |
|---|---|---|---|
WebApp |
customer8 |
Status of WebFarm, DBFarm,
and NetGroup services |
None |
WebFarm |
webfarm1 |
Status of Webserver services |
None |
WebServer |
webserver4
|
None | Netcool/OMNIbus events for web servers 4, 5, and 6 |
DBFarm |
dbfarm1 |
Status of Database services |
None. |
Database |
database3
|
None | Netcool/OMNIbus events for databases 3 and 4 |
NetGroup |
netgroup1 |
Status of DNSServer services Status
of |
None. |
DNSService |
dnserver2 |
None | Data from a database that contains DNS availability information for dnsserver2 |
AuthServer |
authServer2 |
None | Netcool/OMNIbus events for authserver2 |
In Figure 1, the provider has created service templates for:
WebApp(with a service calledcustomerB) that depends on the status of services tagged with theWebFarm,DBFarmandNetGrouptemplates as defined in theWebApptemplate's aggregation rules.WebFarm(with a service calledwebfarm1) that depends on the status of services tagged with theWebServerservice template as defined in theWebFarmtemplate's aggregation rules.WebServer(with serviceswebserver4,webserver5, andwebserver6) that gets its status from Netcool/OMNIbus events as defined in the template's incoming status rules.DBFarm(with a service calleddbfarm1) that depends on the status of services tagged with theDatabaseservice template as defined in theDBFarmtemplate's aggregation rules.Database(with servicesdatabase3anddatabase4) that gets its status from Netcool/OMNIbus events as defined in the template's incoming status rules.NetGroup(with a service callednetgroup1) that depends on the status of services tagged with theAuthserverandDNSserverservice template as defined in theNetGrouptemplate's aggregation rules.Authserver(with a service calledauthserver2) that gets its status from Netcool/OMNIbus events as defined in the template's incoming status rules.DNSserver(with one instance calleddnsserver2) that gets its status from an SQL query into a database with information about DNS events.