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, 08:41:35 AM *
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: Connecting nodes over the internet  (Read 1562 times)

Aloras

  • Guest
Connecting nodes over the internet
« on: October 19, 2013, 10:20:50 PM »

Hi Guys

I tried one of your samples and it worked now I want to connect the nodes over the internet is there a special parameter for the node startup or some thing like this?

My Second question.

Is ist possible to add nodes to a running job dynamically ?  Like in BOINC
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: Connecting nodes over the internet
« Reply #1 on: October 20, 2013, 10:21:00 AM »

Hello,

Indeed, since the server discovery protocol, based on UDP multicast, will not work over the internet, you will need to disable it and provide the server address and port in the node's configuration. For this simply add the following to its configuration file, located at JPPF_NODE_INSTALL/config/jppf-node.properties:
Code: [Select]
jppf.discovery.enabled = false
# must be an (public)  address reachable by the node
jppf.server.host = host_or_ip_address
jppf.server.port = 11111

Our documentation provides more details on the node configuration.

To answer your second question, yes, nodes can be added (or removed) dynamically to the grid, and taken into account immediately for the jobs being processed. How the jobs and their tasks are distributed to the nodes can be directly influenced by your load-balancing settings, as well as by the jobs service level agreement (SLA).

Additionallly, I would like to point out that the latest unstable version JPPF 4.0 alpha 2, released yesterday, brings a set of features specifically intended to support a BOINC-like volunteer computing model. In particular, I invite you to read about the new offline nodes feature which, when combined with the "idle host" mode (i.e. cpu scavenging), should provide you with a powerful alternative to what already exists.

I hope this helps.

Sincerely,
-Laurent
« Last Edit: October 20, 2013, 10:26:16 AM by lolo »
Logged

Aloras

  • Guest
Re: Connecting nodes over the internet
« Reply #2 on: October 24, 2013, 09:45:57 PM »

it worked .

thanks Laurent
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