'Isolated Ignite clusters on same set of machines

I'm using Apache.Ignite NET 2.12.0.

I tried several approaches to allow two Ignite clusters to be run separately on the machine:

  1. Approach described here. I specified DiscoverySPI and CommunicationSPI port for each instance of server(I use client-server model) to isolate them, but the server failed to run with this warning:

[05:03:01,968][WARNING][main][TcpDiscoverySpi] Failed to connect to any address from IP finder (make sure IP finder addresses are correct and firewalls are disabled on all host machines): [/127.0.0.1:47501, /127.0.0.1:47502]

In that case, the execution enters Ignition.Start and don't leave it.

  1. I tried to provide IgniteConfiguration.SslContextFactory with different certificates to avoid the different clusters seeing each other, but in that case - they see each other, but the clusters fail to join each other, which prevents them from working.

Is there some easy way to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source