Skip to main content

Problem:

  • Product Name: Borland Enterprise Server AppServer
  • Product Version: 6.6 and later
  • Product Component: Partition
  • Platform/OS Version: All

How to determine the health status of the partition for a decision on restart?

Resolution:

The status of the partition can be checked using a ping call to the partition. The ping can be made using the ping option provided by the iastool command:

iastool -ping (-hub | -host :) [-cfg ] -mo [-moagent ] [-mgmtport ] [-realm ] [-user ] [-pwd ]

The following explains what happens when the ping call is made:

a. SCU will first check the partition"s process ID. If the PID does not exist, SCU will return status as "Stopped". This is a shallow ping.

b. If the partition PID does exist, SCU will do a deep ping to partition by invoking remote method "getPartitionState()" which is internal to the Appserver.
The Partition will return the state after checking the states of the partition services(EBJ Container, VisiConnect, etc.). The possible states are "Running", "Starting" and "Stopped". This is a deep ping.

c. If "getPartitionState()" method invocation encounteres exception, the SCU will return "Malfunctioning" state.

d. If the Partition ping driver failed to load, then SCU will return "Unknown" state.

 

#VisiBroker
#Security