Oracle Enterprise Manager 12cR5 – Let’s connect to the Oracle Cloud

Since EM12c Release 5 Oracle has integrated the connection to the Oracle cloud, databases can be monitored and handled very easy, on-premise databases and cloud databases are now managed in one tool. Adding a cloud database to an on-premise EM12c from cloud.oracle.com is very easy and done in a few steps: Create a SSH key Create a DBaaS instance on cloud.oracle.com Configure a local Linux agent as Hybrid Cloud Gateway Agent Create an EM12c credential for SSH login Install EM12c Agent via push method on the DBaaS machine Discover and add the new targets Enjoy A few documents are available how this setup has to be done. But the best way to get some experience is just to do it.…

Read More

EM12c Cloud Control – falsche Anzeige nach Rollentausch

Ausgangslage Nach einem manuellen Switchover auf Kommandozeile mit DGMGRL wird in EM12c Cloud Control die falsche Rolle angezeigt respektive nicht aktualisiert. Wenn man aber die Detailseite vom Target ansieht, so wird die Rolle richtig dargestellt. Analyse Das Verhalten kam mir bekannt vor, das gab es auch schon in EM11g Grid Control. Es gibt dazu die My Oracle Support Note Database Role not shown correctly in EM after switchover (Doc ID 1645496.1). Once switchover is done outside EM using dgmgrl and once this is done successfully, the roles of databases are not reflected correctly(targets > Databases. Here checking type)  Hier noch der Link zur 11g Note: https://support.oracle.com/epmos/faces/DocumentDisplay?id=1067752.1&displayIndex=1#FIX. Lösung Auf dem Server wo der Agent läuft, muss mittels emctl Kommando die Konfiguration…

Read More

Oracle 12c – Zwei Minuten bis “Connected to an idle instance.”

Ausgangslage Eine neue 12c Installation auf einer AIX 6.1 LPAR Auftrag Upgrade einer bestehenden 11.2.0.4 Datenbank mit der “Out-of-Place” Variante auf 12.1.0.2 Die Installation der 12.1.0.2 RDBMS-Software lief sauber durch SQL*Plus bleibt hängen Nach der Installation der 12c Software habe ich auf dem Server versuchsweise die Variable ORACLE_HOME auf das neu erstellte Verzeichnis gesetzt, um rudimentär SQL*Plus zu testen. ORACLE_SID wurde auf einen Dummy-Wert gesetzt damit die Meldung “Connected to an idle instance” angezeigt werden sollte. Doch wie heisst es immer so schön: Erstens kommt es anders, zweitens als man denkt! oracle@solothurn:~/ [rdbms12102] sqlplus / as sysdba SQL*Plus: Release 12.1.0.2.0 Production on Tue Jul 14 12:45:57 2015 Copyright (c) 1982, 2014, Oracle. All rights reserved. Nach ungefähr 2 Minuten kam…

Read More

TVD-HA – Data Guard im Schnelldurchgang

Trivadis Toolbox Die Trivadis Toolbox – http://www.trivadis.com/de/infrastructure-toolbox – beinhaltet verschiedene Werkzeuge und Komponenten, um den täglichen Datenbankbetrieb zu vereinfachen und zu standartisieren. Jede der Toolbox-Komponenten ist eine Sammlung von Scripts, Tips und Tricks für den Betrieb, Unterhalt, Automatisierung und Monitoring von Oracle Datenbanken und Middleware. TVD-HA und Aufbau von Oracle Data Guard Meine Lieblingskomponente aus der Trivadis-Toolbox ist TVD-HA – http://www.trivadis.com/de/tvd-hatm – ein Paket für Setup und Monitoring von Oracle Data Guard und RAC Cluster. Ich verwende TVD-HA, um schnell und einfach Data Guard Umgebungen aufzubauen. Um eine Data Guard Umgebung aufzubauen sind manuell viele einzelne Schritte notwendig: Anpassung vom Listener Erstellen der Verzeichnisstrukur für die Standby-Umgebung Kopieren und Anpassen von Parameter- und Passwortfile Standby Datenbank aktiv oder aus der Sicherung erstellen…

Read More

Nur mal kurz die log_archive_dest_1 geändert: ORA-16714

Ausgangslage Bei einer bestehenden 11.2.0.4 Oracle Umgebung auf AIX wurde auf der Primary und Standby das Verzeichnis für die archivierten Redo Log Files von der Fast Recovery Area auf ein konventionelles Verzeichnis geändert: SQL> alter system set log_archive_dest_1=’LOCATION=/data/ora/004/CRMDEV/arch’; DGMGRL Status WARNING Die Datenbank lief problemlos weiter, das Log-Apply funktionierte weiterhin. Aber im DGMGRL war nach kurzer Zeit der Status auf WARNING: DGMGRL> show configuration Configuration – DGConfigCRMDEV Protection Mode: MaxPerformance Databases: CRMDEV_SITE1 – Primary database Warning: ORA-16714: the value of property StandbyArchiveLocation is inconsistent with the database setting Warning: ORA-16714: the value of property AlternateLocation is inconsistent with the database setting CRMDEV_SITE2 – Physical standby database Warning: ORA-16714: the value of property StandbyArchiveLocation is inconsistent with the database setting Warning: ORA-16714:…

Read More