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>5</checkpm>
0013 <!-- <sanity> timer, end -->
0014
0015 <!-- ALL BELLOW ONES USES <respawn> periodical timer -->
0016 <!-- Do process reset after 1 sec -->
0017 <restart_min>1</restart_min>
0018 <!-- If restart fails, then boot after +5 sec of previous wait time -->
0019 <restart_step>10</restart_step>
0020 <!-- If still not started, then max boot time is a 30 sec. -->
0021 <restart_max>30</restart_max>
0022 <!-- <sanity> timer, end -->
0023
0024 <!-- Time after attach when program will start do sanity & respawn checks,
0025 starts counting after configuration load -->
0026 <restart_to_check>20</restart_to_check>
0027 <!-- Send full service table every 5 seconds -->
0028 <brrefresh>5</brrefresh>
0029 </appconfig>
0030 <defaults>
0031 <min>1</min>
0032 <max>1</max>
0033 <autokill>1</autokill>
0034 <!-- Do not need respawning! -->
0035 <respawn>1</respawn>
0036 <!-- The maximum time while process can hang in 'starting' state i.e.
0037 have not completed initialisation, sec -->
0038 <start_max>20</start_max>
0039 <!--
0040 Ping server in every X sanity checks
0041 -->
0042 <pingtime>9</pingtime>
0043 <!--
0044 Max number of sanity units in which server must respond.
0045 -->
0046 <ping_max>40</ping_max>
0047 <!--
0048 Max time to wait until process should exit on shutdown
0049 -->
0050 <end_max>20</end_max>
0051 <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0052 to process until it have been terminated. -->
0053 <killtime>1</killtime>
0054 </defaults>
0055 <servers>
0056
0057 <server name="atmi.sv68">
0058 <min>1</min>
0059 <max>10</max>
0060 <srvid>10</srvid>
0061 <sysopt>-e ${TESTDIR}/atmisv-dom2.log -r</sysopt>
0062 </server>
0063
0064 <!-- Have some server with different clop name -->
0065
0066 <server name="dummysv">
0067 <min>1</min>
0068 <max>10</max>
0069 <srvid>30</srvid>
0070 <cmdline>dumcmdsv</cmdline>
0071 <sysopt>-e ${TESTDIR}/dummysv-dom2.log -r</sysopt>
0072 </server>
0073
0074 <server name="tpbridge">
0075 <max>1</max>
0076 <srvid>101</srvid>
0077 <sysopt>-e ${TESTDIR}/bridge-dom2.log -r</sysopt>
0078 <!-- Do not accept any roundrip, .e.g -1 -->
0079 <appopt>-f -n1 -r -i 0.0.0.0 -p 20003 -tP -z30 -P0 -K1 -k-1</appopt>
0080 </server>
0081
0082 <!-- Disconnected member node -->
0083 <server name="tpbridge">
0084 <max>1</max>
0085 <srvid>201</srvid>
0086 <sysopt>-e ${TESTDIR}/bridge-dom2.log -r</sysopt>
0087 <appopt>-f -n3 -r -i 0.0.0.0 -p 11003 -tP -z30 -P0</appopt>
0088 </server>
0089
0090 <server name="tpadmsv">
0091 <max>1</max>
0092 <srvid>401</srvid>
0093 <sysopt>-e ${TESTDIR}/tpadmsv-dom2.log -r</sysopt>
0094 </server>
0095
0096 <server name="cpmsrv">
0097 <srvid>9999</srvid>
0098 <min>1</min>
0099 <max>1</max>
0100 <sysopt>-e ${TESTDIR}/cpmsrv.log -r -- -i1 -k5</sysopt>
0101 </server>
0102
0103 </servers>
0104
0105 <!-- Client section -->
0106 <clients>
0107
0108 <client cmdline="./test.sh -t ${NDRX_CLTTAG} -s ${NDRX_CLTSUBSECT}">
0109 <exec tag="BINARY1" subsect="1" autostart="Y" />
0110 <exec tag="BINARY2" subsect="2" autostart="Y" />
0111 <exec tag="BINARY3" subsect="3" autostart="Y" />
0112 </client>
0113
0114 <client cmdline="./atmiclt68 conv">
0115 <exec tag="CONV" subsect="1" autostart="N" />
0116 </client>
0117
0118 <client cmdline="./non_existant_bin">
0119 <exec tag="bad1" subsect="1" autostart="Y" />
0120 <exec tag="bad2" subsect="2" autostart="Y" />
0121 </client>
0122
0123 </clients>
0124
0125
0126 </endurox>
0127
0128