Back to home page

Enduro/X

 
 

    


0001 #!/bin/bash
0002 ##
0003 ## @brief Enduro X Configuration File
0004 ##
0005 ## @file setndrx
0006 ##
0007 ## -----------------------------------------------------------------------------
0008 ## Enduro/X Middleware Platform for Distributed Transaction Processing
0009 ## Copyright (C) 2009-2016, ATR Baltic, Ltd. All Rights Reserved.
0010 ## Copyright (C) 2017-2018, Mavimax, Ltd. All Rights Reserved.
0011 ## This software is released under one of the following licenses:
0012 ## AGPL or Mavimax's license for commercial use.
0013 ## -----------------------------------------------------------------------------
0014 ## AGPL license:
0015 ## 
0016 ## This program is free software; you can redistribute it and/or modify it under
0017 ## the terms of the GNU Affero General Public License, version 3 as published
0018 ## by the Free Software Foundation;
0019 ##
0020 ## This program is distributed in the hope that it will be useful, but WITHOUT ANY
0021 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
0022 ## PARTICULAR PURPOSE. See the GNU Affero General Public License, version 3
0023 ## for more details.
0024 ##
0025 ## You should have received a copy of the GNU Affero General Public License along 
0026 ## with this program; if not, write to the Free Software Foundation, Inc., 
0027 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
0028 ##
0029 ## -----------------------------------------------------------------------------
0030 ## A commercial use license is available from Mavimax, Ltd
0031 ## contact@mavimax.com
0032 ## -----------------------------------------------------------------------------
0033 ##
0034 
0035 export NDRX_NODEID=1
0036 # If 1 - then yes, if 0 - then not clusterised.
0037 export NDRX_CLUSTERISED=1
0038 # Load balance, 0 = process all locally, 100 = process all on remote servers
0039 export NDRX_LDBAL=0
0040 export NDRX_TOUT=60
0041 export NDRX_ULOG=/tmp
0042 export NDRX_QPREFIX=/n00b
0043 export NDRX_SVCMAX=20000
0044 export NDRX_SRVMAX=10000
0045 export NDRX_QPATH=/dev/mqueue
0046 export NDRX_SHMPATH=/dev/shm
0047 # Milli seconds to wait for command
0048 export NDRX_CMDWAIT=1
0049 export NDRX_DPID=/tmp/ndrxd.pid
0050 # Random key to indentify the processes beloning to this session (i.e. used in ps ef)
0051 export NDRX_RNDK="0myWI5nu"
0052 # System V Semaphores...
0053 export NDRX_IPCKEY=44000
0054 
0055 # Posix queue config (attribs..)
0056 # Max number of messages that can be put in one queue
0057 export NDRX_MSGMAX=1000
0058 # Daemon Q size...
0059 export NDRX_DQMAX=100
0060 # Max message size (in bytes)
0061 export NDRX_MSGSIZEMAX=62000
0062 
0063 # Max fields for hashing UBF
0064 export NDRX_UBFMAXFLDS=16000
0065 
0066 # Log & levels
0067 export NDRX_DMNLOG=/tmp/ndrxd.log
0068 export NDRX_DMNLEV=5
0069 
0070 export NDRX_LOG=/tmp/ndrx.log
0071 export NDRX_LEV=5
0072 
0073 # UBFTAB
0074 #export FLDTBLDIR=$NDRX_APPHOME/ubftest/ubftab
0075 export FIELDTBLS=Exfields,test.fd
0076 
0077 # Load dynamically....!
0078 . ~/ndrx_home
0079 
0080 # XA SECTION
0081 #export ORACLE_SID=ROCKY
0082 #export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
0083 #export PATH=$PATH:ORACLE_HOME/bin
0084 #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
0085 #export NDRX_XA_RES_ID=1
0086 #export NDRX_XA_OPEN_STR="ORACLE_XA+SqlNet=ROCKY+ACC=P/endurotest/endurotest1+SesTM=180+LogDir=/tmp/xa+nolocal=f"
0087 #export NDRX_XA_CLOSE_STR=$NDRX_XA_OPEN_STR
0088 ##Static reg:
0089 #export NDRX_XA_DRIVERLIB=/usr/lib/libndrxxaoras.so
0090 #export NDRX_XA_DRIVERLIB=/home/mvitolin/projects/endurox/dist/lib/libndrxxaorad.so
0091 #export NDRX_XA_RMLIB=/u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1
0092 export NDRX_XA_LAZY_INIT=1
0093 # XA SECTION, END
0094 # vim: set ts=4 sw=4 et smartindent: