Modèle:SQWareProduction sqwrs GlobalVar.cfg content

De WikiFr_dbSQWare
Révision datée du 15 décembre 2020 à 21:19 par BatchUser (discussion | contributions) (Updated by BatchUser)
Aller à : navigation, rechercher


Contenu du fichier:

#!/bin/ksh
###################################################################
# SQWareProduction for SybaseRs module of dbSQWare
# 
# dbSQWare is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# CGU/CGA for more details.
# 
# You should have received a copy of the CGU/CGA
# along with this program.  If not, see <http://www.dbsqware.com/licenses/>.
# 
# For information : contact@dbsqware.com or www.dbsqware.com
###################################################################
## @Synopsis	Global var for SybaseRs
## @Copyright	Copyright 2010-2021, dbSQWare (www.dbsqware.com)

#global
export gvsqw_SaUser='sa'
export gvsqw_PasswdFile="$HOME/.passwd"
export gvsqw_GlobalInterfacesFile='$SYBASE/interfaces'
export gvsqw_RootAdmin='$HOME/${DSQUERY}'
export gvsqw_RootAdminDisable='$HOME'
export gvsqw_RootAdminDist='$HOME/admin/sybrep/${DSQUERY}'
export gvsqw_RootCfg='$gvsqw_RootAdmin/sqwConfig'
export gvsqw_RootDev='/$(echo $HOME|cut -d/ -f2)/data/${DSQUERY}'
export gvsqw_RunFile='$HOME/${DSQUERY}/runfile/RUN_${DSQUERY}'
export gvsqw_RunFilePath='$HOME/${DSQUERY}/runfile'
export gvsqw_ConfigFilePath='$HOME/${DSQUERY}/cfg'
export gvsqw_ErrorLogPath='$HOME/${DSQUERY}/log'
export gvsqw_ErrorLog='$HOME/${DSQUERY}/log/${DSQUERY}.log'

#for indicators
#PK for indicators, if DSQUERY not unique, put for example gvsqw_DbAlias='$DSQUERY:$(hostname|cut -d '.' -f1)'
export gvsqw_DbAlias='$DSQUERY'
#Put for distant connection (indicators, ...)
export gvsqw_DistGlobalInterfacesFile='$HOME/dbSQWare/SQWareCentral/etc_cust/dbsqware_interfaces'

##Globaly forcing return code for scripts
#export gvsqw_ForcedReturnCodeScript_sqwrs_GatherIndicators=0