Difference between revisions of "SQWareProduction:mysql"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
 
(4 intermediate revisions by the same user not shown)
Line 31: Line 31:
 
{{SQWareProduction_sqwmys_CopyDumpDatabase.ksh_presentation}}
 
{{SQWareProduction_sqwmys_CopyDumpDatabase.ksh_presentation}}
 
[[SQWareProduction:mysql:bin:sqwmys_CopyDumpDatabase.ksh|See the detailed help for sqwmys_CopyDumpDatabase.ksh]]<br><br>
 
[[SQWareProduction:mysql:bin:sqwmys_CopyDumpDatabase.ksh|See the detailed help for sqwmys_CopyDumpDatabase.ksh]]<br><br>
 +
 +
=== sqwmys_CopyMariaBackup.ksh ===
 +
Script $gvsqw_MysBin/bin/sqwmys_CopyMariaBackup.ksh:<br>
 +
{{SQWareProduction_sqwmys_CopyMariaBackup.ksh_presentation}}
 +
[[SQWareProduction:mysql:bin:sqwmys_CopyMariaBackup.ksh|See the detailed help for sqwmys_CopyMariaBackup.ksh]]<br><br>
 +
 +
=== sqwmys_CopyXtraBackup.ksh ===
 +
Script $gvsqw_MysBin/bin/sqwmys_CopyXtraBackup.ksh:<br>
 +
{{SQWareProduction_sqwmys_CopyXtraBackup.ksh_presentation}}
 +
[[SQWareProduction:mysql:bin:sqwmys_CopyXtraBackup.ksh|See the detailed help for sqwmys_CopyXtraBackup.ksh]]<br><br>
  
 
=== sqwmys_DumpAllDatabases.ksh ===
 
=== sqwmys_DumpAllDatabases.ksh ===
Line 46: Line 56:
 
{{SQWareProduction_sqwmys_ExecSQL.ksh_presentation}}
 
{{SQWareProduction_sqwmys_ExecSQL.ksh_presentation}}
 
[[SQWareProduction:mysql:bin:sqwmys_ExecSQL.ksh|See the detailed help for sqwmys_ExecSQL.ksh]]<br><br>
 
[[SQWareProduction:mysql:bin:sqwmys_ExecSQL.ksh|See the detailed help for sqwmys_ExecSQL.ksh]]<br><br>
 +
 +
=== sqwmys_FailWithoutMail.ksh ===
 +
Script $gvsqw_MysBin/bin/sqwmys_FailWithoutMail.ksh:<br>
 +
{{SQWareProduction_sqwmys_FailWithoutMail.ksh_presentation}}
 +
[[SQWareProduction:mysql:bin:sqwmys_FailWithoutMail.ksh|See the detailed help for sqwmys_FailWithoutMail.ksh]]<br><br>
  
 
=== sqwmys_GatherIndicators.ksh ===
 
=== sqwmys_GatherIndicators.ksh ===
Line 160: Line 175:
  
 
== lib ==
 
== lib ==
 +
=== sqwmys_AnalyzeAllDatabases.lib ===
 +
shell functions library $gvsqw_MysBin/../lib/sqwmys_AnalyzeAllDatabases.lib:<br>
 +
{{SQWareProduction_sqwmys_AnalyzeAllDatabases.lib_presentation}}
 +
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_AnalyzeAllDatabases.lib}}
 +
<br>
 +
[[SQWareProduction:mysql:lib:sqwmys_AnalyzeAllDatabases.lib|See the detailed help for sqwmys_AnalyzeAllDatabases.lib]]<br><br>
 +
 
=== sqwmys_AnalyzeDatabase.lib ===
 
=== sqwmys_AnalyzeDatabase.lib ===
 
shell functions library $gvsqw_MysBin/../lib/sqwmys_AnalyzeDatabase.lib:<br>
 
shell functions library $gvsqw_MysBin/../lib/sqwmys_AnalyzeDatabase.lib:<br>
Line 166: Line 188:
 
<br>
 
<br>
 
[[SQWareProduction:mysql:lib:sqwmys_AnalyzeDatabase.lib|See the detailed help for sqwmys_AnalyzeDatabase.lib]]<br><br>
 
[[SQWareProduction:mysql:lib:sqwmys_AnalyzeDatabase.lib|See the detailed help for sqwmys_AnalyzeDatabase.lib]]<br><br>
 +
 +
=== sqwmys_CheckAllDatabases.lib ===
 +
shell functions library $gvsqw_MysBin/../lib/sqwmys_CheckAllDatabases.lib:<br>
 +
{{SQWareProduction_sqwmys_CheckAllDatabases.lib_presentation}}
 +
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CheckAllDatabases.lib}}
 +
<br>
 +
[[SQWareProduction:mysql:lib:sqwmys_CheckAllDatabases.lib|See the detailed help for sqwmys_CheckAllDatabases.lib]]<br><br>
 +
 +
=== sqwmys_CheckDatabase.lib ===
 +
shell functions library $gvsqw_MysBin/../lib/sqwmys_CheckDatabase.lib:<br>
 +
{{SQWareProduction_sqwmys_CheckDatabase.lib_presentation}}
 +
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CheckDatabase.lib}}
 +
<br>
 +
[[SQWareProduction:mysql:lib:sqwmys_CheckDatabase.lib|See the detailed help for sqwmys_CheckDatabase.lib]]<br><br>
 +
 +
=== sqwmys_CopyDumpAllDatabases.lib ===
 +
shell functions library $gvsqw_MysBin/../lib/sqwmys_CopyDumpAllDatabases.lib:<br>
 +
{{SQWareProduction_sqwmys_CopyDumpAllDatabases.lib_presentation}}
 +
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CopyDumpAllDatabases.lib}}
 +
<br>
 +
[[SQWareProduction:mysql:lib:sqwmys_CopyDumpAllDatabases.lib|See the detailed help for sqwmys_CopyDumpAllDatabases.lib]]<br><br>
  
 
=== sqwmys_CopyDumpDatabase.lib ===
 
=== sqwmys_CopyDumpDatabase.lib ===
Line 173: Line 216:
 
<br>
 
<br>
 
[[SQWareProduction:mysql:lib:sqwmys_CopyDumpDatabase.lib|See the detailed help for sqwmys_CopyDumpDatabase.lib]]<br><br>
 
[[SQWareProduction:mysql:lib:sqwmys_CopyDumpDatabase.lib|See the detailed help for sqwmys_CopyDumpDatabase.lib]]<br><br>
 +
 +
=== sqwmys_CopyMariaBackup.lib ===
 +
shell functions library $gvsqw_MysBin/../lib/sqwmys_CopyMariaBackup.lib:<br>
 +
{{SQWareProduction_sqwmys_CopyMariaBackup.lib_presentation}}
 +
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CopyMariaBackup.lib}}
 +
<br>
 +
[[SQWareProduction:mysql:lib:sqwmys_CopyMariaBackup.lib|See the detailed help for sqwmys_CopyMariaBackup.lib]]<br><br>
 +
 +
=== sqwmys_CopyXtraBackup.lib ===
 +
shell functions library $gvsqw_MysBin/../lib/sqwmys_CopyXtraBackup.lib:<br>
 +
{{SQWareProduction_sqwmys_CopyXtraBackup.lib_presentation}}
 +
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CopyXtraBackup.lib}}
 +
<br>
 +
[[SQWareProduction:mysql:lib:sqwmys_CopyXtraBackup.lib|See the detailed help for sqwmys_CopyXtraBackup.lib]]<br><br>
  
 
=== sqwmys_DumpAllDatabases.lib ===
 
=== sqwmys_DumpAllDatabases.lib ===
Line 250: Line 307:
 
<br>
 
<br>
 
[[SQWareProduction:mysql:lib:sqwmys_NetBackup.lib|See the detailed help for sqwmys_NetBackup.lib]]<br><br>
 
[[SQWareProduction:mysql:lib:sqwmys_NetBackup.lib|See the detailed help for sqwmys_NetBackup.lib]]<br><br>
 +
 +
=== sqwmys_OptimizeAllDatabases.lib ===
 +
shell functions library $gvsqw_MysBin/../lib/sqwmys_OptimizeAllDatabases.lib:<br>
 +
{{SQWareProduction_sqwmys_OptimizeAllDatabases.lib_presentation}}
 +
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_OptimizeAllDatabases.lib}}
 +
<br>
 +
[[SQWareProduction:mysql:lib:sqwmys_OptimizeAllDatabases.lib|See the detailed help for sqwmys_OptimizeAllDatabases.lib]]<br><br>
  
 
=== sqwmys_OptimizeDatabase.lib ===
 
=== sqwmys_OptimizeDatabase.lib ===
Line 264: Line 328:
 
<br>
 
<br>
 
[[SQWareProduction:mysql:lib:sqwmys_PurgeAlert.lib|See the detailed help for sqwmys_PurgeAlert.lib]]<br><br>
 
[[SQWareProduction:mysql:lib:sqwmys_PurgeAlert.lib|See the detailed help for sqwmys_PurgeAlert.lib]]<br><br>
 +
 +
=== sqwmys_RestoreAllDatabases.lib ===
 +
shell functions library $gvsqw_MysBin/../lib/sqwmys_RestoreAllDatabases.lib:<br>
 +
{{SQWareProduction_sqwmys_RestoreAllDatabases.lib_presentation}}
 +
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_RestoreAllDatabases.lib}}
 +
<br>
 +
[[SQWareProduction:mysql:lib:sqwmys_RestoreAllDatabases.lib|See the detailed help for sqwmys_RestoreAllDatabases.lib]]<br><br>
  
 
=== sqwmys_RestoreDatabase.lib ===
 
=== sqwmys_RestoreDatabase.lib ===
Line 322: Line 393:
 
{{SQWareProduction_sqwmys_Crypt.ksh_presentation}}
 
{{SQWareProduction_sqwmys_Crypt.ksh_presentation}}
 
[[SQWareProduction:mysql:tools:sqwmys_Crypt.ksh|See the detailed help for sqwmys_Crypt.ksh]]<br><br>
 
[[SQWareProduction:mysql:tools:sqwmys_Crypt.ksh|See the detailed help for sqwmys_Crypt.ksh]]<br><br>
 +
 +
=== sqwmys_GaleraAdmin.ksh ===
 +
Script $gvsqw_MysBin/../tools/sqwmys_GaleraAdmin.ksh:<br>
 +
{{SQWareProduction_sqwmys_GaleraAdmin.ksh_presentation}}
 +
[[SQWareProduction:mysql:tools:sqwmys_GaleraAdmin.ksh|See the detailed help for sqwmys_GaleraAdmin.ksh]]<br><br>
  
 
=== sqwmys_GenerateCreateInstance.ksh ===
 
=== sqwmys_GenerateCreateInstance.ksh ===
Line 354: Line 430:
 
{{SQWareProductionSurchargeToo|mysql|Mys|sqwmys_SetEnv.ksh}}
 
{{SQWareProductionSurchargeToo|mysql|Mys|sqwmys_SetEnv.ksh}}
 
[[SQWareProduction:mysql:tools:sqwmys_SetEnv.ksh|See the detailed help for sqwmys_SetEnv.ksh]]<br><br>
 
[[SQWareProduction:mysql:tools:sqwmys_SetEnv.ksh|See the detailed help for sqwmys_SetEnv.ksh]]<br><br>
 +
 +
=== sqwmys_TestInstConnection.ksh ===
 +
Script $gvsqw_MysBin/../tools/sqwmys_TestInstConnection.ksh:<br>
 +
{{SQWareProduction_sqwmys_TestInstConnection.ksh_presentation}}
 +
[[SQWareProduction:mysql:tools:sqwmys_TestInstConnection.ksh|See the detailed help for sqwmys_TestInstConnection.ksh]]<br><br>
  
 
=== sqwmys_TestMySQL.ksh ===
 
=== sqwmys_TestMySQL.ksh ===

Latest revision as of 08:58, 18 December 2023

Contents

Presentation

Usage

It's the module locally operating of mysql.
It is entirely written in ksh and sql.
It allows to manage the operation for mysql.
Example uses of the tool:

  • Backup
  • Recovery
  • Compute statistics
  • Indicators collection to store in referential database SQWareRepository
  • Rotate logs
  • ....

This module is deployed locally on the machine hosting the authorities to manage, in order to avoid any points of weakness related to an NFS mount or whatever. The deployment is done through a simple command SQWareCentral module using inventory located in SQWareRepository !
Installation guide for SQWareProduction for mysql

Explanation of directories

Directories located in $gvsqw_MysBin:

  • bin : Directory containing standard scripts
  • bin_cust : Directory containing customs scripts for your environnement
  • etc : Directory containing the standard files of configuration
  • etc_cust : Directory containing the customs files of configuration for your environnement (overload standards)
  • help : Directory containing the standard files of help
  • help_cust : Directory containing the customs files of help for your environnement
  • lib : Directory containing the generic shell function librairies
  • lib_cust : Directory containing the generic shell function librairies (overload standards)
  • spm : Contain sql query toolkit
  • tools : Directory containing the standard scripts used on an ad hoc
  • tools_cust : Directory containing the customs scripts used on an ad hoc for your environnement
  • menu : Directory containing the standard menus
  • menu_cust : Directory containing the custom menus for your environnement
Nuvola apps important.png
Warning:
Do not change the standard scripts and configuration files of dbSQWare.

Use directories *_cust for customizations. This will facilitate version upgrades.


Naming convention of files

The majority of files are named with suffixes:

  • *.ksh : for scripts
  • *.cfg : for configuration files
  • *.lib : for function librairies
  • *.hlp : for help files
Nuvola apps important.png
Warning:
Do not change the standard scripts and configuration files of dbSQWare.

Use directories *_cust for customizations. This will facilitate version upgrades.


Naming convention in scripts

In general, the following naming convention is used in all scripts of SQWareProduction:

  • gvsqw_ {} : global variable initialized by the environment and / or generic library
  • lvsqw_ {} : local variable initialized by the script and / or a specific library
  • gfsqw_ {} : function defined by a generic library
  • lfsqw_ {} : function defined by the script and / or a specific library

bin

sqwmys_AnalyzeAllDatabases.ksh

Script $gvsqw_MysBin/bin/sqwmys_AnalyzeAllDatabases.ksh:

Run of sqwmys_AnalyzeDatabase.ksh in parallel mode
You can choose:

  • The parallel degree
  • Aggressiveness of run (number of seconds between two runs)
  • Aggressiveness of check end (number of seconds between two checks of end)


Filters to generate database list (you can mix all off them):

  • Include list of database
  • Exclude list of database
  • Include like clause
  • Exclude like clause
  • Where clause

See the detailed help for sqwmys_AnalyzeAllDatabases.ksh

sqwmys_AnalyzeDatabase.ksh

Script $gvsqw_MysBin/bin/sqwmys_AnalyzeDatabase.ksh:

Analyze of all tables for the database
Use command: analyse local table <TableName> See the detailed help for sqwmys_AnalyzeDatabase.ksh

sqwmys_CheckAllDatabases.ksh

Script $gvsqw_MysBin/bin/sqwmys_CheckAllDatabases.ksh:

check databases in parallel See the detailed help for sqwmys_CheckAllDatabases.ksh

sqwmys_CheckDatabase.ksh

Script $gvsqw_MysBin/bin/sqwmys_CheckDatabase.ksh:

mysqlcheck of database See the detailed help for sqwmys_CheckDatabase.ksh

sqwmys_CopyDumpAllDatabases.ksh

Script $gvsqw_MysBin/bin/sqwmys_CopyDumpAllDatabases.ksh:

copy of dump all databases in parallel See the detailed help for sqwmys_CopyDumpAllDatabases.ksh

sqwmys_CopyDumpDatabase.ksh

Script $gvsqw_MysBin/bin/sqwmys_CopyDumpDatabase.ksh:

copy of dump \$lvsqw_CopyType See the detailed help for sqwmys_CopyDumpDatabase.ksh

sqwmys_CopyMariaBackup.ksh

Script $gvsqw_MysBin/bin/sqwmys_CopyMariaBackup.ksh:

copy of MariaBackup \$lvsqw_CopyType

  • copy choosed backup that can be:


- LastFull => copy the last full backup
- LastInc => copy the last incremental backup
- <tag> => copy this backup tag (part of file name) See the detailed help for sqwmys_CopyMariaBackup.ksh

sqwmys_CopyXtraBackup.ksh

Script $gvsqw_MysBin/bin/sqwmys_CopyXtraBackup.ksh:

copy of XtraBackup \$lvsqw_CopyType

  • copy choosed backup that can be:


- LastFull => copy the last full backup
- LastInc => copy the last incremental backup
- <tag> => copy this backup tag (part of file name) See the detailed help for sqwmys_CopyXtraBackup.ksh

sqwmys_DumpAllDatabases.ksh

Script $gvsqw_MysBin/bin/sqwmys_DumpAllDatabases.ksh:

Run of sqwmys_DumpDatabase.ksh in parallel mode
You can choose:

  • The parallel degree
  • Aggressiveness of run (number of seconds between two runs)
  • Aggressiveness of check end (number of seconds between two checks of end)


Filters to generate database list (you can mix all off them):

  • Include list of database
  • Exclude list of database
  • Include like clause
  • Exclude like clause
  • Where clause

See the detailed help for sqwmys_DumpAllDatabases.ksh

sqwmys_DumpDatabase.ksh

Script $gvsqw_MysBin/bin/sqwmys_DumpDatabase.ksh:

Generate mysqlDump of database compressed by pipe
Script makes purge of old generation automatically
You can also choose:

  • different retention policy
  • add option to mysqlDump command
  • make Dump in consistent mode

See the detailed help for sqwmys_DumpDatabase.ksh

sqwmys_ExecSQL.ksh

Script $gvsqw_MysBin/bin/sqwmys_ExecSQL.ksh:

execute SQL file on instance See the detailed help for sqwmys_ExecSQL.ksh

sqwmys_FailWithoutMail.ksh

Script $gvsqw_MysBin/bin/sqwmys_FailWithoutMail.ksh:

exit with error and display imput parameters See the detailed help for sqwmys_FailWithoutMail.ksh

sqwmys_GatherIndicators.ksh

Script $gvsqw_MysBin/bin/sqwmys_GatherIndicators.ksh:

