Difference between revisions of "SQWareProduction:general"

From Wiki_dbSQWare
Jump to: navigation, search
(utilisation)
Line 1: Line 1:
== présentation ==
+
== Presentation ==
=== utilisation ===
+
=== Usage ===
C'est le module d'exploitation en local des SGBDs. Il est entièrement écrit en ksh et sql.<br>
+
It's the module locally operating of RDBMS. It is entirely written in ksh and sql. <br>
Il permet de gérer l'exploitation au sens large des SGBDs.<br>
+
It allows to manage the operation for RDBMS.<br>
 
<br>
 
<br>
Exemple d'utilisations de l'outil:
+
Example uses of the tool:
*Sauvegardes
+
*Backup
*Restaurations
+
*Recovery
*Calculs de statistiques
+
*Compute statistics
*Collecte d'indicateurs qui sont remontés sur le référentiel bdd [[SQWareRepository:general|SQWareRepository]]®
+
*Indicators collection to store in referential database [[SQWareRepository:general|SQWareRepository]]®
*Purge des logs
+
*Rotate logs
 
*....
 
*....
 
<br>
 
<br>
Ce module est déployé en local sur les machines hébergeant les instances à gérer, ceci afin d'éviter tout points de faiblesse lié à un montage NFS ou autre. Le déploiement se fait par une simple commande grâce au module SQWareCentral et à l'inventaire se trouvant dans SQWareRepository® !<br>
+
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®!<br>
  
Liens vers les différentes parties du module SQWareProduction® :
+
Links to different plugins of the module SQWareProduction® :
*[[SQWareProduction:oracle|Partie Oracle]]
+
*[[SQWareProduction:oracle|Plugin Oracle]]
*[[SQWareProduction:sybase|Partie Sybase]]
+
*[[SQWareProduction:sybase|Plugin Sybase]]
*[[SQWareProduction:mysql|Partie Mysql]]
+
*[[SQWareProduction:mysql|Plugin Mysql]]
*[[SQWareProduction:mssql|Partie Mssql]]
+
*[[SQWareProduction:mssql|Plugin Mssql]]
 +
*[[SQWareProduction:ingres|Plugin Ingres]]
 
<br>
 
<br>
[[Downloads|Téléchargement des dernières versions stables]]<br>
+
[[Downloads|Download the latest stable versions]]<br>
  
=== explication de l'arborescence ===
+
=== Explanation of directories ===
Arborescences se trouvant dans $gvsqw_<TrigrammeSgbd>Bin (TrigrammeSgbd=Ora,Syb,Mys,Msq):
+
Directories located in $gvsqw_<RdbmsTrigram>Bin (RdbmsTrigram=Ora,Syb,Mys,Msq,Ing):
*bin : Répertoire contenant les scripts standards
+
*bin : Directory containing standard scripts
*bin_cust : Répertoire contenant les scripts customs à votre environnement  
+
*bin_cust : Directory containing customs scripts for your environnement
*etc : Répertoire contenant les fichiers de configuration standards
+
*etc : Directory containing the standard files of configuration
*etc_cust : Répertoire contenant les fichiers de configuration customs à votre environnement (surchangent les standards)
+
*etc_cust : Directory containing the customs files of configuration for your environnement (overload standards)
*lib : Répertoire contenant les librairies de fonctions shell génériques
+
*help : Directory containing the standard files of help
*lib_cust : Répertoire contenant les librairies de fonctions shell customs à votre environnement (remplacent les standards)
+
*help_cust : Directory containing the customs files of help for your environnement
*spm : Répertoire contenant les scripts d'un utilistaire permettant de lancer des requêtes sql standards déjà écrites pour vous
+
*lib : Directory containing the generic shell function librairies
*tools : Répertoire contenant les scripts standards utilisés de manière ponctuelle
+
*lib_cust : Directory containing the generic shell function librairies (overload standards)
*tools_cust : Répertoire contenant les scripts customs à votre environnement utilisés de manière ponctuelle
+
*spm : Contain sql query toolkit
*menu : Répertoire contenant les menus standards
+
*tools : Directory containing the standard scripts used on an ad hoc
*menu_cust : Répertoire contenant les menus customs à votre environnement
+
*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
 
{{Warning_custom}}
 
{{Warning_custom}}
  
== convention de noms des fichiers ==
+
== Naming convention of files ==
La majeure partie des fichiers sont nommés avec des préfixes:
+
The majority of files are named with prefixes:
* sqwora_* : pour Oracle
+
* sqwora_* : for Oracle
* sqwsyb_* : pour Sybase
+
* sqwsyb_* : for Sybase
* sqwmys_* : pour Mysql
+
* sqwmys_* : for Mysql
* sqwmsq_* : pour Mssql
+
* sqwmsq_* : for Mssql
La majeure partie des fichiers sont nommés avec des suffixes:
+
<br>
* *.ksh : pour les scripts
+
The majority of files are named with suffixes:
* *.cfg : pour les fichiers de configuration
+
* *.ksh : for scripts
* *.lib : pour les librairies de fonctions
+
* *.cfg : for configuration files
 +
* *.lib : for function librairies
 
{{Warning_custom}}
 
{{Warning_custom}}
 
<br>
 
<br>
== convention de noms dans les scripts ==
+
== naming convention in scripts ==
 
{{ExpNomVars}}
 
{{ExpNomVars}}

Revision as of 23:26, 14 December 2010

Presentation

Usage

It's the module locally operating of RDBMS. It is entirely written in ksh and sql.
It allows to manage the operation for RDBMS.

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®!

Links to different plugins of the module SQWareProduction® :


Download the latest stable versions

Explanation of directories

Directories located in $gvsqw_<RdbmsTrigram>Bin (RdbmsTrigram=Ora,Syb,Mys,Msq,Ing):

  • 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 prefixes:

  • sqwora_* : for Oracle
  • sqwsyb_* : for Sybase
  • sqwmys_* : for Mysql
  • sqwmsq_* : for Mssql


The majority of files are named with suffixes:

  • *.ksh : for scripts
  • *.cfg : for configuration files
  • *.lib : for function librairies
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