Yes, this could be configurable. I would vote to have this enabled by default as in case with replicated journal. This will prevent situation where live and backup are active at the same time. I don't see use for this feature in simple cluster.
It seems that check list cannot contain IP to itself as such address will be always reachable. Mirek ----- Original Message ----- > From: "Clebert Suconic" <[email protected]> > To: [email protected] > Sent: Thursday, November 24, 2016 2:53:30 PM > Subject: Re: [DISCUSS] ARTEMIS-863 - Network Health Check > > We can add a few properties to such to control add backup or add other > members. > > I will think about something next week after the holiday. > > On Thu, Nov 24, 2016 at 3:18 AM Miroslav Novak <[email protected]> wrote: > > > For this to work properly, the check list of IPs/hostnames must contain > > also live/backup pair. I mean that live should have in its checklist IP of > > backup and backup of its live server. I think there is problem for the user > > to manually add this to the "check list", especially if it's using > > discovery - JGroups UDP or Netty UDP discovery - for finding servers. Can > > IP/hostnames be added to the checklist automatically? Otherwise this will > > be very static. wdyt? > > > > Mirek > > > > ----- Original Message ----- > > > From: "Clebert Suconic" <[email protected]> > > > To: [email protected] > > > Sent: Tuesday, November 22, 2016 5:36:44 PM > > > Subject: Re: [DISCUSS] ARTEMIS-863 - Network Health Check > > > > > > I changed the implementation to accept IPV6. > > > > > > Unfortunately, an IPV6 Address is not returning true through > > > isReachable. Perhaps I really need root access fot the ICMP to work on > > > IPV6 address. > > > > > > > > > Anyway, I am testing for IPV6 and using ping6 now on my local copy.. I > > > will update the branch before the end of the day, and I should send a > > > PR. > > > > > > On Tue, Nov 22, 2016 at 11:25 AM, Matt Pavlovich <[email protected]> > > wrote: > > > > On 11/22/16 9:14 AM, Clebert Suconic wrote: > > > >> > > > >> On Tue, Nov 22, 2016 at 10:04 AM, Matt Pavlovich <[email protected]> > > > >> wrote: > > > >>> > > > >>> Clebert- > > > >>> > > > >>> Can you clarify what you mean by: > > > >>> > > > >>> "..the server will shutdown.." > > > >> > > > >> > > > >> > > > >> the Network Checker will call server.stop(); > > > >> > > > >> > > > >> The process will stay alive, waiting the network to come back, when is > > > >> back.. it will call server.start() again. > > > > > > > > Good deal. Sounds good! > > > > > > > > > > > > -- > > > Clebert Suconic > > > > > >
