Difference between revisions of "SQWareProduction:oracle"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 2: | Line 2: | ||
== bin == | == bin == | ||
− | === | + | === sqwArchmon === |
− | Script $gvsqw_OraBin/bin/ | + | Script $gvsqw_OraBin/bin/sqwArchmon:<br> |
− | {{ | + | {{SQWareProduction_sqwArchmon_presentation}} |
− | [[SQWareProduction:oracle:bin: | + | [[SQWareProduction:oracle:bin:sqwArchmon|See the detailed help for sqwArchmon]]<br><br> |
=== sqwora_ActivateMonitoring.ksh === | === sqwora_ActivateMonitoring.ksh === | ||
Line 11: | Line 11: | ||
{{SQWareProduction_sqwora_ActivateMonitoring.ksh_presentation}} | {{SQWareProduction_sqwora_ActivateMonitoring.ksh_presentation}} | ||
[[SQWareProduction:oracle:bin:sqwora_ActivateMonitoring.ksh|See the detailed help for sqwora_ActivateMonitoring.ksh]]<br><br> | [[SQWareProduction:oracle:bin:sqwora_ActivateMonitoring.ksh|See the detailed help for sqwora_ActivateMonitoring.ksh]]<br><br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== sqwora_DbmsStats.ksh === | === sqwora_DbmsStats.ksh === | ||
Line 26: | Line 16: | ||
{{SQWareProduction_sqwora_DbmsStats.ksh_presentation}} | {{SQWareProduction_sqwora_DbmsStats.ksh_presentation}} | ||
[[SQWareProduction:oracle:bin:sqwora_DbmsStats.ksh|See the detailed help for sqwora_DbmsStats.ksh]]<br><br> | [[SQWareProduction:oracle:bin:sqwora_DbmsStats.ksh|See the detailed help for sqwora_DbmsStats.ksh]]<br><br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
=== sqwora_Expdp.ksh === | === sqwora_Expdp.ksh === | ||
Line 56: | Line 41: | ||
{{SQWareProduction_sqwora_GenerateAwr.ksh_presentation}} | {{SQWareProduction_sqwora_GenerateAwr.ksh_presentation}} | ||
[[SQWareProduction:oracle:bin:sqwora_GenerateAwr.ksh|See the detailed help for sqwora_GenerateAwr.ksh]]<br><br> | [[SQWareProduction:oracle:bin:sqwora_GenerateAwr.ksh|See the detailed help for sqwora_GenerateAwr.ksh]]<br><br> | ||
+ | |||
+ | === sqwora_GenerateStatspack.ksh === | ||
+ | Script $gvsqw_OraBin/bin/sqwora_GenerateStatspack.ksh:<br> | ||
+ | {{SQWareProduction_sqwora_GenerateStatspack.ksh_presentation}} | ||
+ | [[SQWareProduction:oracle:bin:sqwora_GenerateStatspack.ksh|See the detailed help for sqwora_GenerateStatspack.ksh]]<br><br> | ||
=== sqwora_MonitorWithAwr.ksh === | === sqwora_MonitorWithAwr.ksh === | ||
Line 61: | Line 51: | ||
{{SQWareProduction_sqwora_MonitorWithAwr.ksh_presentation}} | {{SQWareProduction_sqwora_MonitorWithAwr.ksh_presentation}} | ||
[[SQWareProduction:oracle:bin:sqwora_MonitorWithAwr.ksh|See the detailed help for sqwora_MonitorWithAwr.ksh]]<br><br> | [[SQWareProduction:oracle:bin:sqwora_MonitorWithAwr.ksh|See the detailed help for sqwora_MonitorWithAwr.ksh]]<br><br> | ||
+ | |||
+ | === sqwora_MonitorWithStatspack.ksh === | ||
+ | Script $gvsqw_OraBin/bin/sqwora_MonitorWithStatspack.ksh:<br> | ||
+ | {{SQWareProduction_sqwora_MonitorWithStatspack.ksh_presentation}} | ||
+ | [[SQWareProduction:oracle:bin:sqwora_MonitorWithStatspack.ksh|See the detailed help for sqwora_MonitorWithStatspack.ksh]]<br><br> | ||
+ | |||
+ | === sqwora_NetBackup.ksh === | ||
+ | Script $gvsqw_OraBin/bin/sqwora_NetBackup.ksh:<br> | ||
+ | {{SQWareProduction_sqwora_NetBackup.ksh_presentation}} | ||
+ | [[SQWareProduction:oracle:bin:sqwora_NetBackup.ksh|See the detailed help for sqwora_NetBackup.ksh]]<br><br> | ||
=== sqwora_ParallelRun.ksh === | === sqwora_ParallelRun.ksh === | ||
Line 106: | Line 106: | ||
{{SQWareProduction_sqwora_SchemaRefresh.ksh_presentation}} | {{SQWareProduction_sqwora_SchemaRefresh.ksh_presentation}} | ||
[[SQWareProduction:oracle:bin:sqwora_SchemaRefresh.ksh|See the detailed help for sqwora_SchemaRefresh.ksh]]<br><br> | [[SQWareProduction:oracle:bin:sqwora_SchemaRefresh.ksh|See the detailed help for sqwora_SchemaRefresh.ksh]]<br><br> | ||
+ | |||
+ | === sqwora_SqwArchmon.ksh === | ||
+ | Script $gvsqw_OraBin/bin/sqwora_SqwArchmon.ksh:<br> | ||
+ | {{SQWareProduction_sqwora_SqwArchmon.ksh_presentation}} | ||
+ | [[SQWareProduction:oracle:bin:sqwora_SqwArchmon.ksh|See the detailed help for sqwora_SqwArchmon.ksh]]<br><br> | ||
<br> | <br> | ||
Line 187: | Line 192: | ||
<br> | <br> | ||
[[SQWareProduction:oracle:etc:sqwora_DbmsStats.cfg|See the detailed help for sqwora_DbmsStats.cfg]]<br><br> | [[SQWareProduction:oracle:etc:sqwora_DbmsStats.cfg|See the detailed help for sqwora_DbmsStats.cfg]]<br><br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== sqwora_GlobalVar.cfg === | === sqwora_GlobalVar.cfg === | ||
Line 248: | Line 246: | ||
<br> | <br> | ||
[[SQWareProduction:oracle:lib:sqwora_ActivateMonitoring.lib|See the detailed help for sqwora_ActivateMonitoring.lib]]<br><br> | [[SQWareProduction:oracle:lib:sqwora_ActivateMonitoring.lib|See the detailed help for sqwora_ActivateMonitoring.lib]]<br><br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== sqwora_DbmsStats.lib === | === sqwora_DbmsStats.lib === | ||
Line 283: | Line 253: | ||
<br> | <br> | ||
[[SQWareProduction:oracle:lib:sqwora_DbmsStats.lib|See the detailed help for sqwora_DbmsStats.lib]]<br><br> | [[SQWareProduction:oracle:lib:sqwora_DbmsStats.lib|See the detailed help for sqwora_DbmsStats.lib]]<br><br> | ||
+ | |||
+ | === sqwora_Expdp.lib === | ||
+ | shell functions library $gvsqw_OraBin/../lib/sqwora_Expdp.lib:<br> | ||
+ | {{SQWareProduction_sqwora_Expdp.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|oracle|Ora|sqwora_Expdp.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:oracle:lib:sqwora_Expdp.lib|See the detailed help for sqwora_Expdp.lib]]<br><br> | ||
=== sqwora_GatherDistantFsSize.lib === | === sqwora_GatherDistantFsSize.lib === | ||
Line 312: | Line 289: | ||
[[SQWareProduction:oracle:lib:sqwora_GenerateAwr.lib|See the detailed help for sqwora_GenerateAwr.lib]]<br><br> | [[SQWareProduction:oracle:lib:sqwora_GenerateAwr.lib|See the detailed help for sqwora_GenerateAwr.lib]]<br><br> | ||
− | === | + | === sqwora_GenerateCreateInstance.lib === |
− | shell functions library $gvsqw_OraBin/../lib/ | + | shell functions library $gvsqw_OraBin/../lib/sqwora_GenerateCreateInstance.lib:<br> |
− | {{ | + | {{SQWareProduction_sqwora_GenerateCreateInstance.lib_presentation}} |
− | {{SQWareProductionSurchargeLib|oracle|Ora| | + | {{SQWareProductionSurchargeLib|oracle|Ora|sqwora_GenerateCreateInstance.lib}} |
<br> | <br> | ||
− | [[SQWareProduction:oracle:lib: | + | [[SQWareProduction:oracle:lib:sqwora_GenerateCreateInstance.lib|See the detailed help for sqwora_GenerateCreateInstance.lib]]<br><br> |
+ | |||
+ | === sqwora_GenerateStatspack.lib === | ||
+ | shell functions library $gvsqw_OraBin/../lib/sqwora_GenerateStatspack.lib:<br> | ||
+ | {{SQWareProduction_sqwora_GenerateStatspack.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|oracle|Ora|sqwora_GenerateStatspack.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:oracle:lib:sqwora_GenerateStatspack.lib|See the detailed help for sqwora_GenerateStatspack.lib]]<br><br> | ||
=== sqwora_Global.lib === | === sqwora_Global.lib === | ||
Line 325: | Line 309: | ||
<br> | <br> | ||
[[SQWareProduction:oracle:lib:sqwora_Global.lib|See the detailed help for sqwora_Global.lib]]<br><br> | [[SQWareProduction:oracle:lib:sqwora_Global.lib|See the detailed help for sqwora_Global.lib]]<br><br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== sqwora_MenuRman.lib === | === sqwora_MenuRman.lib === | ||
Line 346: | Line 323: | ||
<br> | <br> | ||
[[SQWareProduction:oracle:lib:sqwora_MonitorWithAwr.lib|See the detailed help for sqwora_MonitorWithAwr.lib]]<br><br> | [[SQWareProduction:oracle:lib:sqwora_MonitorWithAwr.lib|See the detailed help for sqwora_MonitorWithAwr.lib]]<br><br> | ||
+ | |||
+ | === sqwora_MonitorWithStatspack.lib === | ||
+ | shell functions library $gvsqw_OraBin/../lib/sqwora_MonitorWithStatspack.lib:<br> | ||
+ | {{SQWareProduction_sqwora_MonitorWithStatspack.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|oracle|Ora|sqwora_MonitorWithStatspack.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:oracle:lib:sqwora_MonitorWithStatspack.lib|See the detailed help for sqwora_MonitorWithStatspack.lib]]<br><br> | ||
+ | |||
+ | === sqwora_NetBackup.lib === | ||
+ | shell functions library $gvsqw_OraBin/../lib/sqwora_NetBackup.lib:<br> | ||
+ | {{SQWareProduction_sqwora_NetBackup.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|oracle|Ora|sqwora_NetBackup.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:oracle:lib:sqwora_NetBackup.lib|See the detailed help for sqwora_NetBackup.lib]]<br><br> | ||
=== sqwora_PartialRefresh.lib === | === sqwora_PartialRefresh.lib === | ||
Line 417: | Line 408: | ||
[[SQWareProduction:oracle:tools:sqwora_ExecASMCommand.ksh|See the detailed help for sqwora_ExecASMCommand.ksh]]<br><br> | [[SQWareProduction:oracle:tools:sqwora_ExecASMCommand.ksh|See the detailed help for sqwora_ExecASMCommand.ksh]]<br><br> | ||
− | === | + | === sqwora_GenerateCreateInstance.ksh === |
− | Script $gvsqw_OraBin/../tools/ | + | Script $gvsqw_OraBin/../tools/sqwora_GenerateCreateInstance.ksh:<br> |
− | {{ | + | {{SQWareProduction_sqwora_GenerateCreateInstance.ksh_presentation}} |
− | [[SQWareProduction:oracle:tools: | + | [[SQWareProduction:oracle:tools:sqwora_GenerateCreateInstance.ksh|See the detailed help for sqwora_GenerateCreateInstance.ksh]]<br><br> |
=== sqwora_ManageOracle.ksh === | === sqwora_ManageOracle.ksh === |
Revision as of 17:34, 5 April 2014
Contents
- 1 Presentation
- 2 bin
- 2.1 sqwArchmon
- 2.2 sqwora_ActivateMonitoring.ksh
- 2.3 sqwora_DbmsStats.ksh
- 2.4 sqwora_Expdp.ksh
- 2.5 sqwora_Export.ksh
- 2.6 sqwora_GatherDistantFsSize.ksh
- 2.7 sqwora_GatherIndicators.ksh
- 2.8 sqwora_GenerateAwr.ksh
- 2.9 sqwora_GenerateStatspack.ksh
- 2.10 sqwora_MonitorWithAwr.ksh
- 2.11 sqwora_MonitorWithStatspack.ksh
- 2.12 sqwora_NetBackup.ksh
- 2.13 sqwora_ParallelRun.ksh
- 2.14 sqwora_PartialRefresh.ksh
- 2.15 sqwora_PhysicalColdBackup.ksh
- 2.16 sqwora_PurgeAlert.ksh
- 2.17 sqwora_RmanBackup.ksh
- 2.18 sqwora_RmanClone.ksh
- 2.19 sqwora_RunJob.ksh
- 2.20 sqwora_SchemaRefreshExpdp.ksh
- 2.21 sqwora_SchemaRefresh.ksh
- 2.22 sqwora_SqwArchmon.ksh
- 3 etc
- 3.1 sqwora_Awr.cfg
- 3.2 sqwora_CreDb_Create.cfg
- 3.3 sqwora_CreDb_CrontabRef.cfg
- 3.4 sqwora_CreDb_Init_101.cfg
- 3.5 sqwora_CreDb_Init_102.cfg
- 3.6 sqwora_CreDb_Init_111.cfg
- 3.7 sqwora_CreDb_Init_112.cfg
- 3.8 sqwora_CreDb_Jobs.cfg
- 3.9 sqwora_CreDb_Listener.cfg
- 3.10 sqwora_CreDb_Rman.cfg
- 3.11 sqwora_CreDb_Sqlnet.cfg
- 3.12 sqwora_CreDb_Tnsnames.cfg
- 3.13 sqwora_DbmsStats.cfg
- 3.14 sqwora_GlobalVar.cfg
- 3.15 sqwora_IndicatorsVar.cfg
- 3.16 sqwora_Rman.cfg
- 3.17 sqwora_RmanClone.cfg
- 3.18 tnsnames.ora
- 3.19 .profile
- 3.20 .profile_confort
- 4 lib
- 4.1 sqwora_ActivateMonitoring.lib
- 4.2 sqwora_DbmsStats.lib
- 4.3 sqwora_Expdp.lib
- 4.4 sqwora_GatherDistantFsSize.lib
- 4.5 sqwora_GatherIndicators.lib
- 4.6 sqwora_GatherIndicators_Overload.lib
- 4.7 sqwora_GenerateAwr.lib
- 4.8 sqwora_GenerateCreateInstance.lib
- 4.9 sqwora_GenerateStatspack.lib
- 4.10 sqwora_Global.lib
- 4.11 sqwora_MenuRman.lib
- 4.12 sqwora_MonitorWithAwr.lib
- 4.13 sqwora_MonitorWithStatspack.lib
- 4.14 sqwora_NetBackup.lib
- 4.15 sqwora_PartialRefresh.lib
- 4.16 sqwora_PhysicalColdBackup.lib
- 4.17 sqwora_RmanBackup.lib
- 4.18 sqwora_RmanClone.lib
- 4.19 sqwora_SchemaRefreshExpdp.lib
- 4.20 sqwora_SchemaRefresh.lib
- 4.21 sqwora_SetEnv.lib
- 5 menu
- 6 tools
- 7 help
- 8 spm
Presentation
Usage
It's the module locally operating of oracle.
It is entirely written in ksh and sql.
It allows to manage the operation for oracle.
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 oracle
Explanation of directories
Directories located in $gvsqw_OraBin:
- 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
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
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
sqwArchmon
Script $gvsqw_OraBin/bin/sqwArchmon:
See the detailed help for sqwArchmon
sqwora_ActivateMonitoring.ksh
Script $gvsqw_OraBin/bin/sqwora_ActivateMonitoring.ksh:
script to activate monitoring on tables
See the detailed help for sqwora_ActivateMonitoring.ksh
sqwora_DbmsStats.ksh
Script $gvsqw_OraBin/bin/sqwora_DbmsStats.ksh:
gather statistics avec DBMS_STATS
See the detailed help for sqwora_DbmsStats.ksh
sqwora_Expdp.ksh
Script $gvsqw_OraBin/bin/sqwora_Expdp.ksh:
Generate Oracle expdp
Type of export can be
- full
- schema
- structure (full rows=no)
- parfile
- tables
Script makes purge of old generation automatically
You can also choose:
- different retention policy
- type of compression
- gzip
- bzip2
- compress
- none
- different directory to put dump file
- different directory to put log file
- copy dump file
See the detailed help for sqwora_Expdp.ksh
sqwora_Export.ksh
Script $gvsqw_OraBin/bin/sqwora_Export.ksh:
Generate Oracle export compressed by pipe
Type of export can be
- full
- schema
- structure (full rows=no)
- parfile
- tables
Script makes purge of old generation automatically
You can also choose:
- different retention policy
- type of compression
- gzip
- bzip2
- compress
- none
- different directory to put dump file
- different directory to put log file
See the detailed help for sqwora_Export.ksh
sqwora_GatherDistantFsSize.ksh
Script $gvsqw_OraBin/bin/sqwora_GatherDistantFsSize.ksh:
gather FS size
See the detailed help for sqwora_GatherDistantFsSize.ksh
sqwora_GatherIndicators.ksh
Script $gvsqw_OraBin/bin/sqwora_GatherIndicators.ksh:
Gather Oracle indicators and put them in SQWareRepository
Summary of collection:
- Volumetry (use, free) of instance
- Volumetry (use, free) of tablespaces
- Volumetry of schemas
- Volumetry of tables
- Volumetry of segments
- Volumetry (use, free) of FS
- Version, options, configuration, ... of instance
See the detailed help for sqwora_GatherIndicators.ksh
sqwora_GenerateAwr.ksh
Script $gvsqw_OraBin/bin/sqwora_GenerateAwr.ksh:
Generate automatically AWR reports
Copy them in SQWareWeb and insert indicators in SQWareRepository
You can also choose:
- a different configuration file to generate reports
- a different directory to store reports
- to generate locally (don't copy reports on SQWareWeb and don't insert indicators in SQWareRepository)
- no delete local reports
See the detailed help for sqwora_GenerateAwr.ksh
sqwora_GenerateStatspack.ksh
Script $gvsqw_OraBin/bin/sqwora_GenerateStatspack.ksh:
generate Statspack report
See the detailed help for sqwora_GenerateStatspack.ksh
sqwora_MonitorWithAwr.ksh
Script $gvsqw_OraBin/bin/sqwora_MonitorWithAwr.ksh:
Generate monitoring workLoad based on AWR reports
Insert indicators in SQWareRepository
You can also choose:
- a different configuration file to generate reports
- a different directory to store reports
- to generate locally (don't insert indicators in SQWareRepository)
- no delete local reports
- date min of snap
- date max of snap
See the detailed help for sqwora_MonitorWithAwr.ksh
sqwora_MonitorWithStatspack.ksh
Script $gvsqw_OraBin/bin/sqwora_MonitorWithStatspack.ksh:
Monitor ratios with Statspack
See the detailed help for sqwora_MonitorWithStatspack.ksh
sqwora_NetBackup.ksh
Script $gvsqw_OraBin/bin/sqwora_NetBackup.ksh:
backup with NetBackup dump/backup files
See the detailed help for sqwora_NetBackup.ksh
sqwora_ParallelRun.ksh
Script $gvsqw_OraBin/bin/sqwora_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 sqwora_ParallelRun.ksh
sqwora_PartialRefresh.ksh
Script $gvsqw_OraBin/bin/sqwora_PartialRefresh.ksh:
Refresh of a tables list for one schema by exp/imp
Actions:
- Makes export of distant tables to refresh by ssh (list contained in a file)
- Retrieve dump file by scp
- Drop tables to refresh
- Makes import
The script can also:
- change of unix users target/source
- send email report of refresh
- run shell script after load
See the detailed help for sqwora_PartialRefresh.ksh
sqwora_PhysicalColdBackup.ksh
Script $gvsqw_OraBin/bin/sqwora_PhysicalColdBackup.ksh:
execute physical cold backup (gzip)
See the detailed help for sqwora_PhysicalColdBackup.ksh
sqwora_PurgeAlert.ksh
Script $gvsqw_OraBin/bin/sqwora_PurgeAlert.ksh:
archiving/purge of trace/alert files of the instance
Makes an archive (tgz) of diagnostic tree
Purge old archives after a number of days
See the detailed help for sqwora_PurgeAlert.ksh
sqwora_RmanBackup.ksh
Script $gvsqw_OraBin/bin/sqwora_RmanBackup.ksh:
Makes RMAN backups
You can choose backup type:
- incremental level 0 (i0)
- incremental level 1 (i1)
- archivelog (log)
Backup can be made online or offline (hot, cold)
The script can also:
- use the option 'skip readonly'
- autostart sqwarchmon when hot backup (if lvsqw_RmanAutoStartSqwArchmon=enable)
- makes freeze/unfreeze of cluster ressources when cold backup
- makes blackout disable/enable of supervision when cold backup
This script use configuration file $gvsqw_RootCfg/sqwora_Rman.cfg
See the detailed help for sqwora_RmanBackup.ksh
sqwora_RmanClone.ksh
Script $gvsqw_OraBin/bin/sqwora_RmanClone.ksh:
Makes RMAN clone
Script is fully automatic:
- Check space (you have to customize this function)
- Retrieve choosed backup that can be:
- LastFull => retrieve the last full backup
- LastInc => retrieve the last incremental backup
- MaxTime => retrieve the last backup
- <tag> => retrieve this backup tag (part of file name)
- Unregister from RMAN catalog
- Save old password
- Destroy old database
- Run cloning
The script can also:
- ignore disk warning (stop by default)
- makes copy backup only
- change of unix users target/source
- choose parallel degree of backup copy
- send email report of cloning
- run shell script before load
- run shell script after load
This script use configuration file $gvsqw_RootCfg/sqwora_Rman.cfg
See the detailed help for sqwora_RmanClone.ksh
sqwora_RunJob.ksh
Script $gvsqw_OraBin/bin/sqwora_RunJob.ksh:
Run Oracle scripts and generate log and error file
based on $gvsqw_RootCfg/sqwora_Jobs.cfg configuration file
compress and purge oldest log files
See the detailed help for sqwora_RunJob.ksh
sqwora_SchemaRefreshExpdp.ksh
Script $gvsqw_OraBin/bin/sqwora_SchemaRefreshExpdp.ksh:
Refresh one or more schemas by expdp/impdp
Actions:
- Makes export of distant schema by ssh
- Retrieve dump file by scp
- Drop all objetcs of refreshed schema
- Makes import
The script can also:
- change of unix users target/source
- send email report of refresh
- run shell script before load
- run shell script after load
- keep a table list (save/restore)
See the detailed help for sqwora_SchemaRefreshExpdp.ksh
sqwora_SchemaRefresh.ksh
Script $gvsqw_OraBin/bin/sqwora_SchemaRefresh.ksh:
Refresh one or more schemas by exp/imp
Actions:
- Makes export of distant schema by ssh
- Retrieve dump file by scp
- Drop all objetcs of refreshed schema
- Makes import
The script can also:
- change of unix users target/source
- send email report of refresh
- run shell script before load
- run shell script after load
See the detailed help for sqwora_SchemaRefresh.ksh
sqwora_SqwArchmon.ksh
Script $gvsqw_OraBin/bin/sqwora_SqwArchmon.ksh:
See the detailed help for sqwora_SqwArchmon.ksh
etc
sqwora_Awr.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_Awr.cfg:
config for AWR report generation
See the detailed help for sqwora_Awr.cfg
sqwora_CreDb_Create.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Create.cfg:
See the detailed help for sqwora_CreDb_Create.cfg
sqwora_CreDb_CrontabRef.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_CrontabRef.cfg:
See the detailed help for sqwora_CreDb_CrontabRef.cfg
sqwora_CreDb_Init_101.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Init_101.cfg:
See the detailed help for sqwora_CreDb_Init_101.cfg
sqwora_CreDb_Init_102.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Init_102.cfg:
See the detailed help for sqwora_CreDb_Init_102.cfg
sqwora_CreDb_Init_111.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Init_111.cfg:
See the detailed help for sqwora_CreDb_Init_111.cfg
sqwora_CreDb_Init_112.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Init_112.cfg:
See the detailed help for sqwora_CreDb_Init_112.cfg
sqwora_CreDb_Jobs.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Jobs.cfg:
See the detailed help for sqwora_CreDb_Jobs.cfg
sqwora_CreDb_Listener.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Listener.cfg:
See the detailed help for sqwora_CreDb_Listener.cfg
sqwora_CreDb_Rman.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Rman.cfg:
See the detailed help for sqwora_CreDb_Rman.cfg
sqwora_CreDb_Sqlnet.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Sqlnet.cfg:
See the detailed help for sqwora_CreDb_Sqlnet.cfg
sqwora_CreDb_Tnsnames.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_CreDb_Tnsnames.cfg:
See the detailed help for sqwora_CreDb_Tnsnames.cfg
sqwora_DbmsStats.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_DbmsStats.cfg:
var for RMAN duplicate scripts
See the detailed help for sqwora_DbmsStats.cfg
sqwora_GlobalVar.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_GlobalVar.cfg:
Global var for Oracle
It contains the operating variables of SQWareProduction.
See the detailed help for sqwora_GlobalVar.cfg
sqwora_IndicatorsVar.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_IndicatorsVar.cfg:
Global var for indicators scripts
It contains the operating variables of SQWareProduction.
See the detailed help for sqwora_IndicatorsVar.cfg
sqwora_Rman.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_Rman.cfg:
See the detailed help for sqwora_Rman.cfg
sqwora_RmanClone.cfg
Configuration file $gvsqw_OraBin/../etc/sqwora_RmanClone.cfg:
var for RMAN duplicate scripts
See the detailed help for sqwora_RmanClone.cfg
tnsnames.ora
Configuration file $gvsqw_OraBin/../etc/tnsnames.ora:
template for sqw tnsnames.ora
See the detailed help for tnsnames.ora
.profile
Sample file for .profile $gvsqw_OraBin/../etc/.profile:
Sample of lines to add to .profile of oracle users.
See the detailed help for .profile
.profile_confort
File to put aliases $gvsqw_OraBin/../etc/.profile_confort:
Contains confort aliases of SQWareProduction for RDBMS oracle.
See the detailed help for .profile_confort
lib
sqwora_ActivateMonitoring.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_ActivateMonitoring.lib:
lib for sqwora_ActivateMonitoring.ksh
See the detailed help for sqwora_ActivateMonitoring.lib
sqwora_DbmsStats.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_DbmsStats.lib:
lib for sqwora_DbmsStats.ksh
See the detailed help for sqwora_DbmsStats.lib
sqwora_Expdp.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_Expdp.lib:
lib for sqwora_Expdp.ksh
See the detailed help for sqwora_Expdp.lib
sqwora_GatherDistantFsSize.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_GatherDistantFsSize.lib:
lib for sqwora_GatherFsSize.ksh
See the detailed help for sqwora_GatherDistantFsSize.lib
sqwora_GatherIndicators.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_GatherIndicators.lib:
lib for sqwora_GatherIndicators.ksh
See the detailed help for sqwora_GatherIndicators.lib
sqwora_GatherIndicators_Overload.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_GatherIndicators_Overload.lib:
lib for overload sqwora_GatherIndicators.ksh
See the detailed help for sqwora_GatherIndicators_Overload.lib
sqwora_GenerateAwr.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_GenerateAwr.lib:
lib for sqwora_GenerateAwr.ksh
See the detailed help for sqwora_GenerateAwr.lib
sqwora_GenerateCreateInstance.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_GenerateCreateInstance.lib:
lib for generate create database
See the detailed help for sqwora_GenerateCreateInstance.lib
sqwora_GenerateStatspack.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_GenerateStatspack.lib:
lib for sqwora_GenerateStatspack.ksh
See the detailed help for sqwora_GenerateStatspack.lib
sqwora_Global.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_Global.lib:
central lib of generic fonctions for oracle
See the detailed help for sqwora_Global.lib
sqwora_MenuRman.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_MenuRman.lib:
lib for sqwora_MenuRman.ksh
See the detailed help for sqwora_MenuRman.lib
sqwora_MonitorWithAwr.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_MonitorWithAwr.lib:
lib for sqwora_MonitorWithAwr.ksh
See the detailed help for sqwora_MonitorWithAwr.lib
sqwora_MonitorWithStatspack.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_MonitorWithStatspack.lib:
lib for sqwora_MonitorWithStatspack.ksh
See the detailed help for sqwora_MonitorWithStatspack.lib
sqwora_NetBackup.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_NetBackup.lib:
lib for sqwgen_NetBackup.ksh
See the detailed help for sqwora_NetBackup.lib
sqwora_PartialRefresh.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_PartialRefresh.lib:
lib for sqwora_PartialRefresh.ksh
See the detailed help for sqwora_PartialRefresh.lib
sqwora_PhysicalColdBackup.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_PhysicalColdBackup.lib:
lib for PhysicalColdBackup
See the detailed help for sqwora_PhysicalColdBackup.lib
sqwora_RmanBackup.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_RmanBackup.lib:
lib for RMAN backup
See the detailed help for sqwora_RmanBackup.lib
sqwora_RmanClone.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_RmanClone.lib:
lib for RMAN clone
See the detailed help for sqwora_RmanClone.lib
sqwora_SchemaRefreshExpdp.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_SchemaRefreshExpdp.lib:
lib for sqwora_SchemaRefreshExpdp.ksh
See the detailed help for sqwora_SchemaRefreshExpdp.lib
sqwora_SchemaRefresh.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_SchemaRefresh.lib:
lib for sqwora_SchemaRefresh.ksh
See the detailed help for sqwora_SchemaRefresh.lib
sqwora_SetEnv.lib
shell functions library $gvsqw_OraBin/../lib/sqwora_SetEnv.lib:
fonction to set env for $ORACLE_SID
See the detailed help for sqwora_SetEnv.lib
sqwora_MenuRman.ksh
Menu $gvsqw_OraBin/../menu/sqwora_MenuRman.ksh:
menu for RMAN commands
See the detailed help for sqwora_MenuRman.ksh
tools
sqwora_BackupPasswd.ksh
Script $gvsqw_OraBin/../tools/sqwora_BackupPasswd.ksh:
backup passwd of Oracle users
See the detailed help for sqwora_BackupPasswd.ksh
sqwora_ExecASMCommand.ksh
Script $gvsqw_OraBin/../tools/sqwora_ExecASMCommand.ksh:
Exec ASM command in batch mode
See the detailed help for sqwora_ExecASMCommand.ksh
sqwora_GenerateCreateInstance.ksh
Script $gvsqw_OraBin/../tools/sqwora_GenerateCreateInstance.ksh:
Generate create database files
See the detailed help for sqwora_GenerateCreateInstance.ksh
sqwora_ManageOracle.ksh
Script $gvsqw_OraBin/../tools/sqwora_ManageOracle.ksh:
stop/start instance
See the detailed help for sqwora_ManageOracle.ksh
sqwora_RmanConfigure.ksh
Script $gvsqw_OraBin/../tools/sqwora_RmanConfigure.ksh:
default paraters for RMAN and block change tracking
See the detailed help for sqwora_RmanConfigure.ksh
sqwora_RmanCrosscheck.ksh
Script $gvsqw_OraBin/../tools/sqwora_RmanCrosscheck.ksh:
Crosscheck and delete expired RMAN
See the detailed help for sqwora_RmanCrosscheck.ksh
sqwora_RmanRegister.ksh
Script $gvsqw_OraBin/../tools/sqwora_RmanRegister.ksh:
default paraters for RMAN and block change tracking
See the detailed help for sqwora_RmanRegister.ksh
sqwora_SetEnv.ksh
Script $gvsqw_OraBin/../tools/sqwora_SetEnv.ksh:
set env for $ORACLE_SID
See the detailed help for sqwora_SetEnv.ksh
sqwora_Spm.ksh
Script $gvsqw_OraBin/../tools/sqwora_Spm.ksh:
Sqlplus tools
See the detailed help for sqwora_Spm.ksh
help
Contains help files for -s option of bin scripts.
spm
SQL query toolkit
See the detailed help for spm