Gather MySql indicators and put them in SQWareRepository
Summary of collection:

  • Volumetry of instance
  • Volumetry of databases
  • Volumetry (use, free) of FS
  • Version, options, configuration, ... of instance

See the detailed help for sqwmys_GatherIndicators.ksh

sqwmys_GatherStructure.ksh

Script $gvsqw_MysBin/bin/sqwmys_GatherStructure.ksh:

Gather MySql structure and put them in SQWareRepository
Summary of collection:

  • Tables list and options
  • Columns list, types and options
  • Indexes list, columns and options

See the detailed help for sqwmys_GatherStructure.ksh

sqwmys_MariaBackup.ksh

Script $gvsqw_MysBin/bin/sqwmys_MariaBackup.ksh:

Generate MariaBackup of instance
Script makes purge of old generation automatically
You can also choose:

  • different retention policy
  • different backup type full,inc
  • add option to MariaBackup command

See the detailed help for sqwmys_MariaBackup.ksh

sqwmys_NetBackup.ksh

Script $gvsqw_MysBin/bin/sqwmys_NetBackup.ksh:

backup with NetBackup dump/backup files See the detailed help for sqwmys_NetBackup.ksh

sqwmys_OptimizeAllDatabases.ksh

Script $gvsqw_MysBin/bin/sqwmys_OptimizeAllDatabases.ksh:

Run of sqwmys_OptimizeDatabase.ksh in parallel mode
You can choose:

  • The parallel degree
  • Aggressiveness of run (number of seconds between two runs)
  • Aggressiveness of check end (number of seconds between two checks of end)


Filters to generate database list (you can mix all off them):

  • Include list of database
  • Exclude list of database
  • Include like clause
  • Exclude like clause
  • Where clause

See the detailed help for sqwmys_OptimizeAllDatabases.ksh

sqwmys_OptimizeDatabase.ksh

Script $gvsqw_MysBin/bin/sqwmys_OptimizeDatabase.ksh:

Reorganize of all tables for the database
Use command: optimize local table <TableName> See the detailed help for sqwmys_OptimizeDatabase.ksh

sqwmys_ParallelRun.ksh

Script $gvsqw_MysBin/bin/sqwmys_ParallelRun.ksh:

Manages the execution of unix commands in parallel mode
Takes in parameter file with unix command to execute
You can choose:

  • The parallel degree
  • Aggressiveness of run (number of seconds between two runs)
  • Aggressiveness of check end (number of seconds between two checks of end)


See the detailed help for sqwmys_ParallelRun.ksh

sqwmys_PurgeAlert.ksh

Script $gvsqw_MysBin/bin/sqwmys_PurgeAlert.ksh:

Rotate error log of instance
Archive and purge See the detailed help for sqwmys_PurgeAlert.ksh

sqwmys_RestoreAllDatabases.ksh

Script $gvsqw_MysBin/bin/sqwmys_RestoreAllDatabases.ksh:

restore all databases in parallel See the detailed help for sqwmys_RestoreAllDatabases.ksh

sqwmys_RestoreDatabase.ksh

Script $gvsqw_MysBin/bin/sqwmys_RestoreDatabase.ksh:

See the detailed help for sqwmys_RestoreDatabase.ksh

sqwmys_RotateLogSlowQuery.ksh

Script $gvsqw_MysBin/bin/sqwmys_RotateLogSlowQuery.ksh:

Rotate slow_query_log_file
Archive, purge and copy to SQWareWeb
You can choose to not copy to SQWareWeb See the detailed help for sqwmys_RotateLogSlowQuery.ksh

sqwmys_RsyncBackup.ksh

Script $gvsqw_MysBin/bin/sqwmys_RsyncBackup.ksh:

rsync dir (without delete) to an other host See the detailed help for sqwmys_RsyncBackup.ksh

sqwmys_RunJob.ksh

Script $gvsqw_MysBin/bin/sqwmys_RunJob.ksh:

Run MySQL scripts and generate log and error file
based on $gvsqw_RootCfg/sqwmys_Jobs.cfg configuration file
compress and purge oldest log files See the detailed help for sqwmys_RunJob.ksh

sqwmys_XtraBackup.ksh

Script $gvsqw_MysBin/bin/sqwmys_XtraBackup.ksh:

Generate XtraBackup of instance
Script makes purge of old generation automatically
You can also choose:

  • different retention policy
  • different backup type full,inc
  • add option to XtraBackup command

See the detailed help for sqwmys_XtraBackup.ksh


etc

sqwmys_CreInst_CrontabRef.cfg

Configuration file $gvsqw_MysBin/../etc/sqwmys_CreInst_CrontabRef.cfg:


