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 2 sec -->
0017 <restart_min>2</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>40</start_max>
0039 <!--
0040 Ping server in every X sanity checks
0041 -->
0042 <pingtime>9</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="OK1" singleton="Y" sg_nodes="1,2" sg_nodes_verify="N"/>
0057 <procgroup grpno="2" name="OK2" singleton="Y" sg_nodes="1,2" sg_nodes_verify="N"/>
0058 </procgroups>
0059 <servers>
0060 <!-- OK1 group -->
0061 <server name="exsinglesv">
0062 <min>0</min>
0063 <max>1</max>
0064 <srvid>10</srvid>
0065 <sysopt>-e ${TESTDIR}/exsinglesv-dom2.log -r</sysopt>
0066 <procgrp_lp>OK1</procgrp_lp>
0067 <cctag>OK1</cctag>
0068 </server>
0069 <server name="atmi.sv103">
0070 <min>1</min>
0071 <max>1</max>
0072 <srvid>50</srvid>
0073 <!-- server waits on boot -->
0074 <sysopt>-e ${TESTDIR}/atmisv-dom2.log -r -- -w30</sysopt>
0075 <procgrp>OK1</procgrp>
0076 </server>
0077 <server name="atmi.sv103">
0078 <min>10</min>
0079 <max>10</max>
0080 <srvid>100</srvid>
0081 <sysopt>-e ${TESTDIR}/atmisv-dom2.log -r </sysopt>
0082 <procgrp>OK1</procgrp>
0083 </server>
0084 <server name="tpbridge">
0085 <max>1</max>
0086 <srvid>2300</srvid>
0087 <sysopt>-e ${TESTDIR}/bridge-dom2.log -r</sysopt>
0088 <appopt>-f -n1 -r -i 0.0.0.0 -p 20003 -tP -z30 -P0</appopt>
0089 </server>
0090 <!-- ensure that we boot at startup -->
0091 <server name="exsinglesv">
0092 <min>1</min>
0093 <max>1</max>
0094 <srvid>3000</srvid>
0095 <sysopt>-e ${TESTDIR}/exsinglesv2-dom2.log -r</sysopt>
0096 <procgrp_lp>OK2</procgrp_lp>
0097 <cctag>OK2</cctag>
0098 </server>
0099 <server name="atmi103_v2">
0100 <min>5</min>
0101 <max>5</max>
0102 <srvid>4000</srvid>
0103 <sysopt>-e ${TESTDIR}/atmi103_v2-dom2.log -r </sysopt>
0104 <procgrp>OK2</procgrp>
0105 </server>
0106 <server name="cpmsrv">
0107 <min>1</min>
0108 <max>1</max>
0109 <srvid>9999</srvid>
0110 <sysopt>-e ${NDRX_ULOG}/cpmsrv-dom2.log -r -- -k3 -i1</sysopt>
0111 </server>
0112 </servers>
0113 <clients>
0114 <client cmdline="sleep 999" procgrp="OK1">
0115 <exec tag="TAG1" subsect="SUBSECTION1" autostart="Y" log="${NDRX_ULOG}/sleep-1.log"/>
0116 <exec tag="TAG2" subsect="SUBSECTION2" autostart="Y" log="${NDRX_ULOG}/sleep-2.log"/>
0117 </client>
0118 <client cmdline="atmiclt103 grp_verif 2" procgrp="OK2">
0119 <exec tag="TAG3" autostart="Y" log="${NDRX_ULOG}/sleep-3.log"/>
0120 </client>
0121 </clients>
0122 </endurox>
0123
0124