Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / examples / msg / masterslave / deployment_masterslave.xml
index 05e8521..18b7e5d 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
 <platform version="3">
   <!-- The master process (with some arguments) -->
   <process host="Tremblay" function="master">
@@ -13,9 +13,9 @@
      <argument value="Tremblay"/> <!-- Me! I can work too! -->
   </process>
   <!-- The slave process (with no argument) -->
-  <process host="Tremblay" function="slave"/>
-  <process host="Jupiter" function="slave"/>
-  <process host="Fafard" function="slave"/>
-  <process host="Ginette" function="slave"/>
-  <process host="Bourassa" function="slave"/>
+  <process host="Tremblay" function="slave" on_failure="RESTART"/>
+  <process host="Jupiter" function="slave" on_failure="RESTART"/>
+  <process host="Fafard" function="slave" on_failure="RESTART"/>
+  <process host="Ginette" function="slave" on_failure="RESTART"/>
+  <process host="Bourassa" function="slave" on_failure="RESTART"/>
 </platform>