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-2023, Mavimax, Ltd. All Rights Reserved.
0011 ## This software is released under one of the following licenses:
0012 ## AGPL (with Java and Go exceptions) or Mavimax's license for commercial use.
0013 ## See LICENSE file for full text.
0014 ## -----------------------------------------------------------------------------
0015 ## AGPL license:
0016 ##
0017 ## This program is free software; you can redistribute it and/or modify it under
0018 ## the terms of the GNU Affero General Public License, version 3 as published
0019 ## by the Free Software Foundation;
0020 ##
0021 ## This program is distributed in the hope that it will be useful, but WITHOUT ANY
0022 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
0023 ## PARTICULAR PURPOSE. See the GNU Affero General Public License, version 3
0024 ## for more details.
0025 ##
0026 ## You should have received a copy of the GNU Affero General Public License along 
0027 ## with this program; if not, write to the Free Software Foundation, Inc.,
0028 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
0029 ##
0030 ## -----------------------------------------------------------------------------
0031 ## A commercial use license is available from Mavimax, Ltd
0032 ## contact@mavimax.com
0033 ## -----------------------------------------------------------------------------
0034 ##
0035 
0036 export NDRX_NODEID=1
0037 # If 1 - then yes, if 0 - then not clusterised.
0038 export NDRX_CLUSTERISED=1
0039 # Load balance, 0 = process all locally, 100 = process all on remote servers
0040 export NDRX_LDBAL=0
0041 export NDRX_TOUT=60
0042 export NDRX_ULOG=/tmp
0043 export NDRX_QPREFIX=/n00b
0044 export NDRX_SVCMAX=20000
0045 export NDRX_SRVMAX=10000
0046 export NDRX_QPATH=/dev/mqueue
0047 export NDRX_SHMPATH=/dev/shm
0048 # Milli seconds to wait for command
0049 export NDRX_CMDWAIT=1
0050 export NDRX_DPID=/tmp/ndrxd.pid
0051 # Random key to indentify the processes beloning to this session (i.e. used in ps ef)
0052 export NDRX_RNDK="0myWI5nu"
0053 # System V Semaphores...
0054 export NDRX_IPCKEY=44000
0055 
0056 # Posix queue config (attribs..)
0057 # Max number of messages that can be put in one queue
0058 export NDRX_MSGMAX=1000
0059 # Daemon Q size...
0060 export NDRX_DQMAX=100
0061 # Max message size (in bytes)
0062 export NDRX_MSGSIZEMAX=62000
0063 
0064 # Max fields for hashing UBF
0065 export NDRX_UBFMAXFLDS=16000
0066 
0067 # Log & levels
0068 export NDRX_DMNLOG=/tmp/ndrxd.log
0069 export NDRX_DMNLEV=5
0070 
0071 export NDRX_LOG=/tmp/ndrx.log
0072 export NDRX_LEV=5
0073 
0074 # UBFTAB
0075 #export FLDTBLDIR=$NDRX_APPHOME/ubftest/ubftab
0076 export FIELDTBLS=Excompat,Exfields,test.fd
0077 
0078 # Load dynamically....!
0079 . ~/ndrx_home
0080 
0081 # vim: set ts=4 sw=4 et smartindent: