Difference between revisions of "SQWareProduction:generic:etc:sqwgen GlobalVar.cfg"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
Line 1: Line 1:
 
Configuration file $gvsqw_GenBin/../etc/sqwgen_GlobalVar.cfg:<br>
 
Configuration file $gvsqw_GenBin/../etc/sqwgen_GlobalVar.cfg:<br>
 
{{SQWareProduction_sqwgen_GlobalVar.cfg_presentation}}
 
{{SQWareProduction_sqwgen_GlobalVar.cfg_presentation}}
{{SQWareProduction_sqwgen_GlobalVar.cfg_content}}
+
<br>
{{SQWareProduction_sqwgen_GlobalVar.cfg_explanation}}
+
<br>
 +
File content:
 +
<pre>
 +
export gvsqw_SqwVersion=2019.03
 +
export gvsqw_InstanceNameForceCase='UpperCase'
 +
export gvsqw_DistPasswdFile="$HOME/.passwd_$gvsqw_RdbmsType"
 +
export gvsqw_GlobalMsgMail="Trt${gvsqw_RdbmsTrigram}Auto${gvsqw_Env}"
 +
export gvsqw_UserExec=`id| cut -d')' -f1| cut -d'(' -f2`
 +
export gvsqw_ConnectDb=Enable
 +
export gvsqw_Hostname=$(hostname|cut -d '.' -f1)
 +
export gvsqw_GlobalMail='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_UpLoadMailFileMaxLine=400
 +
export gvsqw_SendMailFileMaxLine=2000
 +
export gvsqw_EgrepIvFs='Filesystem|Disponible'
 +
export gvsqw_SuppLogsHisto=30
 +
export gvsqw_GzipLogsHisto=7
 +
export gvsqw_SuppBckCfg=30
 +
export gvsqw_SuppArchAlert=30
 +
export gvsqw_SuppTapeFilesLists=5
 +
export gvsqw_InitInstanceSourceCommand='. ~/.profile'
 +
export gvsqw_NbThread=2
 +
export gvsqw_MysqlErrorMsg="ERROR |FAILED |ERREUR |ECHEC |Couldn.t execute |unknown option | doesn.t exist"
 +
export gvsqw_SshOptions="-q -o BatchMode=yes -o StrictHostKeyChecking=no"
 +
export gvsqw_SshOptionsNoQuiet="-o BatchMode=yes -o StrictHostKeyChecking=no"
 +
export gvsqw_SshOptionsInteractive="-o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ServerAliveCountMax=10"
 +
export gvsqw_ScpOptions="-o BatchMode=yes -o StrictHostKeyChecking=no"
 +
export gvsqw_RsyncOptions="ssh -o BatchMode=yes -o StrictHostKeyChecking=no"
 +
export gvsqw_DisplayNumberBlank="  0"
 +
export gvsqw_CHtmlH1='<h1 style="font-size:18px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:#0000FF; background-color:white; border-bottom:1px solid #cccc99;">'
 +
export gvsqw_CHtmlH2='<h2 style="font-size:16px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white; text-decoration:underline;">'
 +
export gvsqw_CHtmlH3='<h3 style="font-size:14px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white; text-decoration:underline;">'
 +
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 width="100%" cellspacing="3px" cellpadding="3px;" rules="all" style="font-size:12px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; border:solid 1px black;">'
 +
export gvsqw_THtmlBegin='<table cellspacing="3px" cellpadding="3px;" rules="all" style="font-size:12px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; border:solid 1px black;">'
 +
export gvsqw_THtmlEnd='</table>'
 +
export gvsqw_THtmlThBegin='<tr style="font-weight:bold; background-color:#C0C0C0; text-align:left; white-space:nowrap; "><th>'
 +
export gvsqw_THtmlThEnd='</th></tr>'
 +
export gvsqw_THtmlThInter='</th><th>'
 +
export gvsqw_THtmlTdBegin1='<tr style="background-color:white; vertical-align:top;"><td style="white-space:nowrap; ">'
 +
export gvsqw_THtmlTdBegin2='<tr style="background-color:#eee; vertical-align:top;"><td style="white-space:nowrap; ">'
 +
export gvsqw_THtmlTdEnd='</td></tr>'
 +
export gvsqw_THtmlTdInter='</td><td style="white-space:nowrap; ">'
 +
export gvsqw_THtmlTdInterRight='</td><td style="text-align:right; white-space:nowrap; ">'
 +
export gvsqw_THtmlUl='<ul style="font-size:14px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white;">'
 +
export gvsqw_THtmlUlEnd="</ul>"
 +
export gvsqw_THtmlPre='<pre style="font-size:12px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white;">'
 +
export gvsqw_THtmlPreEnd="</pre>"
 +
#export gvsqw_THtmlABegin='<a style="color:black;" onmouseover="this.style.color = '"'red'"'" onmouseout="this.style.color = '"'black'"'"'
 +
export gvsqw_THtmlABegin='<a style="color:black;"'
 +
export gvsqw_HtmlCss='<html><body style="font-size:12px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white;">'
 +
export gvsqw_SizeMinTableIndicators=1
 +
export gvsqw_MySqlInsertOption=''
 +
export gvsqw_MySqlCnfFile="$HOME/sqwConfig/.my_SQWareRepository.cnf"
 +
export gvsqw_MySqlCnfFile='$gvsqw_GenPath/../../generic/etc_cust/.my_SQWareRepository.cnf'
 +
export gvsqw_MySQLExe=''
 +
##export gvsqw_MySqlInsertOption='--default-character-set=latin1'
 +
# export gvsqw_BounceServerUserConn='mysql_user@BounceServer'
 +
export gvsqw_NetBackupPath='/usr/openv/netbackup'
 +
export gvsqw_RsyncDefaultSourceDir='ToBeDefine'
 +
export gvsqw_RsyncDefaultTargetDir='ToBeDefine'
 +
export gvsqw_RsyncDefaultUser='$gvsqw_UserExec@RsyncHost'
 +
export gvsqw_RsyncWaitTimeOut=3600
 +
#export gvsqw_ForcedReturnCodeScript_sqwmys_DumpDatabase=0
 +
export gvsqw_WebDbaURL="http://webdba"
 +
export gvsqw_WebDbaUser='dbsqware@SQWareWebHost'
 +
</pre>
 +
<br>
 +
<br>
 +
Variables explanation:
 +
<pre>
 +
# gvsqw_BounceServerUserConn =>
 +
gvsqw_CHtmlEnd =>
 +
gvsqw_CHtmlError =>
 +
gvsqw_CHtmlH1 =>
 +
gvsqw_CHtmlH2 =>
 +
gvsqw_CHtmlH3 =>
 +
gvsqw_CHtmlInfo =>
 +
gvsqw_CHtmlOk =>
 +
gvsqw_Colors =>
 +
gvsqw_ConnectDb =>
 +
gvsqw_DisplayNumberBlank =>
 +
gvsqw_DistPasswdFile =>
 +
gvsqw_EgrepIvFs =>
 +
#gvsqw_ForcedReturnCodeScript_sqwmys_DumpDatabase =>
 +
gvsqw_GlobalMail =>
 +
gvsqw_GlobalMsgMail =>
 +
gvsqw_GzipLogsHisto =>
 +
gvsqw_Hostname =>
 +
gvsqw_HtmlCss =>
 +
gvsqw_InitInstanceSourceCommand =>
 +
gvsqw_InstanceNameForceCase =>
 +
gvsqw_MySqlCnfFile =>
 +
gvsqw_MySqlCnfFile =>
 +
gvsqw_MysqlErrorMsg =>
 +
gvsqw_MySQLExe =>
 +
gvsqw_MySqlInsertOption =>
 +
##gvsqw_MySqlInsertOption =>
 +
gvsqw_NbThread =>
 +
gvsqw_NetBackupPath =>
 +
gvsqw_PreFormatHtlml =>
 +
gvsqw_RsyncDefaultSourceDir =>
 +
gvsqw_RsyncDefaultTargetDir =>
 +
gvsqw_RsyncDefaultUser =>
 +
gvsqw_RsyncOptions =>
 +
gvsqw_RsyncWaitTimeOut =>
 +
gvsqw_ScpOptions =>
 +
gvsqw_SendMailFileMaxLine =>
 +
gvsqw_SendmailHtmlFormat =>
 +
gvsqw_SizeMinTableIndicators =>
 +
gvsqw_SqwVersion =>
 +
gvsqw_SshOptionsInteractive =>
 +
gvsqw_SshOptionsNoQuiet =>
 +
gvsqw_SshOptions =>
 +
gvsqw_SuppArchAlert =>
 +
gvsqw_SuppBckCfg =>
 +
gvsqw_SuppLogsHisto =>
 +
gvsqw_SuppTapeFilesLists =>
 +
gvsqw_THtmlABegin =>
 +
#gvsqw_THtmlABegin =>
 +
gvsqw_THtmlBegin =>
 +
#gvsqw_THtmlBegin =>
 +
gvsqw_THtmlEnd =>
 +
gvsqw_THtmlPreEnd =>
 +
gvsqw_THtmlPre =>
 +
gvsqw_THtmlTdBegin1 =>
 +
gvsqw_THtmlTdBegin2 =>
 +
gvsqw_THtmlTdEnd =>
 +
gvsqw_THtmlTdInterRight =>
 +
gvsqw_THtmlTdInter =>
 +
gvsqw_THtmlThBegin =>
 +
gvsqw_THtmlThEnd =>
 +
gvsqw_THtmlThInter =>
 +
gvsqw_THtmlUlEnd =>
 +
gvsqw_THtmlUl =>
 +
gvsqw_TraceBackup =>
 +
gvsqw_TraceJobDb =>
 +
gvsqw_UpLoadLogFile =>
 +
gvsqw_UpLoadLogFileMaxLine =>
 +
gvsqw_UpLoadMailFileMaxLine =>
 +
gvsqw_UserExec =>
 +
gvsqw_WebDbaURL =>
 +
gvsqw_WebDbaUser =>
 +
</pre>
 
{{SQWareProductionSurchargeVar|generic|Gen|sqwgen_GlobalVar.cfg}}
 
{{SQWareProductionSurchargeVar|generic|Gen|sqwgen_GlobalVar.cfg}}
 
<br>
 
<br>

Revision as of 18:06, 14 April 2019

Configuration file $gvsqw_GenBin/../etc/sqwgen_GlobalVar.cfg:
Generic global var
It contains the operating variables of SQWareProduction.


File content:

export gvsqw_SqwVersion=2019.03
export gvsqw_InstanceNameForceCase='UpperCase'
export gvsqw_DistPasswdFile="$HOME/.passwd_$gvsqw_RdbmsType"
export gvsqw_GlobalMsgMail="Trt${gvsqw_RdbmsTrigram}Auto${gvsqw_Env}"
export gvsqw_UserExec=`id| cut -d')' -f1| cut -d'(' -f2`
export gvsqw_ConnectDb=Enable
export gvsqw_Hostname=$(hostname|cut -d '.' -f1)
export gvsqw_GlobalMail='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_UpLoadMailFileMaxLine=400
export gvsqw_SendMailFileMaxLine=2000
export gvsqw_EgrepIvFs='Filesystem|Disponible'
export gvsqw_SuppLogsHisto=30
export gvsqw_GzipLogsHisto=7
export gvsqw_SuppBckCfg=30
export gvsqw_SuppArchAlert=30
export gvsqw_SuppTapeFilesLists=5
export gvsqw_InitInstanceSourceCommand='. ~/.profile'
export gvsqw_NbThread=2
export gvsqw_MysqlErrorMsg="ERROR |FAILED |ERREUR |ECHEC |Couldn.t execute |unknown option | doesn.t exist"
export gvsqw_SshOptions="-q -o BatchMode=yes -o StrictHostKeyChecking=no"
export gvsqw_SshOptionsNoQuiet="-o BatchMode=yes -o StrictHostKeyChecking=no"
export gvsqw_SshOptionsInteractive="-o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ServerAliveCountMax=10"
export gvsqw_ScpOptions="-o BatchMode=yes -o StrictHostKeyChecking=no"
export gvsqw_RsyncOptions="ssh -o BatchMode=yes -o StrictHostKeyChecking=no"
export gvsqw_DisplayNumberBlank="  0"
export gvsqw_CHtmlH1='<h1 style="font-size:18px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:#0000FF; background-color:white; border-bottom:1px solid #cccc99;">'
export gvsqw_CHtmlH2='<h2 style="font-size:16px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white; text-decoration:underline;">'
export gvsqw_CHtmlH3='<h3 style="font-size:14px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white; text-decoration:underline;">'
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 width="100%" cellspacing="3px" cellpadding="3px;" rules="all" style="font-size:12px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; border:solid 1px black;">'
export gvsqw_THtmlBegin='<table cellspacing="3px" cellpadding="3px;" rules="all" style="font-size:12px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; border:solid 1px black;">'
export gvsqw_THtmlEnd='</table>'
export gvsqw_THtmlThBegin='<tr style="font-weight:bold; background-color:#C0C0C0; text-align:left; white-space:nowrap; "><th>'
export gvsqw_THtmlThEnd='</th></tr>'
export gvsqw_THtmlThInter='</th><th>'
export gvsqw_THtmlTdBegin1='<tr style="background-color:white; vertical-align:top;"><td style="white-space:nowrap; ">'
export gvsqw_THtmlTdBegin2='<tr style="background-color:#eee; vertical-align:top;"><td style="white-space:nowrap; ">'
export gvsqw_THtmlTdEnd='</td></tr>'
export gvsqw_THtmlTdInter='</td><td style="white-space:nowrap; ">'
export gvsqw_THtmlTdInterRight='</td><td style="text-align:right; white-space:nowrap; ">'
export gvsqw_THtmlUl='<ul style="font-size:14px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white;">'
export gvsqw_THtmlUlEnd="</ul>"
export gvsqw_THtmlPre='<pre style="font-size:12px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white;">'
export gvsqw_THtmlPreEnd="

"

  1. export gvsqw_THtmlABegin='<a style="color:black;" onmouseover="this.style.color = '"'red'"'" onmouseout="this.style.color = '"'black'"'"'

