0001 <?xml version="1.0" ?>
0002 <endurox>
0003 <appconfig>
0004 <!-- ALL BELLOW ONES USES <sanity> periodical timer -->
0005 <!-- Sanity check time, sec -->
0006 <sanity>5</sanity>
0007 <!--
0008 Seconds in which we should send service refresh to other node.
0009 -->
0010 <brrefresh>6</brrefresh>
0011
0012 <!-- <sanity> timer, end -->
0013
0014 <!-- Do process reset after 1 sec -->
0015 <restart_min>1</restart_min>
0016 <!-- If restart fails, then boot after +5 sec of previous wait time -->
0017 <restart_step>1</restart_step>
0018 <!-- If still not started, then max boot time is a 30 sec. -->
0019 <restart_max>5</restart_max>
0020 <!-- <sanity> timer, end -->
0021
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
0026 <!-- Setting for pq command, should ndrxd collect service
0027 queue stats automatically
0028 If set to Y or y, then queue stats are on.
0029 Default is off.
0030 -->
0031 <gather_pq_stats>Y</gather_pq_stats>
0032
0033 </appconfig>
0034 <defaults>
0035 <min>1</min>
0036 <max>2</max>
0037 <!-- Kill the process which have not started in <start_max> time -->
0038 <autokill>1</autokill>
0039 <!--
0040 <respawn>1<respawn>
0041 -->
0042 <!--
0043 <env></env> works here too!
0044 -->
0045 <!-- The maximum time while process can hang in 'starting' state i.e.
0046 have not completed initialization, sec
0047 X <= 0 = disabled
0048 -->
0049 <start_max>2</start_max>
0050 <!--
0051 Ping server in every X seconds (step is <sanity>).
0052 -->
0053 <pingtime>1</pingtime>
0054 <!--
0055 Max time in seconds in which server must respond.
0056 The granularity is sanity time.
0057 X <= 0 = disabled
0058 -->
0059 <ping_max>4</ping_max>
0060 <!--
0061 Max time to wait until process should exit on shutdown
0062 X <= 0 = disabled
0063 -->
0064 <end_max>5</end_max>
0065 <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0066 to process until it have been terminated. -->
0067 <killtime>1</killtime>
0068 <!-- List of services (comma separated) for ndrxd to export services over bridges -->
0069 <!-- <exportsvcs>FOREX</exportsvcs> -->
0070 </defaults>
0071 <servers>
0072 <!-- This is binary we are about to build -->
0073 <server name="banksv">
0074 <srvid>1</srvid>
0075 <min>2</min>
0076 <max>2</max>
0077 <sysopt>-e /opt/app1/log/BANKSV -r</sysopt>
0078 </server>
0079 </servers>
0080 </endurox>