See the detailed help for sqwmys_CreInst_CrontabRef.cfg

sqwmys_CreInst_Jobs.cfg

Configuration file $gvsqw_MysBin/../etc/sqwmys_CreInst_Jobs.cfg:


See the detailed help for sqwmys_CreInst_Jobs.cfg

sqwmys_CreInst_MyCnf_51.cfg

Configuration file $gvsqw_MysBin/../etc/sqwmys_CreInst_MyCnf_51.cfg:


See the detailed help for sqwmys_CreInst_MyCnf_51.cfg

sqwmys_GlobalVar.cfg

Configuration file $gvsqw_MysBin/../etc/sqwmys_GlobalVar.cfg:
Global var for Mysql
It contains the operating variables of SQWareProduction.

Nuvola apps information.png
Note:
You can overload variables contain in $gvsqw_MysBin/../etc/sqwmys_GlobalVar.cfg

by the same variables in $gvsqw_MysBin/../etc_cust/sqwmys_GlobalVar.cfg for all your environnement
or in $HOME/sqwConfig/sqwmys_GlobalVar.cfg specifically for this user.

See the detailed help for sqwmys_GlobalVar.cfg

.profile

Sample file for .profile $gvsqw_MysBin/../etc/.profile:
Sample of lines to add to .profile of mysql users.
See the detailed help for .profile

.profile_confort

File to put aliases $gvsqw_MysBin/../etc/.profile_confort:
Contains confort aliases of SQWareProduction for mysql.

Nuvola apps information.png
Note:
You can overload confort environnement $gvsqw_MysBin/../etc/.profile_confort

with $gvsqw_MysBin/../etc_cust/.profile_confort for all your environnement
or with $HOME/edtConfig/.profile_confort specifically for this user .


See the detailed help for .profile_confort


lib

sqwmys_AnalyzeAllDatabases.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_AnalyzeAllDatabases.lib:
lib for sqwmys_AnalyzeAllDatabases.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_AnalyzeAllDatabases.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_AnalyzeAllDatabases.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_AnalyzeAllDatabases.lib specifically for this user .


See the detailed help for sqwmys_AnalyzeAllDatabases.lib

sqwmys_AnalyzeDatabase.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_AnalyzeDatabase.lib:
lib for sqwmys_AnalyzeDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_AnalyzeDatabase.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_AnalyzeDatabase.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_AnalyzeDatabase.lib specifically for this user .


See the detailed help for sqwmys_AnalyzeDatabase.lib

sqwmys_CheckAllDatabases.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_CheckAllDatabases.lib:
lib for sqwmys_CheckAllDatabases.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_CheckAllDatabases.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_CheckAllDatabases.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_CheckAllDatabases.lib specifically for this user .


See the detailed help for sqwmys_CheckAllDatabases.lib

sqwmys_CheckDatabase.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_CheckDatabase.lib:
lib for sqwmys_CheckDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_CheckDatabase.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_CheckDatabase.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_CheckDatabase.lib specifically for this user .


See the detailed help for sqwmys_CheckDatabase.lib

sqwmys_CopyDumpAllDatabases.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_CopyDumpAllDatabases.lib:
lib for sqwmys_CopyDumpAllDatabases.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_CopyDumpAllDatabases.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_CopyDumpAllDatabases.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_CopyDumpAllDatabases.lib specifically for this user .


See the detailed help for sqwmys_CopyDumpAllDatabases.lib

sqwmys_CopyDumpDatabase.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_CopyDumpDatabase.lib:
lib for sqwmys_CopyDumpDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_CopyDumpDatabase.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_CopyDumpDatabase.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_CopyDumpDatabase.lib specifically for this user .


See the detailed help for sqwmys_CopyDumpDatabase.lib

sqwmys_CopyMariaBackup.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_CopyMariaBackup.lib:
lib for sqwmys_CopyMariaBackup.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_CopyMariaBackup.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_CopyMariaBackup.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_CopyMariaBackup.lib specifically for this user .


See the detailed help for sqwmys_CopyMariaBackup.lib

sqwmys_CopyXtraBackup.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_CopyXtraBackup.lib:
lib for sqwmys_CopyXtraBackup.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_CopyXtraBackup.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_CopyXtraBackup.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_CopyXtraBackup.lib specifically for this user .


See the detailed help for sqwmys_CopyXtraBackup.lib

sqwmys_DumpAllDatabases.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_DumpAllDatabases.lib:
lib for sqwmys_DumpDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_DumpAllDatabases.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_DumpAllDatabases.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_DumpAllDatabases.lib specifically for this user .


See the detailed help for sqwmys_DumpAllDatabases.lib

sqwmys_DumpDatabase.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_DumpDatabase.lib:
lib for sqwmys_DumpDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_DumpDatabase.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_DumpDatabase.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_DumpDatabase.lib specifically for this user .


See the detailed help for sqwmys_DumpDatabase.lib

sqwmys_ExecSQL.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_ExecSQL.lib:
lib for sqwmys_ExecSQL.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_ExecSQL.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_ExecSQL.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_ExecSQL.lib specifically for this user .


See the detailed help for sqwmys_ExecSQL.lib

sqwmys_GatherIndicators.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_GatherIndicators.lib:
lib for sqwmys_GatherIndicators.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_GatherIndicators.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_GatherIndicators.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_GatherIndicators.lib specifically for this user .


See the detailed help for sqwmys_GatherIndicators.lib

sqwmys_GatherIndicators_Overload.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_GatherIndicators_Overload.lib:
lib for overLoad sqwmys_GatherIndicators.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_GatherIndicators_Overload.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_GatherIndicators_Overload.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_GatherIndicators_Overload.lib specifically for this user .


See the detailed help for sqwmys_GatherIndicators_Overload.lib

sqwmys_GatherStructure.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_GatherStructure.lib:
lib for sqwmys_GatherStructure.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_GatherStructure.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_GatherStructure.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_GatherStructure.lib specifically for this user .


See the detailed help for sqwmys_GatherStructure.lib

sqwmys_GenerateCreateInstance.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_GenerateCreateInstance.lib:
lib for generate create instance

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_GenerateCreateInstance.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_GenerateCreateInstance.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_GenerateCreateInstance.lib specifically for this user .


See the detailed help for sqwmys_GenerateCreateInstance.lib

sqwmys_GenericRefresh.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_GenericRefresh.lib:
lib for sqwmys_CopyDumpDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_GenericRefresh.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_GenericRefresh.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_GenericRefresh.lib specifically for this user .


See the detailed help for sqwmys_GenericRefresh.lib

sqwmys_Global.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_Global.lib:
central lib of generic fonctions for mysql

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_Global.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_Global.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_Global.lib specifically for this user .


See the detailed help for sqwmys_Global.lib

sqwmys_MariaBackup.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_MariaBackup.lib:
lib for sqwmys_MariaBackup.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_MariaBackup.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_MariaBackup.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_MariaBackup.lib specifically for this user .


See the detailed help for sqwmys_MariaBackup.lib

sqwmys_NetBackup.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_NetBackup.lib:
lib for sqwgen_NetBackup.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_NetBackup.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_NetBackup.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_NetBackup.lib specifically for this user .


See the detailed help for sqwmys_NetBackup.lib

sqwmys_OptimizeAllDatabases.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_OptimizeAllDatabases.lib:
lib for sqwmys_OptimizeAllDatabases.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_OptimizeAllDatabases.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_OptimizeAllDatabases.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_OptimizeAllDatabases.lib specifically for this user .


See the detailed help for sqwmys_OptimizeAllDatabases.lib

sqwmys_OptimizeDatabase.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_OptimizeDatabase.lib:
lib for sqwmys_OptimizeDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_OptimizeDatabase.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_OptimizeDatabase.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_OptimizeDatabase.lib specifically for this user .


See the detailed help for sqwmys_OptimizeDatabase.lib

sqwmys_PurgeAlert.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_PurgeAlert.lib:
lib for sqwmys_PurgeAlert.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_PurgeAlert.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_PurgeAlert.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_PurgeAlert.lib specifically for this user .


See the detailed help for sqwmys_PurgeAlert.lib

sqwmys_RestoreAllDatabases.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_RestoreAllDatabases.lib:
lib for sqwmys_RestoreAllDatabases.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_RestoreAllDatabases.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_RestoreAllDatabases.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_RestoreAllDatabases.lib specifically for this user .


See the detailed help for sqwmys_RestoreAllDatabases.lib

sqwmys_RestoreDatabase.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_RestoreDatabase.lib:
lib for sqwmys_RestoreDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_RestoreDatabase.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_RestoreDatabase.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_RestoreDatabase.lib specifically for this user .


See the detailed help for sqwmys_RestoreDatabase.lib

sqwmys_RotateLogSlowQuery.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_RotateLogSlowQuery.lib:
lib for sqwmys_RotateLogSlowQuery.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_RotateLogSlowQuery.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_RotateLogSlowQuery.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_RotateLogSlowQuery.lib specifically for this user .


See the detailed help for sqwmys_RotateLogSlowQuery.lib

sqwmys_RsyncBackup.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_RsyncBackup.lib:
lib for sqwgen_RsyncBackup.ksh.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_RsyncBackup.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_RsyncBackup.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_RsyncBackup.lib specifically for this user .


