Difference between revisions of "SQWareProduction:mssql:etc:sqwmsq GlobalVar.cfg"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
− | Configuration file $ | + | Configuration file $gvsqw_MssBin/../etc/sqwmsq_GlobalVar.cfg:<br> |
{{SQWareProduction_sqwmsq_GlobalVar.cfg_presentation}} | {{SQWareProduction_sqwmsq_GlobalVar.cfg_presentation}} | ||
− | + | <br> | |
− | { | + | <br> |
− | {{SQWareProductionSurchargeVar|mssql| | + | File content: |
+ | <pre> | ||
+ | export gvsqw_EdtVersion=2.0.12 | ||
+ | export gvsqw_MssqlPassFile=$HOME/.passwd_mssql | ||
+ | export gvsqw_InstanceNameForceCase='UpperCase' | ||
+ | export gvsqw_MssqlSaUser='sa' | ||
+ | export gvsqw_ConnectDb=Enable | ||
+ | export gvsqw_Hostname=$(hostname|cut -d '.' -f1) | ||
+ | export gvsqw_MailMsg_mssql="TrtMsqAuto$gvsqw_Env" | ||
+ | export gvsqw_Mail_mssql='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_SuppLogsHisto=30 | ||
+ | export gvsqw_GzipLogsHisto=7 | ||
+ | export gvsqw_SuppAlert=90 | ||
+ | export gvsqw_RootAdmin='$HOME/admin/${lvsqw_InstanceParam}' | ||
+ | export gvsqw_RootCfg='$gvsqw_RootAdmin/edtConfig' | ||
+ | export gvsqw_NbThread=2 | ||
+ | export gvsqw_SshOptions="-q -o BatchMode=yes -o StrictHostKeyChecking=no" | ||
+ | export gvsqw_ScpOptions="-o BatchMode=yes -o StrictHostKeyChecking=no" | ||
+ | export gvsqw_WhereClauseGenDatabaseList="and name not like 'tempdb%'" | ||
+ | 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="</pre>" | ||
+ | export gvsqw_HtmlCss="<html><head> | ||
+ | export gvsqw_NbThreadBackup=4 | ||
+ | export gvsqw_DefAGR_Backup=5 | ||
+ | export gvsqw_DefAGE_Backup=20 | ||
+ | export gvsqw_BackupNbGeneration=2 | ||
+ | export gvsqw_SizeMaxStripe=40000 | ||
+ | export gvsqw_NbMaxStripe=5 | ||
+ | export gvsqw_TraceBackup=enable | ||
+ | export gvsqw_BackupStatSize=10 | ||
+ | export gvsqw_NbThreadRebuild=4 | ||
+ | export gvsqw_DefAGR_Rebuild=5 | ||
+ | export gvsqw_DefAGE_Rebuild=20 | ||
+ | export gvsqw_NbThreadStatistics=4 | ||
+ | export gvsqw_DefAGR_Statistics=5 | ||
+ | export gvsqw_DefAGE_Statistics=20 | ||
+ | export gvsqw_NbThreadRestore=4 | ||
+ | export gvsqw_DefAGR_Restore=5 | ||
+ | export gvsqw_DefAGE_Restore=20 | ||
+ | export gvsqw_RestoreStatSize=5 | ||
+ | export gvsqw_NbThreadCheckdb=4 | ||
+ | export gvsqw_DefAGR_Checkdb=5 | ||
+ | export gvsqw_DefAGE_Checkdb=20 | ||
+ | export gvsqw_SizeMinTableIndicators=10 | ||
+ | export gvsqw_ExcludeDatabaseStatus="'OFFLINE','RESTORING'" | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_BackupAllDatabases=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_BackupDatabase=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbAllDatabases=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbDatabase=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_CheckIndicators=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_GatherIndicators=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_ParallelRun=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexAllDatabases=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexDatabase=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreAllDatabases=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreDatabase=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_RotateErrorLog=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsAllDatabases=0 | ||
+ | #export gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsDatabase=0 | ||
+ | export gvsqw_WebDbaURL="http://webdba" | ||
+ | #export gvsqw_WebDbaUserConn='Connection string ssh user@hostname' | ||
+ | </pre> | ||
+ | <br> | ||
+ | <br> | ||
+ | Variable explanation: | ||
+ | <pre> | ||
+ | gvsqw_BackupNbGeneration => | ||
+ | gvsqw_BackupStatSize => | ||
+ | gvsqw_CHtmlEnd => | ||
+ | gvsqw_CHtmlError => | ||
+ | gvsqw_CHtmlInfo => | ||
+ | gvsqw_CHtmlOk => | ||
+ | gvsqw_Colors => | ||
+ | gvsqw_ConnectDb => | ||
+ | gvsqw_DefAGE_Backup => | ||
+ | gvsqw_DefAGE_Checkdb => | ||
+ | gvsqw_DefAGE_Rebuild => | ||
+ | gvsqw_DefAGE_Restore => | ||
+ | gvsqw_DefAGE_Statistics => | ||
+ | gvsqw_DefAGR_Backup => | ||
+ | gvsqw_DefAGR_Checkdb => | ||
+ | gvsqw_DefAGR_Rebuild => | ||
+ | gvsqw_DefAGR_Restore => | ||
+ | gvsqw_DefAGR_Statistics => | ||
+ | gvsqw_EdtVersion => | ||
+ | gvsqw_ExcludeDatabaseStatus => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_BackupAllDatabases => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_BackupDatabase => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbAllDatabases => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbDatabase => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_CheckIndicators => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_GatherIndicators => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_ParallelRun => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexAllDatabases => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexDatabase => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreAllDatabases => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreDatabase => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_RotateErrorLog => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsAllDatabases => | ||
+ | #gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsDatabase => | ||
+ | gvsqw_GzipLogsHisto => | ||
+ | gvsqw_Hostname => | ||
+ | gvsqw_HtmlCss => | ||
+ | gvsqw_InstanceNameForceCase => | ||
+ | gvsqw_MailMsg_mssql => | ||
+ | gvsqw_Mail_mssql => | ||
+ | gvsqw_MssqlPassFile => | ||
+ | gvsqw_MssqlSaUser => | ||
+ | gvsqw_NbMaxStripe => | ||
+ | gvsqw_NbThread => | ||
+ | gvsqw_NbThreadBackup => | ||
+ | gvsqw_NbThreadCheckdb => | ||
+ | gvsqw_NbThreadRebuild => | ||
+ | gvsqw_NbThreadRestore => | ||
+ | gvsqw_NbThreadStatistics => | ||
+ | gvsqw_PreFormatHtlml => | ||
+ | gvsqw_RestoreStatSize => | ||
+ | gvsqw_RootAdmin => | ||
+ | gvsqw_RootCfg => | ||
+ | gvsqw_ScpOptions => | ||
+ | gvsqw_SendmailHtmlFormat => | ||
+ | gvsqw_SizeMaxStripe => | ||
+ | gvsqw_SizeMinTableIndicators => | ||
+ | gvsqw_SshOptions => | ||
+ | gvsqw_SuppAlert => | ||
+ | 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_TraceBackup => | ||
+ | gvsqw_TraceJobDb => | ||
+ | gvsqw_UploadLogFile => | ||
+ | gvsqw_UploadLogFileMaxLine => | ||
+ | gvsqw_WebDbaURL => | ||
+ | #gvsqw_WebDbaUserConn => | ||
+ | gvsqw_WhereClauseGenDatabaseList => | ||
+ | </pre> | ||
+ | {{SQWareProductionSurchargeVar|mssql|Mss|sqwmsq_GlobalVar.cfg}} | ||
<br> | <br> |
Revision as of 22:20, 17 December 2012
Configuration file $gvsqw_MssBin/../etc/sqwmsq_GlobalVar.cfg:
Global var for Mssql
It contains the operating variables of SQWareProduction.
File content:
export gvsqw_EdtVersion=2.0.12 export gvsqw_MssqlPassFile=$HOME/.passwd_mssql export gvsqw_InstanceNameForceCase='UpperCase' export gvsqw_MssqlSaUser='sa' export gvsqw_ConnectDb=Enable export gvsqw_Hostname=$(hostname|cut -d '.' -f1) export gvsqw_MailMsg_mssql="TrtMsqAuto$gvsqw_Env" export gvsqw_Mail_mssql='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_SuppLogsHisto=30 export gvsqw_GzipLogsHisto=7 export gvsqw_SuppAlert=90 export gvsqw_RootAdmin='$HOME/admin/${lvsqw_InstanceParam}' export gvsqw_RootCfg='$gvsqw_RootAdmin/edtConfig' export gvsqw_NbThread=2 export gvsqw_SshOptions="-q -o BatchMode=yes -o StrictHostKeyChecking=no" export gvsqw_ScpOptions="-o BatchMode=yes -o StrictHostKeyChecking=no" export gvsqw_WhereClauseGenDatabaseList="and name not like 'tempdb%'" 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_NbThreadBackup=4 export gvsqw_DefAGR_Backup=5 export gvsqw_DefAGE_Backup=20 export gvsqw_BackupNbGeneration=2 export gvsqw_SizeMaxStripe=40000 export gvsqw_NbMaxStripe=5 export gvsqw_TraceBackup=enable export gvsqw_BackupStatSize=10 export gvsqw_NbThreadRebuild=4 export gvsqw_DefAGR_Rebuild=5 export gvsqw_DefAGE_Rebuild=20 export gvsqw_NbThreadStatistics=4 export gvsqw_DefAGR_Statistics=5 export gvsqw_DefAGE_Statistics=20 export gvsqw_NbThreadRestore=4 export gvsqw_DefAGR_Restore=5 export gvsqw_DefAGE_Restore=20 export gvsqw_RestoreStatSize=5 export gvsqw_NbThreadCheckdb=4 export gvsqw_DefAGR_Checkdb=5 export gvsqw_DefAGE_Checkdb=20 export gvsqw_SizeMinTableIndicators=10 export gvsqw_ExcludeDatabaseStatus="'OFFLINE','RESTORING'"
- export gvsqw_ForcedReturnCodeScript_sqwmsq_BackupAllDatabases=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_BackupDatabase=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbAllDatabases=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbDatabase=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_CheckIndicators=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_GatherIndicators=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_ParallelRun=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexAllDatabases=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexDatabase=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreAllDatabases=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreDatabase=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_RotateErrorLog=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsAllDatabases=0
- export gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsDatabase=0
export gvsqw_WebDbaURL="http://webdba"
- export gvsqw_WebDbaUserConn='Connection string ssh user@hostname'
Variable explanation:
gvsqw_BackupNbGeneration => gvsqw_BackupStatSize => gvsqw_CHtmlEnd => gvsqw_CHtmlError => gvsqw_CHtmlInfo => gvsqw_CHtmlOk => gvsqw_Colors => gvsqw_ConnectDb => gvsqw_DefAGE_Backup => gvsqw_DefAGE_Checkdb => gvsqw_DefAGE_Rebuild => gvsqw_DefAGE_Restore => gvsqw_DefAGE_Statistics => gvsqw_DefAGR_Backup => gvsqw_DefAGR_Checkdb => gvsqw_DefAGR_Rebuild => gvsqw_DefAGR_Restore => gvsqw_DefAGR_Statistics => gvsqw_EdtVersion => gvsqw_ExcludeDatabaseStatus => #gvsqw_ForcedReturnCodeScript_sqwmsq_BackupAllDatabases => #gvsqw_ForcedReturnCodeScript_sqwmsq_BackupDatabase => #gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbAllDatabases => #gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbDatabase => #gvsqw_ForcedReturnCodeScript_sqwmsq_CheckIndicators => #gvsqw_ForcedReturnCodeScript_sqwmsq_GatherIndicators => #gvsqw_ForcedReturnCodeScript_sqwmsq_ParallelRun => #gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexAllDatabases => #gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexDatabase => #gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreAllDatabases => #gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreDatabase => #gvsqw_ForcedReturnCodeScript_sqwmsq_RotateErrorLog => #gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsAllDatabases => #gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsDatabase => gvsqw_GzipLogsHisto => gvsqw_Hostname => gvsqw_HtmlCss => gvsqw_InstanceNameForceCase => gvsqw_MailMsg_mssql => gvsqw_Mail_mssql => gvsqw_MssqlPassFile => gvsqw_MssqlSaUser => gvsqw_NbMaxStripe => gvsqw_NbThread => gvsqw_NbThreadBackup => gvsqw_NbThreadCheckdb => gvsqw_NbThreadRebuild => gvsqw_NbThreadRestore => gvsqw_NbThreadStatistics => gvsqw_PreFormatHtlml => gvsqw_RestoreStatSize => gvsqw_RootAdmin => gvsqw_RootCfg => gvsqw_ScpOptions => gvsqw_SendmailHtmlFormat => gvsqw_SizeMaxStripe => gvsqw_SizeMinTableIndicators => gvsqw_SshOptions => gvsqw_SuppAlert => 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_TraceBackup => gvsqw_TraceJobDb => gvsqw_UploadLogFile => gvsqw_UploadLogFileMaxLine => gvsqw_WebDbaURL => #gvsqw_WebDbaUserConn => gvsqw_WhereClauseGenDatabaseList =>