Troubleshooting

Expand all | Collapse all

How to stop JVM on network segmentation?

  • 1.  How to stop JVM on network segmentation?

     
    Posted 06-19-2019 11:31 AM
    I'm trying to use a segmentation policy ... with network segmentation the jvm process should stop. The standard policy I found is RESTART/STOP/NOOP(default), but the stop policy is only stopping the node, not the JVM.

    Is there any policy/way to stop the JVM on network segmentation? I'm starting my nodes via an application.


  • 2.  RE: How to stop JVM on network segmentation?

     
    Posted 06-20-2019 12:57 AM
    Edited by Alex Williams 06-20-2019 12:57 AM
    Hi Taruk, 

    There is no such thing out of box. You can try this  (org.apache.ignite.Ignition#addListener) and handle 
    (org.apache.ignite.IgniteState#STOPPED_ON_SEGMENTATION) state change  according to your needs. 

    Perhaps, if you can describe why do you need a specific handling then the Community might suggest other options.




Would you attend a July Meetup?


Announcements

  • Welcome to the new GridGain Forums!

    Hello and welcome to the new GridGain Forums. This is the place to ask questions, get or give advice and connect with your peers. GridGain experts regularly monitor these posts and can also help solve your issues.