Modèle:SQWareProduction sqwmys GlobalVar.cfg explanation : Différence entre versions

De WikiFr_dbSQWare
Aller à : navigation, rechercher
m (Updated by BatchUser)
 
m (Updated by BatchUser)
 
Ligne 5 : Ligne 5 :
 
gvsqw_SqwVersion => SQWare Production 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_GlobalMsgMail => Begining of email subject
 
gvsqw_GlobalMail => email adress, put NoNail in gvsqw_GlobalMail 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 sqwnc
 
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
Ligne 52 : Ligne 32 :
 
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
Ligne 66 : Ligne 65 :
  
 
#for SQWare Web
 
#for SQWare Web
gvsqw_WebDbaURL => SQWare Web URL
 
 
gvsqw_WebDbaUserConn => Connection string ssh user@hostname to SQWare Web
 
gvsqw_WebDbaUserConn => Connection string ssh user@hostname to SQWare Web
 
gvsqw_WebDbaDirSlowQuery => Directory to store SlowQuery files on SQWare Web
 
gvsqw_WebDbaDirSlowQuery => Directory to store SlowQuery files on SQWare Web
 
</pre>
 
</pre>

Version actuelle datée du 28 décembre 2021 à 16:24


Explication de variables:

#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