Skip to content

Instantly share code, notes, and snippets.

@lpellegr
Last active July 8, 2016 06:36
Show Gist options
  • Save lpellegr/32d3b594f91256a9bfc8e0f19a75d49d to your computer and use it in GitHub Desktop.
Save lpellegr/32d3b594f91256a9bfc8e0f19a75d49d to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<agent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:proactive:agent:1.0:windows">
<config>
<proactiveHome>C:\Program Files (x86)\ProActiveAgent\schedworker</proactiveHome>
<javaHome>C:\Program Files (x86)\ProActiveAgent\schedworker\jre</javaHome>
<jvmParameters>
<param>-Djava.io.tmpdir=C:\Users\PROACT~1\AppData\Local\Temp\${rank}</param>
<param>-Dpa.logs.home=C:\Users\PROACT~1\AppData\Local\Temp\${rank}</param>
<param>-Dproactive.node.monitoring.db.dir=C:\Users\PROACT~1\AppData\Local\Temp\${rank}\</param>
<param>-Dpas.launcher.forkas.method=pwd</param>
<param>-Dpa.node.dataspace.filetransfer.threadpoolsize=1</param>
</jvmParameters>
<memoryLimit>0</memoryLimit>
<nbRuntimes>1</nbRuntimes>
<nbWorkers>8</nbWorkers>
<protocol>pnp</protocol>
<portRange first="1100" last="1110" />
<onRuntimeExitScript>C:\PROGRA~2\PROACT~1\delete_temp.bat</onRuntimeExitScript>
<processPriority>Normal</processPriority>
<maxCpuUsage>100</maxCpuUsage>
</config>
<events>
<event>
<start day="Monday" hour="0" minute="0" second="0" />
<duration days="6" hours="23" minutes="59" seconds="59" />
<config>
<memoryLimit>0</memoryLimit>
<nbRuntimes>0</nbRuntimes>
<nbWorkers>0</nbWorkers>
<portRange first="0" last="0" />
<processPriority>Normal</processPriority>
<maxCpuUsage>100</maxCpuUsage>
</config>
</event>
</events>
<connections>
<localBind enabled="false">
<respawnIncrement>10</respawnIncrement>
<javaStarterClass>org.objectweb.proactive.core.util.winagent.PAAgentServiceRMIStarter</javaStarterClass>
</localBind>
<rmConnection enabled="true">
<respawnIncrement>10</respawnIncrement>
<javaStarterClass>org.ow2.proactive.resourcemanager.utils.RMNodeStarter</javaStarterClass>
<nodename>PA-AGENT_NODE</nodename>
<url>pnp://54.235.53.112:64738</url>
<credential>C:\Program Files (x86)\ProActiveAgent\schedworker\config\authentication\rm.cred</credential>
</rmConnection>
<customConnection enabled="false">
<respawnIncrement>10</respawnIncrement>
<javaStarterClass>user.Starter</javaStarterClass>
</customConnection>
</connections>
</agent>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment