JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
June 04, 2023, 07:02:44 PM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  
Pages: [1]   Go Down

Author Topic: Global Connection?  (Read 1707 times)

Jim

  • Guest
Global Connection?
« on: June 08, 2016, 11:29:18 PM »

Hello, I'm having trouble connecting the driver of two separate computers onto a single grid that they share. My goal is to have these two computers process jobs in parallel but cannot seem to have the two drivers discover each other. Is there some section in your documentation that helps me with this issue? How do I make my two computers connect to each other?
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: Global Connection?
« Reply #1 on: June 09, 2016, 08:29:26 AM »

Hello,

The documentation has a specific section on connecting drivers to each other, which you can find here.

You may also want to check the log file of each driver (jppf-driver.log) for error messages or exceptions.

If there is any way you can post the configuration of each driver (config/jppf-driver.properties), I'll be happy to check if anything is missng.

Sincerely,
-Laurent
Logged

Jim

  • Guest
Re: Global Connection?
« Reply #2 on: June 09, 2016, 09:51:14 AM »

Yes, I have looked over your documentation regarding the connection between two drivers. Although this seems to work when I use the same computer to connect the two drivers, issues occur when I try to connect them on two separate computers, as the two drivers are unable to find each other when I run them on each respective computer. I have listed the properties of the driver for computer 1 and computer 2 below. Is there an extra step that is required when you are trying to connect drivers between two computers rather than having the drivers connect on a single computer? If nothing seems wrong from the properties files, do you have any idea of what might be causing the issue? Thanks!
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: Global Connection?
« Reply #3 on: June 09, 2016, 02:09:08 PM »

Hello,

Thanks for providing the configuration. I'm seeing two potential issues here:

- you have set the following two properties:
Code: [Select]
jppf.discovery.broadcast.include.ipv4 = 192.168.1.; 192.168.1.0/24
jppf.discovery.include.ipv6 = 1080:0:0:0:8:800:200C-20FF:-; ::1/80
Could you please try without them, by just commenting them out? BTW, I believe the 2nd property should be "jppf.discovery.broadcast.include.ipv6" instead of "jppf.discovery.include.ipv6"

- you also set "jppf.peer.server_1.server.host = localhost". This is not going to work: you need to provide the IP or host name of the other driver machine instead of "localhost".

Could you please try these recommendations and let us know of the outcome?

Thanks,
-Laurent
Logged

Jim

  • Guest
Re: Global Connection?
« Reply #4 on: June 10, 2016, 03:56:23 AM »

Hello! Thanks for your suggestions. Unfortunately, my two computers still have trouble finding each other. I'm beginning to think of this as possibly a computer issue? Is there potential cause of this that you can momentarily think of? The natural settings of my two computers could possibly be a problem as something could be preventing the two computers' different IP addresses from locating each other.
Logged
Pages: [1]   Go Up
 
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads