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 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>0</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>30</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>20</killtime>
0054     </defaults>
0055     <procgroups>
0056         <procgroup grpno="1" name="GRP1" singleton="Y" sg_nodes_verify="N" />
0057     </procgroups>
0058     <servers>
0059 
0060         <!--Configure the group  -->
0061 
0062         <server name="exsinglesv">
0063             <min>1</min>
0064             <max>1</max>
0065             <srvid>10</srvid>
0066             <sysopt>-e ${TESTDIR}/exsinglesv-dom2.log -r</sysopt>
0067             <procgrp_lp>GRP1</procgrp_lp>
0068             <cctag>GRP1</cctag>
0069         </server>
0070         <server name="tmsrv">
0071             <min>1</min>
0072             <max>1</max>
0073             <!-- remember, for failover srvids must match -->
0074             <srvid>50</srvid>
0075             <cctag>NULL</cctag>
0076             <procgrp>GRP1</procgrp>
0077             <!-- shared node id set to 2 (i.e. -n2) -->
0078             <sysopt>-e ${TESTDIR}/tm1-dom1.log -r -- -t1 -l${TESTDIR}/RM1 -m10 -n2 -X2</sysopt>
0079         </server>
0080 
0081         <server name="atmi.sv104">
0082             <min>1</min>
0083             <max>1</max>
0084             <srvid>100</srvid>
0085             <cctag>NULL</cctag>
0086             <procgrp>GRP1</procgrp>
0087             <sysopt>-e ${TESTDIR}/atmisv-dom2.log -r</sysopt>
0088         </server>
0089 
0090         <server name="tmsrv">
0091             <!-- remember, for failover srvids must match -->
0092             <srvid>150</srvid>
0093             <min>1</min>
0094             <max>1</max>
0095             <cctag>RM2TMQ</cctag>
0096             <procgrp>GRP1</procgrp>
0097             <!-- shared node id set to 2 (i.e. -n2) -->
0098             <sysopt>-e ${TESTDIR}/tm2-dom2.log -r -- -t1 -l${TESTDIR}/RM2 -m10 -n2 -s2 -X2</sysopt>
0099         </server>
0100 
0101         <server name="tmqueue">
0102             <min>1</min>
0103             <max>1</max>
0104             <srvid>200</srvid>
0105             <cctag>RM2TMQ</cctag>
0106             <procgrp>GRP1</procgrp>
0107             <sysopt>-e ${NDRX_ULOG}/tmqueue-rm2-dom2.log -r -- -s1 -n2 -X2</sysopt>
0108         </server>
0109 
0110         <server name="tmrecoversv">
0111             <min>1</min>
0112             <max>1</max>
0113             <srvid>225</srvid>
0114             <procgrp>GRP1</procgrp>
0115             <sysopt>-e ${NDRX_ULOG}/tmrecoversv-dom2.log -r -- -i</sysopt>
0116         </server>
0117 
0118         <server name="tmrecoversv">
0119             <min>1</min>
0120             <max>1</max>
0121             <srvid>250</srvid>
0122             <sysopt>-e ${NDRX_ULOG}/tmrecoversv2-dom2.log -r -- -p -s5</sysopt>
0123         </server>
0124 
0125         <server name="tpbridge">
0126             <max>1</max>
0127             <srvid>300</srvid>
0128             <sysopt>-e ${TESTDIR}/bridge-dom2.log -r</sysopt>
0129             <appopt>-f -n1 -r -i 0.0.0.0 -p 20003 -tP -z30 -P0</appopt>
0130         </server>
0131         
0132     </servers>
0133 </endurox>
0134 
0135