Difference between revisions of "Template:SQWareProduction sqwmys GlobalVar.cfg explanation"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
 
m (Updated by BatchUser)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<br>
 
<br>
File explanation:
+
Variables explanation:
 
<pre>
 
<pre>
 
#General variables
 
#General variables
gvsqw_EdtVersion => SQWareProduction version
+
gvsqw_SqwVersion => SQWare Production version
 
gvsqw_MysqlSock => Path to MySQL sock file
 
gvsqw_MysqlSock => Path to MySQL sock file
gvsqw_ConnectDb => if connection to db evalable then Enable else Disable
 
gvsqw_Hostname => Hostname for prompt and trace
 
gvsqw_MailMsg_mysql => Begining of email subject
 
gvsqw_Mail_mysql => email adress, put NoNail in gvsqw_Mail_mysql if you don't want to send mail on error
 
gvsqw_SendmailHtmlFormat => Html format for email, put disable in gvsqw_SendmailHtmlFormat if you don't want to send mail in html format
 
gvsqw_PreFormatHtlml => enable if file is already formated
 
gvsqw_Colors => enable, put disable in gvsqw_Colors if you don't want to print in color
 
gvsqw_TraceJobDb => enable, put disable in gvsqw_TraceJobDb if you don't want to trace job execution in SQWareRepository
 
gvsqw_EgrepIvFs => for 'egrep -v' on 'df' command
 
gvsqw_SuppLogsHisto => number of days to delete log files
 
gvsqw_GzipLogsHisto => number of days to compress log files
 
gvsqw_SuppArchAlert => number of days to delete archives of alert files
 
 
gvsqw_SuppArchSlow => number of days to delete archives of slow query files
 
gvsqw_SuppArchSlow => number of days to delete archives of slow query files
 
gvsqw_RootAdmin => admin directory
 
gvsqw_RootAdmin => admin directory
 
gvsqw_RootCfg => configuration directory
 
gvsqw_RootCfg => configuration directory
 
gvsqw_RootDbf => datafiles directory
 
gvsqw_RootDbf => datafiles directory
gvsqw_InitInstanceSourceCommand => Init profile instance command
 
 
gvsqw_NbThread => default number of thread for parallelism
 
gvsqw_NbThread => default number of thread for parallelism
 
gvsqw_MysqlErrorMsg => format of MySQL errors
 
gvsqw_MysqlErrorMsg => format of MySQL errors
gvsqw_SshOptions => ssh default options
+
gvsqw_DbaUser => User Dba
gvsqw_ScpOptions => scp default options
+
gvsqw_DistConnectString => XXXXX
 +
gvsqw_GenExcludeDatabasesWhereClause => XXXXX
 +
gvsqw_NbThreadCopyDump => XXXXX
 +
gvsqw_NbThreadRestore => default number of thread for parallelism for restore
 +
gvsqw_NbThreadCheck => default number of thread for parallelism for Checkstorage
 +
gvsqw_NotMysqlErrorMsg => XXXXX
 +
#To ignore mysqldump errors, example : gvsqw_NotMysqldumpErrorMsg="mysqldump: Error 1412" to ignore "mysqldump: Error 1412: Table definition has changed, please retry transaction when dumping table ..."
 +
gvsqw_NotMysqldumpErrorMsg => XXXXX
  
#Html tags
+
#for indicators
gvsqw_CHtmlError => font tag for error
+
gvsqw_GenExcludeDatabasesObjects => XXXXX
gvsqw_CHtmlOk => font tag for OK
+
gvsqw_GenExcludeDatabasesObjectsExtra => XXXXX
gvsqw_CHtmlInfo => font tag for info
 
gvsqw_CHtmlEnd => end font tag
 
gvsqw_THtmlBegin => table tag
 
gvsqw_THtmlEnd => end table tag
 
gvsqw_THtmlThBegin => th tag
 
gvsqw_THtmlThEnd => end th tag
 
gvsqw_THtmlThInter => inter th tag
 
gvsqw_THtmlTdBegin1 => td tag edtnc
 
gvsqw_THtmlTdBegin2 => td tag sqwc_
 
gvsqw_THtmlTdEnd => end td tag
 
gvsqw_THtmlTdInter => inter td tag
 
gvsqw_THtmlPre => tag for pre formated text
 
gvsqw_THtmlPreEnd => end tag for pre formated text
 
gvsqw_HtmlCss => CSS style
 
  
#for dump scripts
+
#for Dump scripts
gvsqw_NbThreadDump => default number of thread for parallelism for mysqldump
+
gvsqw_NbThreadDump => default number of thread for parallelism for mysqlDump
gvsqw_RootDump => default mysqldump directory
+
gvsqw_RootDump => default mysqlDump directory
gvsqw_DumpNbGeneration => default number generation of mysqldump to keep online
+
gvsqw_DumpNbGeneration => default number generation of mysqlDump to keep online
gvsqw_ConsistentInnoDb => command to make mysqldump consistent where engine = InnoDb
+
gvsqw_ConsistentInnoDb => command to make mysqlDump consistent where engine = InnoDb
gvsqw_ConsistentOthers => command to make mysqldump consistent where engine != InnoDb
+
gvsqw_ConsistentOthers => command to make mysqlDump consistent where engine != InnoDb
gvsqw_MysqlDumpOpt => mysql dump command
+
gvsqw_MysqlDumpOpt => mysql Dump command
#Put disable in gvsqw_TraceBackup if you don't want to trace backup execution in SQWareRepository
+
gvsqw_RootDumpSource => unLoad directory for source
gvsqw_TraceBackup => to trace backup execution in SQWare repository
+
gvsqw_ExcludeDatabasesCopy => XXXXX
 +
