Installation and Configuration
Installation
NOTE: Installation is common
for all the different modules - client (JobDispatcher), JobRunner and
HostSelector
Extract the prt-xxxx.zip file
into any convenient location. A directory called 'prt' should get created that
contains the following directories
- lib - It contains the
necessary jars. Currently only prt.jar
- bin - scripts to startup
various modules
- config - files to
configure the various modules
- logs - directories where
logs are stored. This is empty right now. Currently, logging cannot be
configured and this needs to be fixed.
Configuration
Configuration is done via <PRT_HOME>\config\prt.properties
file.
The following properties must be set
for all modules - client(JobDispatcher), JobRunner and HostSelector
aashish.prt.home
- Specifies the installation directory of
PRT
aashish.prt.hostselector.name
Specifies the logical (human friendly) name of the host selector remote
object. This is used to refer (bind and locate) the host selector
remote object.
aashish.prt.hostselector.address
Specifies the IP address of the host name of the machine on which the
host selector is running (bound).
aashish.prt.hostselector.port
Specifies the rmi registry port in which the host selector remote
object is registered.
java.rmi.server.policy
The policy file to use. This value will be used to set the value of the
JVM property java.rmi.server.policy. The full path is needed.
aashish.prt.rmiregistry.port
The port at which the RMI Registry should bind. Set this to same value
as aashish.prt.hostselector.port
for simplicity.
The following must be set for
the client (JobDispatcher) in addition to the above properties
aashish.prt.client.WorkerPoolSize
This specifies the number of workers to use when PRT is running in the
async mode.
The following must be set for the
JobRunner in addition to the earlier common properties
aashish.prt.host.heartbeatinterval
This is interval after which updates are periodically sent to the host
selector about the statistics of the JobRunner.