0001 <?xml version="1.0" ?>
0002 <endurox>
0003 <appconfig>
0004 <!-- ALL BELLOW ONES USES <sanity> periodical timer -->
0005 <!-- Sanity check time, sec -->
0006 <sanity>1</sanity>
0007 <!-- If process have been state changed to other than dead, exit or not running
0008 but PID of program does not exists in system, then send internel message, then
0009 program have been stopped.
0010 In Seconds.
0011 -->
0012 <checkpm>1</checkpm>
0013 <!-- <sanity> timer, end -->
0014 <!-- Do process reset after 1 sec -->
0015 <restart_min>1</restart_min>
0016 <!-- If restart fails, then boot after +5 sec of previous wait time -->
0017 <restart_step>10</restart_step>
0018 <!-- If still not started, then max boot time is a 30 sec. -->
0019 <restart_max>30</restart_max>
0020 <!-- <sanity> timer, end -->
0021
0022 <!-- Time after attach when program will start do sanity & respawn checks,
0023 starts counting after configuration load -->
0024 <restart_to_check>20</restart_to_check>
0025 </appconfig>
0026 <defaults>
0027 <min>1</min>
0028 <max>1</max>
0029 <autokill>1</autokill>
0030 <!-- Do not need respawning! -->
0031 <respawn>1</respawn>
0032 <!-- The maximum time while process can hang in 'starting' state i.e.
0033 have not completed initialization, sec -->
0034 <start_max>20</start_max>
0035 <!--
0036 Ping server in every X seconds (minimum step is <sanity>).
0037 -->
0038 <pingtime>9</pingtime>
0039 <!--
0040 Max time in seconds in which server must respond.
0041 The granularity is sanity time.
0042 -->
0043 <ping_max>40</ping_max>
0044 <!--
0045 Max time to wait until process should exit on shutdown
0046 -->
0047 <end_max>30</end_max>
0048 <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0049 to process until it have been terminated. -->
0050 <killtime>20</killtime>
0051
0052 </defaults>
0053 <servers>
0054
0055 <server name="tmsrv">
0056 <max>1</max>
0057 <srvid>50</srvid>
0058 <sysopt>-e ${TESTDIR}/tmsrv-dom1.log -r -- -t1 -l${TESTDIR}/RM1</sysopt>
0059 </server>
0060
0061 <server name="tmqueue">
0062 <max>1</max>
0063 <srvid>100</srvid>
0064 <sysopt>-e ${TESTDIR}/tmqueue-dom1.log -r -- -q ./q.conf -s1 -T30</sysopt>
0065 </server>
0066
0067 <server name="tpbridge">
0068 <max>1</max>
0069 <srvid>101</srvid>
0070 <sysopt>-e ${TESTDIR}/bridge-dom1.log -r</sysopt>
0071 <appopt>-f -n2 -r -i 127.0.0.1 -p 20003 -tA -z30</appopt>
0072 </server>
0073
0074 <!-- Rollback orphan transactions, periodically -->
0075 <server name="tmrecoversv">
0076 <min>0</min>
0077 <max>1</max>
0078 <srvid>8888</srvid>
0079 <sysopt>-e ${TESTDIR}/tmrecoversv-dom1.log -r</sysopt>
0080 <!-- We will start the queueing test for some time ... -->
0081 <appopt>-p -s10</appopt>
0082 </server>
0083
0084 </servers>
0085 </endurox>