Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64 Troubleshooting Guide Version 4.
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 publication 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 . . . . . . . . . . . . . . . . . 7 . . . . . . . . . . . 8 . . . . . . . . . . . . . . . . . . . . . . . . 8 Terminology Used in this Document. Getting Help Dell Support . 2 7 . . . . . . . . . . . . . . . . . . . . . Troubleshooting . . . . . . . . . . . . . . . . . . . . . Performance and Stability . . . . . . . . . . . . . . . . .
Cluster Ready Services (CRS) . . . . . . . . . . . . . . CRS fails prematurely when trying to start . The Oracle Clusterware installation procedure fails . . . . . . . . . . . . . . . 11 . . . . . . . . 11 CRS fails to start when you reboot the nodes, or after entering /etc/init.d/init.crs start . . . . . . 12 . . . . . . 12 . . . . . . . . . . . . 14 When you run root.sh, CRS fails to start Node continuously reboots . CRS fails to start when you reboot the nodes, or after entering /etc/init.
Operating System . . . . . . . . . . . . . . . . . . . . When you add a new peripheral device to your Dell PowerEdge system, the operating system does not recognize the device . . . Using Dell DKMS Drivers After Upgrading the Kernel . 3 18 . . . . 18 . . . . . . . . . . . . 18 Oracle Security Patches and Recommended Patches . . . . . . . . . . . . . 19 Critical Patch Updates . . . . . . . . . . . . . . . . . . 19 Recommended Patches . . . . . . . . . . . . . . . . .
Contents
Overview The Oracle Database on Linux Advanced Server Troubleshooting Guide applies to Oracle Database 10g R2 running on Red Hat Enterprise Linux or Oracle Enterprise Linux 5.5 AS x86_64. Required Documentation for Deploying the Dell Oracle Database The Dell|Oracle Database Installation Documentation set is organized into a series of modules.
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 Power Vault SAS and iSCSI (Dell MD3000 and Dell MD3000i with MD1000 expansion) storage environment.
Troubleshooting This section provides recommended actions for problems that you may encounter while deploying and using your Enterprise Linux and Oracle software. Performance and Stability Enterprise Linux exhibits poor performance and instability; excessive use of swap space When Oracle System Global Area (SGA) exceeds the recommended size, Enterprise Linux exhibits poor performance. Always ensure that the SGA size does not exceed 65% of the total system RAM.
d Create these entries for each node in the cluster. 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_.log file, and verify that the private IP addresses are being used for all instances. Enterprise Manager The Enterprise Manager agent fails The Enterprise Manager fails when the Enterprise Manager repository is not populated.
Network Configuration Assistant (NETCA) NETCA fails, resulting in database creation errors NETCA fails because the public network, hostname, or virtual IP is not listed in the /etc/hosts.equiv file. 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. NETCA cannot configure remote nodes or a RAW device validation error occurs while running DBCA This issue occurs when the /etc/hosts.
CRS fails to start when you reboot the nodes, or after entering /etc/init.d/init.crs start CRS fails to start when the Cluster Ready Services CSS daemon is unable to write to the quorum disk. 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 logged in as root can write to the disk. Check the last line in the file $ORA_CRS_HOME/css/log/ocssd.log.
You can do this on RHEL4 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/. • The Oracle User does not have permissions on /var/tmp (specifically /var/tmp/.oracle). a Make User Oracle the owner of /var/tmp/.oracle by entering the following command: chown oracle.oinstall /var/tmp/.
Node continuously reboots Node reboots continuously when the node does not have access to the quorum disk on shared storage. Perform the following steps: a Start Linux in single-user mode and enter the following command: /etc/init.d/init.crs disable b Verify that the quorum disk is available and the private interconnect is alive. c Reboot and type: /etc/init.d/init.crs enable If the private interconnect is down: a Start Linux in single-user mode. b Enter the following command: /etc/init.d/init.
3 Logout using the following command: iscsiadm -m session --logout 4 To Rediscover and Re-login use the below command: iscsiadm -m discovery -t st -p -interface= --interface= iscsiadm -m discovery -t st -p -interface --login iscsiadm -m discovery -t st -p -interface --login You can check the above settings under /var/lib/iscsi/nodes/iqn*//default.
When connecting to the database as a user other than oracle, you receive the error messages 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, as user root, type: chmod 6751 $ORACLE_HOME Installation Oracle software fails to install on the nodes This issue occurs when the nodes’ system clocks are not identical.
Fibre Channel Storage System You receive I/O errors and warnings when you load the Fibre Channel HBA driver module The HBA driver, BIOS, or firmware must be updated. Check the Solution Deliverable List (SDL) on the Dell|Oracle Tested and Validated Configurations website at dell.com/oracle for the supported versions. Update as required the driver, BIOS, and firmware for the Fibre Channel HBAs.
Troubleshooting
Oracle Security Patches and Recommended Patches This section provides information about the recommended Oracle security patch updates and recommended patches. Critical Patch Updates Oracle releases quarterly Critical Patch Updates (CPUs) for fixing potential security vulnerabilities for Oracle products. These CPU patches are required to be applied to the production systems. Currently, the latest CPU patch for the Linux x86_64 platform is the Oracle 11g R1 11.1.0.7 Clusterware CPU patch 9369783.
Oracle Security Patches And Recommended Patches
Dell PowerEdge 系统 Enterprise Linux x86_64 上的 Oracle 数据库 故障排除指南 4.
注和小心 注:“注”表示可以帮助您更好地使用计算机的重要信息。 小心:“小心”表示如果不遵循说明,就有可能损坏硬件或导致数据丢失。 ____________________ 本出版物中的信息如有更改,恕不另行通知。 © 2010 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell™、DELL™ 徽标、PowerEdge™ 和 PowerVault™ 是 Dell Inc. 的商标; EMC® 和 PowerPath® 是 EMC Corporation 的商标; Intel®、 Pentium® 和 Celeron® 是 Intel Corporation 在美国 和其它国家 / 地区的注册商标; Oracle® 是 Oracle Inc. 在美国和其它国家 / 地 区的注册商标; Red Hat® 和 Red Hat Enterprise Linux® 是 Red Hat, Inc.
目录 1 概览 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 部署 Dell Oracle 数据库所需的说明文件 . . . . . . . 27 . . . . . . . . . . . . . . . 28 . . . . . . . . . . . . . . . . . . . . . . . . 28 本说明文件中使用的术语 获得帮助 . Dell 支持 2 故障排除 27 . . . . . . . . . . . . . . . . . . . . . . 28 . . . . . . . . . . . . . . . . . . . . . . . . . 29 性能和稳定性 . . . . . . . . . . . . . . . . . . . . . . Enterprise Linux 出现性能不佳和系统 不稳定现象;使用的交换空间过多 . . . . . . . 在 Oracle 警报文件中显示未知接口类 型警告;系统性能不佳 . . . . . . . . .
群集就绪服务 (CRS) . . . . . . . . . . . . . . . . . . . CRS 尝试启动时过早失败 . . . . . . . . . . . . . Oracle 群集件安装过程失败 . . . . . . . . . . . 当您重新引导节点或输入 /etc/init.d/init.crs start 时, CRS 无法启动 . . . . . . . . . 32 . . . . . . . . . . . . . . . 33 . . . . 34 . . . . . . . . . . . . . . . . 34 在单击 DBCA Summary (DBCA 摘要) 窗口中的 OK (确定)时没有响应 . . 其它 . . . . . 34 . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 使用 Dell Deployment CD 1 安装软件时 出现 dd 失败错误信息 . . . . . . . . . . . . . . .
操作系统 . . . . . . . . . . . . . . . . . . . . . . . . . 当您向 Dell PowerEdge 系统添加新的 外围设备时,操作系统无法识别该设备 . . . . 36 . . . . . 36 . . . . . . . . . 37 . . . . . . . . . . . . . . . . . 37 . . . . . . . . . . . . . . . . . . . . 37 升级内核后使用 Dell DKMS 驱动程序 . 3 Oracle 安全增补软件和建议 的增补软件 . . . . . . . . . . . . . . 关键的增补软件更新 .
目录
概览 “ The Oracle Database on Linux Advanced Server Troubleshooting Guide” (Linux 高级服务器上的 Oracle 数据库:故障排除指南)适用于在 Red Hat Enterprise Linux 或 Oracle Enterprise Linux 5.
本说明文件中使用的术语 本说明文件中使用了逻辑单元号码 (LUN) 和虚拟磁盘两个术语。这些术语 是同义词并可互换使用。术语 LUN 通常在 Dell/EMC 光纤信道存储系统环 境中使用,而虚拟磁盘通常在 Dell Power Vault SAS 和 iSCSI(Dell MD3000 和带有 MD1000 扩展的 Dell MD3000i)存储环境中使用。 除非特别说明,本说明文件使用的术语 Enterprise Linux 适用于 Red Hat Enterprise Linux 和 Oracle Enterprise Linux。 获得帮助 本节介绍有关如何联系 Dell 或 Oracle 以获取白皮书、支持的配置、培训、 技术支持和一般信息的信息。 Dell 支持 28 • 有关使用系统的详情,请参阅随系统组件附带的说明文件。 • 有关白皮书、Dell 支持的配置和一般信息,请参阅位于 dell.
故障排除 本节介绍在部署及使用 Enterprise Linux 和 Oracle 软件过程中可能会遇到的 问题的建议操作。 性能和稳定性 Enterprise Linux 出现性能不佳和系统不稳定现象;使用的交换空间 过多 当 Oracle System Global Area(系统全局区域,SGA)超过推荐大小时, Enterprise Linux 就会出现性能不佳现象。 请始终确保 SGA 大小不超过系统 总 RAM 的 65%。要减小 SGA 大小: 在命令提示符下输入 free,确定总 RAM,然后在 Oracle 参数文件中相应 减小 db_cache_size 和 shared_pool_size 参数的值。 在 Oracle 警报文件中显示未知接口类型警告;系统性能不佳 当公用接口配置为群集通信(专用接口)时会发生此问题。 在一个节点上执行以下步骤,强制群集通信使用专用接口: a 作为用户 oracle 登录。 b 在命令提示符下,输入 sqlplus "/ as sysdba"。屏幕将显 示 SQL> 提示符。 c 在 SQL> 提示符下,输入以下行: alter system
Enterprise Manager Enterprise Manager 代理失败 未装入 Enterprise Manager 存储库时 Enterprise Manager 失败。 输入以下命令,为数据库控制台重新创建配置文件和存储库: emca -config dbcontrol db repos recreate 有关详细说明,请参阅 Oracle Metalink Note # 330976.1。 Oracle 群集文件系统 2 (OCFS2) 当安装或卸载 OCFS 分区时系统挂起 两个节点恰好同时卸载 OCFS 分区时会出现这个问题。 小心:请勿同时重新引导多个系统。 注:建议您不要在活动节点上重新启动网络。当尝试从群集中的任何活 动节点重新启动网络服务时,该节点将无限期地挂起。这是 OCFS2 的预 期行为。 网络配置助手 (NETCA) NETCA 失败,导致数据库创建出现错误 由于公用网络、主机名或虚拟 IP 未在 /etc/hosts.equiv 文件中列出而导致 NETCA 失败。 在启动 NETCA 之前,确保已为公用网络分配了主机名,且 /etc/hosts.
群集就绪服务 (CRS) CRS 尝试启动时过早失败 请参阅 Oracle 错误 4698419。请访问 My Oracle Suppor Web 站点 support.oracle.com。 应用 My Oracle Support Web 站点 support.oracle.com 上提供的增补软件 4698419。 Oracle 群集件安装过程失败 由于 EMC PowerPath 设备名称在各节点内不一致而导致 Oracle 群集件安装 失败。 在安装 Oracle 群集件之前,重新启动 PowerPath,并确保各群集节点内的 PowerPath 设备名称一致。 当您重新引导节点或输入 /etc/init.d/init.crs start 时,CRS 无法启动 群集就绪服务 CSS 守护程序无法向仲裁磁盘写入数据时 CRS 无法启动。 重新引导节点或键入以下内容以尝试再次启动服务: root.sh from /crs/oracle/product/11.1.
运行 root.sh 时,CRS 无法启动 注:确保已定义所有公用和专用节点名称,并且可以对节点名称执行 ping 命令。 在解决网络问题之后,通过重新引导节点或从 /crs/oracle/product/11.1.0/crs/ 中运行 root.sh,尝试再次启动服务。 以下是可导致 CRS 出现故障的问题列表: • OCR 文件和投票磁盘无法访问。 解决 I/O 问题,并通过重新引导节点或从 /crs/oracle/product/11.1.0/crs/ 中运行 root.sh,尝试再次启动服务。 • OCR 文件和投票磁盘尚未清除,仍包含旧信息。 清除 OCR 和投票磁盘以删除旧信息。 您可以在 RHEL4 中输入以下行来完成此操作: dd if=/dev/zero of=/dev/raw/ocr.dbf dd if=/dev/zero of=/dev/raw/votingdisk 通过重新引导节点或从 /crs/oracle/product/11.1.0/crs/ 中运行 root.sh, 尝试再次启动服务。 • Oracle 用户无权访问 /var/tmp(特别是 /var/tmp/.
c 查看以下目录中的日志文件,对问题进行诊断: $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 d 查看 /var/log/messages,了解有关 CRS init 脚本的所有错误信息。 e 收集所有支持诊断的日志文件。 节点频繁地重新引导 节点无权访问共享存储设备上的仲裁磁盘时,该节点会频繁地重新引导。 请执行以下步骤: a 在单用户模式下启动 Linux 并输入以下命令: /etc/init.d/init.crs disable b 验证仲裁磁盘是否可用以及专用互连是否激活。 c 重新引导并键入:/etc/init.d/init.crs enable 如果专用互连中断: a 在单用户模式下启动 Linux。 b 输入以下命令: /etc/init.d/init.
当您重新引导节点或输入 /etc/init.d/init.crs start 时,CRS 无法启动 1 将 /etc/iscsi/iscsid.conf node.session.timeo.replacement_timeout = 144 更改为 node.session.timeo.
其它 使用 Dell Deployment CD 1 安装软件时出现 dd 失败错误信息 使用 Enterprise Linux CD 的副本时会出现此问题。请始终使用原始 CD。 刻录 CD 映像 (ISO) 时,请使用正确的选项(例如,如果使用 cdrecord 命令时为 -dao 选项)。 当作为 oracle 以外的用户连接到数据库时,出现错误信息 ORA01034: ORACLE not available(ORA01034:ORACLE 不可用)和 Linux Error 13: Permission denied(Linux 错误 13:权限被拒绝) 未在远程节点上设置所需的权限时会出现此问题。 在所有远程节点上,作为用户 root 键入:chmod 6751 $ORACLE_HOME 安装 在节点上无法安装 Oracle 软件 节点系统时钟不一致时会出现此问题。 请执行以下过程之一: • 确保 Oracle 软件安装节点上的系统时钟设置为比其余节点的时钟稍晚 一些。 • 将其中一个节点配置为 NTP 服务器,以同步群集中的其余节点。 运行 root.
光纤信道存储系统 载入光纤信道 HBA 驱动程序模块时,收到 I/O 错误和警告 必须更新 HBA 驱动程序、BIOS 或固件。 查看 Dell|Oracle Tested and Validated Configurations(经 Dell|Oracle 测试和 验证的配置)Web 站点 dell.
Oracle 安全增补软件和建议的增 补软件 本节提供有关建议的 Oracle 安全增补软件更新和建议的增补软件的信息。 关键的增补软件更新 Oracle 每个季度都会发行重要的增补软件更新 (CPU),用于修正 Oracle 产 品的潜在安全漏洞。这些 CPU 增补软件必须应用到生产系统。 目前,适用于 Linux x86_64 平台的最新 CPU 增补软件为 Oracle 11g R1 11.1.0.7 群集件 CPU 增补软件 9369783。 建议的增补软件 Dell 建议您应用适用于 Linux x86_64 平台的 Oracle 建议的数据库增补软件 集。有关 Oracle 建议的最新增补软件,请参阅 My Oracle Support Web 站点 support.oracle.com 上的 Metalink Note #756671.1。 对于 Linux x86_64 上的 Oracle 11g R1 11.1.0.7 群集件,Oracle 当前建议的 增补软件为: • 11.1.0.7 通用建议增补软件,增补软件 9165206 • 11.1.0.7 CRS 建议的 11.1.
Oracle 安全增补软件和建议的增补软件
Systèmes Dell PowerEdge Oracle Database sur Enterprise Linux x86_64 Guide de dépannage Version 4.
Remarques et précautions REMARQUE : Une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. PRÉCAUTION : Une PRÉCAUTION indique un risque d’endommagement du matériel ou de perte de données en cas de non respect des instructions. ____________________ Les informations contenues dans ce document sont sujettes à modification sans préavis. © 2010 Dell Inc. tous droits réservés.
Table des matières 1 Présentation . . . . . . . . . . . . . . . . . . . . . . Documentation requise pour déployer la base de données Dell Oracle . . . . . . . . . . . . . . 46 . . . . . . . . . . . . . . . . . . . . . 46 Support Dell . 2 Dépannage 45 . . . Terminologie utilisée dans le présent document . Obtention d’aide 45 . . . . . . . . . . . . . . . . . . . . 46 . . . . . . . . . . . . . . . . . . . . . . . 47 Performances et stabilité . . . . . . . . . . . . . . . .
Assistant de configuration réseau (NETCA) . . . . . . . Echec de l’assistant NETCA provoquant des erreurs liées à la création des bases de données. . . . . . . . . . . . . . . . . . L’assistant NETCA ne parvient pas à configurer les nœuds distants, ou une erreur liée à la validation d’un périphérique RAW? survient lors de l’exécution de DBCA . . . . . . . . . . . . . . Cluster Ready Services (CRS) 49 . 49 . . . . . . . . . . . . . . 49 Echec des services CRS en cours de démarrage . 49 . . .
Installation . . . . . . . . . . . . . . . . . . . . . . . . Echec de l’installation du logiciel Oracle sur les nœuds . . . . . . . . . . . . . . . . 56 Lorsque vous exécutez le script root.sh, l’utilitaire ne parvient pas à formater le disque OCR . . . . . 56 Mise en réseau . . . . . . . . . . . . . . . . . . . . . La vérification du cluster échoue Système de stockage Fibre Channel Système d’exploitation 56 . . . . . . . . . . 56 . . . . . 56 . . . . . . . . . . . . . . . . .
Table des matières
Présentation Le guide de dépannage d’Oracle Database sur Linux Advanced Server s’applique à Oracle Database 10g R2 s’exécutant sur Red Hat Enterprise Linux ou Oracle Enterprise Linux 5.5 AS x86_64. Documentation requise pour déployer la base de données Dell Oracle La documentation relative à l’installation de la base de données Dell|Oracle est organisée en une série de modules.
Terminologie utilisée dans le présent document Les termes LUN (numéro d’unité logique) et disque virtuel sont synonymes et sont interchangeables. Le terme «LUN» est généralement utilisé pour les environnements de système de stockage Dell|EMC Fibre Channel alors que le terme «disque virtuel» est plutôt réservé aux environnements de stockage Dell Power Vault SAS et iSCSI (Dell MD3000 et Dell MD3000i avec châssis d’extension MD1000).
Dépannage La section suivante indique les mesures recommandées en cas d’incident lié au déploiement et à l’utilisation d’Enterprise Linux et d’Oracle. Performances et stabilité Instabilité et performances médiocres d’Enterprise Linux ; utilisation excessive de l’espace de pagination Lorsque Oracle System Global Area (SGA) dépasse la taille recommandée, Enterprise Linux présente des performances médiocres. Vérifiez que la taille de la zone SGA ne dépasse pas 65 % de la RAM totale du système.
d Créez ces entrées pour chaque nœud du cluster. e 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 f Ouvrez le fichier /opt/oracle/admin//bdump/alert_.log et vérifiez que les adresses IP privées sont utilisées pour toutes les instances. Enterprise Manager Echec de l’agent d’Enterprise Manager échoue Enterprise Manager échoue lorsque son référentiel est vide.
Assistant de configuration réseau (NETCA) Echec de l’assistant NETCA provoquant des erreurs liées à la création des bases de données L’assistant NETCA échoue car 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. Avant de lancer NETCA, assurez-vous 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.
Echec de l’installation d’Oracle Clusterware L’installation d’Oracle Clusterware échoue car les noms de périphérique EMC PowerPath ne sont pas uniformes sur tous les nœuds. 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. Echec des services CRS au redémarrage des nœuds ou lorsque vous entrez /etc./ini.d/init.
Les services CRS peuvent échouer en raison des problèmes suivants : • Le fichier OCR et le disque de vote sont inaccessibles. 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 de /crs/oracle/product/11.1.0/crs/ • Le fichier OCR et le disque de vote n’ont pas été vidés et contiennent d’anciennes données. Videz le fichier OCR et les disques de vote afin d’effacer les anciennes données.
Si toutes les autres étapes du dépannage des services CRS échouent, procédez alors comme suit : a Pour activer le débogage, ajoutez la ligne suivante : to root.sh: set -x b Essayez de redémarrer le service en exécutant le script root.sh à partir du répertoire suivant : /crs/oracle/product/11.1.
Redémarrage en boucle du nœud Le nœud redémarre continuellement lorsqu’il n’a pas accès au disque quorum sur la ressource de stockage partagée. Effectuez les opérations suivantes : a Démarrez Linux en mode mono-utilisateur et entrez la commande suivante : /etc./init.d/init.crs disable b Vérifiez que le disque quorum est accessible et que l’interconnexion privée est fonctionnelle. c Redémarrez et tapez : /etc./init.d/init.
Les services CRS échouent au redémarrage des nœuds ou lorsque vous entrez la commande /etc./ini.d/init.crs start 1 Modifiez /etc/iscsi/iscsid.conf node.session.timeo.replacement_timeout = 144 en node.session.timeo.replacement_timeout = 30 2 Quittez les sessions iscsi existantes, procédez de nouveau à la détection et reconnectez-vous pour modifier le délai d’expiration.
Assistant de configuration de base de données (DBCA) Le système ne répond pas lorsque vous cliquez sur OK dans la fenêtre DBCA Summary (Résumé de l’assistant DBCA). Il s’agit d’un problème de synchronisation JRE (Java Runtime Environment). Cliquez de nouveau sur OK. Si vous ne recevez pas de réponse, relancez l’installation du logiciel DBCA. Divers Vous recevez des messages d’erreur dd lorsque vous installez le logiciel à l’aide du CD Dell Deployment n°1.
Installation Echec de l’installation du logiciel Oracle sur les nœuds Ce problème se produit lorsque les horloges système des nœuds ne sont pas synchronisées. 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. Lorsque vous exécutez le script root.
Système d’exploitation Les nouveaux périphériques ajoutés à un système Dell PowerEdge ne sont pas reconnus par le système d’exploitation Ce problème se produit lorsque Kudzu est désactivé. Exécutez Kudzu manuellement une fois le nouveau périphérique ajouté au système.
Dépannage
Correctifs de sécurité Oracle et correctifs recommandés Cette section traite des mises à jour de sécurité Oracle et des correctifs recommandés par Oracle. Mises à jour critiques Oracle édite des mises à jour critiques (CPU, Critical Patch Update) tous les trois mois. Celles-ci permettent de corriger les vulnérabilités que pourraient présenter certains produits Oracle. Ces mises à jour critiques doivent être impérativement appliquées aux systèmes de production.
Correctifs de sécurité Oracle et correctifs recommandés
Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 Fehlerbehebungshandbuch Version 4.
Anmerkungen und Vorsichtshinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie den Computer besser einsetzen können. VORSICHTSHINWEIS: Ein VORSICHTSHINWEIS warnt vor möglichen Beschädigungen der Hardware oder vor Datenverlust, falls die Anweisungen nicht befolgt werden. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2010 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . . . Erforderliche Dokumentation zum Bereitstellen von Dell Oracle Database . . . . . . . . . . . . . . . . 67 In diesem Dokument verwendete Terminologie . . . . 68 . . . . . . . . . . . . . . . . 68 . . . . . . . . . . . . . . . . . . . . 68 Wie Sie Hilfe bekommen Dell Support . 2 67 Fehlerbehebung . . . . . . . . . . . . . . . . . . . . Leistung und Stabilität . . . . . . . . . . . . . . . . . .
Network Configuration Assistant (NETCA) . . . . . . . Fehlschlagen von NETCA führt zu Fehlern bei der Datenbankerstellung . . . . . . . . . . . . Mit NETCA lassen sich keine Remote-Knoten konfigurieren oder Fehler beim Überprüfen eines Ursprungsgeräts (RAW device validation error) beim Ausführen von DBCA . . . . . . . . . . . . Cluster Ready Services (CRS) 71 . . . . . . . . . . . . . . 71 . . . . . . . . . . Fehlschlagen des Oracle Clusterware-Installationsvorgangs . . . . . . . . .
Installation . Oracle-Software lässt sich auf den Knoten nicht installieren . . . . . . . . . . 78 . . . . . . . . . . . . . . . . . . . . . . . . 78 . . . . . . . 78 . . . . . . . . . . . . . 78 Fehlschlagen der Clusterüberprüfung Fibre-Channel-Speichersystem Sie erhalten E/A-Fehler und -Warnmeldungen, wenn Sie das Fibre-Channel-HBA-Treibermodul laden. Betriebssystem . . . . . . 78 . . . . . . . . . . . . . . . . . . . . .
Inhalt
Übersicht Das Fehlerbehebungshandbuch für Oracle Database unter Linux Advanced Server betrifft Oracle Database 10g R2 unter Red Hat Enterprise Linux oder Oracle Enterprise Linux 5.5 AS x86_64. Erforderliche Dokumentation zum Bereitstellen von Dell Oracle Database Der Dokumentationssatz für die Dell|Oracle-Datenbankinstallation ist als Reihe von Modulen aufgebaut.
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 SAS- und iSCSISpeicherumgebungen (Dell MD3000 und Dell MD3000i mit MD1000Erweiterung) verwendet.
Fehlerbehebung In diesem Abschnitt sind empfohlene Maßnahmen für Probleme aufgeführt, die bei der Bereitstellung und beim Einsatz von Enterprise Linux und OracleSoftware auftreten können. Leistung und Stabilität Unzureichende Leistung und instabiler Betrieb von Enterprise Linux; übermäßige Beanspruchung des Swap-Speichers Wenn Oracle System Global Area (SGA) die empfohlene Größe übersteigt, sinkt die Leistung von Enterprise Linux.
d Erstellen Sie diese Einträge für jeden Knoten im Cluster. e Starten Sie die Datenbank auf allen Knoten neu, indem Sie folgende Befehle eingeben: srvctl stop database –d srvctl start database –d f Öffnen Sie die Datei /opt/oracle/admin//bdump/alert_.log, und überprüfen Sie, ob für alle Instanzen die privaten IP-Adressen verwendet werden.
Network Configuration Assistant (NETCA) Fehlschlagen von NETCA führt zu Fehlern bei der Datenbankerstellung NETCA schlägt fehl, da die öffentliche Netzwerkschnittstelle, Hostname oder virtuelle IP nicht in der Datei /etc/hosts.equiv aufgeführt werden. 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.
Fehlschlagen des Oracle Clusterware-Installationsvorgangs Die Installation von Oracle Clusterware schlägt fehl, da die EMC PowerPathGerätenamen auf den Clusterknoten nicht einheitlich sind. Starten Sie PowerPath vor der Installation von Oracle Clusterware neu und stellen Sie sicher, dass die PowerPath-Gerätenamen auf allen Knoten einheitlich sind. Fehler beim CRS-Start, wenn Sie die Knoten neu starten oder nach Eingabe des Befehls /etc/init.d/init.
Kein CRS-Start beim Ausführen von root.sh ANMERKUNG: Stellen Sie sicher, dass die öffentlichen und privaten Knotennamen definiert sind und die Knotennamen auf Ping-Befehle reagieren. 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, nachdem Sie die Netzwerkprobleme behoben haben.
Wenn alle anderen Maßnahmen zur CRS-Fehlerbehebung erfolglos bleiben, führen Sie Folgendes aus: a Aktivieren Sie den Debug-Modus, indem Sie folgende Zeile hinzufügen: to root.sh: set -x b Versuchen Sie, den Dienst neu zu starten, indem Sie root.sh von folgendem Pfad ausführen: /crs/oracle/product/11.1.
Ständiger Neustart eines Knotens Ein Knoten startet wiederholt neu, wenn er keinen Zugriff auf den QuorumDatenträger im gemeinsamen Speichersystem hat. Führen Sie folgende Schritte durch: a Starten Sie Linux im Einzelbenutzer-Modus und geben Sie den folgenden Befehl ein: /etc/init.d/init.crs disable b Überprüfen Sie, ob der Quorum-Datenträger verfügbar ist und die private Verbindung funktioniert. c Starten Sie neu und geben Sie ein: /etc/init.d/init.
Fehler beim CRS-Start, wenn Sie die Knoten neu starten oder nach Eingabe des Befehls /etc/init.d/init.crs start 1 Ändern Sie /etc/iscsi/iscsid.conf node.session.timeo.replacement_timeout = 144 in node.session.timeo.replacement_timeout = 30 2 Melden Sie sich von bestehenden iscsi-Sitzungen ab, führen Sie eine Neuerkennung durch und melden Sie sich erneut an, damit das neue Zeitlimit in Kraft tritt.
Database Configuration Assistant (DBCA) Keine Reaktion beim Klicken auf OK im Fenster DBCA Summary (DBCA-Übersicht) Dies ist ein Zeitüberschreitungsproblem der Java Runtime Environment. Klicken Sie erneut auf OK. Falls noch immer keine Reaktion erfolgt, starten Sie die DBCA-Softwareinstallation neu. Verschiedenes dd-Fehlermeldungen während der Installation der Software mit der Dell Deployment-CD 1 Dieses Problem tritt auf, wenn eine Kopie der Enterprise Linux CD verwendet wird.
Installation Oracle-Software lässt sich auf den Knoten nicht installieren Dieses Problem tritt auf, wenn die Systemzeiten der Knoten nicht identisch sind. Führen Sie eines der folgenden Verfahren aus: • 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. Beim Ausführen von root.
Betriebssystem Wenn Sie dem Dell PowerEdge-System ein neues Peripheriegerät hinzufügen, wird das Gerät vom Betriebssystem nicht erkannt Das Problem tritt auf, wenn Kudzu deaktiviert ist. Führen Sie Kudzu nach dem Hinzufügen des neuen Peripheriegeräts manuell aus.
Fehlerbehebung
Oracle Sicherheits-Patches und empfohlene Patches Dieser Abschnitt informiert über die empfohlenen Oracle Sicherheits-PatchUpdates und empfohlene Patches. Kritische Patch-Updates Oracle gibt vierteljährlich kritische Patch-Updates (CPUs) heraus, mit denen potentielle Sicherheitslücken bei Oracle-Produkten behoben werden. Diese CPU-Patches müssen auf Produktionssystemen angewendet werden. Dies ist der aktuelle CPU-Patch für die Linux x86_64-Plattform: Oracle 11g R1 11.1.0.7 Clusterware CPU-Patch 9369783.
Oracle Sicherheits-Patches und empfohlene Patches
Dell PowerEdge システム Enterprise Linux x86_64 で使 用する Oracle データベース トラブルシューティン グガイド バージョン 4.
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明しています。 注意 : 手順に従わないと、ハードウェアの損傷やデータの損失につながる 可能性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2010 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書に使用されている商標:Dell™、DELL™ ロゴ、PowerEdge™、および PowerVault™ は Dell Inc. の商標です。EMC® および PowerPath® は EMC Corporation の商標です。 Intel®、Pentium® および Celeron® は米国その他の国における Intel Corporation の登録商 標です。Oracle® は米国その他の国における Oracle Inc.
目次 1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dell Oracle データベースの導入に必要 なマニュアル . . . . . . . . . . . . . . . . . . . . . . 89 . . . . . . . . . . . . . 90 . . . . . . . . . . . . . . . . . . . . . 90 本書で使用されている用語 . 困ったときは . デルサポート 2 89 . . . . . . . . . . . . . . . . . . . トラブルシューティング . パフォーマンスと安定性 . . . . . . . . . . . 91 . . . . . . . . . . . . . . . 91 Enterprise Linux のパフォーマンスが 低下して、不安定になっている。 スワップスペースの過剰使用 . . . . . . . . . .
NETCA(Network Configuration Assistant). NETCA が誤動作して、データ ベース作成が失敗する . . . . . . . . . . 93 . . . . . . . . . 93 NETCA がリモートノードを設定 できない。または、DBCA 実行中に RAW デバイス検証エラーが発生する CRS(Cluster Ready Services). . . . . . 93 . . . . . . . . . . . . 93 CRS の起動が途中で失敗する . . . . . . . . . . 93 Oracle Clusterware のインスト ールが失敗する . . . . . . . . . . . . . . . . . . 93 ノードの再起動時または /etc/init.d/init.crs start の入力後に CRS が起動できない . . . . . . . . . . . . . . . root.sh 実行時に CRS が起動できない ノードが再起動を繰り返す . . . . . . . . . .
インストール . . . . . . . . . . . . . . . . . . . . . . Oracle ソフトウェアがノードにイン ストールできない . . . . . . . . . . . . . . . . 99 . . . . . . 99 . . . . . . . . . . . . . . . . . . . . . 99 root.sh を実行すると、ユーティリ ティが OCR ディスクのフォーマッ トに失敗する . . . . . . . . . . . . . ネットワーク . クラスタ検証テストが失敗する . . . . . . . . ファイバーチャネルストレージシステム 99 . . . . . . 99 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Dell PowerEdge システムに新しい周辺 機器を追加すると、OS がその周辺機器 を認識しない . . . . . . . . . . . . . . . . . . . 100 . . . . .
目次
概要 Linux Advanced Server で使用する Oracle データベースの『トラブル シューティング』は、Red Hat Enterprise Linux または Oracle Enterprise Linux 5.
本書で使用されている用語 本書では、「LUN」および「仮想ディスク」という語が使われています。 これらの用語は同義語であり、どちらを使用しても構いません。「LUN」 は Dell/EMC ファイバーチャネルストレージシステムの環境で、「仮想 ディスク」は Dell Power Vault SAS および iSCSI(Dell MD3000 および Dell MD3000i + MD1000 拡張)ストレージの環境で、通常使われる用語 です。 本書で使われている Enterprise Linux という用語は、特に説明のない限 り Red Hat Enterprise Linux と Oracle Enterprise Linux の両方に適用 されます。 困ったときは 本項では、ホワイトペーパー、サポートされている構成、トレーニング、 テクニカルサポートに関する情報、および一般的な情報を入手するために デルまたは Oracle に問い合わせる方法を説明しています。 デルサポート 90 • システムの使い方の詳細については、システムコンポーネントに付 属のマニュアルを参照してください。 • 各種の
トラブルシューティング 本項では、Enterprise Linux および Oracle ソフトウェアの導入と使用に あたって発生する可能性のある問題と推奨する対処方法を示します。 パフォーマンスと安定性 Enterprise Linux のパフォーマンスが低下して、不安定になってい る。スワップスペースの過剰使用 Oracle SGA(System Global Area)が推奨サイズを超えていると、 Enterprise Linux のパフォーマンスが低下します。どんな場合も SGA サイ ズがシステム RAM 合計容量の 65 パーセントを超えることがないように してください。SGA サイズを小さくするには、次の手順を実行します。 コマンドプロンプトから free と入力して、RAM の合計容量を確認し、 Oracle パラメータファイル内の db_cache_size と shared_pool_size の両パラメータを上記に従って変更します。 Oracle アラートファイル内にインタフェースタイプ不明の警告が ある。システムパフォーマンスの低下 この問題は、パブリックインタフェースがクラスタ通
d クラスタ内の各ノードについてこれらの行を作成します。 e 次のコマンドを入力して、すべてのノードでデータベースを再起 動します。 srvctl stop database –d srvctl start database –d f /opt/oracle/admin//bdump/alert_.log ファイ ルを開き、プライベート IP アドレスがすべてのインスタンスで 使用されていることを確認します。 Enterprise Manager Enterprise Manager エージェントが失敗する Enterprise Manager は、Enterprise Manager リポジトリが空の場合に失 敗します。 次のテキストを入力して、データベースコンソールの設定ファイルとリポ ジトリを作成しなおします。 emca -config dbcontrol db repos recreate 詳細な手順については、Oracle Metalink Note # 330976.
NETCA(Network Configuration Assistant) NETCA が誤動作して、データベース作成が失敗する NETCA が失敗するのは、パブリックネットワーク、ホスト名、仮想 IP が /etc/hosts.equiv ファイル内のリストにないためです。 NETCA を起動する前に、ホスト名がパブリックネットワークに割り当て てあること、/etc/hosts.equiv ファイル内のリストにパブリック IP アド レスと仮想 IP アドレスが入っていることを確認します。 NETCA がリモートノードを設定できない。または、DBCA 実行中 に RAW デバイス検証エラーが発生する この問題は、/etc/hosts.equiv ファイルがないか、または割り当てられ たパブリックまたは仮想 IP アドレスが含まれていない場合に発生します。 各ノードで、/etc/hosts.
ノードの再起動時または /etc/init.d/init.crs start の入力後に CRS が 起動できない Cluster Ready Services CSS デーモンがクォーラムディスクに書き込みを 行うことができない場合、CRS は起動に失敗します。 該当ノードを再起動するか、または次のコマンドを入力して、もう一度こ のサービスが起動できるかどうか試してみます。 root.sh from /crs/oracle/product/11.1.0/crs/ 各ノードからクォーラムディスクにアクセスできること、および root としてログインしたユーザーがディスクに書き込み可能なことを確認し ます。 $ORA_CRS_HOME/css/log/ocssd.
以下は、CRS の失敗の原因となり得る問題のリストです。 • OCR ファイルと投票ディスクにアクセスできない。 I/O の問題を解決して、該当ノードを再起動するか、 /crs/oracle/product/11.1.0/crs/ から root.sh を実行して、 もう一度このサービスが起動できるかどうか試してみます。 • OCR ファイルと投票ディスクがクリアされず、古い情報が残って いる。 OCR と投票ディスクをクリアして、古い情報を消去します。 RHEL4 では次の行を入力すると古い情報を消去できます。 dd if=/dev/zero of=/dev/raw/ocr.dbf dd if=/dev/zero of=/dev/raw/votingdisk 該当ノードを再起動するか、または /crs/oracle/product/11.1.0/crs/ から root.sh を実行して、もう一 度このサービスが起動できるかどうか試してみます。 • Oracle ユーザーが /var/tmp(特に /var/tmp/.
c 以下のディレクトリでログファイルを確認して、問題を診断しま す。 $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 d /var/log/messages を調べて、CRS の初期化スクリプトに関す るエラーメッセージを確認します。 e サポート診断のためにすべてのログファイルを保存します。 ノードが再起動を繰り返す ノードは、共有ストレージ上のクォーラムディスクにアクセスできない場 合に再起動を繰り返します。 以下の手順を実行します。 a シングルユーザーモードで Linux を起動し、次のコマンドを入力 します。 /etc/init.d/init.crs disable b クォーラムディスクが利用可能で、プライベート相互接続が有効 であることを確認します。 c 再起動して、/etc/init.d/init.
c ノードがプライベート相互接続経由でクラスタ内の残りのノード に ping を実行できることを確認します。 d 次のコマンドを入力します。 /etc/init.d/init.crs enable システムを再起動します。再起動後にネットワークがクラスタ内の 残りのノードに ping を実行できるまで、最大 30 秒の待ち時間を要 する場合があります。この状況が発生したら、/etc/inet.d/init.crs ファイルの先頭に次の行を追加し、システムを再起動してください。 /bin/sleep 30 ノードの再起動時または /etc/init.d/init.crs start の入力後に CRS が 起動できない 1 /etc/iscsi/iscsid.conf を次のように変更します。 node.session.timeo.replacement_timeout = 144 → node.session.timeo.
DBCA(Database Configuration Assistant) DBCA Summary(DBCA サマリ)ウィンドウで OK をクリックして も反応がない これは、Java Runtime Environment のタイミングの問題です。 OK を再度クリックします。それでも反応がなければ、DBCA ソフトウェ アのインストールを再試行します。 その他 『Deployment CD 1』を使用したソフトウェアのインストール中に dd 失敗のエラーメッセージが表示される この問題は、『Enterprise Linux CD』のコピーを使用した場合に発生しま す。必ず元の CD を使用してください。 CD イメージ(ISO)を書き込む際に、cdrecord コマンドを使用してい る場合は、-dao などの適切なオプションを使用します。 oracle 以外のユーザーとしてデータベースに接続する際に、 ORA01034:ORACLE not available(ORACLE が使用できません)およ び Linux Error 13: Permission denied(アクセスは拒否されました)
インストール Oracle ソフトウェアがノードにインストールできない この問題は、ノードのシステムクロックが同一でない場合に発生します。 次のいずれかの手順を実行してください。 • Oracle ソフトウェアのインストールを実行するノードのシステムク ロックが残りのノードよりも遅い時刻に設定されていることを確認 します。 • ノードの 1 つを NTP サーバーとして構成し、クラスタ内の残りの ノードを同期化します。 root.sh を実行すると、ユーティリティが OCR ディスクのフォー マットに失敗する My Oracle Support ウェブサイト support.oracle.com から Oracle 修正 プログラム 4679769 をダウンロードし、適用してください。 ネットワーク クラスタ検証テストが失敗する この問題は、パブリックネットワークの IP アドレスがルータブルでない 場合に発生します。例: 192.168.xxx.
OS Dell PowerEdge システムに新しい周辺機器を追加すると、OS がそ の周辺機器を認識しない この問題は、Kudzu が無効になっている場合に発生します。 システムに新しい周辺機器を追加した後で、Kudzu を手動で実行します。 カーネルのアップグレード後の Dell DKMS ドライバの使い方 DKMS ドライバがインストールされているシステムでカーネルをアップ グレードした場合は、カーネルのアップグレード後に、以下の手順を実行 して最新のカーネル用にアップデートされた dkms ドライバがインストー ルされていることを確認します。 • アップデートされたカーネルのモジュールバージョンが dkms ドラ イバのバージョンよりも高い場合は、ネイティブドライバを使い続 けます。 • アップデートされたカーネルのモジュールバージョンが DKMS ドラ イバのバージョンよりも低い場合は、DKMS ドライバを使います。 下記のエントリを持つ dkms_module_name.conf という名前の ファイルを /etc/depmod.
Oracle セキュリティ修正プログラ ムと推奨される修正プログラム 本項では、推奨される Oracle セキュリティ修正プログラムのアップデー トおよび推奨される修正プログラムに関する情報を提供します。 重要な修正プログラムのアップデート (CPU: Critical Patch Update) Oracle では、Oracle 製品のセキュリティの潜在的脆弱性を解決するため に重要な修正プログラムのアップデート(CPU)を年に 4 回リリースして います。CPU は、運用システムに適用する必要があります。 現在、Linux x86_64 プラットフォーム用の最新の CPU は、Oracle 11g R1 11.1.0.7 Clusterware CPU 9369783 です。 推奨される修正プログラム デルでは、Linux x86_64 プラットフォーム用の Oracle 推奨データベース パッチセットを適用することをお勧めします。Oracle が推奨する最新の 修正プログラムについては、My Oracle Support ウェブサイト support.oracle.
Oracle セキュリティ修正プログラムと推奨される修正プログラム
Sistemas Dell PowerEdge Base de datos Oracle en Enterprise Linux x86_64 Guía de solución de problemas versión 4.
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 esta publicación puede modificarse sin previo aviso. © 2010 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general 109 Documentación necesaria para implantar la base de datos Oracle de Dell . . . . . . . . . . . . . 109 Terminología utilizada en este documento . . . . . . . 110 . . . . . . . . . . . . . . . . . . . 110 Obtención de ayuda Asistencia de Dell 2 . . . . . . . . . . . . . . . Solución de problemas Rendimiento y estabilidad . . . . . . . . . . . . . . 111 . . . . . . . . . . . . . . .
Network Configuration Assistant (NETCA) . . . . . . 113 NETCA falla, lo cual produce errores de creación de base de datos . . . . . . . . . . 113 NETCA no puede configurar nodos remotos, o bien se obtiene un error de validación de dispositivo sin formato al ejecutar el DBCA . Cluster Ready Services (CRS) . . 113 . . . . . . . . . . . . . 113 CRS falla antes de tiempo cuando intenta iniciarse . . . . . . . . . . . . . . . . . .
Instalación . El software Oracle no se instala correctamente en los nodos . . Funciones de red . . . . . . 119 . . . . . . . . . . . . . . . . . . . . 119 La comprobación de la verificación del clúster falla . . . . . . . . . . . 119 . . . . . . . . Sistema de almacenamiento Fibre Channel 119 . . . . . . Aparecen errores de E/S y avisos cuando se carga el módulo controlador HBA Fibre Channel . . . . . . . . . . . . Sistema operativo 119 . . . . . . . . . . Cuando se ejecuta root.
Contenido
Información general El documento Base de datos Oracle en Linux Advanced Server — Guía de solución de problemas se aplica a la base de datos Oracle 10g R2 con Red Hat Enterprise Linux u Oracle Enterprise Linux 5.5 AS x86_64. Documentación necesaria para implantar la base de datos Oracle de Dell La documentación sobre la instalación de la base de datos Dell|Oracle está organizada en una serie de módulos.
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).
Solución de problemas En esta sección se indican las acciones 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, así como un uso excesivo del espacio de intercambio Cuando el área global del sistema (SGA) de Oracle sobrepasa el tamaño recomendado, Enterprise Linux presenta un bajo rendimiento.
d Cree estas entradas para cada nodo del clúster. e Reinicie la base de datos en todos los nodos; para ello, escriba los comandos siguientes: srvctl stop database –d srvctl start database –d f Abra el archivo /opt/oracle/admin//bdump/alert_.log y verifique que las direcciones IP privadas se utilicen para todas las instancias. Enterprise Manager El agente de Enterprise Manager falla Enterprise Manager falla cuando el repositorio de Enterprise Manager no está ocupado.
Network Configuration Assistant (NETCA) NETCA falla, lo cual produce errores de creación de base de datos NETCA falla porque la red pública, el nombre de host o la dirección IP virtual no aparecen en el archivo /etc/hosts.equiv. 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.
CRS no puede iniciarse cuando se reinician los nodos o después de escribir /etc/init.d/init.crs start CRS no se puede iniciar cuando el daemon CSS de Cluster Ready Services no puede escribir en el disco de quórum. Intente volver a iniciar el servicio reiniciando el nodo o escribiendo: root.sh from /crs/oracle/product/11.1.0/crs/ Verifique que cada nodo pueda acceder al disco de quórum y que el usuario que haya iniciado sesión como root pueda escribir en dicho disco.
Borre los discos OCR y de votación para suprimir la información obsoleta. Esto puede hacerlo en RHEL4 escribiendo las siguientes líneas: dd if=/dev/zero of=/dev/raw/ocr.dbf dd if=/dev/zero of=/dev/raw/votingdisk Intente volver a iniciar el servicio reiniciando el nodo o ejecutando root.sh desde /crs/oracle/product/11.1.0/crs/. • El usuario oracle no tiene permisos para /var/tmp (concretamente, /var/tmp/.oracle). a Haga que el usuario oracle sea el propietario de /var/tmp/.
d Compruebe /var/log/messages para ver si hay mensajes de error relacionados con las secuencias de comandos de inicialización del CRS. e Capture todos los archivos de registro para realizar el diagnóstico. El nodo se reinicia constantemente El nodo se reinicia constantemente cuando no tiene acceso al disco de quórum en el almacenamiento compartido. Realice los pasos siguientes: a Inicie Linux en modo de un solo usuario y escriba el comando siguiente: /etc/init.d/init.
CRS no puede iniciarse cuando se reinician los nodos o después de escribir /etc/init.d/init.crs start 1 En /etc/iscsi/iscsid.conf, cambie node.session.timeo.replacement_timeout = 144 Por: node.session.timeo.replacement_timeout = 30 2 Cierre las sesiones iSCSI existentes y vuelva a detectar y a iniciar la sesión para que establecer el cambio de tiempo de espera.
Database Configuration Assistant (DBCA) No se obtiene ninguna respuesta al hacer clic en OK (Aceptar) en la ventana DBCA Summary (Resumen de DBCA) Se trata de un problema de sincronización de Java Runtime Environment. Haga clic de nuevo en OK (Aceptar). Si sigue sin haber respuesta, reinicie la instalación del software DBCA. Varios Aparecen mensajes de error dd al instalar el software mediante el CD 1 de implantación de Dell Este problema se produce cuando se utiliza una copia del CD de Enterprise Linux.
Instalación El software Oracle no se instala correctamente en los nodos Este problema se produce cuando los relojes del sistema de los nodos no son idénticos. Realice uno de los procedimientos siguientes: • Asegúrese de que el reloj del sistema en el nodo de instalación del software Oracle se ha establecido con 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. Cuando se ejecuta root.
Sistema operativo Cuando se añade un nuevo dispositivo periférico al sistema Dell PowerEdge, el sistema operativo no reconoce el dispositivo Este problema se produce cuando Kudzu está deshabilitado. Ejecute Kudzu manualmente después de añadir el nuevo periférico al sistema.
Parches de seguridad y parches recomendados de Oracle En esta sección se proporciona información sobre las actualizaciones de parches de seguridad y los parches recomendados por Oracle. Actualizaciones críticas de parches Oracle publica actualizaciones críticas de parches (CPU) trimestrales para resolver las posibles vulnerabilidades de seguridad de los productos Oracle. Estos parches CPU deben aplicarse a los sistemas de producción.
Parches de seguridad y parches recomendados de Oracle