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

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
 
m (Updated by BatchUser)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
<pre>
 
<pre>
 
#General variables
 
#General variables
gvsqw_EdtVersion => SQWareProduction version
+
gvsqw_SqwVersion => SQWare Production version
gvsqw_PostgresSock => 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_postgres => Begining of email subject
 
gvsqw_Mail_postgres => email adress, put NoNail in gvsqw_Mail_postgres 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_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
Line 21: Line 9:
 
gvsqw_RootCfg => configuration directory
 
gvsqw_RootCfg => configuration directory
 
gvsqw_RootDbf => datafiles directory
 
gvsqw_RootDbf => datafiles directory
gvsqw_InitInstanceSourceCommand => Init profile instance command
+
gvsqw_RootLog => logfile directory
gvsqw_NbThread => default number of thread for parallelism
 
 
gvsqw_PostgresErrorMsg => format of MySQL errors
 
gvsqw_PostgresErrorMsg => format of MySQL errors
gvsqw_SshOptions => ssh default options
+
gvsqw_ConnectString => XXXXX
gvsqw_ScpOptions => scp default options
+
gvsqw_DistConnectString => XXXXX
 +
gvsqw_RootAdminDisable => XXXXX
 +
gvsqw_RootAdminDist => XXXXX
 +
gvsqw_PGPASSFILE => path file for pgpass
 +
gvsqw_NbThreadVacuum => XXXXX
 +
gvsqw_PgDefaultExcludeDb => XXXXX
 +
gvsqw_PgDefaultSortDb => XXXXX
 +
gvsqw_DbAlias => Database Alias
  
#Html tags
+
#for Dump scripts
gvsqw_CHtmlError => font tag for error
+
gvsqw_NbThreadDump => default number of thread for parallelism for pg_Dump
gvsqw_CHtmlOk => font tag for OK
+
gvsqw_RootDump => default pg_Dump directory
gvsqw_CHtmlInfo => font tag for info
+
gvsqw_DumpNbGeneration => default number generation of pg_Dump to keep online
gvsqw_CHtmlEnd => end font tag
+
gvsqw_PgDumpOpt => postgres Dump command
gvsqw_THtmlBegin => table tag
+
gvsqw_DumpCompressorExt => XXXXX
gvsqw_THtmlEnd => end table tag
+
gvsqw_DumpFormat => XXXXX
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 archive pg_xlog script
gvsqw_NbThreadDump => default number of thread for parallelism for pg_dump
+
gvsqw_ArchiveXlog_dest1 => XXXXX
gvsqw_RootDump => default pg_dump directory
+
gvsqw_ArchiveXlog_enabled => XXXXX
gvsqw_DumpNbGeneration => default number generation of pg_dump to keep online
+
gvsqw_ArchiveXlogCompressorExt => XXXXX
gvsqw_ConsistentInnoDb => command to make pg_dump consistent where engine = InnoDb
+
gvsqw_ArchiveXlogMaxMail => XXXXX
gvsqw_ConsistentOthers => command to make pg_dump consistent where engine != InnoDb
+
 
gvsqw_PgDumpOpt => postgres dump command
+
#for PITR scripts
#Put disable in gvsqw_TraceBackup if you don't want to trace backup execution in SQWareRepository
+
gvsqw_RootPitr => XXXXX
gvsqw_TraceBackup => to trace backup execution in SQWare repository
+
gvsqw_PitrNbGeneration => XXXXX
 +
gvsqw_PitrCompressorExt => XXXXX
 +
gvsqw_PgPitrOpt => XXXXX
 +
gvsqw_PitrWaitTimeOut => XXXXX
 +
gvsqw_PitrAutoStartSqwArchmon => XXXXX
 +
gvsqw_PitrArchLogsTimeTreshold => XXXXX
 +
gvsqw_PitrArchLogsInterval => XXXXX
 +
gvsqw_ArchiveXlog_dest1_threshold => XXXXX
 +
 
 +
#for indicators
 +
gvsqw_SizeMinTableIndicators => Size min in Meg of table to insert into SQWare Repository
 +
gvsqw_GenExcludeDatabasesObjects => XXXXX
 +
gvsqw_GenExcludeDatabasesObjectsExtra => XXXXX
  
 
#for optimize scripts
 
#for optimize scripts
Line 65: Line 61:
 
...
 
...
  
#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_SuppArchAlert => number of days to delete archives of alert files
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_RootLog => logfile directory
gvsqw_PostgresErrorMsg => format of MySQL errors
gvsqw_ConnectString => XXXXX
gvsqw_DistConnectString => XXXXX
gvsqw_RootAdminDisable => XXXXX
gvsqw_RootAdminDist => XXXXX
gvsqw_PGPASSFILE => path file for pgpass
gvsqw_NbThreadVacuum => XXXXX
gvsqw_PgDefaultExcludeDb => XXXXX
gvsqw_PgDefaultSortDb => XXXXX
gvsqw_DbAlias => Database Alias

#for Dump scripts
gvsqw_NbThreadDump => default number of thread for parallelism for pg_Dump
gvsqw_RootDump => default pg_Dump directory
gvsqw_DumpNbGeneration => default number generation of pg_Dump to keep online
gvsqw_PgDumpOpt => postgres Dump command
gvsqw_DumpCompressorExt => XXXXX
gvsqw_DumpFormat => XXXXX

#for archive pg_xlog script
gvsqw_ArchiveXlog_dest1 => XXXXX
gvsqw_ArchiveXlog_enabled => XXXXX
gvsqw_ArchiveXlogCompressorExt => XXXXX
gvsqw_ArchiveXlogMaxMail => XXXXX

#for PITR scripts
gvsqw_RootPitr => XXXXX
gvsqw_PitrNbGeneration => XXXXX
gvsqw_PitrCompressorExt => XXXXX
gvsqw_PgPitrOpt => XXXXX
gvsqw_PitrWaitTimeOut => XXXXX
gvsqw_PitrAutoStartSqwArchmon => XXXXX
gvsqw_PitrArchLogsTimeTreshold => XXXXX
gvsqw_PitrArchLogsInterval => XXXXX
gvsqw_ArchiveXlog_dest1_threshold => XXXXX

#for indicators
gvsqw_SizeMinTableIndicators => Size min in Meg of table to insert into SQWare Repository
gvsqw_GenExcludeDatabasesObjects => XXXXX
gvsqw_GenExcludeDatabasesObjectsExtra => XXXXX

#for optimize scripts
gvsqw_NbThreadReindex => 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_sqwpg_DumpDatabase => To force return code of sqwpg_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