SQWareCentral:general

From Wiki_dbSQWare
Revision as of 21:02, 22 December 2010 by Expdbtools (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Presentation

Usage

SQWareCentral, is the central point of dbSQWare for all RDBMS.
Usage examples:

  • Central point of ssh connections
  • Search of instances, database/schema, ...
  • Deployment scripts of SQWareProduction for each RDBMS managed
  • Collection of indicators for each RDBMS managed
  • Repeat of collection for each RDBMS managed
  • Execute any type of action on a list
  • ...

Installation guide for SQWareCentral

Explanation of directories

Directories located in $gvsqw_RootexpdbCentral:

  • action : Directory containing specific files for each managed RDBMS
  • 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)
  • logs : Directory containing logs and temporaries files
  • 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.


General architecture diagram SQWareCentral (when the SQWareProduction module is locally installed)

General SQWareCentral.jpg

action

oracle

Centralised actions for oracle
Allows you to perform actions on oracle instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for oracle

sybase

Centralised actions for sybase
Allows you to perform actions on sybase instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for sybase

mysql

Centralised actions for mysql
Allows you to perform actions on mysql instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for mysql

mssql

Centralised actions for mssql
Allows you to perform actions on mssql instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for mssql

mongodb

Centralised actions for mongodb
Allows you to perform actions on mongodb instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for mongodb

DB2

Centralised actions for DB2
Allows you to perform actions on DB2 instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for DB2

postgres

Centralised actions for PostgreSQL
Allows you to perform actions on postgres instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for PostgreSQL

teradata

Centralised actions for Teradata
Allows you to perform actions on teradata instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for Teradata

cassandra

Centralised actions for Cassandra
Allows you to perform actions on cassandra instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for Cassandra

ingres

Centralised actions for ingres
Allows you to perform actions on ingres instances centrally:

  • Collection of indicators
  • Deploying Scripts
  • Repeat of collection of indicators
  • ...

See the detailed help for ingres

bin

sqwc_Connect.ksh

Script $gvsqw_RootexpdbCentral/bin/sqwc_Connect.ksh:
Can connect via ssh on the server hosting the requested instance from the center point (from reference files of instances).
Accessible by the alias 'c'.
See the detailed help for sqwc_Connect.ksh

sqwc_SearchDatabase.ksh

Script $gvsqw_RootexpdbCentral/bin/sqwc_SearchDatabase.ksh:
Search on the string passed as argument in the database reference file.
Accessible by the alias 'cb'.
See the detailed help for sqwc_SearchDatabase.ksh

sqwc_SearchInstance.ksh

Script $gvsqw_RootexpdbCentral/bin/sqwc_SearchInstance.ksh:
Search on the string passed as argument in the instances reference file.
Accessible by the alias 'ch'.
See the detailed help for sqwc_SearchInstance.ksh

sqwc_Show.ksh

Script $gvsqw_RootexpdbCentral/bin/sqwc_Show.ksh:
Manages an online help on variables, aliases, ... of SQWareCentral.
Accessible by the alias 'show'.
See the detailed help for sqwc_Show.ksh

sqwc_TrtAuto.ksh

Script $gvsqw_RootexpdbCentral/bin/sqwc_TrtAuto.ksh:
Can run on one type of DBMS (passed as parameter), action (passed as parameter), on the list of users or instances (passed as parameter).
See available actions:

See available list generators:

See the detailed help for sqwc_TrtAuto.ksh

etc

sqwc_Aliases_en.hlp

Help file $gvsqw_RootexpdbCentral/etc/sqwc_Aliases_en.hlp:
English help on aliases of SQWareCentral.

sqwc_Aliases_fr.hlp

Help file $gvsqw_RootexpdbCentral/etc/sqwc_Aliases_fr.hlp:
French help on aliases of SQWareCentral.

sqwc_General_en.hlp

Help file $gvsqw_RootexpdbCentral/etc/sqwc_General_en.hlp:
English general help on SQWareCentral.

sqwc_General_fr.hlp

Help file $gvsqw_RootexpdbCentral/etc/sqwc_General_fr.hlp:
French general help on SQWareCentral.

sqwc_GlobalVar.cfg

Configuration file $gvsqw_RootexpdbCentral/etc/sqwc_GlobalVar.cfg:
Contains global variables of SQWareCentral gvsqw_xxx.
See the detailed help for sqwc_GlobalVar.cfg

sqwc_Lang.cfg

Configuration file $gvsqw_RootexpdbCentral/etc/sqwc_Lang.cfg:
Contains the language variable for expdbcentral.
See the detailed help for sqwc_Lang.cfg

sqwc_Var_en.hlp

Help file $gvsqw_RootexpdbCentral/etc/sqwc_Var_en.hlp:
English help on variables of SQWareCentral.

sqwc_Var_fr.hlp

Help file $gvsqw_RootexpdbCentral/etc/sqwc_Var_fr.hlp:
French help on variables of SQWareCentral.

licenceGPL.txt

File $gvsqw_RootexpdbCentral/etc/licenceGPL.txt:
GPL licence file.
See the detailed help for licenceGPL.txt

.profile

Profile file $gvsqw_RootexpdbCentral/etc/.profile:
Profile file for SQWareCentral user.
Load all configuration files.

.profile_confort

File to put aliases $gvsqw_RootexpdbCentral/etc/.profile_confort:
Contains confort aliases of SQWareCentral.
Load all .profile_confort.

Nuvola apps information.png
Note:
You can overload $gvsqw_RootexpdbCentral/etc/.profile_confort

by $gvsqw_RootexpdbCentral/etc/.profile_confort for all your environnement
or by $HOME/edtConfig/.profile_confort specifically for this user..



lib

sqwc_Global.lib

shell functions librairy $gvsqw_RootexpdbCentral/lib/sqwc_Global.lib:
Contains the global function to scripts gfsqw_xxx()
See the detailed help for sqwc_Global.lib

logs


menu


help

Contains help files for -s option of bin scripts.