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 
June 03, 2023, 05:45:45 PM *
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: Reset programatically?  (Read 3264 times)


  • Guest
Reset programatically?
« on: March 01, 2009, 09:43:40 PM »

Is it possible to programatically reset a node's value?  (I noticed that this is not supported by JMXNodeConnectionWrapper, but was wondering if I could modify it to support this operation.) Does changing a communication setting require restarting the node?

Why would I want to do this?  I'm interested in using Amazon Ec2 instances as jppf nodes (with the jppf driver on one of my local systems).  To do this in a flexible way, I need to set the node's driver after the Ec2 instance is created.  Using a jppf config file means that the nodes are locked into one driver.  Ec2 does not support multicast, so using jppf's auto-discovery is not an option.



  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Reset programatically?
« Reply #1 on: March 04, 2009, 12:20:40 PM »


I apologize for the late response.
You can change any configuration value by using the API JPPFConfiguration.getProperties().setProperty("my_prop", "my_value")
The problem, as you mentioned, is how to do that remotely. I believe adding this capability to the management features in JPPF is a good idea.
I have created a feature request for this: 2661175 - Ability to change node or driver configuration remotely
It is also true that changing the connection properties would require a reconnection of the node, but not a restart, otherwise the node would reuse the static properties in the configuration file.

Thanks for your input,


  • Guest
Reset programatically?
« Reply #2 on: March 04, 2009, 04:47:02 PM »

How does one reconnect a node? (I found NodeRunner.ShutdownOrRestart..restart but haven't located a reconnect method).

Adding remote control of configuration properties would be nice (I have a few less than ideal ideas for getting around this limitation for now).

thanks for your help

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