The cmm_member_seizequalif() function qualifies the
current node as the master node when there is no master node.
The cmm_member_seizequalif() function must be called
from a node that is master-eligible and has the attribute CMM_ELIGIBLE_MEMBER. If there is no master in the cluster, cmm_member_setqualif() cannot be called. If a node already exists with the attribute CMM_QUALIFIED_MEMBER, this call returns CMM_EPERM.
There are two outcomes of calling cmm_member_seizequalif()
from a master-eligible node: either the node becomes master or it reverts
to the qualification level it had prior to the cmm_member_seizequalif() function. This function returns a CMM_EPERM
error if a master is already up and running or if the current node is not
master-eligible. Note that if the node was previously CMM_SYNCHRO_NEEDED (flag S) it will not be elected as master if its former role was
master.
See the Netra High Availability Suite Foundation Services 2.1 6/03 CMM Programming Guide for further information on qualification levels.
Necessary notifications are sent according to the impact of this call.
See the Netra High Availability Suite Foundation Services 2.1 6/03 CMM Programming Guide for information on possible notifications.