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
0023 <!-- Time after attach when program will start do sanity & respawn checks,
0024 starts counting after configuration load -->
0025 <restart_to_check>20</restart_to_check>
0026 <!-- Send full service table every 5 seconds -->
0027 <brrefresh>5</brrefresh>
0028 </appconfig>
0029 <defaults>
0030 <min>1</min>
0031 <max>1</max>
0032 <autokill>1</autokill>
0033 <!-- Do not need respawning! -->
0034 <respawn>1</respawn>
0035 <!-- The maximum time while process can hang in 'starting' state i.e.
0036 have not completed initialisation, sec -->
0037 <start_max>20</start_max>
0038 <!--
0039 Ping server in every X sanity units
0040 no Ping so that on MacOs we do not crash
0041 -->
0042 <pingtime>0</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 <procgroups>
0057 <procgroup grpno="1" name="GRP1" singleton="Y" sg_nodes_verify="N"/>
0058 </procgroups>
0059 <servers>
0060
0061 <!--Configure the group -->
0062
0063 <server name="exsinglesv">
0064 <min>1</min>
0065 <max>1</max>
0066 <srvid>10</srvid>
0067 <sysopt>-e ${TESTDIR}/exsinglesv-dom1.log -r</sysopt>
0068 <procgrp_lp>GRP1</procgrp_lp>
0069 <cctag>GRP1</cctag>
0070 </server>
0071 <server name="tmsrv">
0072 <min>1</min>
0073 <max>1</max>
0074 <!-- remember, for failover srvids must match -->
0075 <srvid>50</srvid>
0076 <cctag>NULL</cctag>
0077 <procgrp>GRP1</procgrp>
0078 <!-- shared node id set to 2 (i.e. -n2) -->
0079 <sysopt>-e ${TESTDIR}/tm1-dom1.log -r -- -t1 -l${TESTDIR}/RM1 -m10 -n2 -s2 -X2</sysopt>
0080 </server>
0081
0082 <server name="atmi.sv104">
0083 <min>1</min>
0084 <max>1</max>
0085 <srvid>100</srvid>
0086 <cctag>NULL</cctag>
0087 <procgrp>GRP1</procgrp>
0088 <sysopt>-e ${TESTDIR}/atmisv-dom1.log -r</sysopt>
0089 </server>
0090
0091 <server name="tmsrv">
0092 <!-- remember, for failover srvids must match -->
0093 <srvid>150</srvid>
0094 <min>1</min>
0095 <max>1</max>
0096 <cctag>RM2TMQ</cctag>
0097 <procgrp>GRP1</procgrp>
0098 <!-- shared node id set to 2 (i.e. -n2) -->
0099 <sysopt>-e ${TESTDIR}/tm2-dom1.log -r -- -t1 -l${TESTDIR}/RM2 -m10 -n2 -s2 -X2</sysopt>
0100 </server>
0101
0102 <server name="tmqueue">
0103 <min>1</min>
0104 <max>1</max>
0105 <srvid>200</srvid>
0106 <cctag>RM2TMQ</cctag>
0107 <procgrp>GRP1</procgrp>
0108 <sysopt>-e ${NDRX_ULOG}/tmqueue-rm2-dom1.log -r -- -s1 -n2 -X2</sysopt>
0109 </server>
0110
0111 <server name="tmrecoversv">
0112 <min>1</min>
0113 <max>1</max>
0114 <srvid>225</srvid>
0115 <sysopt>-e ${NDRX_ULOG}/tmrecoversv-dom1.log -r -- -i</sysopt>
0116 <procgrp>GRP1</procgrp>
0117 </server>
0118
0119 <server name="tmrecoversv">
0120 <min>1</min>
0121 <max>1</max>
0122 <srvid>250</srvid>
0123 <sysopt>-e ${NDRX_ULOG}/tmrecoversv2-dom1.log -r -- -p -s5</sysopt>
0124 </server>
0125
0126 <!-- have null group for server too... -->
0127 <server name="tpbridge">
0128 <max>1</max>
0129 <srvid>300</srvid>
0130 <sysopt>-e ${TESTDIR}/tpbridge-dom1.log -r</sysopt>
0131 <appopt>-f -n2 -r -i 127.0.0.1 -p 20003 -tA -z30 -P0</appopt>
0132 </server>
0133
0134 </servers>
0135
0136 </endurox>
0137