See the detailed help for sqwmys_RsyncBackup.lib

sqwmys_SetEnv.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_SetEnv.lib:
fonction to set env for $MYSQL_SID

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_SetEnv.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_SetEnv.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_SetEnv.lib specifically for this user .


See the detailed help for sqwmys_SetEnv.lib

sqwmys_UpdateGLPI.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_UpdateGLPI.lib:
lib for sqwmys_Update$lvsqw_DbName.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_UpdateGLPI.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_UpdateGLPI.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_UpdateGLPI.lib specifically for this user .


See the detailed help for sqwmys_UpdateGLPI.lib

sqwmys_XtraBackup.lib

shell functions library $gvsqw_MysBin/../lib/sqwmys_XtraBackup.lib:
lib for sqwmys_XtraBackup.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_XtraBackup.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_XtraBackup.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_XtraBackup.lib specifically for this user .


See the detailed help for sqwmys_XtraBackup.lib


menu


tools

sqwmys_ConnectMsg.ksh

Script $gvsqw_MysBin/../tools/sqwmys_ConnectMsg.ksh:
startup message See the detailed help for sqwmys_ConnectMsg.ksh

sqwmys_Crypt.ksh

Script $gvsqw_MysBin/../tools/sqwmys_Crypt.ksh:
Generic script to crypt file with openssl See the detailed help for sqwmys_Crypt.ksh

sqwmys_GaleraAdmin.ksh

Script $gvsqw_MysBin/../tools/sqwmys_GaleraAdmin.ksh:
stop/start of mysql services See the detailed help for sqwmys_GaleraAdmin.ksh

sqwmys_GenerateCreateInstance.ksh

Script $gvsqw_MysBin/../tools/sqwmys_GenerateCreateInstance.ksh:
Generate create instance files See the detailed help for sqwmys_GenerateCreateInstance.ksh

sqwmys_ListAsyncFilesGlobal.ksh

Script $gvsqw_MysBin/../tools/sqwmys_ListAsyncFilesGlobal.ksh:
List Async files (sql, log, mail) to upload in SQWareCentral (all in a directory) See the detailed help for sqwmys_ListAsyncFilesGlobal.ksh

sqwmys_ListAsyncFiles.ksh

Script $gvsqw_MysBin/../tools/sqwmys_ListAsyncFiles.ksh:
List Async files (sql, log, mail) to upload in SQWareCentral See the detailed help for sqwmys_ListAsyncFiles.ksh

sqwmys_MonitorAgentAdmin.ksh

Script $gvsqw_MysBin/../tools/sqwmys_MonitorAgentAdmin.ksh:
Mysql monitor agent services See the detailed help for sqwmys_MonitorAgentAdmin.ksh

sqwmys_MysqlAdmin.ksh

Script $gvsqw_MysBin/../tools/sqwmys_MysqlAdmin.ksh:
stop/start of mysql services See the detailed help for sqwmys_MysqlAdmin.ksh

sqwmys_SetEnv.ksh

Script $gvsqw_MysBin/../tools/sqwmys_SetEnv.ksh:
set env for $MYSQL_SID

Nuvola apps information.png
Note:
You can replace the file in $gvsqw_MysBin/../tools/sqwmys_SetEnv.ksh

by $gvsqw_MysBin/../tools_cust/sqwmys_SetEnv.ksh for all your environnement
or by $HOME/edtConfig/sqwmys_SetEnv.ksh specifically for this user .

See the detailed help for sqwmys_SetEnv.ksh

sqwmys_TestInstConnection.ksh

Script $gvsqw_MysBin/../tools/sqwmys_TestInstConnection.ksh:
Test instance connection See the detailed help for sqwmys_TestInstConnection.ksh

sqwmys_TestMySQL.ksh

Script $gvsqw_MysBin/../tools/sqwmys_TestMySQL.ksh:
Generic test MySQL connection script See the detailed help for sqwmys_TestMySQL.ksh

sqwmys_TestSendmail.ksh

Script $gvsqw_MysBin/../tools/sqwmys_TestSendmail.ksh:
Generic test sendmail script See the detailed help for sqwmys_TestSendmail.ksh

sqwmys_Uncrypt.ksh

Script $gvsqw_MysBin/../tools/sqwmys_Uncrypt.ksh:
Generic script to uncrypt file with openssl See the detailed help for sqwmys_Uncrypt.ksh

sqwmys_UpdateGLPI.ksh

Script $gvsqw_MysBin/../tools/sqwmys_UpdateGLPI.ksh:
Update GLPI database See the detailed help for sqwmys_UpdateGLPI.ksh


help

Contains help files for "-s" option of bin scripts.


spm

SQL query toolkit
See the detailed help for spm