SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
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
TVD-Toolbox2 15.09.2017
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
TVD-Toolbox4 15.09.2017
Introduction
Toolbox Portfolio Overview
TVD-Toolbox5 15.09.2017
Products Report as a Service Supporting Tools
http://www.trivadis.com/en/trivadis-toolbox
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
GUI for Setup/Upgrade and Configuration
TVD-Toolbox9 15.09.2017
TVD-Toolbox10 15.09.2017
TVD-Basenv
Efficient Administration
of Oracle Database and
Application Servers.
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
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
TVD-Toolbox13 15.09.2017
TVD-Admin
Efficient Database
Provisioning.
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
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
TVD-Toolbox16 15.09.2017
TVD-Backup
Complete Oracle Backup
& Recovery Solution.
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
Database server
Architecture Overview
15.09.2017 TVD-Toolbox18
Start backup
Establish status
TIB AGENT
TIB SCHEDULER
BACKUP/RECOVERY
BACKUP
REPORTS
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
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
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
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
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
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
TVD-Toolbox25 15.09.2017
TVD-HA
Efficient Data Guard
Provisioning and
Monitoring.
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
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
TVD-Toolbox28 15.09.2017
Conclusion
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…
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
Q & A
Roland Stirnimann
Business Development Manager
roland.stirnimann@trivadis.com
Phone +41 58 459 52 47
15.09.2017 TVD-Toolbox31
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...

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Ludovico Caldara
 

Was ist angesagt? (20)

SOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20cSOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20c
 
IaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LABIaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LAB
 
MythBusters Globalization Support - Avoid Data Corruption
MythBusters Globalization Support - Avoid Data CorruptionMythBusters Globalization Support - Avoid Data Corruption
MythBusters Globalization Support - Avoid Data Corruption
 
Oracle and Docker
Oracle and DockerOracle and Docker
Oracle and Docker
 
UKOUG Techfest 2019 Central user Administration of Oracle Databases
UKOUG Techfest 2019 Central user Administration of Oracle DatabasesUKOUG Techfest 2019 Central user Administration of Oracle Databases
UKOUG Techfest 2019 Central user Administration of Oracle Databases
 
AUSOUG Oracle Password Security
AUSOUG Oracle Password SecurityAUSOUG Oracle Password Security
AUSOUG Oracle Password Security
 
REST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using RESTREST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using REST
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant Environments
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RAC
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
 
12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12c
 
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
 
High availability disaster recovery 101
High availability   disaster recovery 101High availability   disaster recovery 101
High availability disaster recovery 101
 
What's next after Upgrade to 12c
What's next after Upgrade to 12cWhat's next after Upgrade to 12c
What's next after Upgrade to 12c
 
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionOracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 

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

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

Presentation 12c pdb
Presentation 12c pdbPresentation 12c pdb
Presentation 12c pdb
 
TechEvent Performance Analyses on Standby Database
TechEvent Performance Analyses on Standby DatabaseTechEvent Performance Analyses on Standby Database
TechEvent Performance Analyses on Standby Database
 
ZDLRA in Action
ZDLRA in ActionZDLRA in Action
ZDLRA in Action
 
GE Predix 新手入门 赵锴 物联网_IoT
GE Predix 新手入门 赵锴 物联网_IoTGE Predix 新手入门 赵锴 物联网_IoT
GE Predix 新手入门 赵锴 物联网_IoT
 
Multiple awr reports_parser
Multiple awr reports_parserMultiple awr reports_parser
Multiple awr reports_parser
 
TechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New Features
 
High availability Microsoft vs Oracle
High availability Microsoft vs OracleHigh availability Microsoft vs Oracle
High availability Microsoft vs Oracle
 
Trivadis TechEvent 2017 Reach effective High Availability solution by Jacques...
Trivadis TechEvent 2017 Reach effective High Availability solution by Jacques...Trivadis TechEvent 2017 Reach effective High Availability solution by Jacques...
Trivadis TechEvent 2017 Reach effective High Availability solution by Jacques...
 
Trivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin Berger
Trivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin BergerTrivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin Berger
Trivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin Berger
 
Bringing NetApp Data ONTAP & Apache CloudStack Together
Bringing NetApp Data ONTAP & Apache CloudStack TogetherBringing NetApp Data ONTAP & Apache CloudStack Together
Bringing NetApp Data ONTAP & Apache CloudStack Together
 
Trivadis TechEvent 2017 Field report SQL Server by Stephan Hurni
Trivadis TechEvent 2017 Field report SQL Server by Stephan HurniTrivadis TechEvent 2017 Field report SQL Server by Stephan Hurni
Trivadis TechEvent 2017 Field report SQL Server by Stephan Hurni
 
SYMC BE 15 Boot Camp Presentation
SYMC BE 15 Boot Camp PresentationSYMC BE 15 Boot Camp Presentation
SYMC BE 15 Boot Camp Presentation
 
SQL Server 2017 - Mejoras Impulsadas por la Comunidad
SQL Server 2017 - Mejoras Impulsadas por la ComunidadSQL Server 2017 - Mejoras Impulsadas por la Comunidad
SQL Server 2017 - Mejoras Impulsadas por la Comunidad
 
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
 
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15
 
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
 
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
 
12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions
 

Mehr von Trivadis

Mehr von Trivadis (20)

Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...
Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...
Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...
 
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...
 
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)
 
Azure Days 2019: Master the Move to Azure (Konrad Brunner)
Azure Days 2019: Master the Move to Azure (Konrad Brunner)Azure Days 2019: Master the Move to Azure (Konrad Brunner)
Azure Days 2019: Master the Move to Azure (Konrad Brunner)
 
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...
 
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
 
