SQWareProduction:db2:etc:sqwdb2 GlobalVar.cfg

De WikiFr_dbSQWare
Révision datée du 14 avril 2019 à 18:01 par BatchUser (discussion | contributions) (Updated by BatchUser)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

Fichier de configuration $gvsqw_D2db2Bin/../etc/sqwdb2_GlobalVar.cfg:
Global var for Db2
Contient les variables operationnelles de SQWareProduction.


Contenu du fichier:

export gvsqw_RootAdmin='$HOME/admin/${lvsqw_InstanceParam}'
export gvsqw_RootAdminDisable='$HOME'
export gvsqw_RootAdminDist='$HOME/admin/db2/${lvsqw_InstanceParam}'
export gvsqw_RootCfg='$gvsqw_RootAdmin/sqwConfig'
export gvsqw_RootDbf='${HOME}/${DB2INSTANCE}'
export gvsqw_Db2ErrorMsg='^SQL[0-9][0-9]*'
export gvsqw_Db2ErrorMsgWarning='^SQL[0-9][0-9]*W'
export gvsqw_DbAlias='$lvsqw_InstanceParam'
export gvsqw_SizeMinTableIndicators=10
export gvsqw_NbThreadRunStats=2
export gvsqw_RunStatsOption='WITH DISTRIBUTION AND DETAILED INDEXES ALL'
export gvsqw_NbThreadReorganize=2
export gvsqw_ReorgStat='UPDATE'
export gvsqw_ReorgTypeTable='USER'
export gvsqw_ReorgRunStatsOption='WITH DISTRIBUTION AND DETAILED INDEXES ALL'
export gvsqw_NbThreadBackup=2
export gvsqw_RootBackup='/backup/db2/$lvsqw_InstanceParam'
export gvsqw_BackupRetention=30
export gvsqw_ToolCommand='USE TSM'
export gvsqw_ToolType='TSM'
export gvsqw_Compress='COMPRESS'
export gvsqw_RsyncDefaultSourceDir='/backup/db2/$lvsqw_InstanceParam'
export gvsqw_TraceBackup=enable
#export gvsqw_ForcedReturnCodeScript_sqwdb2_DumpDatabase=0
export gvsqw_DbAlias='$lvsqw_InstanceParam'



Explication des variables:

gvsqw_BackupRetention => 
gvsqw_Compress => 
gvsqw_Db2ErrorMsg => 
gvsqw_Db2ErrorMsgWarning => 
gvsqw_DbAlias => 
#gvsqw_ForcedReturnCodeScript_sqwdb2_DumpDatabase => 
gvsqw_NbThreadBackup => 
gvsqw_NbThreadReorganize => 
gvsqw_NbThreadRunStats => 
gvsqw_ReorgRunStatsOption => 
gvsqw_ReorgStat => 
gvsqw_ReorgTypeTable => 
gvsqw_RootAdminDisable => 
gvsqw_RootAdminDist => 
gvsqw_RootAdmin => 
gvsqw_RootBackup => 
gvsqw_RootCfg => 
gvsqw_RootDbf => 
gvsqw_RsyncDefaultSourceDir => 
gvsqw_RunStatsOption => 
gvsqw_SizeMinTableIndicators => 
gvsqw_ToolCommand => 
gvsqw_ToolType => 
gvsqw_TraceBackup => 
Information.png
Information:
Vous pouvez surcharger les variables contenues dans $gvsqw_D2db2Bin/../etc/sqwdb2_GlobalVar.cfg

en mettant les memes noms de variables dans $gvsqw_D2db2Bin/../etc_cust/sqwdb2_GlobalVar.cfg pour tous vos environnements
ou dans $HOME/sqwConfig/sqwdb2_GlobalVar.cfg pour cet utilisateur specialement.