Dell™ PowerEdge™ Systems Oracle® Database on Enterprise Linux® x86_64 Troubleshooting Guide Version 1.
Notes and Cautions NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed. ____________________ Information in this document is subject to change without notice. © 2010 Dell Inc. All rights reserved. Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . Required Documentation for Deploying the Dell™ Oracle Database . . . . . . . . . . . . . . . . 5 . . . . . . . . . . . 6 . . . . . . . . . . . . . . . . . . . . . . . . 6 Terminology Used in This Document Getting Help Dell Support . 2 5 . . . . . . . . . . . . . . . . . . . . . 6 Oracle Support . . . . . . . . . . . . . . . . . . . . 7 Troubleshooting . . . . . . . . . . . . . . . . . . . . .
When Connecting to the Database as a User Other Than Oracle, the Following Error Messages are Displayed: ORA01034: ORACLE Not Available, and Linux Error 13: Permission Denied . . . . . . . 13 root.sh Script of Grid Infrastructure Installation Fails Displaying the Following Error Message: PRCR-1079: Fails to start resource ora.gns . . . . . 13 . . . . . . . . . . . . . . . . . . . . . . 13 . . . . . . . . . . . . . . . . . . . . . . . 14 Deinstallation Networking .
Overview This document applies to Oracle® Database 11g R2 running on Red Hat® Enterprise Linux® or Oracle Enterprise Linux 5.3 AS x86_64.
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 and iSCSI (Dell MD3000 and Dell MD3000i with Dell MD1000 expansion) storage environment.
Oracle Support • For training information on your Oracle software and application clusterware, and for information about contacting Oracle, see oracle.com or see your Oracle documentation. • Technical support, downloads, and other technical information is available at support.oracle.com. • For information on installing and configuring Oracle, see the Oracle Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64-Database Setup and Installation Guide available at support.dell.com/manuals.
Overview
Troubleshooting This section provides recommended solutions for issues that you may encounter while deploying and using your Enterprise Linux® and Oracle® software. Performance and Stability Enterprise Linux Exhibits Poor Performance and Instability Poor performance and instability occurs when the size of the Oracle System Global Area (SGA) exceeds the recommended size. NOTE: Ensure that the SGA size does not exceed 65 percent of the total system RAM.
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= ’’ d Repeat step c for each cluster node. e Restart the database on all nodes by entering the following commands: srvctl stop database –d srvctl start database –d f Open the /opt/oracle/admin//bdump/alert_.
Automatic Storage Management (ASM) ASM Disk Creation Issue With EMC® PowerPath® The issue occurs when PowerPath version 5.0.1-5.3 does not support the input/output calls made by oracleasm. The oracleasm createdisk command fails and displays the following error message: marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED]. To resolve the issue, perform the following steps: 1 Perform the /etc/init.
Miscellaneous Oracle Clusterware Verification Utility Fails After the Grid Infrastructure Installation The issue occurs when the Grid Naming Service (GNS) Virtual IP (VIP) IP entry is not present in the /etc/resolv.conf file. After the successful Grid Infrastructure installation, runInstaller (GUI) displays the following error message: INS-20802: Oracle Clusterware Verification Utility failed.
When Connecting to the Database as a User Other Than Oracle, the Following Error Messages are Displayed: ORA01034: ORACLE Not Available, and Linux Error 13: Permission Denied This issue occurs when the required permissions are not set on the remote node. On all remote nodes, type the following command as user root: chmod 6751 $ORACLE_HOME root.sh Script of Grid Infrastructure Installation Fails Displaying the Following Error Message: PRCR-1079: Fails to start resource ora.
Networking The Cluster Verification Check Fails This issue occurs when the public network IP address is not routable. For example: 192.168.xxx.xxx To resolve this issue, assign a valid, routable public IP address. Network Time Protocol (NTP) Prerequisite Check Fails During Oracle 11g R2 Clusterware Installation NTP prerequisite check fails when you install Oracle 11g R2 Clusterware by starting NTP daemon without the slewing option -x.
Fibre Channel Storage System I/O Errors and Warnings are Displayed When You Load the Fibre Channel HBA Driver Module You must update the HBA driver, BIOS, and firmware for the Fibre Channel module. For the supported versions, see the Solution Deliverable List (SDL) on dell.com/oracle. Operating System Operating System Does Not Recognize a New Peripheral Device When you add a new peripheral device to the Dell PowerEdge system, the operating system does not recognize the device.
Hard Disks are Not Detected While Booting the Updated Kernel (2.6.18-128.7.1.el5) on the Dell PowerEdge Systems With the Dell PERC H200 Integrated Storage Card To resolve the issue, recompile the Dell Dynamic Kernel Module Support (dkms) driver for the mpt2sas driver before booting the updated kernel by performing the following steps: a Select the old kernel while booting. b Execute the following command to build the driver for the new kernel. dkms build -m mpt2sas -v 02.00.00.00 -k 2.6.18-128.7.1.
Dell™ PowerEdge™ 系统 Enterprise Linux x86_64 上的 Oracle® 数据库 故障排除指南 版本 1.
注和小心 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心: “小心”表示如果不遵循说明,就有可能损坏硬件或导致数据 丢失。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2010 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell、 DELL 徽标、 PowerEdge 和 PowerVault 是 Dell Inc. 的商标; EMC 和 PowerPath 是 EMC Corporation 的商标; Oracle 是 Oracle Inc. 在美国和其它国家 / 地区的注册商标; Red Hat 和 Red Hat Enterprise Linux 是 Red Hat, Inc. 在美国和其它国家 / 地区的注册商标。 本说明文件中述及的其它商标和产品名称是指拥有相应商标和产品名称的公司或其制造的 产品。 Dell Inc. 对其它公司的商标和产品名称不拥有任何所有权。 2010 年 1 月 Rev.
目录 1 概览 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 部署 Dell™ Oracle 数据库的必要说明文件 . . . . . . 21 . . . . . . . . . . . . . . . 22 . . . . . . . . . . . . . . . . . . . . . . . . 22 本说明文件中使用的术语 获得帮助 . Dell 支持 . . . . . . . . . . . . . . . . . . . . . . Oracle 支持 . 2 故障排除 21 22 . . . . . . . . . . . . . . . . . . . . 23 . . . . . . . . . . . . . . . . . . . . . . . . . 25 性能和稳定性 . . . . . . . . . . . . . . . . . . . . . . Enterprise Linux 表现出性能不 佳和不稳定性 . . . . . . . . . .
其它 . . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle 群集件验证公用程序在网格基 础设施安装后失败. . . . . . . . . . . . . . . . . 指定网格主页位置时出现错误 INS-32026 . 28 . . 28 网格基础设施安装的 root.sh 脚本失败, 显示以下错误消息:PRCR-1079: Fails to start resource ora.gns (PRCR-1079:启动 ora.gns 资源失败) . . . . . . . . . . . . . . . . . . . . . 29 卸载 . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 网络 . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 . . . . . . . . . . . . . . . .
概览 此文档适用于运行在 Red Hat ® Enterprise Linux® 或 Oracle Enterprise Linux 5.
本说明文件中使用的术语 本说明文件中使用了逻辑单元号码 (LUN) 和虚拟磁盘两个术语。这些术 语是同义词并可互换使用。术语 LUN 通常在 Dell/EMC 光纤信道存储 系统环境中使用,而虚拟磁盘通常在 Dell PowerVault™ SAS 和 iSCSI (Dell MD3000 和带有 Dell MD1000 扩展的 Dell MD3000i)存储环境中 使用。 除非特别说明,本说明文件使用的术语 Enterprise Linux 适用于 Red Hat Enterprise Linux 和 Oracle Enterprise Linux。 获得帮助 本节介绍有关如何联系 Dell 或 Oracle 以获取白皮书、支持的配置、培训、 技术支持和一般信息的信息。 Dell 支持 • 有关使用系统的详情,请参阅随系统组件附带的说明文件。 • 有关白皮书、Dell 支持的配置和一般信息,请访问 dell.com/oracle。 • 要获得对硬件和操作系统软件的 Dell 技术支持并下载最新的系统 更新,请访问 support.dell.
Oracle 支持 • 有关 Oracle 软件和应用程序群集件的培训信息以及 Oracle 的联系 信息,请访问 oracle.com 或参阅 Oracle 说明文件。 • 技术支持、下载和其它技术信息可从 support.oracle.com 获取。 • 有关安装和配置 Oracle 的信息,请参阅 support.dell.
概览
故障排除 本节介绍在部署和使用 Enterprise Linux® 和 Oracle® 软件的过程中可能遇到 的问题的推荐解决方案。 性能和稳定性 Enterprise Linux 表现出性能不佳和不稳定性 当 Oracle 系统全局区域 (SGA) 的大小超过建议的大小时,会出现性能不佳和 不稳定的情况。 注:确保 SGA 大小不超过系统总 RAM 的 65%。 要减小 SGA 大小: 在命令提示符下输入 free 以确定总 RAM,然后在 Oracle 参数文件中相应 减小 db_cache_size 参数和 shared_pool_size 参数的值。 未知界面类型警告显示在 Oracle 警报文件中 当把公共接口配置为群集通信(专用接口)时会发生此问题。这会导致系统 性能不佳。 要解决该问题,在一个节点上执行以下步骤,强制群集通信使用专用接口: a 作为用户 oracle 登录。 b 在命令提示符下,输入 sqlplus "/ as sysdba"。屏幕将显 示 SQL> 提示符。 故障排除 25
c 在 SQL> 提示符下,输入以下行: alter system set cluster_interconnects=<专用 IP 地址节点 1>’ scope=spfile sid=’ ’ alter system set cluster_interconnects =’ < 专用 IP 地 址节点 2>’ scope=spfile sid=’ ’ d 对每个群集节点均重复步骤 c。 e 通过输入以下命令,重新启动所有节点上的数据库: srvctl stop database – d < 数据库名 > srvctl start database – d < 数据库名 > f 打开 /opt/oracle/admin/< 数据库名 >/bdump/alert_.
自动存储管理 (ASM) EMC® PowerPath® 的 ASM 磁盘创建问题 当 PowerPath 5.0.1-5.3 版不支持 oracleasm 的输入 / 输出调用时会发生此 问题。oracleasm createdisk 命令失败,显示以下错误消息: marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED](将磁盘“/dev/emcpowera11”标记为 ASM 磁盘: asmtool:设备“/dev/emcpowera11”并非为分区 [ 故障 ])。 要解决该问题,请执行以下操作: 1 使用以下命令执行 /etc/init.
其它 Oracle 群集件验证公用程序在网格基础设施安装后失败 当网格命名服务 (GNS) 虚拟 IP (VIP) IP 条目不在 /etc/resolv.conf 文件中时会 发生此问题。 成功安装网格基础设施后,runInstaller (GUI) 显示以下错误消息: INS-20802: Oracle Clusterware Verification Utility failed(INS-20802:Oracle Clusterware 验证实用程序失败)。 此外,以下错误消息记录在 oraInventory 日志文件中: INFO: PRVF-4664: Found inconsistent name resolution entries for SCAN name "scancluster"(INFO:PRVF-4664: 发现 SCAN 名称 "scancluster" 不一致的名称解析条目) INFO: PRVF-4657: Name resolution setup check for "scancluster" (IP address: 190.10.1.101) failed.
网格基础设施安装的 root.sh 脚本失败,显示以下错误消息: PRCR-1079: Fails to start resource ora.gns(PRCR-1079:启动 ora.gns 资源失败) 要解决该问题,请执行以下操作: 1 卸载网格安装。 2 设置公共接口的网关地址。 3 安装网格基础设施。 卸载 要卸载 Oracle 数据库和数据库二进制软件,作为 Oracle 用户登录并执行以 下命令: /deinstall/deinstall 要卸载网格基础设施二进制软件,作为网格用户登录并执行以下命令: /deinstall/deinstall 网络 群集验证检查失败 当公共网络 IP 地址不可路由时会发生此问题。例如:192.168.xxx.
在 Oracle 11g R2 Clusterware 安装过程中网络时间协议 (NTP) 先决条 件检查失败 当通过启动没有回旋选项 -x 的 NTP 守护程序安装 Oracle 11g R2 Clusterware 时,NTP 先决条件检查失败。 如下所示,将 – x 选项添加至 /etc/sysconfig/ntpd 文件,并重新启动 ntpd。 [root@node1]# cat /etc/sysconfig/ntpd # 默认将 root 放置在 id 'ntp:ntp'。 OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.
操作系统 操作系统无法识别新的外围设备 当您向 Dell PowerEdge 系统添加新的外围设备时,操作系统无法识别该 设备。禁用 Kudzu 时会出现此问题。 向系统添加新的外围设备后,手动运行 Kudzu。 在带 Dell PERC H200 集成适配器的 Dell PowerEdge 系统上安装操作 系统时未检测到硬盘 如果使用 Dell PERC H200 集成适配器在内部硬盘上配置 RAID,则在安装 操作系统时使用驱动程序更新磁盘。 有关在安装过程中使用驱动程序更新磁盘的详情,请参阅驱动程序更新磁盘 的自述文件。从 support.dell.com 下载驱动程序更新磁盘。 在带 Dell PERC H200 集成存储卡的 Dell PowerEdge 系统上引导更新 的内核 (2.6.18-128.7.1.
故障排除
Systèmes Dell™ PowerEdge™ Oracle Database® sous Enterprise Linux® x86_64 Guide de dépannage Version 1.
Remarques et précautions REMARQUE : une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. PRÉCAUTION : une PRÉCAUTION vous avertit d'un risque de dommage matériel ou de perte de données en cas de non-respect des instructions données. ____________________ Les informations contenues dans ce document sont sujettes à modification sans préavis. © 2010 Dell Inc. Tous droits réservés.
Tables des matières 1 Présentation . . . . . . . . . . . . . . . . . . . . . . Documentation requise pour le déploiement de la base de données Dell™ Oracle . . . . . . . . . . 39 . . . 40 Obtention d'aide . . . . . . . . . . . . . . . . . . . . . 40 Support Dell . . . . . . . . . . . . . . . . . . . . . 40 Terminologie utilisée dans le présent document . . . . . . . . . . . . . . . . . . . . 41 . . . . . . . . . . . . . . . . . . . . . . .
Divers . . . . . . . . . . . . . . . . . . . . . . . . . . . Échec de l'utilitaire de vérification Oracle Clusterware après l'installation de Grid Infrastructure . . . . . . . . . . . . . . . . 46 Erreur INS-32026 lors de la spécification de l'emplacement du répertoire racine du logiciel Grid . . . . . . . . . . . . . . . . . . .
Système d'exploitation . . . . . . . . . . . . . . . . . Le système d'exploitation ne reconnaît pas le nouveau périphérique . . . . . . . . . . . . Les disques durs ne sont pas détectés pendant l'installation du système d'exploitation sur les systèmes Dell PowerEdge avec l'adaptateur intégré Dell PERC H200 . . . . . . . 49 49 . 49 Les disques durs ne sont pas détectés lors du démarrage du noyau mis à jour (2.6.18-128.7.1.
Tables des matières
Présentation Ce document s'applique à Oracle® Database11g R2 sous Red Hat® Enterprise Linux® ou Oracle Enterprise Linux 5.3 AS x86_64.
• Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64Troubleshooting Guide (Oracle Database sous Enterprise Linux x86_64 pour systèmes Dell PowerEdge - Guide de dépannage) : indique comment dépanner et résoudre les erreurs rencontrées pendant les procédures d'installation décrites dans les modules précédents. REMARQUE : tous les modules indiquent comment recevoir une assistance technique auprès de Dell.
Support Oracle • Pour obtenir des informations relatives au logiciel Oracle et au clusterware de l'application, ainsi que les coordonnées d'Oracle, reportez-vous au site Web oracle.com ou à votre documentation Oracle. • Pour obtenir des informations sur l'assistance technique, les téléchargements et d'autres informations techniques, rendez-vous sur le site Web support.oracle.com.
Présentation
Dépannage La section suivante indique les solutions recommandées en cas de problème lié au déploiement et à l'utilisation d'Enterprise Linux® et d'Oracle®. Performances et stabilité Instabilité et performances médiocres d'Enterprise Linux Il y a instabilité et performances médiocres lorsque la taille de la zone globale du système d'Oracle (SGA) dépasse la taille recommandée. REMARQUE : assurez-vous que la taille de cette zone ne dépasse pas 65 % de la RAM totale du système.
c Entrez les lignes suivantes à l'invite SQL> : alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects = ’’ scope=spfile sid=’’ d Répétez l'étape c pour chaque nœud du cluster.
ASM (Automatic Storage Management) Problème de création de disque ASM avec EMC® PowerPath® Ce problème se produit lorsque PowerPath version 5.0.1-5.3 ne prend pas en charge les appels d'entrée/de sortie de oracleasm. La commande oracleasm createdisk échoue et affiche le message d'erreur suivant : marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED]. Pour résoudre le problème, procédez comme suit : 1 Effectuez l'opération /etc/init.
Divers Échec de l'utilitaire de vérification Oracle Clusterware après l'installation de Grid Infrastructure Ce problème se produit lorsque l'entrée IP de l'adresse IP virtuelle du service GNS (Grid Naming Service) n'est pas présente dans le fichier /etc/resolv.conf. Une fois l'installation de Grid Infrastructure terminée, runInstaller (GUI) affiche le message d'erreur suivant : INS-20802: Oracle Clusterware Verification Utility failed (INS-20802 : échec de l'utilitaire de vérification Oracle Clusterware).
Erreur INS-32026 lors de la spécification de l'emplacement du répertoire racine du logiciel Grid L'erreur INS-32026 s'affiche lorsque l'emplacement du logiciel Grid est spécifié sous le répertoire de base Oracle. Grid infrastructure pour l'installation d'un cluster affecte l'appartenance racine à tous les répertoires parents de l'emplacement du logiciel clusterware. Par conséquent, tous les répertoires nommés du chemin d'accès du logiciel Grid acquièrent l'appartenance racine.
Désinstallation Pour désinstaller Oracle Database et le fichier binaire Database, ouvrez une session en tant qu'utilisateur Oracle et exécutez la commande suivante : /deinstall/deinstall Pour désinstaller le fichier binaire de Grid Infrastructure, ouvrez une session en tant qu'utilisateur grid et exécutez la commande suivante : /deinstall/deinstall Mise en réseau Échec de la vérification du cluster Ce problème se produit lorsque l'adresse IP du réseau public n'est pas routable.
Système de stockage Fibre Channel Erreurs d'E/S et avertissements lors du chargement du module pilote HBA Fibre Channel Vous devez mettre à jour le pilote HBA, le BIOS et le micrologiciel du module Fibre Channel. Pour savoir quelles sont les versions prises en charge, voir le document “Solution Deliverable List (SDL)” (Liste des éléments pris en charge) disponible sur le site dell.com/oracle.
Les disques durs ne sont pas détectés lors du démarrage du noyau mis à jour (2.6.18-128.7.1.el5) sur les systèmes Dell PowerEdge avec la carte de stockage intégrée Dell PERC H200 Pour résoudre ce problème, recompilez le pilote dkms (Dell Dynamic Kernel Module Support) pour le pilote mpt2sas avant de démarrer le noyau mis à jour en effectuant les étapes suivantes : a Sélectionnez l'ancien noyau lors du démarrage. b Exécutez la commande suivante pour créer le pilote du nouveau noyau.
Dell™ PowerEdge™-Systeme Oracle® Database unter Enterprise Linux® x86_64 Fehlerbehebungshandbuch Version 1.
Anmerkungen und Vorsichtshinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie das System besser einsetzen können. VORSICHTSHINWEIS: Durch einen VORSICHTSHINWEIS werden Sie auf potenzielle Gefahrenquellen hingewiesen, die Hardwareschäden oder Datenverlust zur Folge haben könnten, wenn die Anweisungen nicht befolgt werden. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2010 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . . . Erforderliche Dokumentation für die Bereitstellung der Dell™ Oracle Database . . . . . . . . . . . . . . . 57 . . . . 58 . . . . . . . . . . . . . . . . 58 . . . . . . . . . . . . . . . . . . . . 58 In diesem Dokument verwendete Terminologie Wie Sie Hilfe bekommen Dell Support . . . . . . . . . . . . . . . . . . . 59 . . . . . . . . . . . . . . . . . . . 61 Oracle-Support . 2 57 Fehlerbehebung .
Verschiedenes . . . . . . . . . . . . . . . . . . . . . . Fehler beim Oracle Clusterware ÜberprüfungsDienstprogramm nach Installation der Grid-Infrastruktur . . . . . . . . . . . . . . Bei der Angabe des Grid-Stammspeicherorts wird der Fehler INS-32026 angezeigt . . . . . . . 64 . . . 64 Wenn Sie mit einer anderen Benutzerkennung als „oracle“ auf die Datenbank zugreifen, erhalten Sie die folgenden Fehlermeldungen: ORA01034: ORACLE Not Available und Linux Error 13: Permission Denied . . . . . . . . .
Betriebssystem . . . . . . . . . . . . . . . . . . . . . . Neues Peripheriegerät wird vom Betriebssystem nicht erkannt . . . . . . . . . . . . . . . . . . . Bei der Installation des Betriebssystems auf Dell PowerEdge Systemen mit integriertem Dell PERC H200 Adapter werden die Festplatten nicht erkannt . . . . . . . . . . 67 . 67 . . 67 Beim Hochfahren des aktualisierten Kernels (2.6.18-128.7.1.
Inhalt
Übersicht Dieses Dokument gilt für folgende Konfigurationen: Oracle® Database 11g R2 unter Red Hat® Enterprise Linux® oder Oracle Enterprise Linux 5.3 AS x86_64.
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 Virtueller Datenträger bei Dell PowerVault™ SASund iSCSI-Speicherumgebungen (Dell MD3000 und Dell MD3000i mit Dell MD1000-Erweiterung) verwendet.
Oracle-Support • Informationen über Schulungen für Oracle-Software und AnwendungsClusterware sowie Kontaktinformationen von Oracle finden Sie unter oracle.com oder in Ihrer Oracle-Dokumentation. • Technischer Support, Downloads und weitere technische Informationen sind unter support.oracle.com verfügbar.
Übersicht
Fehlerbehebung In diesem Abschnitt sind empfohlene Lösungsmaßnahmen für Probleme aufgeführt, die beim Einrichten und beim Einsatz von Enterprise Linux® und Oracle®-Software auftreten können. Leistung und Stabilität Unzureichende Leistung und instabiler Betrieb von Enterprise Linux Unzureichende Leistung und instabiler Betrieb treten auf, wenn die Oracle System Global Area (SGA) die empfohlene Größe übersteigt.
c Geben Sie an der Eingabeaufforderung SQL> folgende Zeilen ein: alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects= ’’ scope=spfile sid=’’ d Wiederholen Sie Schritt c für jeden Clusterknoten.
Automatische Speicherverwaltung (ASM) Problem bei ASM-Datenträgererstellung mit EMC® PowerPath® Dieses Problem tritt auf, wenn PowerPath Version 5.0.1-5.3 die von oracleasm durchgeführten Eingabe/Ausgabe-Aufrufe nicht unterstützt. Der Befehl oracleasm createdisk schlägt fehl und die folgende Fehlermeldung wird angezeigt: marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED].
Verschiedenes Fehler beim Oracle Clusterware Überprüfungs-Dienstprogramm nach Installation der Grid-Infrastruktur Dieses Problem tritt auf, wenn die Datei /etc/resolv.conf keinen IP-Eintrag für die virtuelle IP-Adresse (VIP) des Grid Naming Service (GNS) enthält. Nach der erfolgreichen Installation der Grid-Infrastruktur zeigt runInstaller (GUI) die folgende Fehlermeldung an: INS-20802: Oracle Clusterware Verification Utility failed.
Wenn Sie mit einer anderen Benutzerkennung als „oracle“ auf die Datenbank zugreifen, erhalten Sie die folgenden Fehlermeldungen: ORA01034: ORACLE Not Available und Linux Error 13: Permission Denied Dieses Problem tritt auf, wenn am Remote-Knoten nicht die erforderlichen Berechtigungen eingerichtet sind. Geben Sie an allen Remote-Knoten als Benutzer root den folgenden Befehl ein: chmod 6751 $ORACLE_HOME Bei der Installation der Grid-Infrastruktur tritt ein Fehler bei Ausführung des Scripts root.
Netzwerk Die Clusterüberprüfung schlägt fehl Dieses Problem tritt auf, wenn die IP-Adresse des öffentlichen Netzwerks nicht routingfähig ist. Beispiel: 192.168.xxx.xxx Um das Problem zu beheben, weisen Sie eine gültige, routingfähige öffentliche IP-Adresse zu.
Fibre-Channel-Speichersystem Beim Laden des Fibre-Channel HBA-Treibermoduls werden E/A-Fehler und -Warnmeldungen angezeigt Sie müssen den HBA-Treiber, das BIOS und die Firmware des Fibre-ChannelModuls aktualisieren. Die unterstützten Versionen sind in der Solution Deliverable List (SDL) auf dell.com/oracle aufgeführt.
Beim Hochfahren des aktualisierten Kernels (2.6.18-128.7.1.el5) auf Dell PowerEdge Systemen mit integrierter Dell PERC H200 Speicherkarte werden die Festplatten nicht erkannt Um dieses Problem zu beheben, müssen Sie vor dem Hochfahren des aktualisierten Kernels den Dell dkms-Treiber (dkms = Dynamic Kernel Module Support) für den mpt2sas-Treiber neu kompilieren. Führen Sie dazu folgende Schritte aus: a Wählen Sie beim Hochfahren den alten Kernel aus.
Dell™ PowerEdge™ システム Enterprise Linux® x86_64 で使 用する Oracle® データベース トラブルシューティン グガイド バージョン 1.
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明してい ます。 注意 : 手順に従わない場合は、ハードウェアの損傷やデータの損失の可能 性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2010 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられてい ます。 本書に使用されている商標:Dell、DELL ロゴ、PowerEdge、および PowerVault は Dell Inc. の商標です。EMC、および PowerPath は EMC Corporation の登録商標です。 Oracle は米国その他の国における Oracle Inc. の登録商標です。Red Hat および Red Hat Enterprise Linux は米国その他の国における Red Hat, Inc.
目次 1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dell™ Oracle データベースの導入に必 要なマニュアル . . . . . . . . . . . . . . . . . . . . 73 . . . . . . . . . . . . . 74 . . . . . . . . . . . . . . . . . . . . . 74 本書で使用されている用語 . 困ったときは . デルサポート . . . . . . . . . . . . . . . . . . . Oracle のサポート . 2 . . . . . . . . . . . . . . . . トラブルシューティング . パフォーマンスと安定性 75 77 . . . . . . . . . . . . . . . 77 . . . . Oracle アラートファイル内にインタフェー スタイプ不明の警告が表示される . . . . . . Enterprise Manager 74 . . . .
oracle 以外のユーザーとして、データベ ースに接続する際に、ORA01034: ORACLE Not Available(ORACLE が使用できません)およ び Linux Error 13: Permission Denied(アクセス が拒否されました)というエラーメッセー ジが表示される . . . . . . . . . . . . . . . . . . 81 Grid Infrastructure のインストールで root.sh スクリプトが失敗し、PRCR-1079: Fails to start resource ora.gns(リソース ora.gns の起動に 失敗しました)というエラーメッセージが 表示される . . . . . . . . . . . . . . . . . . . . . 81 インストールの削除 . ネットワーク . . . . . . . . . . . . . . . . . 81 . . . . . . . . . . . . . . . . . . . . . . 82 クラスタ検証テストが失敗する . . . . . . .
概要 本書の説明は、Red Hat® Enterprise Linux® または Oracle Enterprise Linux 5.
本書で使用されている用語 本書では、「LUN」および「仮想ディスク」という語が使われています。 これらの用語は同義語であり、どちらを使用しても構いません。「LUN」 は Dell/EMC ファイバーチャネルストレージシステムの環境で、 「仮想 ディスク」は Dell PowerVault™ SAS および iSCSI(Dell MD3000 およ び Dell MD3000i + Dell MD1000 拡張)ストレージの環境で、通常使わ れる用語です。 本書で使われている Enterprise Linux という用語は、特に説明のない限 り Red Hat Enterprise Linux と Oracle Enterprise Linux の両方に適用 されます。 困ったときは 本項では、ホワイトペーパー、サポートされている構成、トレーニ ング、テクニカルサポートに関する情報、および一般的な情報を入手す るためにデルまたは Oracle に問い合わせる方法を説明しています。 デルサポート • システムの使い方の詳細については、システムコンポーネントに付 属のマニュアルを参照してください。 • 各
Oracle のサポート • Oracle ソフトウェアおよびアプリケーションクラスタウェアのト レーニング、および Oracle へのお問い合わせの方法については、 oracle.com または Oracle のマニュアルを参照してください。 • テクニカルサポート、ダウンロード、その他の技術情報については、 support.oracle.com を参照してください。 • Oracle のインストールと設定については、 support.dell.
概要
トラブルシューティング 本項では、Enterprise Linux® および Oracle® ソフトウェアの導入と使 用にあたって発生する可能性のある問題と推奨する解決方法を示し ます。 パフォーマンスと安定性 Enterprise Linux のパフォーマンスが低下して、不安定になる Oracle SGA(System Global Area)が推奨サイズを超えていると、 パフォーマンスが低下し、システムが不安定になります。 メモ:SGA サイズがシステム RAM 合計容量の 65 パーセントを超えないよ うにします。 SGA サイズを小さくするには、次の手順を実行します。 コマンドプロンプトから free と入力して、RAM の合計容量を確認し、 Oracle パラメータファイル内の db_cache_size と shared_pool_size の両パラメータを上記のように変更します。 Oracle アラートファイル内にインタフェースタイプ不明の警告が 表示される この問題は、パブリックインタフェースがクラスタ通信(プライベート インタフェース)に設定されている場合に発生します。これはシステム パ
c SQL> プロンプトで以下の各行を入力します。 alter system set cluster_interconnects= < プライベート IP アドレス node1>’ scope=spfile sid=’’ alter system set cluster_interconnects =’< プライベート IP アドレス node2>’ scope=spfile sid=’’ d 各クラスタノードに対して、手順 c を繰り返します。 e 次のコマンドを入力して、すべてのノードでデータベースを再起 動します。 srvctl stop database –d srvctl start database –d f /opt/oracle/admin//bdump/alert_.
ASM(Automatic Storage Management) EMC® PowerPath® での ASM ディスク作成の問題 この問題は、PowerPath バージョン 5.0.1 ~ 5.3 が oracleasm による 入出力呼び出しをサポートしていない場合に発生します。oracleasm createdisk コマンドが失敗し、次のエラーメッセージが表示され ます。 marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED]. この問題を解決するには、以下の手順を実行します。 1 次のコマンドを使用して /etc/init.
その他 Grid Infrastructure のインストール後に Oracle Clusterware 検証ユー ティリティが失敗する この問題は、Grid Naming Service(グリッドネーミングサービス [GNS])仮想 IP(VIP)の IP エントリが /etc/resolv.
oracle 以外のユーザーとして、データベースに接続する際に、 ORA01034: ORACLE Not Available(ORACLE が使用できません)およ び Linux Error 13: Permission Denied(アクセスが拒否されました) というエラーメッセージが表示される この問題は、該当するリモートノードに必要な権限が設定されていない 場合に発生します。 すべてのリモートノードで、root ユーザーとして次のコマンドを入力 します。chmod 6751 $ORACLE_HOME Grid Infrastructure のインストールで root.sh スクリプトが失敗し、 PRCR-1079: Fails to start resource ora.gns(リソース ora.
ネットワーク クラスタ検証テストが失敗する この問題は、パブリックネットワークの IP アドレスがルータブルでな い場合に発生します。たとえば、192.168.xxx.xxx です。 この問題を解決するには、有効でルータブルなパブリック IP アドレス を割り当てます。 Oracle 11g R2 Clusterware のインストール中にネットワークタイム プロトコル(NTP)前提条件の確認が失敗する オプション -x を旋回せずに NTP デーモンを開始することで Oracle 11g R2 Clusterware をインストールすると、NTP 前提条件の確 認が失敗します。 下に示すように /etc/sysconfig/ntpd ファイルに –x オプションを追 加し、ntpd を再スタートします。 [root@node1]# cat /etc/sysconfig/ntpd # Drop root to id 'ntp:ntp' by default. OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.
ファイバーチャネルストレージシステム ファイバーチャネル HBA ドライバモジュールのロード中に I/O エ ラーと警告が表示される ファイバーチャネルモジュール用の HBA ドライバ、BIOS、および ファームウェアをアップデートする必要があります。サポートされてい るバージョンについては、dell.
Dell PERC H200 Integrated ストレージカードを搭載した Dell PowerEdge システムで、アップデートしたカーネル (2.6.18-128.7.1.el5)の起動中にハードディスクが検出されない この問題を解決するには、以下の手順を行うことで、アップデートした カーネルを起動する前に、mpt2sas ドライバ用の Dell Dynamic Kernel Module Support(dkms)ドライバを再コンパイルします。 84 a 起動中に古いカーネルを選択します。 b 次のコマンドを実行して、新しいカーネル用のドライバをビルド します。 dkms build -m mpt2sas -v 02.00.00.00 -k 2.6.18128.7.1.el5 c 次のコマンドを実行して、モジュールをインストールします。 dkms install -m mpt2sas -v 02.00.00.00 -k 2.6.18128.7.1.
Sistemas Dell™ PowerEdge™ Base de datos Oracle® en Enterprise Linux® x86_64 Guía de solución de problemas versión 1.
Notas y precauciones NOTA: Una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. PRECAUCIÓN: Un mensaje de PRECAUCIÓN indica la posibilidad de daños en el hardware o la pérdida de datos si no se siguen las instrucciones. ____________________ La información contenida en este documento puede modificarse sin previo aviso. © 2010 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general . . . . . . . . . . . . . . . . Documentación necesaria para implantar la base de datos Oracle de Dell™ . . . . . . . . . . . . . . . . 91 . . . . . . . 92 . . . . . . . . . . . . . . . . . . . 92 Terminología utilizada en este documento Obtención de ayuda Asistencia de Dell . . . . . . . . . . . . . . . . . Asistencia de Oracle 2 . . . . . . . . . . . . . . . . Solución de problemas Rendimiento y estabilidad . 92 93 . . . . . . . . . . . . . . 95 . . . .
Varios . . . . . . . . . . . . . . . . . . . . . . . . . . . La utilidad de verificación del software de clúster Oracle falla tras la instalación de Grid Infrastructure . . . . . . . . . . . . . . . . Aparece el error INS-32026 al especificar la ubicación principal de Grid . . . . . . . . . . . Al conectarse a la base de datos como un usuario que no es Oracle, aparecen los mensajes de error: ORA01034: ORACLE not available y Linux Error 13: Permission denied . 98 99 . . . 99 . . . . . . . . . . .
Sistema operativo . . . . . . . . . . . . . . . . . . . . El sistema operativo no reconoce un dispositivo periférico nuevo . . . . . . . . . . . No se detectan discos duros durante la instalación del sistema operativo en los sistemas Dell PowerEdge con el adaptador integrado Dell PERC H200 . . . . . . No se detectan discos duros al iniciar el kernel actualizado (2.6.18-128.7.1.el5) en los sistemas Dell PowerEdge con la tarjeta de almacenamiento integrada Dell PERC H200 . . .
Contenido
Información general Este documento se aplica a la base de datos Oracle® 11g R2 que se ejecuta en Red Hat® Enterprise Linux® u Oracle Enterprise Linux 5.3 AS x86_64.
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 e iSCSI Dell PowerVault™ (Dell MD3000 y Dell MD3000i con alojamiento de expansión MD1000 de Dell).
Asistencia de Oracle • Para obtener información de formación sobre el software Oracle y el software de clúster de aplicaciones e información sobre cómo ponerse en contacto con Oracle, visite oracle.com o consulte la documentación de Oracle. • Encontrará información sobre asistencia técnica, descargas y otras cuestiones técnicas en support.oracle.com.
Información general
Solución de problemas En esta sección se indican las soluciones recomendadas para los problemas que pueden surgir al implantar y utilizar el software Enterprise Linux® y Oracle®. Rendimiento y estabilidad Enterprise Linux presenta un bajo rendimiento e inestabilidad El bajo rendimiento y la inestabilidad se producen cuando el tamaño del sistema SGA (Oracle System Global Area) sobrepasa el tamaño recomendado. NOTA: Asegúrese de que el tamaño de SGA no sobrepase el 65% de la RAM total del sistema.
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= ’’ d Repita el paso c para cada nodo del clúster.
Automatic Storage Management (ASM) Problema de creación de discos ASM con EMC® PowerPath® Este problema se produce cuando PowerPath versión 5.0.1-5.3 no admite las llamadas de entrada/salida que realiza oracleasm.
Varios La utilidad de verificación del software de clúster Oracle falla tras la instalación de Grid Infrastructure El problema se produce cuando no se incluye la entrada de IP virtual (VIP) del servicio de nombres de Grid (GNS) en el archivo /etc/resolv.conf. Tras instalar correctamente Grid Infrastructure, runInstaller (GUI) muestra el mensaje de error siguiente: INS-20802: Oracle Clusterware Verification Utility failed (INS-20802: Ha fallado la utilidad de verificación del software de clúster Oracle).
Al conectarse a la base de datos como un usuario que no es Oracle, aparecen los mensajes de error: ORA01034: ORACLE not available y Linux Error 13: Permission denied Este problema se produce cuando no se han establecido los permisos necesarios en el nodo remoto. En todos los modos remotos, escriba el comando siguiente como usuario root: chmod 6751 $ORACLE_HOME La secuencia de comandos root.
Funciones de red La comprobación de verificación del clúster falla Este problema se produce cuando la dirección IP de red pública no es enrutable. Por ejemplo: 192.168.xxx.xxx Para solucionar este problema, asigne una dirección IP pública enrutable válida.
Sistema de almacenamiento Fibre Channel Aparecen errores de E/S y avisos cuando se carga el módulo controlador HBA Fibre Channel Debe actualizar el controlador HBA, el BIOS y el firmware para el módulo Fibre Channel. Para las versiones admitidas, consulte la lista de soluciones disponibles (Solution Deliverable List, SDL) en dell.com/oracle.
No se detectan discos duros al iniciar el kernel actualizado (2.6.18-128.7.1.el5) en los sistemas Dell PowerEdge con la tarjeta de almacenamiento integrada Dell PERC H200 Para solucionar el problema, vuelva a compilar el controlador de soporte para módulo de kernel dinámico (dkms) de Dell para el controlador mpt2sas antes de iniciar el kernel actualizado mediante los pasos siguientes: a Seleccione el kernel antiguo al iniciar.