Putting the Grid or Parts of the Grid in an Off-Line State
In the Lawson Grid you can prevent new client requests from being accepted by the server applications by putting the gird or part of the grid in an off-line state. When some part of the grid is off-line, it will no longer accept new requests but ongoing requests will be allowed to finish. This is ideal for situations when parts of a grid need to be taken down but you do not want to simply kill nodes since that would terminate existing processes performed there. In this situation, you may start by having the grid enter an off-line state. When all ongoing requests are completed, you can stop the nodes or the relevant parts.
A typical example is that you want to stop an application in order to perform some maintenance. Just stopping all application nodes could perhaps result in some ongoing processing being terminated prematurely. The solution is to first put the application in an off-line state. This prevents clients from calling the application with more requests. When all ongoing requests are finished, you may safely stop the application.
An important implication of an application being in an off-line state is that nodes will no longer be automatically started even if the application has bindings that are configured to maintain a minimum number of running nodes. If an application has bindings of this type, it will be impossible to stop the application without also putting it in an off-line state. This is because not doing so would cause the grid to automatically start new nodes to replace the stopped one.
The following entities may be put in an off-line state:
-
The entire grid
-
The grid host
-
Applications
-
Individual application nodes
The following procedures describe how to put different parts of the grid in an off-line state. Getting them on-line again is done in the same way but by selecting the Set Online link.