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>15</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         </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>30</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             
0054             <envs group="XADUMMY">
0055                 <env name="NDRX_XA_RES_ID">2</env>
0056                 <env name="NDRX_XA_OPEN_STR">-</env>
0057                 <env name="NDRX_XA_CLOSE_STR">-</env>
0058                 <env name="NDRX_XA_DRIVERLIB">libndrxxanulls.${NDRX_LIBEXT}</env>
0059                 <env name="NDRX_XA_RMLIB">-</env>
0060                 <env name="NDRX_XA_LAZY_INIT">0</env>
0061             </envs>
0062             
0063         </defaults>
0064         <servers>
0065             
0066             <server name="tmsrv">
0067                 <envs>
0068                        <usegroup>XADUMMY</usegroup>
0069                 </envs>
0070                 <max>1</max>
0071                 <srvid>10</srvid>
0072                 <sysopt>-e ${TESTDIR}/tmsrv-dom2.log -r -- -t1 -l${TESTDIR}/RM2</sysopt>
0073             </server>
0074             
0075             <server name="atmisv28">
0076                 <envs>
0077                        <usegroup>XADUMMY</usegroup>
0078                 </envs>
0079                 <max>1</max>
0080                 <srvid>20</srvid>
0081                 <sysopt>-e ${TESTDIR}/atmisv28-dom1.log -r</sysopt>
0082             </server>
0083             
0084             <!-- these bellow uses driver from environment -->
0085             <server name="tmsrv">
0086                 <max>1</max>
0087                 <srvid>50</srvid>
0088                 <sysopt>-e ${TESTDIR}/tmsrv-dom1.log -r -- -t1 -l${TESTDIR}/RM1</sysopt>
0089             </server>
0090             
0091             <server name="tmqueue">
0092                 <max>1</max>
0093                 <srvid>100</srvid>
0094                 <sysopt>-e ${TESTDIR}/tmqueue-dom1.log -r -- -q ./q.conf -s1</sysopt>
0095             </server>
0096         </servers>
0097 </endurox>