gvsqw_DumpCompressorExt => XXXXX
 +
gvsqw_DefCopyDumpNbGeneration => XXXXX
 +
gvsqw_DropDb => XXXXX
 +
gvsqw_CreateDb => XXXXX
 +
 
 +
#for XtraBackup scripts
 +
gvsqw_RootXtraBackup => XXXXX
 +
gvsqw_RootXtraBackupSource => XXXXX
 +
gvsqw_XtraBackupNbGeneration => XXXXX
 +
gvsqw_XtraBackupWaitTimeOut => XXXXX
 +
 
 +
#for MariaBackup scripts
 +
gvsqw_RootMariaBackup => XXXXX
 +
gvsqw_RootMariaBackupSource => XXXXX
 +
gvsqw_MariaBackupNbGeneration => XXXXX
 +
gvsqw_MariaBackupWaitTimeOut => XXXXX
 +
 
 +
#for rotate slowquery (put yes to no copy to webdba)
 +
gvsqw_LocalSlowQuery => XXXXX
  
 
#for optimize scripts
 
#for optimize scripts
Line 65: Line 64:
 
...
 
...
  
#for SQWareWeb
+
#for SQWare Web
gvsqw_WebDbaURL => SQWareWeb URL
+
gvsqw_WebDbaUserConn => Connection string ssh user@hostname to SQWare Web
gvsqw_WebDbaUserConn => Connection string ssh user@hostname to SQWareWeb
+
gvsqw_WebDbaDirSlowQuery => Directory to store SlowQuery files on SQWare Web
gvsqw_WebDbaDirSlowQuery => Directory to store SlowQuery files on SQWareWeb
 
 
</pre>
 
</pre>

Latest revision as of 16:30, 28 December 2021


Variables explanation:

#General variables
gvsqw_SqwVersion => SQWare Production version
gvsqw_MysqlSock => Path to MySQL sock file
gvsqw_SuppArchSlow => number of days to delete archives of slow query files
gvsqw_RootAdmin => admin directory
gvsqw_RootCfg => configuration directory
gvsqw_RootDbf => datafiles directory
gvsqw_NbThread => default number of thread for parallelism
gvsqw_MysqlErrorMsg => format of MySQL errors
gvsqw_DbaUser => User Dba
gvsqw_DistConnectString => XXXXX
gvsqw_GenExcludeDatabasesWhereClause => XXXXX
gvsqw_NbThreadCopyDump => XXXXX
gvsqw_NbThreadRestore => default number of thread for parallelism for restore
gvsqw_NbThreadCheck => default number of thread for parallelism for Checkstorage
gvsqw_NotMysqlErrorMsg => XXXXX
#To ignore mysqldump errors, example : gvsqw_NotMysqldumpErrorMsg="mysqldump: Error 1412" to ignore "mysqldump: Error 1412: Table definition has changed, please retry transaction when dumping table ..."
gvsqw_NotMysqldumpErrorMsg => XXXXX

#for indicators
gvsqw_GenExcludeDatabasesObjects => XXXXX
gvsqw_GenExcludeDatabasesObjectsExtra => XXXXX

#for Dump scripts
gvsqw_NbThreadDump => default number of thread for parallelism for mysqlDump
gvsqw_RootDump => default mysqlDump directory
gvsqw_DumpNbGeneration => default number generation of mysqlDump to keep online
gvsqw_ConsistentInnoDb => command to make mysqlDump consistent where engine = InnoDb
gvsqw_ConsistentOthers => command to make mysqlDump consistent where engine != InnoDb
gvsqw_MysqlDumpOpt => mysql Dump command
gvsqw_RootDumpSource => unLoad directory for source
gvsqw_ExcludeDatabasesCopy => XXXXX
gvsqw_DumpCompressorExt => XXXXX
gvsqw_DefCopyDumpNbGeneration => XXXXX
gvsqw_DropDb => XXXXX
gvsqw_CreateDb => XXXXX

#for XtraBackup scripts
gvsqw_RootXtraBackup => XXXXX
gvsqw_RootXtraBackupSource => XXXXX
gvsqw_XtraBackupNbGeneration => XXXXX
gvsqw_XtraBackupWaitTimeOut => XXXXX

#for MariaBackup scripts
gvsqw_RootMariaBackup => XXXXX
gvsqw_RootMariaBackupSource => XXXXX
gvsqw_MariaBackupNbGeneration => XXXXX
gvsqw_MariaBackupWaitTimeOut => XXXXX

#for rotate slowquery (put yes to no copy to webdba)
gvsqw_LocalSlowQuery => XXXXX

#for optimize scripts
gvsqw_NbThreadOptimize => default number of thread for parallelism for optimize

#for analyse scripts
gvsqw_NbThreadAnalyze => default number of thread for parallelism for analyse

##Globaly forcing return code for scripts
gvsqw_ForcedReturnCodeScript_sqwmys_DumpDatabase => To force return code of sqwmys_DumpDatabase.ksh
...

#for SQWare Web
gvsqw_WebDbaUserConn => Connection string ssh user@hostname to SQWare Web
gvsqw_WebDbaDirSlowQuery => Directory to store SlowQuery files on SQWare Web