export gvsqw_THtmlABegin='<a style="color:black;"' export gvsqw_HtmlCss='<html><body style="font-size:12px; font-family:Helvetica,Geneva,sans-serif,Courier,Arial; color:black; background-color:white;">' export gvsqw_SizeMinTableIndicators=1 export gvsqw_MySqlInsertOption= export gvsqw_MySqlCnfFile="$HOME/sqwConfig/.my_SQWareRepository.cnf" export gvsqw_MySqlCnfFile='$gvsqw_GenPath/../../generic/etc_cust/.my_SQWareRepository.cnf' export gvsqw_MySQLExe=

    1. export gvsqw_MySqlInsertOption='--default-character-set=latin1'
  1. export gvsqw_BounceServerUserConn='mysql_user@BounceServer'

export gvsqw_NetBackupPath='/usr/openv/netbackup' export gvsqw_RsyncDefaultSourceDir='ToBeDefine' export gvsqw_RsyncDefaultTargetDir='ToBeDefine' export gvsqw_RsyncDefaultUser='$gvsqw_UserExec@RsyncHost' export gvsqw_RsyncWaitTimeOut=3600

  1. export gvsqw_ForcedReturnCodeScript_sqwmys_DumpDatabase=0

export gvsqw_WebDbaURL="http://webdba" export gvsqw_WebDbaUser='dbsqware@SQWareWebHost'



Variables explanation:

# gvsqw_BounceServerUserConn => 
gvsqw_CHtmlEnd => 
gvsqw_CHtmlError => 
gvsqw_CHtmlH1 => 
gvsqw_CHtmlH2 => 
gvsqw_CHtmlH3 => 
gvsqw_CHtmlInfo => 
gvsqw_CHtmlOk => 
gvsqw_Colors => 
gvsqw_ConnectDb => 
gvsqw_DisplayNumberBlank => 
gvsqw_DistPasswdFile => 
gvsqw_EgrepIvFs => 
#gvsqw_ForcedReturnCodeScript_sqwmys_DumpDatabase => 
gvsqw_GlobalMail => 
gvsqw_GlobalMsgMail => 
gvsqw_GzipLogsHisto => 
gvsqw_Hostname => 
gvsqw_HtmlCss => 
gvsqw_InitInstanceSourceCommand => 
gvsqw_InstanceNameForceCase => 
	gvsqw_MySqlCnfFile => 
	gvsqw_MySqlCnfFile => 
gvsqw_MysqlErrorMsg => 
gvsqw_MySQLExe => 
gvsqw_MySqlInsertOption => 
##gvsqw_MySqlInsertOption => 
gvsqw_NbThread => 
gvsqw_NetBackupPath => 
gvsqw_PreFormatHtlml => 
gvsqw_RsyncDefaultSourceDir => 
gvsqw_RsyncDefaultTargetDir => 
gvsqw_RsyncDefaultUser => 
gvsqw_RsyncOptions => 
gvsqw_RsyncWaitTimeOut => 
gvsqw_ScpOptions => 
gvsqw_SendMailFileMaxLine => 
gvsqw_SendmailHtmlFormat => 
gvsqw_SizeMinTableIndicators => 
gvsqw_SqwVersion => 
gvsqw_SshOptionsInteractive => 
gvsqw_SshOptionsNoQuiet => 
gvsqw_SshOptions => 
gvsqw_SuppArchAlert => 
gvsqw_SuppBckCfg => 
gvsqw_SuppLogsHisto => 
gvsqw_SuppTapeFilesLists => 
gvsqw_THtmlABegin => 
#gvsqw_THtmlABegin => 
gvsqw_THtmlBegin => 
#gvsqw_THtmlBegin => 
gvsqw_THtmlEnd => 
gvsqw_THtmlPreEnd => 
gvsqw_THtmlPre => 
gvsqw_THtmlTdBegin1 => 
gvsqw_THtmlTdBegin2 => 
gvsqw_THtmlTdEnd => 
gvsqw_THtmlTdInterRight => 
gvsqw_THtmlTdInter => 
gvsqw_THtmlThBegin => 
gvsqw_THtmlThEnd => 
gvsqw_THtmlThInter => 
gvsqw_THtmlUlEnd => 
gvsqw_THtmlUl => 
gvsqw_TraceBackup => 
gvsqw_TraceJobDb => 
gvsqw_UpLoadLogFile => 
gvsqw_UpLoadLogFileMaxLine => 
gvsqw_UpLoadMailFileMaxLine => 
gvsqw_UserExec => 
gvsqw_WebDbaURL => 
gvsqw_WebDbaUser => 
Nuvola apps information.png
Note:
You can overload variables contain in $gvsqw_GenBin/../etc/sqwgen_GlobalVar.cfg

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