Back to home page

Enduro/X

 
 

    


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 34 sec. -->
0021                 <restart_max>34</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         </appconfig>
0028         <defaults>
0029                 <min>1</min>
0030                 <max>1</max>
0031                 <autokill>1</autokill>
0032                 <!-- Do not need respawning! -->
0033                 <respawn>0</respawn>
0034                 <!-- The maximum time while process can hang in 'starting' state i.e.
0035                 have not completed initialization, sec -->
0036                 <start_max>20</start_max>
0037                 <!--
0038                 Ping server in every X seconds (minimum step is <sanity>).
0039                 -->
0040                 <pingtime>9</pingtime>
0041                 <!--
0042                 Max time in seconds in which server must respond.
0043                 The granularity is sanity time.
0044                 -->
0045                 <ping_max>40</ping_max>
0046                 <!--
0047                 Max time to wait until process should exit on shutdown
0048                 -->
0049                 <end_max>34</end_max>
0050                 <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0051                 to process until it have been terminated. -->
0052                 <killtime>20</killtime>
0053         </defaults>
0054         <servers>
0055             <server name="atmisv34">
0056                 <max>1</max>
0057                 <srvid>101</srvid>
0058                 <sysopt>-e ${TESTDIR}/atmisv34.log -r</sysopt>
0059             </server>
0060             
0061             <server name="atmisv34_2">
0062                 <min>0</min>
0063                 <max>1</max>
0064                 <srvid>201</srvid>
0065                 <sysopt>-e ${TESTDIR}/atmisv34_2.log -r</sysopt>
0066             </server>
0067             
0068             <!-- this shall not start, as table too big for advertise -->
0069             <server name="atmisv34_3">
0070                 <min>0</min>
0071                 <max>1</max>
0072                 <srvid>1000</srvid>
0073                 <sysopt>-e ${TESTDIR}/atmisv34_3.log -r</sysopt>
0074             </server>
0075 
0076             <!-- this shall bring up with two services, as we alias to functions 
0077                  also we shall have the A3OK@CCC advertised too
0078             -->
0079             <server name="atmisv34_3">
0080                 <min>0</min>
0081                 <max>1</max>
0082                 <srvid>1001</srvid>
0083                 <sysopt>-SA3OK:T3 -e ${TESTDIR}/atmisv34_3.log -r -N -gCCC</sysopt>
0084             </server>
0085             
0086             <!--
0087                 We have list of 25 services (FUNC ALIAS), shall fail to start
0088             -->
0089             <server name="atmisv34_3">
0090                 <min>0</min>
0091                 <max>1</max>
0092                 <srvid>1002</srvid>
0093                 <sysopt>-e ${TESTDIR}/atmisv34_3.log -r -N -gCCC -Sz:T3 -Sy:T3 -Sx:T3 -Sw:T3 -Sv:T3 -Su:T3 -St:T3 -Ss:T3 -Sr:T3 -Sq:T3 -Sp:T3 -So:T3 -Sn:T3 -Sm:T3 -Sl:T3 -Sk:T3 -Sj:T3 -Si:T3 -Sh:T3 -Sg:T3 -Sf:T3 -Se:T3 -Sd:T3 -Sc:T3 -Sb:T3</sysopt>
0094             </server>
0095             
0096             <!--
0097                 We have list of 24 services (FUNC ALIAS), shall start OK
0098             -->
0099             <server name="atmisv34_3">
0100                 <min>0</min>
0101                 <max>1</max>
0102                 <srvid>1003</srvid>
0103                 <sysopt>-e ${TESTDIR}/atmisv34_3.log -r -N -gCCC -Sz:T3 -Sy:T3 -Sx:T3 -Sw:T3 -Sv:T3 -Su:T3 -St:T3 -Ss:T3 -Sr:T3 -Sq:T3 -Sp:T3 -So:T3 -Sn:T3 -Sm:T3 -Sl:T3 -Sk:T3 -Sj:T3 -Si:T3 -Sh:T3 -Sg:T3 -Sf:T3 -Se:T3 -Sd:T3 -Sc:T3</sysopt>
0104             </server>
0105             
0106             <!--
0107                 We have list of 25 services (1FUNC + other ALIAS), shall fail to start
0108             -->
0109             <server name="atmisv34_3">
0110                 <min>0</min>
0111                 <max>1</max>
0112                 <srvid>1004</srvid>
0113                 <sysopt>-ST3:T3 -e ${TESTDIR}/atmisv34_3.log -r -N -gCCC -sz:T3 -sy:T3 -sx:T3 -sw:T3 -sv:T3 -su:T3 -st:T3 -ss:T3 -sr:T3 -sq:T3 -sp:T3 -so:T3 -sn:T3 -sm:T3 -sl:T3 -sk:T3 -sj:T3 -si:T3 -sh:T3 -sg:T3 -sf:T3 -se:T3 -sd:T3 -Sc:T3</sysopt>
0114             </server>
0115             
0116             <!--
0117                 We have list of 24 services (1FUNC + other ALIAS), shall start OK
0118             -->
0119             <server name="atmisv34_3">
0120                 <min>0</min>
0121                 <max>1</max>
0122                 <srvid>1005</srvid>
0123                 <sysopt>-ST3:T3 -e ${TESTDIR}/atmisv34_3.log -r -N -gCCC -sz:T3 -sy:T3 -sx:T3 -sw:T3 -sv:T3 -su:T3 -st:T3 -ss:T3 -sr:T3 -sq:T3 -sp:T3 -so:T3 -sn:T3 -sm:T3 -sl:T3 -sk:T3 -sj:T3 -si:T3 -sh:T3 -sg:T3 -sf:T3 -se:T3 -sd:T3</sysopt>
0124             </server>
0125             
0126             <!--
0127               Test -n flag
0128               -->
0129             <server name="atmisv34_3">
0130                 <min>0</min>
0131                 <max>1</max>
0132                 <srvid>1006</srvid>
0133                 <sysopt>-ST3:T3 -e ${TESTDIR}/atmisv34_3.log -r -N -gCCC -sz:T3 -sy:T3 -sx:T3 -sw:T3 -sv:T3 -su:T3 -st:T3 -ss:T3 -sr:T3 -sq:T3 -sp:T3 -so:T3 -sn:T3 -sm:T3 -sl:T3 -sk:T3 -sj:T3 -si:T3 -sh:T3 -sg:T3 -sf:T3 -se:T3 -sd:T3 -sc:T3 -Sb:T3 -nc -nd -nb</sysopt>
0134             </server>
0135                         
0136         </servers>
0137 </endurox>