Diese Präsentation wurde erfolgreich gemeldet.
Die SlideShare-Präsentation wird heruntergeladen. ×

Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Roland Stirnimann

Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Nächste SlideShare
Postgre sql best_practices
Postgre sql best_practices
Wird geladen in …3
×

Hier ansehen

1 von 30 Anzeige

Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Roland Stirnimann

Herunterladen, um offline zu lesen

See live how easy it is to provision our Toolbox on a new database server properly, so that mails can be sent, Perl works correctly and other pitfalls are prevented. I will demonstrate the basic installation and configuration of TVD-Basenv and the very simple creation of a new 12cR2 database with TVD-Admin. Next step is a backup configuration for your database with TVD-Backup in 5 minutes and last but not least we create a Data Guard Setup with TVD-HA. I will tell you the answer to questions that people ask me all the time and show you all the new features.

See live how easy it is to provision our Toolbox on a new database server properly, so that mails can be sent, Perl works correctly and other pitfalls are prevented. I will demonstrate the basic installation and configuration of TVD-Basenv and the very simple creation of a new 12cR2 database with TVD-Admin. Next step is a backup configuration for your database with TVD-Backup in 5 minutes and last but not least we create a Data Guard Setup with TVD-HA. I will tell you the answer to questions that people ask me all the time and show you all the new features.

Anzeige
Anzeige

Weitere Verwandte Inhalte

Diashows für Sie (20)

Ähnlich wie Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Roland Stirnimann (20)

Anzeige

Weitere von Trivadis (20)

Aktuellste (20)

