Hello,
To prevent two drivers from seeing each other, you must disable the automatic peer driver discovery mechanism, which is enabled by default. This is done in the driver's configuration with this property:
jppf.peer.discovery.enabled = false
Similarly, if you wish to have two distinct groups of nodes, each seeing only one of the drivers, the simplest is to:
- disable the drivers broadcasting service with this configuration property:
jppf.discovery.enabled = false
- disable each node's driver discovery service and configure the connection to the driver manually:
# disable driver discovery
jppf.discovery.enabled = false
# connect to driver on specified host and port
jppf.server.host = driver1_host
jppf.server.port = 11111
In the same way, you may disable driver discovery in your clients and manually configure which driver(s) they connect to:
# disable driver discovery
jppf.discovery.enabled = false
# names of the drivers to connect to
jppf.drivers = driver1
# connect to the driver on specified host and port
driver1.jppf.server.host = driver1_host
driver1.jppf.server.port = 11111
With this approach, you can setup two or more distinct JPPF grids on the same network, each grid being compeltely independant from the others. You can even co-locate multiple drivers on the same host, provided you assign each of them a separate port with jppf.server.port = <port_number>
I hope this clarifies,
-Laurent