Difference between revisions of "Template:SQWareProduction sqwmsq GlobalVar.cfg explanation"
m (Updated by Expdbtools) |
m (Updated by BatchUser) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
#General variables | #General variables | ||
− | + | gvsqw_SqwVersion => SQWare Production version | |
gvsqw_MssqlPassFile => Password file path | gvsqw_MssqlPassFile => Password file path | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
gvsqw_SuppAlert => number of days to delete errorlog files | gvsqw_SuppAlert => number of days to delete errorlog files | ||
gvsqw_RootAdmin => admin directory | gvsqw_RootAdmin => admin directory | ||
gvsqw_RootCfg => configuration directory | gvsqw_RootCfg => configuration directory | ||
gvsqw_NbThread => default number of thread for parallelism | gvsqw_NbThread => default number of thread for parallelism | ||
− | + | gvsqw_WhereClauseGenDatabaseList => XXXXX | |
− | + | gvsqw_DbAlias => Database Alias | |
− | + | gvsqw_MsSqlErrorMsg => XXXXX | |
− | + | gvsqw_XpCmdShellWaitTimeOut => XXXXX | |
− | + | gvsqw_Collate => XXXXX | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#for backup scripts | #for backup scripts | ||
Line 48: | Line 23: | ||
gvsqw_NbMaxStripe => default number max of stripe | gvsqw_NbMaxStripe => default number max of stripe | ||
#Put disable in gvsqw_TraceBackup if you don't want to trace backup execution in SQWareRepository | #Put disable in gvsqw_TraceBackup if you don't want to trace backup execution in SQWareRepository | ||
− | |||
− | |||
− | #for | + | gvsqw_BackupStatSize => size of Statistics backup option (to prevent timeout of tsql) |
− | gvsqw_NbThreadRebuild => default number of thread for parallelism for | + | |
− | gvsqw_DefAGR_Rebuild => default aggressiveness for execution of | + | #for Rebuild index scripts |
− | gvsqw_DefAGE_Rebuild => default aggressiveness for check end of | + | gvsqw_NbThreadRebuild => default number of thread for parallelism for Rebuild |
+ | gvsqw_DefAGR_Rebuild => default aggressiveness for execution of Rebuild | ||
+ | gvsqw_DefAGE_Rebuild => default aggressiveness for check end of Rebuild | ||
+ | gvsqw_SetOptionsRebuild => XXXXX | ||
+ | gvsqw_RebuildType => XXXXX | ||
+ | gvsqw_MinRatioReb => XXXXX | ||
+ | gvsqw_MinRatioRgz => XXXXX | ||
#for update statistics scripts | #for update statistics scripts | ||
Line 65: | Line 44: | ||
gvsqw_DefAGR_Restore => default aggressiveness for execution of restore | gvsqw_DefAGR_Restore => default aggressiveness for execution of restore | ||
gvsqw_DefAGE_Restore => default aggressiveness for check end of restore | gvsqw_DefAGE_Restore => default aggressiveness for check end of restore | ||
+ | gvsqw_RestoreStatSize => XXXXX | ||
#for checkdb scripts | #for checkdb scripts | ||
Line 70: | Line 50: | ||
gvsqw_DefAGR_Checkdb => default aggressiveness for execution of checkdb | gvsqw_DefAGR_Checkdb => default aggressiveness for execution of checkdb | ||
gvsqw_DefAGE_Checkdb => default aggressiveness for check end of checkdb | gvsqw_DefAGE_Checkdb => default aggressiveness for check end of checkdb | ||
+ | |||
+ | #for indicators | ||
+ | gvsqw_BackupsIndicatorsDays => XXXXX | ||
+ | gvsqw_ExcludeDatabaseStatus => XXXXX | ||
+ | gvsqw_GenExcludeDatabasesObjects => XXXXX | ||
+ | gvsqw_GenExcludeDatabasesObjectsExtra => XXXXX | ||
+ | #Remove or replace extra characters like E with accent ! | ||
+ | gvsqw_StringReplaceSch => XXXXX | ||
+ | gvsqw_UserTypeList => List of users types to take into account when gather user access | ||
##Globaly forcing return code for scripts | ##Globaly forcing return code for scripts | ||
Line 76: | Line 65: | ||
gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbAllDatabases => To force return code of sqwmsq_CheckdbAllDatabases.ksh | gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbAllDatabases => To force return code of sqwmsq_CheckdbAllDatabases.ksh | ||
gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbDatabase => To force return code of sqwmsq_CheckdbDatabase.ksh | gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbDatabase => To force return code of sqwmsq_CheckdbDatabase.ksh | ||
− | |||
gvsqw_ForcedReturnCodeScript_sqwmsq_GatherIndicators => To force return code of sqwmsq_GatherIndicators.ksh | gvsqw_ForcedReturnCodeScript_sqwmsq_GatherIndicators => To force return code of sqwmsq_GatherIndicators.ksh | ||
gvsqw_ForcedReturnCodeScript_sqwmsq_ParallelRun => To force return code of sqwmsq_ParallelRun.ksh | gvsqw_ForcedReturnCodeScript_sqwmsq_ParallelRun => To force return code of sqwmsq_ParallelRun.ksh | ||
Line 87: | Line 75: | ||
gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsDatabase => To force return code of sqwmsq_StatisticsDatabase.ksh | gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsDatabase => To force return code of sqwmsq_StatisticsDatabase.ksh | ||
− | #for | + | #for SQWare Web |
− | + | gvsqw_WebDbaUserConn => Connection string ssh user@hostname to SQWare Web | |
− | gvsqw_WebDbaUserConn => Connection string ssh user@hostname to | ||
</pre> | </pre> |
Latest revision as of 16:30, 28 December 2021
Variables explanation:
#General variables gvsqw_SqwVersion => SQWare Production version gvsqw_MssqlPassFile => Password file path gvsqw_SuppAlert => number of days to delete errorlog files gvsqw_RootAdmin => admin directory gvsqw_RootCfg => configuration directory gvsqw_NbThread => default number of thread for parallelism gvsqw_WhereClauseGenDatabaseList => XXXXX gvsqw_DbAlias => Database Alias gvsqw_MsSqlErrorMsg => XXXXX gvsqw_XpCmdShellWaitTimeOut => XXXXX gvsqw_Collate => XXXXX #for backup scripts gvsqw_NbThreadBackup => default number of thread for parallelism for backup gvsqw_DefAGR_Backup => default aggressiveness for execution of backup gvsqw_DefAGE_Backup => default aggressiveness for check end of backup gvsqw_BackupNbGeneration => default number generation of backup to keep online gvsqw_SizeMaxStripe => default size max of stripe gvsqw_NbMaxStripe => default number max of stripe #Put disable in gvsqw_TraceBackup if you don't want to trace backup execution in SQWareRepository gvsqw_BackupStatSize => size of Statistics backup option (to prevent timeout of tsql) #for Rebuild index scripts gvsqw_NbThreadRebuild => default number of thread for parallelism for Rebuild gvsqw_DefAGR_Rebuild => default aggressiveness for execution of Rebuild gvsqw_DefAGE_Rebuild => default aggressiveness for check end of Rebuild gvsqw_SetOptionsRebuild => XXXXX gvsqw_RebuildType => XXXXX gvsqw_MinRatioReb => XXXXX gvsqw_MinRatioRgz => XXXXX #for update statistics scripts gvsqw_NbThreadStatistics => default number of thread for parallelism for update statistics gvsqw_DefAGR_Statistics => default aggressiveness for execution of update statistics gvsqw_DefAGE_Statistics => default aggressiveness for check end of update statistics #for restore scripts gvsqw_NbThreadRestore => default number of thread for parallelism for restore gvsqw_DefAGR_Restore => default aggressiveness for execution of restore gvsqw_DefAGE_Restore => default aggressiveness for check end of restore gvsqw_RestoreStatSize => XXXXX #for checkdb scripts gvsqw_NbThreadCheckdb => default number of thread for parallelism for checkdb gvsqw_DefAGR_Checkdb => default aggressiveness for execution of checkdb gvsqw_DefAGE_Checkdb => default aggressiveness for check end of checkdb #for indicators gvsqw_BackupsIndicatorsDays => XXXXX gvsqw_ExcludeDatabaseStatus => XXXXX gvsqw_GenExcludeDatabasesObjects => XXXXX gvsqw_GenExcludeDatabasesObjectsExtra => XXXXX #Remove or replace extra characters like E with accent ! gvsqw_StringReplaceSch => XXXXX gvsqw_UserTypeList => List of users types to take into account when gather user access ##Globaly forcing return code for scripts gvsqw_ForcedReturnCodeScript_sqwmsq_BackupAllDatabases => To force return code of sqwmsq_BackupAllDatabases.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_BackupDatabase => To force return code of sqwmsq_BackupDatabase.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbAllDatabases => To force return code of sqwmsq_CheckdbAllDatabases.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_CheckdbDatabase => To force return code of sqwmsq_CheckdbDatabase.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_GatherIndicators => To force return code of sqwmsq_GatherIndicators.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_ParallelRun => To force return code of sqwmsq_ParallelRun.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexAllDatabases => To force return code of sqwmsq_RebuildIndexAllDatabases.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexDatabase => To force return code of sqwmsq_RebuildIndexDatabase.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreAllDatabases => To force return code of sqwmsq_RestoreAllDatabases.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_RestoreDatabase => To force return code of RestoreDatabase.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_RotateErrorLog => To force return code of sqwmsq_RotateErrorLog.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsAllDatabases => To force return code of sqwmsq_StatisticsAllDatabases.ksh gvsqw_ForcedReturnCodeScript_sqwmsq_StatisticsDatabase => To force return code of sqwmsq_StatisticsDatabase.ksh #for SQWare Web gvsqw_WebDbaUserConn => Connection string ssh user@hostname to SQWare Web