What is a Clustered Metric?
Clustered Metric enables the definition of one Metric to run for each individual member of a resource group, to apply the same definition and logic for a set of items. A clustering can be set either statically on a predefined set of resources or dynamically on the members of resource group while the group can be changed over time and include or exclude members from the group.
A resource or resource group can be excluded and included in the group over the time and even being excluded from the group and return to become included in the group, over and over again, in the same calculation period (day, month, year etc).
What happens in the Business Logic when a cluster item is removed from the cluster base group?
OnPeriodEnd method and Result Function are triggered for the cluster item. If this happens in the middle of calculation period, the result is only written to the database when the original calculation period is over (e.g. end of the month, end of the year).
What happens in the business logic when a cluster item joins the cluster base group?
Global variables are initiated, OnLoad, OnRegistration and OnPeriosStart methods are triggered for the cluster item
What happens in the business logic when a cluster item joins the cluster base group after it was removed from the group in the same calculation period?
The Result which was set for the period the cluster item was part of the group is overridden with the new Result. In other words, the result in the end of the calculation period refer only the last period in the calculated period where the cluster item is part of the group.
What is the affect of the effective attribute of a resource on the Business Logic?
During the time a resource is not effective, no raw data is collected for the non-effective resource.
What is the affect of the effective attribute of a resource on the clustering?
Changing a resource to become not effective, has the same impact on the clustering like exclusion of the resource from the group. The clustering behaves in the same manner for both resource effectiveness and group membership.
How should you implement exceptions on a resource? Is using resource effectiveness the right method?
There are some business cases where an exception period should be set on an individual resource, for example, a server may get into maintenance and should be neglected from calculations for the maintenance period.
Since Business Logic ignores Raw Data Events of a not-effective resource, you may choose to implement exceptions on a resource using the effectiveness mechanism. It may work for some use cases. However, if the resource is part of a Clustered Metric and the resource is becoming effective and not-effective in the same calculation period, only the last period for which the resource was effective is taken into consideration in the result as stated above. In that case, it is advisable to use the custom attributes feature. An additional attribute for the resource stating the status of the resource can be managed. The Business Logic formula then queries the status of the resource wherever relevant in the script.
|
Copyright © 2013 CA.
All rights reserved.
|
|