WebSphere eXtreme Scale (formerly Data Grid), Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Update the isPartitionAlive method

Partitions may take advantage of the partition health checking mechanism. The isPartitionAlive method is invoked by the HA manager to interrogate the application to check the state of a partition. If the application can determine that a partition is healthy, then it should return true. Otherwise, it should return false.

The partition's isPartitionAlive method will be called when:
  • The partition is activating. The partitionLoadEvent method has been called but has not yet returned. The isPartitionAlive must return true during this period.
  • The partition is active. The partitionLoadEvent returned, and the cluster member is now hosting the active partition and receiving IIOP requests (or requests through other means). The isPartitionAlive method will be called periodically to check the partition health.
  • The partition is deactivating. The partitionUnloadEvent has been called and the application is currently shutting down the partition on this cluster member.
public boolean isPartitionAlive(String partitionName) 
	{
		return isMyParititionAlive(partitionName);
	}



Related tasks
Adding sample partitions
Reference topic    

Terms of Use | Feedback

Last updated: Oct 30, 2009 6:09:57 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.dataint.doc/info/WPF51/rwpfisPartitionAlive.html