Dell™ PowerEdge™ Systems Oracle Database 11g R1 on Red Hat® Enterprise Linux® 5 Advanced Server x86-64 or Oracle Enterprise Linux® 5 Advanced Server x86-64 Troubleshooting Guide Verison 1.0 Overview of Oracle Database 11G Documentation The documentation set for the Oracle Database 11g R1 on Red Hat® Enterprise Linux® 5 Advanced Server x86-64 or Oracle Enterprise Linux® 5 Advanced Server x86-64 has been reorganized into a series of modules.
Notes, Cautions, and Warnings NOTE: A NOTE indicates important information that helps you make better use of your computer. ____________________ Information in this document is subject to change without notice. © 2009 Dell Inc. All rights reserved. Reproduction in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden. Trademarks used in this text: Dell, the DELL logo, PowerEdge, and PowerVault are trademarks of Dell Inc.
Terminology Used in this Document This document uses the terms logical unit number (LUN) and virtual disk. These terms are synonymous and can be used interchangeably. The term LUN is commonly used in a Dell|EMC Fibre-Channel storage system environment and virtual disk is commonly used in a Dell PowerVault™ SAS (Dell MD3000i and Dell MD3000i with MD1000 expansion) storage environment.
c Enter the following lines at the SQL> prompt: alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects=’’ scope=spfile sid=’’ Create these entries for each node in the cluster. d Restart the database on all nodes by enter the following commands: srvctl stop database –d srvctl start database –d e Open the /opt/oracle/admin//bdump/alert_.
NETCA • • PROBLEM: NETCA fails, resulting in database creation errors. – CAUSE: The public network, hostname, or virtual IP is not listed in the /etc/hosts.equiv file. – RESOLUTION: Before launching netca, ensure that a hostname is assigned to the public network and that the public and virtual IP addresses are listed in the /etc/hosts.equiv file. PROBLEM: NETCA cannot configure remote nodes or a RAW device validation error occurs while running DBCA. – CAUSE: The /etc/hosts.
• PROBLEM: CRS fails to start when you reboot the nodes, or after entering /etc/ini.d/init.crs start. – CAUSE: The Cluster Ready Services CSS daemon cannot write to the quorum disk. – RESOLUTION: Attempt to start the service again by rebooting the node or typing root.sh from /crs/oracle/product/11.1.0/crs/. Verify that each node has access to the quorum disk and the user root can write to the disk. Check the last line in the file $ORA_CRS_HOME/css/log/ocssd.log.
• PROBLEM: When you run root.sh following reinstallation, CRS fails to start. – CAUSE: The OCR file and Voting disk have not been cleared and contain old information. – RESOLUTION: Clear the OCR and Voting disks by entering the following lines: dd if=/dev/zero of=/dev/raw/ocr.dbf dd if=/dev/zero of=/dev/raw/votingdisk Attempt to start the service again by rebooting the node or by running root.sh from /crs/oracle/product/11.1.0/crs/ • PROBLEM: When you run root.sh, CRS fails to start.
$ORA_CRS_HOME/evm/init $ORA_CRS_HOME/srvm/log Check /var/log/messages for any error messages regarding CRS init scripts. Capture all log files for support diagnosis. • PROBLEM: Node continually reboots. – CAUSE: The node does not have access to the quorum disk on shared storage. – RESOLUTION: Start Linux in single user mode. Enter the following command: /etc/inet.d/init.crs disable Verify that the quorum disk is available and the private interconnect is alive. Reboot and type /etc/inet.d/init.
DBCA • PROBLEM: There is no response when you click OK in the DBCA Summary window. – CAUSE: Java Runtime Environment timing issue. – RESOLUTION: Click again. If there is still no response, restart DBCA. Software installation • • • PROBLEM: You receive dd failure error messages while installing the software using Dell Deployment CD 1. – CAUSE: Using copies, rather than the original Enterprise Linux CDs.
Networking • PROBLEM: The cluster verification check fails. – CAUSE: Your public network IP address is not routable; for example: 192.168.xxx.xxx – RESOLUTION: Assign a valid, routable public IP address. Fibre Channel storage system • PROBLEM: You receive I/O errors and warnings when you load the Fibre Channel HBA driver module. – CAUSE: The HBA driver, BIOS, or firmware needs to be updated.
Oracle Support For training information on your Oracle software and application Clusterware, see the Oracle website at www.oracle.com or see your Oracle documentation for information about contacting Oracle. Technical support, downloads, and other technical information are available at the Oracle MetaLink website at www.metalink.oracle.com.
Dell™ PowerEdge™ 系统 Red Hat® Enterprise Linux® 5 Advanced Server x86-64 或 Oracle Enterprise Linux® 5 Advanced Server x86-64 上的 Oracle Database 11g R1 故障排除指南 1.
注、小心和警告 注:“注”表示可以帮助您更好地使用计算机的重要信息。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2009 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式进行复制。 本文件中使用的商标:Dell、DELL 徽标、PowerEdge 和 PowerVault 是 Dell Inc. 的商标; EMC 和 PowerPath 是 EMC Corporation 的注册商标; Red Hat 和 Red Hat Enterprise Linux 是 Red Hat, Inc. 的注册商标。 本说明文件中述及的其它商标和产品名称是指拥有相应商标和产品名称的公司或其制造的产品。 Dell Inc.
本说明文件中使用的术语 本说明文件中使用了术语逻辑单元号码 (LUN) 和虚拟磁盘。这两个术语是同义 词并可互换使用。术语 LUN 通常在 Dell|EMC 光纤信道存储系统环境中使用, 而虚拟磁盘通常在 Dell PowerVault™ SAS (Dell MD3000i 和带有 MD1000 扩充 的 Dell MD3000i)存储环境中使用。 故障排除 下一节介绍在部署及使用 Enterprise Linux 和 Oracle 软件过程中遇到问题时建 议的操作。 性能和稳定性 • 问题:Enterprise Linux 出现性能不佳和系统不稳定现象;使用的交换空间 过多。 – 原因:Oracle 系统全局区域 (SGA) 超过了建议使用的大小。 – 解决方法:确保 SGA 大小不超过系统总 RAM 的 65%。 在命令提示符下输入 free,确定总 RAM,然后在 Oracle 参数文件中 相应减小 db_cache_size 和 shared_pool_size 参数的值。 • 问题:在 Oracle 警报文件中显示未知接口类型警告;系统性能不佳。 – 原因:公用接口已配置为群集通信
d 通过输入以下命令,在所有节点上重新启动数据库: srvctl stop database – d < 数据库名 > srvctl start database – d < 数据库名 > e 打开 /opt/oracle/admin/< 数据库名 >/bdump/alert_.log 文件, 验证所有实例是否使用专用 IP 地址。 Enterprise Manager • 问题:Enterprise Manager 代理程序中断或失败。 – 原因:未装入 Enterprise Manager 库。 – 解决方法:输入以下命令,为 DB 控制台重新创建配置文件和库: emca -config dbcontrol db repos recreate 有关详细说明,请参阅 Oracle Metalink Note 330976.
CRS • • • • 问题:/var/log/message 中出现频繁的会话打开 / 关闭信息。 – 原因:此问题的原因在未发布的 Oracle 错误 5679560 中进行了识别和 验证。请访问 Oracle Metalink 网站 www.metalink.oracle.com。 – 解决方法:应用 Oracle Metalink 网站 www.metalink.oracle.com 上提供 的增补软件 5679560。 问题:CRS 尝试启动时过早放弃。 – 原因:Oracle 错误 4698419。请访问 Oracle Metalink 网站 www.metalink.oracle.com。 – 解决方法:应用 Oracle Metalink 网站 www.metalink.oracle.
• • • 问题:运行 root.sh 时, CRS 无法启动。 – 原因:检查并确保已定义了公用和专用节点名称并且可以对节点名称 执行 ping 命令。 – 解决方法:在解决网络问题之后,通过重新引导节点或从 /crs/oracle/product/11.1.0/crs/ 中运行 root.sh,尝试再次启动服务。 问题:运行 root.sh 时, CRS 无法启动。 – 原因:OCR 文件和投票磁盘无法访问。 – 解决方法:解决 I/O 问题,并通过重新引导节点或从 /crs/oracle/product/11.1.0/crs/ 中运行 root.sh,尝试再次启动服务。 问题:在重新安装之后运行 root.sh 时, CRS 无法启动。 – 原因:OCR 文件和投票磁盘尚未清除,仍包含旧信息。 – 解决方法:通过输入以下各行,清除 OCR 和投票磁盘: dd if=/dev/zero of=/dev/raw/ocr.dbf dd if=/dev/zero of=/dev/raw/votingdisk 通过重新引导节点或从 /crs/oracle/product/11.1.
查看以下目录中的日志文件,对问题进行诊断: $ORA_CRS_HOME/crs/log $ORA_CRS_HOME/crs/init $ORA_CRS_HOME/css/log $ORA_CRS_HOME/css/init $ORA_CRS_HOME/evm/log $ORA_CRS_HOME/evm/init $ORA_CRS_HOME/srvm/log 检查 /var/log/messages,了解有关 CRS init 脚本的所有错误信息。 收集所有支持诊断的日志文件。 • 问题:节点频繁地重新引导。 – 原因:该节点无权访问共享存储设备上的仲裁磁盘。 – 解决方法:在单用户模式下启动 Linux。 输入以下命令: /etc/inet.d/init.crs disable 验证仲裁磁盘是否可用以及专用互连是否激活。 重新引导并键入 /etc/inet.d/init.crs enable • 问题:节点频繁地重新引导。 – 原因:专用互连中断。 – 解决方法:在单用户模式下启动 Linux。 输入以下命令: /etc/inet.d/init.
DBCA • 问题:在单击 DBCA Summary (DBCA 摘要)窗口中的 OK (确定) 时没有响应。 – 原因:Java Runtime Environment 计时功能出现问题。 – 解决方法:再次单击。如果仍然没有响应,请重新启动 DBCA。 软件安装 • • • 问题:使用 Dell Deployment CD 1 安装软件时收到 dd 故障错误信息。 – 原因:使用的是副本,而不是原始 Enterprise Linux CD。 – 解决方法:刻录 CD 映像 (ISO) 时,请使用正确的选项 (例如,如果 使用 cdrecord 命令,则为 -dao 选项)。 问题:当作为 oracle 以外的其他用户连接到数据库时,收到错误信息 ORA01034: ORACLE not available (ORA01034:ORACLE 不可用)和 Linux Error 13: Permission denied (Linux 错误 13:权限被拒绝)。 – 原因:没有在远程节点上设置所需的权限。 – 解决方法:在所有远程节点上,以用户 root 的身份键入:chmod
网络 • 问题:群集验证检查失败。 – 原因:公用网络 IP 地址不可路由;例如:192.168.xxx.xxx – 解决方法:分配一个有效且可路由的公用 IP 地址。 光纤信道存储系统 • 问题:载入光纤信道 HBA 驱动程序模块时,收到 I/O 错误和警告。 – 原因:需要更新 HBA 驱动程序、 BIOS 或固件。 – 解决方法:查看 Dell|Oracle Tested and Validated Configurations (经 Dell|Oracle 测试和验证的配置)网站 dell.
Oracle 支持 有关 Oracle 软件和应用程序群集件的培训信息,请访问 Oracle 网站 www.oracle.com 或参阅 Oracle 说明文件,了解关于联系 Oracle 的信息。 Oracle MetaLink 网站 www.metalink.oracle.
Systèmes Dell™ PowerEdge™ Oracle Database 11g R1 sur Red Hat® Enterprise Linux® 5 Advanced Server x86-64 ou Oracle Enterprise Linux® 5 Advanced Server x86-64 Guide de dépannage Version 1.0 Présentation de la documentation d'Oracle Database 11G La documentation d'Oracle Database 11g R1 sur Red Hat® Enterprise Linux® 5 Advanced Server x86-64 ou Oracle Enterprise Linux® 5 Advanced Server x86-64 a été réorganisée et répartie en plusieurs modules.
Remarques, précautions et avertissements REMARQUE : Une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. ____________________ Les informations contenues dans ce document sont sujettes à modification sans préavis. © 2009 Dell Inc. Tous droits réservés. La reproduction de ce document de quelque manière que ce soit sans l'autorisation écrite de Dell Inc. est strictement interdite.
Terminologie utilisée dans ce document Les termes LUN (numéro d'unité logique) et disque virtuel sont synonymes et interchangeables. Le terme LUN est généralement utilisé pour les environnements de systèmes de stockage Fibre-Channel Dell|EMC, tandis que le terme disque virtuel est plutôt réservé aux environnements de stockage Dell PowerVault™ SAS (Dell MD3000i et Dell MD3000i avec châssis d'extension MD1000).
c Entrez les lignes suivantes à l'invite SQL> : alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects=’’ scope=spfile sid=’’ Créez ces entrées pour chaque nœud du cluster. d Redémarrez la base de données sur tous les nœuds en tapant les commandes suivantes : srvctl stop database –d srvctl start database –d e Ouvrez le fichier /opt/oracle/admin//bdump/alert_.
NETCA • • PROBLÈME : l'assistant NETCA échoue et provoque des erreurs liées à la création des bases de données. – CAUSE : le réseau public, le nom d'hôte ou l'adresse IP virtuelle ne sont pas répertoriés dans le fichier /etc/hosts.equiv. – RÉSOLUTION : avant d'exécuter netca, vérifiez qu'un nom d'hôte est attribué au réseau public et que le fichier /etc/hosts.equiv contient les adresses IP publique et virtuelle.
• • PROBLÈME : l'installation d'Oracle Clusterware a échoué. – CAUSE : les noms de périphériques EMC® PowerPath® ne sont pas identiques sur tous les nœuds. – RÉSOLUTION : avant d'installer Oracle Clusterware, redémarrez PowerPath et vérifiez que les noms de périphériques associés sont les mêmes sur tous les nœuds du cluster. PROBLÈME : les services CRS échouent au redémarrage des nœuds ou lorsque vous tapez /etc/ini.d/init.crs start.
• • PROBLÈME : les services CRS ne démarrent pas lors de l'exécution du script root.sh. – CAUSE : le fichier OCR et le disque de vote sont inaccessibles. – RÉSOLUTION : corrigez tout problème éventuel d'E-S, puis essayez de lancer à nouveau le service en redémarrant le nœud ou en exécutant le script root.sh à partir du répertoire /crs/oracle/product/11.1.0/crs/. PROBLÈME : les services CRS ne démarrent pas lorsque vous exécutez le script root.sh après une réinstallation.
Essayez de lancer à nouveau le service en exécutant le script root.sh à partir du répertoire /crs/oracle/product/11.1.0/crs/. Pour identifier la cause du problème, consultez les fichiers journaux des répertoires suivants : $ORA_CRS_HOME/crs/log $ORA_CRS_HOME/crs/init $ORA_CRS_HOME/css/log $ORA_CRS_HOME/css/init $ORA_CRS_HOME/evm/log $ORA_CRS_HOME/evm/init $ORA_CRS_HOME/srvm/log Vérifiez dans /var/log/messages les messages d'erreurs éventuels concernant les scripts de lancement des services CRS.
Entrez la commande suivante : /etc/inet.d/init.crs enable Redémarrez le système. Dans certains cas, suite au redémarrage du système, le réseau accuse un temps d'attente pouvant atteindre 30 secondes avant d'envoyer la commande ping aux autres nœud du cluster. Dans ce cas, ajoutez la ligne suivante au début du fichier /etc/inet.d/init.crs et redémarrez le système : /bin/sleep 30 DBCA • PROBLÈME : le système ne répond pas lorsque vous cliquez sur OK dans la fenêtre DBCA Summary (Résumé de l'assistant DBCA).
• PROBLÈME : l'installation du logiciel Oracle sur les nœuds échoue. – CAUSE : les horloges système des nœuds ne sont pas synchronisées. – RÉSOLUTION : effectuez l'une des procédures suivantes : Vérifiez que l'horloge système du nœud sur lequel le logiciel Oracle est installé est en avance par rapport à celle des autres nœuds. Configurez l'un des nœuds comme serveur NTP pour synchroniser les autres nœuds du cluster. • PROBLÈME : lorsque vous exécutez le script root.
Système d'exploitation • PROBLÈME : les nouveaux périphériques ajoutés à un système PowerEdge™ ne sont pas reconnus par le système d'exploitation. – CAUSE : Kudzu est désactivé. – RÉSOLUTION : exécutez Kudzu manuellement une fois le nouveau périphérique ajouté au système. Obtention d'aide Support Dell Pour plus d'informations sur l'utilisation du système, reportez-vous à la documentation fournie avec ses composants.
Dell™ PowerEdge™-Systeme Oracle Database 11g R1 mit Red Hat® Enterprise Linux® 5 Advanced Server x86-64 oder Oracle Enterprise Linux® 5 Advanced Server x86-64 Handbuch zur Fehlerbehebung Version 1.0 Übersicht über die Dokumentation zu Oracle Database 11G Die Dokumentationen für Oracle Database 11g R1 mit Red Hat® Enterprise Linux® 5 Advanced Server x86-64 oder Oracle Enterprise Linux® 5 Advanced Server x86-64 wurden in einer Reihe von Modulen neu strukturiert.
Anmerkungen, Vorsichtshinweise und Warnungen ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie das System besser einsetzen können. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2009 Dell Inc. Alle Rechte vorbehalten. Nachdrucke jeglicher Art ohne die vorherige schriftliche Genehmigung von Dell Inc. sind strengstens untersagt. In diesem Text verwendete Marken: Dell, das DELL Logo, PowerEdge und PowerVault sind Marken von Dell Inc.
In diesem Dokument verwendete Terminologie In diesem Dokument werden die Begriffe Logische Gerätenummer (LUN) und Virtueller Datenträger verwendet. Diese Begriffe sind synonym und untereinander ersetzbar. Der Begriff LUN wird üblicherweise im Zusammenhang mit Dell|EMC Fibre-Channel-Speichersystemumgebungen und der Begriff virtuelles Laufwerk bei Dell PowerVault™ SAS-Speicherumgebungen (Dell MD3000i und Dell MD3000i mit Erweiterung MD1000) verwendet.
c Geben Sie an der SQL>-Eingabeaufforderung folgende Zeilen ein: alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects=’’ scope=spfile sid=’’ Erstellen Sie diese Einträge für jeden Knoten im Cluster.
NETCA • • PROBLEM: Fehler bei NETCA verursachen Probleme beim Erstellen von Datenbanken. – URSACHE: Die öffentliche Netzwerkschnittstelle, Hostname oder virtuelle IP werden nicht in der Datei /etc/hosts.equiv aufgeführt. – LÖSUNG: Stellen Sie vor dem Ausführen von netca sicher, dass dem öffentlichen Netzwerk ein Hostname zugewiesen ist und dass die öffentlichen und virtuellen IP-Adressen in der Datei /etc/hosts.equiv aufgeführt sind.
• • PROBLEM: Die Installation von Oracle Clusterware schlägt fehl. – URSACHE: EMC® PowerPath®-Gerätenamen sind auf den Clusterknoten nicht einheitlich. – LÖSUNG: Starten Sie PowerPath vor der Installation von Oracle Clusterware neu und stellen Sie sicher, dass die PowerPath-Gerätenamen auf allen Knoten einheitlich sind. PROBLEM: Fehler beim Start von CRS, wenn Sie die Knoten neu starten oder nachdem Sie den Befehl /etc/ini.d/init.crs start ausgeführt haben.
• • PROBLEM: CRS startet beim Ausführen von root.sh nicht. – URSACHE: Kein Zugriff auf die OCR-Datei und den Speicher für Statusinformationen. – LÖSUNG: Beheben Sie das E/A-Problem und versuchen Sie den Dienst neu zu starten, indem Sie den Knoten neu starten oder den Befehl root.sh im Verzeichnis /crs/oracle/product/11.1.0/crs/ ausführen. PROBLEM: CRS startet nicht, wenn Sie root.sh nach einer Neuinstallation ausführen.
Versuchen Sie den Dienst neu zu starten, indem Sie den Befehl root.sh im Verzeichnis /crs/oracle/product/11.1.0/crs/ ausführen. Überprüfen Sie die Protokolldateien in den folgenden Verzeichnissen, um mehr Informationen über das Problem zu erhalten: $ORA_CRS_HOME/crs/log $ORA_CRS_HOME/crs/init $ORA_CRS_HOME/css/log $ORA_CRS_HOME/css/init $ORA_CRS_HOME/evm/log $ORA_CRS_HOME/evm/init $ORA_CRS_HOME/srvm/log Fehlermeldungen des CRS-Initialisierungsskripts finden Sie in der Datei /var/log/messages.
Geben Sie folgenden Befehl ein: /etc/inet.d/init.crs enable Starten Sie das System neu. In bestimmten Fällen kommt es zu einer Latenzzeit von bis zu 30 Sekunden im Netzwerk, bevor die anderen Clusterknoten nach einem Neustart auf Ping-Befehle reagieren. Ergänzen Sie in diesem Fall die folgende Zeile in der Datei /etc/inet.d/init.crs, und starten Sie das System neu: /bin/sleep 30 DBCA • PROBLEM: Wenn Sie im Fenster DBCA Summary (DBCA-Übersicht) auf OK klicken, erfolgt keine Reaktion.
• PROBLEM: Oracle-Software lässt sich auf den Knoten nicht installieren. – URSACHE: Die Systemzeiten der Knoten sind nicht identisch. – LÖSUNG: Führen Sie eines der folgenden Verfahren durch: Stellen Sie sicher, dass die Systemzeit auf dem Knoten für die OracleInstallation auf eine spätere Zeit als die übrigen Knoten eingestellt ist. Konfigurieren Sie einen der Knoten als NTP-Server, um die übrigen Knoten im Cluster zu synchronisieren. • PROBLEM: Beim Ausführen von root.
Betriebssystem • PROBLEM: Wenn Sie dem PowerEdge™-System ein neues Peripheriegerät hinzufügen, wird das Gerät vom Betriebssystem nicht erkannt. – URSACHE: Kudzu ist deaktiviert. – LÖSUNG: Führen Sie Kudzu nach dem Hinzufügen des neuen Peripheriegeräts manuell aus. Wie Sie Hilfe bekommen Dell Support Weitere Informationen zum Betrieb des Systems erhalten Sie in der zusammen mit den Systemkomponenten gelieferten Dokumentation.
Dell™ PowerEdge™ システム Red Hat® Enterprise Linux® 5 Advanced Server x86-64/Oracle Enterprise Linux® 5 Advanced Server x86-64 上で使用する Oracle Database 11g R1 トラブルシューティングガイドバー ジョン 1.
メモ、注意、警告 メモ:コンピュータを使いやすくするための重要な情報を説明しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2009 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書に使用されている商標:Dell、DELL ロゴ、PowerEdge、および PowerVault は Dell Inc. の商標です。EMC、および PowerPath は EMC Corporation の登録商標です。Red Hat およ び Red Hat Enterprise Linux は Red Hat, Inc. の登録商標です。 商標または製品の権利を主張する事業体を表すためにその他の商標および社名が使用されて いることがあります。Dell Inc.
本書で使用されている用語 本書では、「論理ユニット番号」(LUN)および「仮想ディスク」という語が 使われています。これらの用語は同義語であり、どちらを使用しても構い ません。「LUN」は Dell|EMC ファイバーチャネルストレージシステムの環 境で、「仮想ディスク」は Dell PowerVault™ SAS(Dell MD3000i および Dell MD3000i + MD1000 拡張)ストレージの環境で、通常使われる用語 です。 トラブルシューティング Enterprise Linux および Oracle ソフトウェアの導入と使用にあたって発生す る可能性のある問題と対処方法を次項に示します。 パフォーマンスと安定性 • 問題:Enterprise Linux のパフォーマンスが低下して、不安定になって いる。スワップスペースの過剰使用。 – 原因:SGA(Oracle System Global Area)が推奨サイズを超えて いる。 – 解決方法:SGA サイズがシステム RAM 合計容量の 65 パーセント を超えないようにします。 コマンドプロンプトから free と入力し
c SQL> プロンプトで以下の各行を入力します。 alter system set cluster_interconnects=< プライベー ト IP アドレス node1>’ scope=spfile sid=’’ alter system set cluster_interconnects=’< プライ ベート IP アドレス node2>’ scope=spfile sid=’ ’ クラスタ内の各ノードについてこれらの行を作成します。 d 次のコマンドを入力して、すべてのノードでデータベースを再起動 します。 srvctl stop database –d srvctl start database –d e /opt/oracle/admin//bdump/alert_.
OCFS2 • 問題:OCFS パーティションのマウントまたはアンマウント中にシステ ムがハングする。 – 原因:2 つのノードで OCFS パーティションのアンマウントを同時 に試みた。 – 解決方法:同時に複数のシステムの再起動を行わないでください。 メモ:ライブノード上のネットワークを再起動することはお勧めできま せん。クラスタ内のライブノードからネットワークサービスの再起動を試み ると、ノードがハングします。これは OCFS2 の予期される動作です。 NETCA • • 問題:NETCA が誤動作して、データベース作成が失敗する。 – 原因:パブリックネットワーク、ホスト名、仮想 IP が /etc/hosts.equiv ファイル内のリストにない。 – 解決方法:netca を起動する前に、ホスト名がパブリックネット ワークに割り当ててあること、/etc/hosts.
CRS • • • • 問題:/var/log/messages 内にセッションを開く / 閉じるメッセージが頻 繁に生成される。 – 原因:この問題の原因は、非公開の Oracle バグ 5679560 で特定 され、検証済みです。Oracle Metalink のウェブサイト www.metalink.oracle.com を参照してください。 – 解決方法:パッチ 5679560 を Oracle Metalink のウェブサイト www.metalink.oracle.com から入手して、適用します。 問題:CRS の起動が途中で失敗する。 – 原因:Oracle バグ 4698419。Oracle Metalink のウェブサイト www.metalink.oracle.com を参照してください。 – 解決方法:パッチ 4698419 を Oracle Metalink のウェブサイト www.metalink.oracle.
• • • • 各ノードの /etc/hosts ファイルの仮想 IP アドレスを含むすべ てのノードホスト名に対する IP アドレスが正しい。 • パブリックおよびプライベートホスト名に対して ping が実行で きる。 • クォーラムディスクが書き込み可能である。 問題:root.sh 実行時に CRS が起動できない。 – 原因:パブリックおよびプライベートのノード名が定義されている ことと、これらのノード名に対して ping が実行できることを確認 します。 – 解決方法:ネットワークの問題を修正した後、該当ノードを再起動 するか、/crs/oracle/product/11.1.0/crs/ から root.sh を実行 して、もう一度このサービスが起動できるかどうか試してみます。 問題:root.sh 実行時に CRS が起動できない。 – 原因:OCR ファイルと投票ディスクにアクセスできない。 – 解決方法:I/O の問題を解決して、該当ノードを再起動するか、 /crs/oracle/product/11.1.0/crs/ から root.
該当ノードを再起動するか、または /crs/oracle/product/11.1.0/crs/ から root.sh を実行して、もう一 度このサービスが起動できるかどうか試してみます。 • 問題:root.sh 実行時に CRS が起動できない。 – 原因:その他の CRS トラブルシューティングの手順を試したが、 失敗した。 – 解決方法:次の行を root.sh に追加して、デバッグを可能にし ます。 set -x /crs/oracle/product/11.1.0/crs/ から root.
• 問題:ノードが再起動を繰り返す。 – 原因:プライベート相互接続がダウンしている。 – 解決方法:シングルユーザーモードで Linux を起動します。 次のコマンドを入力します。 /etc/inet.d/init.crs disable ノードがプライベート相互接続を介してクラスタ内の残りのノード に ping を実行できることを確認します。 次のコマンドを入力します。 /etc/inet.d/init.crs enable システムを再起動します。再起動後にネットワークがクラスタ内の 残りのノードに ping を実行できるまで、最大 30 秒の待ち時間を要 する場合があります。この状況が発生したら、/etc/inet.d/init.
• • 問題:oracle 以外のユーザーとして、データベースに接続する際に、 ORA01034:ORACLE not available(ORACLE が使用できません) および Linux Error 13: Permission denied(アクセスは拒否 されました)というエラーメッセージが表示される。 – 原因:該当するリモートノードに必要な権限が設定されていない。 – 解決方法:すべてのリモートノードで、root ユーザーとして、次の ように入力します。chmod 6751 $ORACLE_HOME 問題:Oracle ソフトウェアがノードにインストールできない。 – 原因:ノードのシステムクロックが同一でない。 – 解決方法:次の方法のいずれかを行います。 Oracle ソフトウェアのインストールを実行するノードのシステムク ロックが残りのノードよりも遅い時刻に設定されていることを確認 します。 ノードの 1 つを NTP サーバーとして構成し、クラスタ内の残りの ノードを同期化します。 • 問題:root.
ファイバーチャネルストレージシステム • 問題:ファイバーチャネル HBA ドライバモジュールのロード時に I/O エラーと警告が表示される。 – 原因:HBA ドライバ、BIOS、またはファームウェアのアップデート が必要。 – 解決方法:Dell|Oracle Tested and Validated Configurations (Dell|Oracle で検証済みの構成)ウェブサイト dell.
Oracle のサポート Oracle ソフトウェアおよびアプリケーションクラスタウェアのトレーニング については、Oracle のウェブサイト www.oracle.com または Oracle のマ ニュアルを参照して Oracle までお問い合わせください。 テクニカルサポート、ダウンロード、その他の技術情報については、Oracle MetaLink ウェブサイト www.metalink.oracle.
Sistemas Dell™ PowerEdge™ Base de datos Oracle 11g R1 en Red Hat® Enterprise Linux® 5 Advanced Server x86-64 u Oracle Enterprise Linux® 5 Advanced Server x86-64 Guía de solución de problemas versión 1.0 Información general sobre la documentación de la base de datos Oracle 11g El conjunto de documentación de la base de datos Oracle 11g R1 en Red Hat® Enterprise Linux® 5 Advanced Server x86-64 u Oracle Enterprise Linux® 5 Advanced Server x86-64 se ha reorganizado en una serie de módulos.
Notas, precauciones y avisos NOTA: Una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. ____________________ La información contenida en este documento puede modificarse sin previo aviso. © 2009 Dell Inc. Todos los derechos reservados. Queda estrictamente prohibida la reproducción de este documento en cualquier forma sin la autorización por escrito de Dell Inc.
Terminología utilizada en este documento En este documento se utilizan los términos número de unidad lógica (LUN) y disco virtual. Dichos términos son sinónimos y pueden utilizarse indistintamente. El término LUN suele utilizarse en un entorno de sistema de almacenamiento Dell|EMC Fibre Channel, mientras que disco virtual suele emplearse en un entorno de almacenamiento SAS Dell PowerVault™ (Dell MD3000i y Dell MD3000i con alojamiento de expansión MD1000).
c Escriba las líneas siguientes en el indicador SQL>: alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects= ’’ scope=spfile sid= ’’ Cree estas entradas para cada nodo del clúster.
NETCA • • PROBLEMA: NETCA falla, lo cual produce errores de creación de base de datos. – CAUSA: La red pública, el nombre de host o la dirección IP virtual no aparecen en el archivo /etc/hosts.equiv. – SOLUCIÓN: Antes de iniciar netca, asegúrese de que se ha asignado un nombre de host a la red pública y de que las direcciones IP pública y virtual aparecen en el archivo /etc/hosts.equiv.
• • PROBLEMA: El procedimiento de instalación del software de clúster Oracle falla. – CAUSA: Los nombres de dispositivo EMC® PowerPath® no son uniformes en los nodos. – SOLUCIÓN: Antes de instalar el software de clúster Oracle, reinicie PowerPath y asegúrese de que los nombres de dispositivo PowerPath son uniformes en los nodos. PROBLEMA: CRS no puede iniciarse cuando se reinician los nodos o se escribe /etc/ini.d/init.crs start.
• • PROBLEMA: Cuando se ejecuta root.sh, CRS no puede iniciarse. – CAUSA: No se puede acceder al archivo OCR ni al disco de votación. – SOLUCIÓN: Corrija el problema de E/S e intente volver a iniciar el servicio reiniciando el nodo o ejecutando root.sh desde /crs/oracle/product/11.1.0/crs/. PROBLEMA: Cuando se ejecuta root.sh tras efectuar la reinstalación, CRS no puede iniciarse. – CAUSA: El archivo OCR y el disco de votación no se han borrado, y contienen información obsoleta.
Consulte los archivos de registro en los directorios siguientes para diagnosticar el problema: $ORA_CRS_HOME/crs/log $ORA_CRS_HOME/crs/init $ORA_CRS_HOME/css/log $ORA_CRS_HOME/css/init $ORA_CRS_HOME/evm/log $ORA_CRS_HOME/evm/init $ORA_CRS_HOME/srvm/log Compruebe /var/log/messages para ver si hay mensajes de error relacionados con las secuencias de comandos de inicialización del CRS. Capture todos los archivos de registro para realizar el diagnóstico. • PROBLEMA: El nodo se reinicia continuamente.
Introduzca el comando siguiente: /etc/inet.d/init.crs enable Reinicie el sistema. En algunos casos, la red tarda hasta 30 segundos en poder ejecutar el comando ping en los demás nodos del clúster tras el reinicio. En tal caso, añada la línea siguiente al principio del archivo /etc/inet.d/init.crs y reinicie el sistema: /bin/sleep 30 DBCA • PROBLEMA: No se obtiene ninguna respuesta al hacer clic en OK (Aceptar) en la ventana DBCA Summary (Resumen de DBCA).
• PROBLEMA: El software Oracle no se instala correctamente en los nodos. – CAUSA: Los relojes del sistema de los nodos no son idénticos. – SOLUCIÓN: Realice uno de los procedimientos siguientes: Asegúrese de que el reloj del sistema en el nodo de instalación del software Oracle tiene una hora posterior a la de los demás nodos. Configure uno de los nodos como servidor NTP para sincronizar los demás nodos del clúster. • PROBLEMA: Cuando se ejecuta root.sh, la utilidad no puede formatear el disco OCR.
Sistema operativo • PROBLEMA: Cuando se añade un nuevo dispositivo periférico al sistema PowerEdge™, el sistema operativo no reconoce el dispositivo. – CAUSA: Kudzu está deshabilitado. – SOLUCIÓN: Ejecute Kudzu manualmente después de añadir el nuevo periférico al sistema. Obtención de ayuda Asistencia de Dell Para obtener información detallada sobre el uso del sistema, consulte la documentación incluida con los componentes del sistema.