======Anmerkungen zu einer Installation vom Oracle Real Application Cluster auf Linux x64 ====== ** 11g ** Was alles so beim Installieren immer mal wieder als störende Meldungen auftaucht. ==== Vor der Installation ==== Im Installationverzeichnis MUSS clury immer erfolgreich durchlaufen, dann gibt es meist auch keine Probleme bei der Installation: ./runcluvfy.sh stage -post hwos -n srvora03,srvora04 -verbose ./runcluvfy.sh stage -pre crsinst -n srvora03,srvora04 -verbose ---- ==== Problem mit OPatch - The opatch minimum version check for patch failed === In einer 11.2.0.4 Umgebung ohne Patch aber mit 100% richtiger OPatch Version trat der folgende Fehler auf: Das Problem: opatch auto /home/oracle/Downloads/patch/25476126 -ocmrf /u01/app/oracle/ocm.rsp 2017-05-18 01:22:43: Starting Clusterware Patch Setup Using configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_params The opatch minimum version check for patch /home/oracle/Downloads/patch/25476126/24732075 failed for /u01/app/11.2.0.4/grid The opatch minimum version check for patch /home/oracle/Downloads/patch/25476126/23054319 failed for /u01/app/11.2.0.4/grid The opatch minimum version check for patch /home/oracle/Downloads/patch/25476126/22502505 failed for /u01/app/11.2.0.4/grid Opatch version check failed for oracle home /u01/app/11.2.0.4/grid Opatch version check failed ERROR: update the opatch version for the failed homes and retry Lösung: # cd $GRID_HOME [root]# mkdir .patch_storage [root]# chown oracle:oinstall .patch_storage siehe auch "Opatch in newly installed environment: Opatch version check failed (Doc ID 2186039.1)" ---- ====PRVG-11134 : Interface "%" on node "%" is not able to communicate with interface "%" on node "%"==== Fehler: Checking multicast communication... Checking subnet "10.2.2.0" for multicast communication with multicast group "230.0.1.0"... RVG-11134 : Interface "10.2.2.208" on node "srvora04" is not able to communicate with interface "10.2.2.244" on node "srvora03" Siehe auch : Grid Infrastructure Startup During Patching, Install or Upgrade May Fail Due to Multicasting Requirement (Doc ID 1212703.1) Check mit dem Perl Script, zuvor vom Oracle Support heruntergeladen (Note Doc ID 1212703.1): tar xvfz mcasttest.tgz cd mcasttest perl mcasttest.pl -n srvora03,srvora04 -i eth0,eth1 ########### Setup for node srvora03 ########## Checking node access 'srvora03' Checking node login 'srvora03' Checking/Creating Directory /tmp/mcasttest for binary on node 'srvora03' Distributing mcast2 binary to node 'srvora03' ########### Setup for node srvora04 ########## Checking node access 'srvora04' Checking node login 'srvora04' Checking/Creating Directory /tmp/mcasttest for binary on node 'srvora04' Distributing mcast2 binary to node 'srvora04' ########### testing Multicast on all nodes ########## Test for Multicast address 230.0.1.0 Nov 7 20:49:47 | Multicast Succeeded for eth0 using address 230.0.1.0:42000 Nov 7 20:50:17 | Multicast Failed for eth1 using address 230.0.1.0:42001 Test for Multicast address 224.0.0.251 Nov 7 20:50:18 | Multicast Succeeded for eth0 using address 224.0.0.251:42002 Nov 7 20:50:19 | Multicast Succeeded for eth1 using address 224.0.0.251:42003 #Check FW service iptables status iptables: Firewall is not running. #check with ifconfig if mulitcast is enable # String MULTICAST => OK ifconfig eth1 eth1 Link encap:Ethernet HWaddr 02:00:05:11:00:0B inet addr:10.1.1.45 Bcast:10.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 # multicast ausschalten und wieder einschalten ifconfig eth1 -multicast ifconfig eth1 multicast # test mit tcpdump auf beiden Knoten in je einen neuen Fenster: tcpdump -v -i eth1 host 230.0.1.0 see also: http://berxblog.blogspot.de/2010/11/11202-multicast-fails-totally.html ---- ====PRVF-7616 : Node connectivity failed for subnet “%” between “%” and “%”==== Tritt dieser Fehler beim Check mit Clufy auf, liegt es meist an einem Banner oder einer Login Meldung bei einem ssh Connect. Fehler: ./runcluvfy.sh comp nodecon -n srvora01,srvora02 -verbose PRVF-7616 : Node connectivity failed for .... Solution: vi /etc/ssh/sshd_config .. Banner none .. service sshd start ---- ====PRVF-7617 : Node connectivity between "%" and "%" failed===== Fehler: ./runcluvfy.sh comp nodecon -n srvora01,srvora02 -verbose ERROR: PRVF-7617 : Node connectivity between "srvora01 : 10.2.2.214" and "srvora02 : 10 .2.2.131" failed Result: TCP connectivity check failed for subnet "10.2.2.0" Solution **Disable the Firewall**! : #as root chkconfig iptables off service iptables stop chkconfig ip6tables off service ip6tables stop ---- ==== Merkwürdigkeiten bei der Installation ==== ==== Kandidaten für die ASM Platten werden nicht angezeigt ===== Werden die ASM Platten beim Installationsschritt 9 nicht angezeit, liegt es meist am falschen "Discovery Path" für die Suche nach den Platten. Auf der Maske für Schritt 9 den Button "Change Discovery Path" anwählen und den Pfad "/dev/oracleasm/disks/*" eingeben und alle konfigurierten ASM Platten werden angezeigt: {{ :dba:oracle_real_application_cluster_installation_change_disk_path_v01.png?500 | Disk Path bei der Installation einstellen}} ---- ==== Error in invoking target 'agent nmhs' of makefile - Linux 7 ==== {{ :dba:error_agent_nhms_v01.png?direct | Error in invoking target 'agent nmhs' of makefile}} Error in invoking target 'agent nmhs' of makefile '/opt/oracle/product/11.2.0.4/dbhome_1/sysman/lib/ins_emagent.mk' Lösung: Schalter -lnnz11 hinzufügen ( der erste Buchstaben ist ein l keine 1 !) vi $ORACLE_HOME/sysman/lib/ins_emagent.mk # Search for the line: $(MK_EMAGENT_NMECTL) #Change it to: $(MK_EMAGENT_NMECTL) -lnnz11 Siehe auch : 7.2.4 Error During Oracle Database Installation on Oracle Linux 7 When installing Oracle Database 11g Release 2 (11.2.0.4) on Oracle Linux 7 and Red Hat Enterprise Linux 7, Oracle Universal Installer shows the following error message: Error in invoking target 'agent nmhs' of makefile When creating the database, the following error occurs: Error securing Database Control Apply patch 19692824 to the Database home: https://updates.oracle.com/download/19692824.html For additional information about how to apply the patch and when to apply the patch, refer to Note 1951613.1 This issue is tracked with Oracle bug 19692824. Siehe auch https://doganay.wordpress.com/2015/04/08/error-in-invoking-target-agent-nmhs-of-makefile/ ---- ==== Quellen ==== Linkliste: * http://www.oracle.com/technetwork/topics/linux/index-101839.html * http://oss.oracle.com/projects/oracleasm/dist/documentation/asm-install.txt Ein Installationsanleitung kann ich Ihnen bei Bedarf gerne als PDF zukommen lassen - Gerne unterstütze ich Sie bei diesen Aufgaben aktiv als DBA ! Siehe dazu auch => [[dba:install_rac_linux_12c|Anmerkungen zu Installation des Oracle Real Application Cluster 12c R1 auf einem Oracle Linux 7]]