Anzeige

Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Roland Stirnimann

  1. 1. BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH How modern DBAs can use our efficient Toolbox Roland Stirnimann TechEvent, September 15, 2017
  2. 2. TVD-Toolbox2 15.09.2017
  3. 3. Agenda TVD-Toolbox3 15.09.2017 1. Introduction Toolbox Overview Tools for MSSQL Server 2. Database Server Setup from Scratch TVD-Basenv – efficient and standardized Administration TVD-Admin – Database Creation TVD-Backup – Database Backup TVD-HA – Data Guard Setup and Monitoring 3. Conclusion
  4. 4. TVD-Toolbox4 15.09.2017 Introduction
  5. 5. Toolbox Portfolio Overview TVD-Toolbox5 15.09.2017 Products Report as a Service Supporting Tools http://www.trivadis.com/en/trivadis-toolbox
  6. 6. MSSQL Server Tools - Architecture TVD-Toolbox6 15.09.2017 Dedicated repository Database per instance called TVDTools – Tables for the tool configuration and job control – Tables for logging Dedicated SQL Server Agent jobs execute the tasks The jobs consider all databases by default No initial configuration required – “set and forget” TVD-Backup for SQL Server TVD-Maintenance for SQL Server
  7. 7. GUI for Setup/Upgrade and Configuration TVD-Toolbox9 15.09.2017
  8. 8. TVD-Toolbox10 15.09.2017 TVD-Basenv Efficient Administration of Oracle Database and Application Servers.
  9. 9. TVD-Basenv Installation TVD-Toolbox11 15.09.2017 Unzip the installation file somewhere Start runInstaller in interactive mode or silent with a response file Logout and login. Done! Change from OS Perl to Oracle Home Perl vi $ETC_BASE/sid._DEFAULT_.conf TVDPERL_HOME=$TVD_BASE/tvdperl-all TVDPERLBIN=$ORACLE_HOME/perl/bin/perl # Relogin and verify tvd_perl –v|-V
  10. 10. TVD-Basenv Usage TVD-Toolbox12 15.09.2017 Set environment by entering the SID or SID.PDB_NAME Navigating with aliases, show them with alih Command line completion for srvctl Use utility aliases like rmanch, sqh, dgh Use TVD-Basenv scripts under $DBA_BASE/bin – Starting/Stopping components – Role-based Scheduling – Housekeeping for log files Configure your preferred aliases and variables in basen.conf, sid._DEFAULT_.conf or sid.<SID>.conf
  11. 11. TVD-Toolbox13 15.09.2017 TVD-Admin Efficient Database Provisioning.
  12. 12. TVD-Admin Installation TVD-Toolbox14 15.09.2017 TVD-Basenv must be installed Just unpack TVD-Admin under $TVD_BASE Resource TVD-Basenv (alias basenv) Start newdb.ksh cd $TVD_BASE tar -xvzf tvdadmin-17.05.final.a_unix.tgz basenv newdb.ksh -v
  13. 13. TVD-Admin Database Creation TVD-Toolbox15 15.09.2017 Forget the old template files under $TVDADMIN_BASE/templates/newdb/sample*! newdb.ksh uses DBCA in silent mode and DBCA XML templates Create a new template in interactive mode of newdb.ksh Use this reference template for further non-interactive database creation Adapt the XML template manually if necessary newdb.ksh # Enter through the interactive mode newdb.ksh -c /u00/app/oracle/admin/DB01_SITE1/create/DB01_template.dbt -s DB02 # New SID -o /u00/app/oracle/product/12.2.0.1.EE
  14. 14. TVD-Toolbox16 15.09.2017 TVD-Backup Complete Oracle Backup & Recovery Solution.
  15. 15. TVD-Backup Components TVD-Toolbox17 15.09.2017 Restore Interactive and guided restore/recovery Report Backup reporting Backup Backup framework for Oracle TIB Trivadis Intelligent Backup
  16. 16. Database server Architecture Overview 15.09.2017 TVD-Toolbox18 Start backup Establish status TIB AGENT TIB SCHEDULER BACKUP/RECOVERY BACKUP REPORTS
  17. 17. TIB Engine Concept TVD-Toolbox19 15.09.2017 Backup configuration z.B. RPO, retention Backup window e.g. time frame for full backup Scheduler parameters e.g. rating interval Database situation e.g. change rate, database load Rating job in the Repository (algorithm) Database belongs to one configuration and one window Situation belongs to one database Repository
  18. 18. TVD-Backup and TIB Installation (1) TVD-Toolbox20 15.09.2017 TVD-Basenv must be installed Unpack TVD-Backup under $TVD_BASE Resource TVD-Basenv (alias basenv) Configure SMTP settings in TVD-Basenv vib # $ETC_BASE/basenv.conf TS_MAILHOST=smtp.mycompany.com TS_MAILPORT=25 TS_MAILUSER=oracle_${HOSTNAME}@mycompany.com
  19. 19. TVD-Backup and TIB Installation (2) TVD-Toolbox21 15.09.2017 Create a backup with rman_exec.[ksh|cmd], no mandatory configuration file needed But CLI parameter could optionally be placed in the configuration file # Compressed incremental level 0 backup to disk with mail rman_exec.ksh --sid CDG1 --rmanscript bck_inc0 --catalog rman/rman@REPO1.world --compress --mailaddr dba@mycompanyc.com:backup.mail: # Archive log backup to SBT channel, parallelism 2 rman_exec.ksh --sid CDG1 --rmanscript bck_arc --channeltype sbt --catalog rman/rman@REPO1.world --target-auto-catalog-register --channelparam "SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/bck)" --channelno 2
  20. 20. TVD-Backup and TIB Installation (3) TVD-Toolbox22 15.09.2017 Database point in time recovery with recovery_exec.[ksh|cmd] Option --openresetlogs will finally open the database with resetlogs clause Install the TIB repository with tibInstaller.[ksh|cmd] Extract the web UI zip and edit config/application.yml – Provide correct JDBC connect string – Add TIB repo user and password – Start application with startapp.[bat|sh] Access via browser http://localhost:8010 and configure the policies and windows recovery_exec.ksh --openresetlogs
  21. 21. TVD-Backup and TIB Installation (4) TVD-Toolbox23 15.09.2017 Copy and adapt the configuration file of the TIB agent on the database server Start the TIB Agent cd $TVDBACKUP_BASE/etc cp tibagent.conf.example tibagent.conf vi tibagent.conf # Add credentials to repository BackupSchedulerCred="tibteagent/tibteagent@REPO1.world" tibagent.ksh --start tibagent.ksh --status
  22. 22. TVD-Backup and TIB Installation (5) TVD-Toolbox24 15.09.2017 Finally register a database in TIB – Command will assign the database to policy PRODCFG and window PRODWIN – Database is already in RMAN catalog therefore --no-rman-register – No initial full backup is required --no-full tibctl.ksh register -d CDG1_SITE1 -c PRODCFG -w PRODWIN --no-rman-register --no-full # Show registered database tibctl.ksh db-config
  23. 23. TVD-Toolbox25 15.09.2017 TVD-HA Efficient Data Guard Provisioning and Monitoring.
  24. 24. TVD-HA Installation TVD-Toolbox26 15.09.2017 TVD-Basenv must be installed Unpack TVD-HA under $TVD_BASE Resource TVD-Basenv (alias basenv) Create configuration file and start dgadd.ksh cd $TVD_BASE tar -xvzf tvdha-17.05.final.a_unix.tgz basenv dgadd.ksh -v cd $BE_ORA_ADMIN_SID/etc cp $TVDHA_BASE/templates/dgadd.conf . dgadd.ksh -d CDG1 -f /u00/app/oracle/admin/CDG1_SITE1/etc/dgadd.conf
  25. 25. TVD-HA Data Guard Monitoring TVD-Toolbox27 15.09.2017 Some nice aliases for ad-hoc queries (sdg, sdgp, sdgs) Use dgmon.[ksh|cmd] for frequent monitoring and alarming Send alarms by mail or just analyze the created logfile under $LOG_BASE TVD-HA has also a virtual IP (VIP) feature as known from clusters! This ensures that the VIP is always active on the primary site. cd $BE_ORA_ADMIN_SID cp $TVDHA_BASE/templates/dgmon.conf . vi dgmon.conf dgmon.ksh -d CDG1 -f /u00/app/oracle/admin/CDG1_SITE1/etc/dgmon.conf
  26. 26. TVD-Toolbox28 15.09.2017 Conclusion
  27. 27. Conclusion TVD-Toolbox29 15.09.2017 Very lean and fast deployment Preconfigured but highly flexible for customer specific settings Efficiency for repeatable daily business tasks Standardization reduces mistakes Automation frees up time for exciting things Use our TOOLS and get in TOUCH with me in case of questions! I will help you out…
  28. 28. TVD-Toolbox30 15.09.2017 Screencasts for each chapter are available here: https://tvdit.sharepoint.com/sites/bds/bds-infr/public/toolbox/80_Meeting/TE_09- 2017/How_modern_DBAs_can_use_our_efficient_Toolbox/Screencasts?csf=1
  29. 29. Q & A Roland Stirnimann Business Development Manager roland.stirnimann@trivadis.com Phone +41 58 459 52 47 15.09.2017 TVD-Toolbox31
  30. 30. Session Feedback – now TVD-Toolbox32 15.09.2017 Please use the Trivadis Events mobile app to give feedback on each session Use "My schedule" if you have registered for a session Otherwise use "Agenda" and the search function If the mobile app does not work (or if you have a Windows smartphone), use your smartphone browser – URL: http://trivadis.quickmobileplatform.eu/ – User name: <your_loginname> (such as “sro") – Password: sent by e-mail...

×