Azure Days 2019: Get Connected with Azure API Management (Gerry Keune & Stefa...
Azure Days 2019: Get Connected with Azure API Management (Gerry Keune & Stefa...Azure Days 2019: Get Connected with Azure API Management (Gerry Keune & Stefa...
Azure Days 2019: Get Connected with Azure API Management (Gerry Keune & Stefa...
 
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
 
Azure Days 2019: Wie bringt man eine Data Analytics Plattform in die Cloud? (...
Azure Days 2019: Wie bringt man eine Data Analytics Plattform in die Cloud? (...Azure Days 2019: Wie bringt man eine Data Analytics Plattform in die Cloud? (...
Azure Days 2019: Wie bringt man eine Data Analytics Plattform in die Cloud? (...
 
Azure Days 2019: Azure@Helsana: Die Erweiterung von Dynamics CRM mit Azure Po...
Azure Days 2019: Azure@Helsana: Die Erweiterung von Dynamics CRM mit Azure Po...Azure Days 2019: Azure@Helsana: Die Erweiterung von Dynamics CRM mit Azure Po...
Azure Days 2019: Azure@Helsana: Die Erweiterung von Dynamics CRM mit Azure Po...
 
TechEvent 2019: Kundenstory - Kein Angebot, kein Auftrag – Wie Du ein individ...
TechEvent 2019: Kundenstory - Kein Angebot, kein Auftrag – Wie Du ein individ...TechEvent 2019: Kundenstory - Kein Angebot, kein Auftrag – Wie Du ein individ...
TechEvent 2019: Kundenstory - Kein Angebot, kein Auftrag – Wie Du ein individ...
 
TechEvent 2019: Oracle Database Appliance M/L - Erfahrungen und Erfolgsmethod...
TechEvent 2019: Oracle Database Appliance M/L - Erfahrungen und Erfolgsmethod...TechEvent 2019: Oracle Database Appliance M/L - Erfahrungen und Erfolgsmethod...
TechEvent 2019: Oracle Database Appliance M/L - Erfahrungen und Erfolgsmethod...
 
TechEvent 2019: Security 101 für Web Entwickler; Roland Krüger - Trivadis
TechEvent 2019: Security 101 für Web Entwickler; Roland Krüger - TrivadisTechEvent 2019: Security 101 für Web Entwickler; Roland Krüger - Trivadis
TechEvent 2019: Security 101 für Web Entwickler; Roland Krüger - Trivadis
 
TechEvent 2019: Trivadis & Swisscom Partner Angebote; Konrad Häfeli, Markus O...
TechEvent 2019: Trivadis & Swisscom Partner Angebote; Konrad Häfeli, Markus O...TechEvent 2019: Trivadis & Swisscom Partner Angebote; Konrad Häfeli, Markus O...
TechEvent 2019: Trivadis & Swisscom Partner Angebote; Konrad Häfeli, Markus O...
 
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...
 
TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing Postgr...
TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing Postgr...TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing Postgr...
TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing Postgr...
 
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
 
TechEvent 2019: Kundenstory - Vom Hauptmann zu Köpenick zum Polizisten 2020 -...
TechEvent 2019: Kundenstory - Vom Hauptmann zu Köpenick zum Polizisten 2020 -...TechEvent 2019: Kundenstory - Vom Hauptmann zu Köpenick zum Polizisten 2020 -...
TechEvent 2019: Kundenstory - Vom Hauptmann zu Köpenick zum Polizisten 2020 -...
 
TechEvent 2019: Vom Rechenzentrum in die Oracle Cloud - Übertragungsmethoden;...
TechEvent 2019: Vom Rechenzentrum in die Oracle Cloud - Übertragungsmethoden;...TechEvent 2019: Vom Rechenzentrum in die Oracle Cloud - Übertragungsmethoden;...
TechEvent 2019: Vom Rechenzentrum in die Oracle Cloud - Übertragungsmethoden;...
 
TechEvent 2019: The sleeping Power of Data; Eberhard Lösch - Trivadis
TechEvent 2019: The sleeping Power of Data; Eberhard Lösch - TrivadisTechEvent 2019: The sleeping Power of Data; Eberhard Lösch - Trivadis
TechEvent 2019: The sleeping Power of Data; Eberhard Lösch - Trivadis
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Kürzlich hochgeladen (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

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

  • 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
  • 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
  • 5. Toolbox Portfolio Overview TVD-Toolbox5 15.09.2017 Products Report as a Service Supporting Tools http://www.trivadis.com/en/trivadis-toolbox
  • 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. GUI for Setup/Upgrade and Configuration TVD-Toolbox9 15.09.2017
  • 8. TVD-Toolbox10 15.09.2017 TVD-Basenv Efficient Administration of Oracle Database and Application Servers.
  • 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. 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
  • 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. 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
  • 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. Database server Architecture Overview 15.09.2017 TVD-Toolbox18 Start backup Establish status TIB AGENT TIB SCHEDULER BACKUP/RECOVERY BACKUP REPORTS
  • 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. 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. 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. 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. 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. 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. TVD-Toolbox25 15.09.2017 TVD-HA Efficient Data Guard Provisioning and Monitoring.
  • 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. 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
  • 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. 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. Q & A Roland Stirnimann Business Development Manager roland.stirnimann@trivadis.com Phone +41 58 459 52 47 15.09.2017 TVD-Toolbox31
  • 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...