I have following ignite config:
def initializeIgniteConfig() = {
val ipFinder = new TcpDiscoveryVmIpFinder()
val HOST = "xx.xx.xx.xx:47500..47509"
ipFinder.setAddresses(Collections.singletonList(HOST))
val discoverySpi = new TcpDiscoverySpi()
discoverySpi.setIpFinder(ipFinder)
val igniteConfig = new IgniteConfiguration()
igniteConfig.setDiscoverySpi(discoverySpi)
//Ignite uses work directory as a relative directory for internal
write activities, for example, logging.
// Every Ignite node (server or client) has it's own work directory
independently of other nodes.
igniteConfig.setWorkDirectory("/tmp")
igniteConfig
}
My use case is: I would like to have multiple ignite servers, each server
cache a subset of the data and I send distributed closures to each node to
do local computation. In this case, can I start multiple servers on one
single machine by just passing multiple ip and port? Or I will need to start
each server on each machine separately? Thanks in advance!
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Multiple-servers-in-a-Ignite-Cluster-tp8840.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.