SQWareProduction:sybrep:etc:sqwrs GlobalVar.cfg : Différence entre versions
m (Updated by BatchUser) |
m (Updated by BatchUser) |
(38 révisions intermédiaires par le même utilisateur non affichées) | |
(Aucune différence)
|
Version actuelle datée du 31 octobre 2024 à 15:49
Configuration file $gvsqw_SybBin/../etc/sqwrs_GlobalVar.cfg:
Global var for SybaseRs
Contient les variables operationnelles de SQWareProduction.
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-2024, dbSQWare (www.dbsqware.com) #global export gvsqw_SqwVersionDbms=2024.07 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' export gvsqw_PathList="HOME;gvsqw_RootAdmin;gvsqw_RootCfg" export gvsqw_PathListExtra="" ##Globaly forcing return code for scripts #export gvsqw_ForcedReturnCodeScript_sqwrs_GatherIndicators=0
Explication de variables:
#General variables gvsqw_SaUser => User with sa role gvsqw_PasswdFile => Password file path gvsqw_RootAdmin => admin directory gvsqw_RootCfg => configuration directory gvsqw_RunFile => run file name gvsqw_RunFilePath => run file directory gvsqw_ConfigFilePath => config directory gvsqw_ErrorLogPath => errorlog directory gvsqw_ErrorLog => errorlog file name gvsqw_GlobalInterfacesFile => XXXXX gvsqw_RootAdminDisable => XXXXX gvsqw_RootAdminDist => XXXXX gvsqw_RootDev => devices directory #for indicators gvsqw_DbAlias => Database alias gvsqw_DistGlobalInterfacesFile => XXXXX #for SQWare Web gvsqw_WebDbaUserConn => Connection string ssh user@hostname to SQWare Web