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

The open source
grid computing

 Home   About   Features   Download   Documentation   On Github   Forums 
May 30, 2023, 07:04:16 AM *
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: Configuring servers/nodes at runtime.  (Read 1551 times)


  • JPPF Padawan
  • *
  • Posts: 5
Configuring servers/nodes at runtime.
« on: July 08, 2013, 04:01:04 PM »

Hi all, I'm new to JPPF. Great piece of kit by the way! ;)

Anyway, I've been going through the documentation in the last couple of days but I still have a question on configuring nodes and servers. I'm trying to create a small test application using Amazon EC2. So ideally I'd like to instantiate EC2 instances when I need them, perform whatever computation I need and finally terminate them. But obviously I won't know the location of each EC2 instance until it has been created. So I'd have to be able to configure servers and nodes at runtime from the client.

How can I do this? Can I just use JPPFConfiguration.getProperties().setProperties(); from within the client to set properties on the servers/nodes?



  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: Configuring servers/nodes at runtime.
« Reply #1 on: July 08, 2013, 06:40:26 PM »


A good way to handle this would be to use the JPPF configuration source plugin.
You could use it with 2 implementations of the JPPFConfiguration.ConfigurationSource interface:
- one implementation for the server: it would determine its IP address, read the rest of its configuration from an accessible datasource (like a file in an S3 bucket, a database, etc.), then write the nodes configuration to the same kind of datasource
- one implementation for the nodes: it would read the configuration from where the server implementation wrote it



  • JPPF Padawan
  • *
  • Posts: 5
Re: Configuring servers/nodes at runtime.
« Reply #2 on: July 08, 2013, 10:24:09 PM »


Ok forget that, how do I pass the IP address from the server to the JPPFConfiguration class?
« Last Edit: July 08, 2013, 11:19:17 PM by spacitron »
Pages: [1]   Go Up
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at Fast, secure and Free Open Source software downloads