Yesterday, I finshed my Oracle Exadata Certification :-)
Wir suchen unter anderem Themen wie Projektberichte Einführung Exadata, Erfahrungen mit Exadata oder ODA, Best Practices, Lifecycle, New Features wie InMemory, Migrationen nach Oracle 12c, Einsatz anderer Engineered Systems, usw.
alle Weiteren Details finden Sie unter http://exaday.doag.org/de/home/
Endlich ab Dienstag, den 17.11.2015 geht es los. Die DOAG Konferenz & Ausstellung startet in Nürnberg.
Ein dreitägiges Vortragsprogramm mit mehr als 400 Vorträgen und internationalen Top-Rednern sowie ein breitgefächertes Community-Programm.
Ich möchte im Besonderen auf das Gründungstreffen der Interessengemeinschaft „Engineered Systems“ hinweisen.
Wir kommen am Mittwoch, den 18.11.2015 ab 17:00 Uhr im Foyer Oslo Ebene 2 zusammen.
Wie versprochen nun die vorläufige Tagesordung:
Ich freue mich auf viele Teilnehmer und eine spannende Diskussion. :-)
Im normalen Betrieb kommt es selten vor, dass Oracle Software deinstalliert wird. Ich konnte mich auch nicht daran erinnern wann ich das letzte Mal RDBMS Software deinstalliert habe, aber jetzt liegt die Anfrage vor und zwar im Zusammenhang mit einer Teststellung.
Nach Abschluss der Teststellung für ein neues Produkt kam die Anfrage, dass die Software inklusive der dafür installierten Oracle Software gelöscht werden soll. Also dachte ich kein Problem starte doch einfach den runInstaller aus dem entsprechenden ORACLE_HOME und der „räumt“ dann auf.
Gesagt getan startet ich den Installer aus dem ORACLE_HOME und dann kam direkt ein Pop-Up Window mit dem Hinweis man solle doch aus dem jeweiligen ORACLE_HOME das Programm „deinstall“ aufrufen.Gut also setzte ich die Umgebung und starte das deinstall Tool allerdings zuerst im „–precheck“ Modus.
Parallel schaute ich zur Sicherheit noch mal im Metalink nach und fand den Hinweis, dass Oracle ab der Release 11.2 empfiehlt die Software nicht mehr per Universal Installer zu deinstallieren. Vielmehr gibt es pro Oracle 11.2 Release ein separates deinstall Tool.
Dies ist in der der „Doc ID 1363753.1: Behaviour of the Oracle De-install/Deinstall/Uninstall Utility in 11gR2” ausführlich beschrieben.
So ging ich auf OTN und startete nun den Download the Software für die Release 11.2.0.4
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
Nach dem Download wird zuerst das Tool in einem Verzeichnis außerhalb vom eigentlichen ORACLE_HOME ausgepackt.
Ich führte die Installation da es sich um einen RAC – Cluster auf dem ersten Clusterknoten durch.
<strong>/u01/app/oracle/deinstall</strong> rw-r--r-- 1 root root 119521122 Nov 5 13:42 linux.x64_11204_deinstall.zip unzip linux.x64_11204_deinstall.zip
Achtung! Das „deinstall“ Tool löscht nicht nur die Oracle Software mit sämtlichen Komponenten, sondern auch alle dazugehörigen Datenbanken, Konfig-Dateien auf dem Betriebssystem. Daher empfiehlt es sich vorher ein Backup durchzuführen.
Im Folgenden der Start des deinstall Tools und Output der Verarbeitung
$./deinstall -home /u01/app/oracle/product/11.2.0/dbhome_4
location of logs /u01/app/oraInventory/logs/ ############ ORACLE DEINSTALL & DECONFIG TOOL START ############ ######################### CHECK OPERATION START ######################### ## [START] Install check configuration ## Checking for existence of the Oracle home location /u01/app/oracle/product/11.2.0.4/dbhome_4 Oracle Home type selected for deinstall is: Oracle Real Application Cluster Database Oracle Base selected for deinstall is: /u01/app/oracle Checking for existence of central inventory location /u01/app/oraInventory Checking for existence of the Oracle Grid Infrastructure home /u01/app/12.1.0.2/grid The following nodes are part of this cluster: s96db1,s96db2 Checking for sufficient temp space availability on node(s) : 's96db1,s96db2' ## [END] Install check configuration ## Network Configuration check config START Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2015-11-05_02-31-29-PM.log Network Configuration check config END Database Check Configuration START Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check2015-11-05_02-31-34-PM.log Use comma as separator when specifying list of values as input Specify the list of database names that are configured in this Oracle home []: Database Check Configuration END Enterprise Manager Configuration Assistant START EMCA de-configuration trace file location: /u01/app/oraInventory/logs/emcadc_check2015-11-05_02-35-33-PM.log Enterprise Manager Configuration Assistant END Oracle Configuration Manager check START OCM check log file location : /u01/app/oraInventory/logs//ocm_check_2015-11-05_02-35-33-PM.log Oracle Configuration Manager check END ######################### CHECK OPERATION END ######################### ####################### CHECK OPERATION SUMMARY ####################### Oracle Grid Infrastructure Home is: /u01/app/12.1.0.2/grid The cluster node(s) on which the Oracle home deinstallation will be performed are:s96db1,s96db2 Oracle Home selected for deinstall is: /u01/app/oracle/product/11.2.0.4/dbhome_4 Inventory Location where the Oracle home registered is: /u01/app/oraInventory No Enterprise Manager configuration to be updated for any database(s) No Enterprise Manager ASM targets to update No Enterprise Manager listener targets to migrate Checking the config status for CCR s96db1 : Oracle Home exists with CCR directory, but CCR is not configured s96db2 : Oracle Home exists with CCR directory, but CCR is not configured CCR check is finished Do you want to continue (y - yes, n - no)? [n]: y A log of this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2015-11-05_02-31-23-PM.out' Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2015-11-05_02-31-23-PM.err' ######################## CLEAN OPERATION START ######################## Enterprise Manager Configuration Assistant START EMCA de-configuration trace file location: /u01/app/oraInventory/logs/emcadc_clean2015-11-05_02-35-33-PM.log Updating Enterprise Manager ASM targets (if any) Updating Enterprise Manager listener targets (if any) Enterprise Manager Configuration Assistant END Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_clean2015-11-05_02-36-13-PM.log Network Configuration clean config START Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2015-11-05_02-36-13-PM.log De-configuring Listener configuration file on all nodes... Listener configuration file de-configured successfully. De-configuring Naming Methods configuration file on all nodes... Naming Methods configuration file de-configured successfully. De-configuring Local Net Service Names configuration file on all nodes... Local Net Service Names configuration file de-configured successfully. De-configuring Directory Usage configuration file on all nodes... Directory Usage configuration file de-configured successfully. De-configuring backup files on all nodes... Backup files de-configured successfully. The network configuration has been cleaned up successfully. Network Configuration clean config END Oracle Configuration Manager clean START OCM clean log file location : /u01/app/oraInventory/logs//ocm_clean_2015-11-05_02-35-33-PM.log Oracle Configuration Manager clean END Setting the force flag to false Setting the force flag to cleanup the Oracle Base Oracle Universal Installer clean START Oracle Universal Installer clean START Detach Oracle home '/u01/app/oracle/product/11.2.0.4/dbhome_4' from the central inventory on the local node : Done Delete directory '/u01/app/oracle/product/11.2.0.4/dbhome_4 on the local node : Done The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is in use by Oracle Home '/u01/app/oracle/product/11.2.0.4/dbhome_1'. Detach Oracle home '/u01/app/oracle/product/11.2.0.4/dbhome_4 from the central inventory on the remote nodes 's96db2' : Done Delete directory '/u01/app/oracle/product/11.2.0.4/dbhome_4' on the remote nodes 's96db2' : Done Oracle Universal Installer cleanup was successful. Oracle Universal Installer clean END ### [START] Oracle install clean ## Clean install operation removing temporary directory '/tmp/deinstall2015-11-05_02-31-23PM' on node 's96db1' Clean install operation removing temporary directory '/tmp/deinstall2015-11-05_02-31-23PM' on node 's96db2' ## [END] Oracle install clean ## ######################### CLEAN OPERATION END ######################### ####################### CLEAN OPERATION SUMMARY ####################### Cleaning the config for CCR As CCR is not configured, so skipping the cleaning of CCR configuration CCR clean is finished Successfully detached Oracle home '/u01/app/oracle/product/11.2.0.4/dbhome_4' from the central inventory on the local node. Successfully deleted directory '/u01/app/oracle/product/11.2.0.4/dbhome_4 on the local node. Successfully detached Oracle home '/u01/app/oracle/product/11.2.0.4/dbhome_4' from the central inventory on the remote nodes 's96db2'. Successfully deleted directory '/u01/app/oracle/product/11.2.0.4/dbhome_4' on the remote nodes 's96db2'. Oracle Universal Installer cleanup was successful. Oracle deinstall tool successfully cleaned up temporary directories. ####################################################################### ############# ORACLE DEINSTALL & DECONFIG TOOL END ############# [oracle@s96db1 deinstall]$
Die Deinstallation lief ohne Probleme und löschte auf beiden Clusterknoten die Software und die dazugehörige Dateien, Datenbanken und Konfigurationsdateien.
Abschließend prüfte nochmal das zentrale Inventory. Dort wird das gelöschte ORACLE_HOME als „REMOVED“ gekennzeichnet.
<strong>Check of central inventory File</strong> cd /u01/app/oraInventory/ContentsXML <HOME NAME="OraDb11g_home6" LOC="/u01/app/oracle/product/11.2.0.4/dbhome_4" TYPE="O" IDX="10" <strong><strong>REMOVED</strong></strong>="T"/>
Wir suchen unter anderem Themen wie Projektberichte Einführung Exadata, Erfahrungen mit Exadata oder ODA, Best Practices, Lifecycle, Features, Migrationen nach Oracle 12c, Einsatz anderer Engineered Systems, usw.
alle Weiteren Details finden Sie unter http://exaday.doag.org/de/home/
Oracle hat die neue X5-8 angekündigt.
Hier die technischen Details https://www.oracle.com/corporate/pressrelease/exadata-x5-8-110415.html
Auf der OOW 2015 wurde die neue Oracle Private Cloud Machine PaaS & Iaas angekündigt.
Hier der Link zu weiteren Details
http://www.doag.org/home/aktuelle-news/article/larry-ellison-security-is-always-on.html
Das ist eine sehr gute Meldung für alle Kunden, die aktuell in Migrationsprojekten auf Release 12c „stecken“.
Durch die Verlängerung des Extended Support, bleibt den Kunden mehr Zeit Ihre aktuellen Systeme auf das neue Release anzuheben.
What happened?
We patch our cluster with the a PSU but we did not recognize that the cluster was afterwards in rolling patch state. A few days later we had a defect disk in one cell server. The disk was changed and we got an error message.
ASM alert.log SQL> /* Exadata Auto Mgmt: DROP ASM Disk */ alter diskgroup DBFS_DG drop; disk DBFS_DG_CD_08_S1R8CD5; force rebalance nowait ORA-15032: not all alterations performed ORA-15137: The ASM cluster is in rolling patch state.
So what can be done to get the disk group rebalanced. First we stop the rolling patch mode on the ASM Instance which could be done with the following command
ALTER SYSTEM STOP ROLLING PATCH;
Looking to the Cell Server we saw that the new disk was now known by the Systems but the Grid disks are offline.
CellCLI> list griddisk attributes name,asmmodestatus,asmdeactivationoutcome DATA_CD_08_s1r8cd5 OFFLINE Yes DBFS_DG_CD_08_s1r8cd5 OFFLINE Yes RECO_CD_08_s1r8cd5 OFFLINE Yes So we saw that the Grid disks are offline CellCLI> alter griddisk DATA_CD_08_s1r8cd5 inactive; GridDisk DATA_DG_CD_08_s1r8cd5 successfully altered CellCLI> alter griddisk DBFS_DG_CD_08_s1r8cd5 inactive; GridDisk DBFS_DG_CD_08_s1r8cd5 successfully altered CellCLI> alter griddisk RECO_DG_CD_08_s1r8cd5 active; GridDisk RECO_DG_CD_08_s1r8cd5 successfully altered
While doing these steps the rebalance on the disk groups starts automatically.
ASM alert.log ... alter diskgroup DBFS_DG drop disk DBFS_DG_CD_08_S1R8CD5 force rebalance nowait; ... After a few hours the disk groups are in “sync”.
We fixed this problem on the ASM instance but on the Grid Infrastructure level we have a different patchlevel if we do an “opatch lsinv”. To fix this problem I write a second blog article. stay tuned
Hier der Link zum Nachlesen