You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by jameswsp <ja...@edvancesecurity.com> on 2019/03/01 05:18:14 UTC

How to avoid start multiple instances in single machine

Hi Support,

I hope to host only one instance/node in one machine.

But I am worried that I startup another node in one machine by mistake. How
to configure to avoid this/

Thank you.
James Wang
M/WeChat: 135 1215 1134 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How to avoid start multiple instances in single machine

Posted by Stephen Darlington <st...@gridgain.com>.
If you set the localPortRange to zero (property in the TcpDiscoverySpi), Ignite will only start on the port number you specific. That way, if you bring up another node it will fail to start. Though automating how your environment is configured so this could never happen would probably be a better idea!

Regards,
Stephen

> On 1 Mar 2019, at 05:18, jameswsp <ja...@edvancesecurity.com> wrote:
> 
> Hi Support,
> 
> I hope to host only one instance/node in one machine.
> 
> But I am worried that I startup another node in one machine by mistake. How
> to configure to avoid this/
> 
> Thank you.
> James Wang
> M/WeChat: 135 1215 1134 
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/