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 -->
0041 <pingtime>9</pingtime>
0042 <!--
0043 Max number of sanity units in which server must respond.
0044 The granularity is sanity time.
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
0055 <envs group="TMQ">
0056 <env name="NDRX_XA_RES_ID">1</env>
0057 <env name="NDRX_XA_OPEN_STR">datadir=./QSPACE1,qspace=MYSPACE</env>
0058 <env name="NDRX_XA_CLOSE_STR">datadir=./QSPACE1,qspace=MYSPACE</env>
0059 <env name="NDRX_XA_DRIVERLIB">libndrxxaqdisks.${NDRX_LIBEXT}</env>
0060 <env name="NDRX_XA_RMLIB">libndrxxaqdisk.${NDRX_LIBEXT}</env>
0061 <env name="NDRX_XA_LAZY_INIT">0</env>
0062 </envs>
0063
0064 </defaults>
0065 <servers>
0066
0067 <!-- these bellow uses driver from environment -->
0068 <server name="tmsrv">
0069 <max>1</max>
0070 <srvid>50</srvid>
0071 <sysopt>-e ${TESTDIR}/tmsrv1.log -r -- -t1 -l${TESTDIR}/RM1</sysopt>
0072
0073 <envs>
0074 <usegroup>TMQ</usegroup>
0075 </envs>
0076
0077 </server>
0078
0079 <server name="tmqueue">
0080 <max>1</max>
0081 <srvid>100</srvid>
0082 <sysopt>-e ${TESTDIR}/tmqueue1.log -r -- -q ./q.conf -s1</sysopt>
0083
0084 <envs>
0085 <usegroup>TMQ</usegroup>
0086 </envs>
0087
0088 </server>
0089
0090 <server name="atmi.sv82">
0091 <min>1</min>
0092 <max>1</max>
0093 <srvid>500</srvid>
0094 <sysopt>-e ${TESTDIR}/atmisv1.log -r</sysopt>
0095
0096 <envs>
0097 <usegroup>TMQ</usegroup>
0098 </envs>
0099
0100 </server>
0101
0102 <server name="atmi.sv82_2">
0103 <min>1</min>
0104 <max>1</max>
0105 <srvid>510</srvid>
0106 <sysopt>-e ${TESTDIR}/atmisv2.log -r</sysopt>
0107
0108 <envs>
0109 <usegroup>TMQ</usegroup>
0110 </envs>
0111
0112 </server>
0113
0114 <server name="tpbridge">
0115 <max>1</max>
0116 <srvid>101</srvid>
0117 <sysopt>-e ${TESTDIR}/tpbridge-dom1.log -r</sysopt>
0118 <appopt>-f -n2 -r -i 127.0.0.1 -p 20003 -tA -z30 -P0</appopt>
0119 </server>
0120
0121 </servers>
0122
0123 <services>
0124 <!-- test also that we re-read to N -->
0125 <defaults autotran="Y" />
0126 <service svcnm="TESTSV" autotran="N" />
0127 <service svcnm="TESTSV2" autotran="N" />
0128 </services>
0129
0130 </endurox>
0131