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         <!-- ALL BELLOW ONES USES <respawn> periodical timer  -->
0015         <!-- Do process reset after 1 sec -->
0016         <restart_min>1</restart_min>
0017         <!-- If restart fails, then boot after +5 sec of previous wait time -->
0018         <restart_step>10</restart_step>
0019         <!-- If still not started, then max boot time is a 30 sec. -->
0020         <restart_max>30</restart_max>
0021         <!--  <sanity> timer, end -->
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         <!-- Reload DDR time (1x sanity loop) -->
0028         <ddrreload>1</ddrreload>
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 units
0041         -->
0042         <pingtime>9</pingtime>
0043         <!--
0044         Max number of sanity units in which server must respond.
0045         The granularity is sanity time.
0046         -->
0047         <ping_max>40</ping_max>
0048         <!--
0049         Max time to wait until process should exit on shutdown
0050         -->
0051         <end_max>30</end_max>
0052         <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0053         to process until it have been terminated. -->
0054         <killtime>20</killtime>
0055     </defaults>
0056     <servers>
0057         
0058         <server name="atmi.sv84">
0059             <min>1</min>
0060             <max>1</max>
0061             <srvid>10</srvid>
0062             <envs><env name="NDRX_RTGRP">DOM1</env></envs>
0063             <sysopt>-G -e ${TESTDIR}/atmisv-dom1.log -r -sT2:TESTSV</sysopt>
0064         </server>
0065 
0066         <server name="atmi.sv84">
0067             <min>1</min>
0068             <max>1</max>
0069             <srvid>320</srvid>
0070             <envs><env name="NDRX_RTGRP">DOM3</env></envs>
0071             <sysopt>-G -e ${TESTDIR}/atmisv-dom13.log -r</sysopt>
0072         </server>
0073 
0074         <server name="atmi.sv84">
0075             <min>1</min>
0076             <max>1</max>
0077             <srvid>420</srvid>
0078             <envs><env name="NDRX_RTGRP">DOM4</env></envs>
0079             <!-- perform dynamc adv groupt tests.. -->
0080             <sysopt>-G -e ${TESTDIR}/atmisv-dom14.log -r -sDADV/DUNA:DYNADV -sT2:TESTSV</sysopt>
0081         </server>
0082 
0083         <server name="tpbridge">
0084             <max>1</max>
0085             <srvid>101</srvid>
0086             <sysopt>-G -e ${TESTDIR}/tpbridge-dom1.log -r</sysopt>
0087             <appopt>-f -n2 -r -i 127.0.0.1 -p 20003 -tA -z30 -P0</appopt>
0088         </server>
0089         
0090         
0091         <server name="exbenchsv">
0092             <min>1</min>
0093             <max>1</max>
0094             <srvid>1420</srvid>
0095             <envs><env name="NDRX_RTGRP">G1</env></envs>
0096             <!-- perform dynamc adv groupt tests.. -->
0097             <sysopt>-G -e ${TESTDIR}/atmisv-exbenchsv-g1.log </sysopt>
0098         </server>
0099 
0100         <server name="exbenchsv">
0101             <min>1</min>
0102             <max>1</max>
0103             <srvid>1421</srvid>
0104             <envs><env name="NDRX_RTGRP">G2</env></envs>
0105             <!-- perform dynamc adv groupt tests.. -->
0106             <sysopt>-G -e ${TESTDIR}/atmisv-exbenchsv-g2.log </sysopt>
0107         </server>
0108         
0109     </servers>
0110     
0111     <services>
0112         
0113         <!-- Check the defaults... -->
0114         <defaults routing="RT1" />
0115         <service svcnm="TESTSV" />
0116         
0117         <defaults routing="RT2" />
0118         <service svcnm="EXBENCH" />
0119 
0120     </services>
0121     
0122     <routing>
0123         <route routing="RT1">
0124             <field>T_CARRAY_2_FLD</field>
0125             <ranges>
0126                         'A'-'C':DOM1
0127                         ,'D'-MAX:DOM4
0128             </ranges>
0129             <buftype>UBF</buftype>
0130             <fieldtype>CHAR</fieldtype>
0131         </route>
0132         
0133         <route routing="RT2">
0134             <field>T_LONG_FLD</field>
0135             <ranges>
0136                         1-100:G1
0137                         ,100-200:G2
0138             </ranges>
0139             <buftype>UBF</buftype>
0140         </route>
0141         
0142     </routing>
0143 </endurox>
0144