You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by kay <go...@gmail.com> on 2020/04/27 07:44:19 UTC
TcpDiscoverySharedFsIpFinder with different machine..
Hello,
I'd like to start 4 node at each different machine.
Is is possible for use TcpDiscoverySharedFsIpFinder for node clustering??
I figured out it was working with in same machine.
but I'm wondering about different machine 'TcpDiscoverySharedFsIpFinder' .
if it is possible how can i set the path?? or is it not possible??
Please help me.
Thank you
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: TcpDiscoverySharedFsIpFinder with different machine..
Posted by kay <go...@gmail.com>.
yes, i mean same disk.
oh.. I see. Thank you so much for help
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: TcpDiscoverySharedFsIpFinder with different machine..
Posted by Stephen Darlington <st...@gridgain.com>.
What do you mean by “I wrote a path and it worked at same machine”? Do you mean that it’s a local disk? TcpDiscoverySharedFsIpFinder is designed to work with a shared filesystem, i.e., all four of your nodes mount the same disk.
> On 27 Apr 2020, at 09:55, kay <go...@gmail.com> wrote:
>
> yes, I wrote a path and it worked at same machine(it means same IP).
> My question is how can i set *different machine*(different IP,).
>
> For example)
> I have 4 node
>
> --> machine 1 IP list
> 41.1.122.122:12200 -> a
> 41.1.122.122:12202 -> b
>
>
> ----- machine 2 IP list
> 41.1.122.123:12200 -> c
> 41.1.122.123:12202 -> d
>
>
> (a,b) cluster is working
> (c,d) cluster is also working.
>
> i want to cluster all 4 nodes(a,b,c,d) and is there any way to use
> TcpDiscoverySharedFsIpFinder configuration?
>
>
>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: TcpDiscoverySharedFsIpFinder with different machine..
Posted by kay <go...@gmail.com>.
yes, I wrote a path and it worked at same machine(it means same IP).
My question is how can i set *different machine*(different IP,).
For example)
I have 4 node
--> machine 1 IP list
41.1.122.122:12200 -> a
41.1.122.122:12202 -> b
----- machine 2 IP list
41.1.122.123:12200 -> c
41.1.122.123:12202 -> d
(a,b) cluster is working
(c,d) cluster is also working.
i want to cluster all 4 nodes(a,b,c,d) and is there any way to use
TcpDiscoverySharedFsIpFinder configuration?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: TcpDiscoverySharedFsIpFinder with different machine..
Posted by Stephen Darlington <st...@gridgain.com>.
The path is defined with the path parameter:
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
...
<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ipFinder">
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.sharedfs.TcpDiscoverySharedFsIpFinder">
<property name="path" value="/var/ignite/addresses"/>
</bean>
</property>
</bean>
</property>
</bean>
https://apacheignite.readme.io/docs/tcpip-discovery
> On 27 Apr 2020, at 08:44, kay <go...@gmail.com> wrote:
>
> Hello,
>
> I'd like to start 4 node at each different machine.
> Is is possible for use TcpDiscoverySharedFsIpFinder for node clustering??
>
> I figured out it was working with in same machine.
> but I'm wondering about different machine 'TcpDiscoverySharedFsIpFinder' .
>
> if it is possible how can i set the path?? or is it not possible??
> Please help me.
> Thank you
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/