SQWareProduction:db2:etc:sqwdb2 GlobalVar.cfg

From Wiki_dbSQWare
Revision as of 20:29, 18 January 2013 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search

Configuration file $gvsqw_D2db2Bin/../etc/sqwdb2_GlobalVar.cfg:
Global var for Db2
It contains the operating variables of SQWareProduction.


File content:

export gvsqw_EdtVersion=2.0.13
export gvsqw_InstanceNameForceCase='UpperCase'
export gvsqw_UserExec=`id| cut -d')' -f1| cut -d'(' -f2`
export gvsqw_DistPasswdFile="$HOME/.passwd_db2"
export gvsqw_ConnectDb=Enable
export gvsqw_Hostname=$(hostname|cut -d '.' -f1)
export gvsqw_MailMsg_db2="TrtDb2Auto$gvsqw_Env"
export gvsqw_Mail_db2='default@dbsqware.com'
export gvsqw_SendmailHtmlFormat=enable
export gvsqw_PreFormatHtlml=enable
export gvsqw_Colors=enable
export gvsqw_TraceJobDb=enable
export gvsqw_UploadLogFile=enable
export gvsqw_TraceBackup=enable
export gvsqw_UploadLogFileMaxLine=200
export gvsqw_EgrepIvFs='Filesystem|Disponible'
export gvsqw_SuppLogsHisto=30
export gvsqw_GzipLogsHisto=7
export gvsqw_SuppArchAlert=30
export gvsqw_SuppArchSlow=30
export gvsqw_RootAdmin='$HOME/admin/${DB2INSTANCE}'
export gvsqw_RootAdminDist='$HOME/admin/db2/${DB2INSTANCE}'
export gvsqw_RootCfg='$gvsqw_RootAdmin/edtConfig'
export gvsqw_RootDbf='${HOME}/${DB2INSTANCE}'
export gvsqw_InitInstanceSourceCommand='. ./.profile'
export gvsqw_NbThread=2
export gvsqw_Db2ErrorMsg='^SQL[0-9][0-9]*'
export gvsqw_Db2ErrorMsgWarning='^SQL[0-9][0-9]*W'
export gvsqw_SshOptions="-q -o BatchMode=yes -o StrictHostKeyChecking=no"
export gvsqw_ScpOptions="-o BatchMode=yes -o StrictHostKeyChecking=no"
export gvsqw_CHtmlError='<font color="#FF0000">'
export gvsqw_CHtmlOk='<font color="#00FF00">'
export gvsqw_CHtmlInfo='<font color="#0000FF">'
export gvsqw_CHtmlEnd='</font>'
export gvsqw_THtmlBegin='<table  class="edt">'
export gvsqw_THtmlEnd='</table>'
export gvsqw_THtmlThBegin='<tr class="edtth"><th>'
export gvsqw_THtmlThEnd='</th></tr>'
export gvsqw_THtmlThInter='</th><th>'
export gvsqw_THtmlTdBegin1='<tr class="edtnc"><td>'
export gvsqw_THtmlTdBegin2='<tr class="sqwc_"><td>'
export gvsqw_THtmlTdEnd='</td></tr>'
export gvsqw_THtmlTdInter='</td><td>'
export gvsqw_THtmlPre="<pre class='edt'>"
export gvsqw_THtmlPreEnd="

"

export gvsqw_HtmlCss="<html><head> 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='/backups/db2/$DB2INSTANCE' export gvsqw_BackupRetention=30 export gvsqw_ToolCommand='USE TSM' export gvsqw_ToolType='TSM' export gvsqw_Compress='COMPRESS' export gvsqw_TraceBackup=enable

  1. export gvsqw_ForcedReturnCodeScript_sqwdb2_DumpDatabase=0

export gvsqw_DbAlias='$DB2INSTANCE' export gvsqw_WebDbaURL="http://webdba"

  1. export gvsqw_WebDbaUserConn='Connection string ssh user@hostname'



Variable explanation:

gvsqw_BackupRetention => 
gvsqw_CHtmlEnd => 
gvsqw_CHtmlError => 
gvsqw_CHtmlInfo => 
gvsqw_CHtmlOk => 
gvsqw_Colors => 
gvsqw_Compress => 
gvsqw_ConnectDb => 
gvsqw_Db2ErrorMsg => 
gvsqw_Db2ErrorMsgWarning => 
gvsqw_DbAlias => 
gvsqw_DistPasswdFile => 
gvsqw_EdtVersion => 
gvsqw_EgrepIvFs => 
#gvsqw_ForcedReturnCodeScript_sqwdb2_DumpDatabase => 
gvsqw_GzipLogsHisto => 
gvsqw_Hostname => 
gvsqw_HtmlCss => 
gvsqw_InitInstanceSourceCommand => 
gvsqw_InstanceNameForceCase => 
gvsqw_Mail_db2 => 
gvsqw_MailMsg_db2 => 
gvsqw_NbThread => 
gvsqw_NbThreadBackup => 
gvsqw_NbThreadReorganize => 
gvsqw_NbThreadRunStats => 
gvsqw_PreFormatHtlml => 
gvsqw_ReorgRunStatsOption => 
gvsqw_ReorgStat => 
gvsqw_ReorgTypeTable => 
gvsqw_RootAdminDist => 
gvsqw_RootAdmin => 
gvsqw_RootBackup => 
gvsqw_RootCfg => 
gvsqw_RootDbf => 
gvsqw_RunStatsOption => 
gvsqw_ScpOptions => 
gvsqw_SendmailHtmlFormat => 
gvsqw_SizeMinTableIndicators => 
gvsqw_SshOptions => 
gvsqw_SuppArchAlert => 
gvsqw_SuppArchSlow => 
gvsqw_SuppLogsHisto => 
gvsqw_THtmlBegin => 
gvsqw_THtmlEnd => 
gvsqw_THtmlPreEnd => 
gvsqw_THtmlPre => 
gvsqw_THtmlTdBegin1 => 
gvsqw_THtmlTdBegin2 => 
gvsqw_THtmlTdEnd => 
gvsqw_THtmlTdInter => 
gvsqw_THtmlThBegin => 
gvsqw_THtmlThEnd => 
gvsqw_THtmlThInter => 
gvsqw_ToolCommand => 
gvsqw_ToolType => 
gvsqw_TraceBackup => 
gvsqw_TraceJobDb => 
gvsqw_UploadLogFile => 
gvsqw_UploadLogFileMaxLine => 
gvsqw_UserExec => 
gvsqw_WebDbaURL => 
#gvsqw_WebDbaUserConn => 
Nuvola apps information.png
Note:
You can overload variables contain in $gvsqw_D2db2Bin/../etc/sqwdb2_GlobalVar.cfg

by the same variables in $gvsqw_D2db2Bin/../etc_cust/sqwdb2_GlobalVar.cfg for all your environnement
or in $HOME/sqwConfig/sqwdb2_GlobalVar.cfg specifically for this user.