MOfNPolicy

A concrete type of PreferredServerPolicy. At any instance of time, HAManager will try to execute the application on M (M > 0) servers.

Inherits from type PreferredServerPolicy and adds the following.

Attributes Summary
numActive : intAn integer-valued field.

Attribute Details

numActive    -    An integer-valued field. At any instance of time, HAManager should try to execute the application at 'numActive' servers of the core group. The relationship "1 <= numOfActive <= number of elements in the coreGroupServers set" should be satisfied while specifying the value of numOfActive attribute. If 'numOfActive > 'number of elements in the coreGroupServers set', HAManager may try to activate the application on all the servers belonging to the core group. If 'numOfActive > number of elements of the preferredServers' set, and the 'preferredOnly' flag is set to 'false', in addition to the preferredServes, HAManager may also try to activate application components in other servers of the core group. If numActive is set to 1, the policy degenerates to OneOfNPolicy.Setting numOfActive to a value less than 1 may result in unpredictable behaviour from HAManager implementation.
     data type:  int
     default Value:   1


Copyright IBM Corp. 1997-2004