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>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>0</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         <!-- Send full service table every 5 seconds -->
0026         <brrefresh>5</brrefresh>
0027     </appconfig>
0028     <defaults>
0029         <min>1</min>
0030         <max>1</max>
0031         <autokill>1</autokill>
0032         <respawn>Y</respawn>
0033         <!-- The maximum time while process can hang in 'starting' state i.e.
0034         have not completed initialization, sec -->
0035         <start_max>20</start_max>
0036         <!--
0037         Ping server in every X sanity units
0038         -->
0039         <pingtime>9</pingtime>
0040         <!--
0041         Max number of sanity units in which server must respond.
0042         The granularity is sanity time.
0043         -->
0044         <ping_max>40000</ping_max>
0045         <!--
0046         Max time to wait until process should exit on shutdown
0047         -->
0048         <end_max>30</end_max>
0049         <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0050         to process until it have been terminated. -->
0051         <killtime>20</killtime>
0052     </defaults>
0053     <servers>
0054         <server name="tmsrv">
0055             <srvid>50</srvid>
0056             <min>1</min>
0057             <max>1</max>
0058             <sysopt>-e ${TESTDIR}/TM1.log -r -- -t1 -l${TESTDIR}/RM1 -m200</sysopt>
0059         </server>
0060         <server name="atmi.sv47">
0061             <min>1</min>
0062             <max>1</max>
0063             <srvid>101</srvid>
0064             <sysopt>-e ${TESTDIR}/atmisv47.log -r</sysopt>
0065         </server>
0066         <server name="atmi.sv47">
0067             <min>1</min>
0068             <max>1</max>
0069             <srvid>102</srvid>
0070             <sysopt>-e ${TESTDIR}/atmisv47_2.log -r -N -sDEL:ACCCLEAN</sysopt>
0071         </server>
0072         <server name="atmi.sv47_oci">
0073             <min>1</min>
0074             <max>1</max>
0075             <srvid>201</srvid>
0076             <sysopt>-e ${TESTDIR}/atmi.sv47_oci.log -r</sysopt>
0077         </server>
0078     </servers>
0079 </endurox>
0080