Dell PowerEdge, PowerEdge Series Troubleshooting Manual [en, fr, de, ja, zh]

Page 1
Dell PowerEdge Systems
Oracle Database on
Enterprise Linux x86_64
Troubleshooting Guide
Version 4.4
Page 2
Notes and Cautions
NOTE: A NOTE indicates important information that helps you make better use of
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.
Trademarks used in this text: Dell™, the DELL™ logo, PowerEdge™, and PowerVault™ are trademarks of Dell Inc.; EMC Pentium Oracle Enterprise Linux
Other trademarks and trade names may be used in this publication to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.
July 2010 Rev. A02
®
, and Celeron® are registered trademarks of Intel Corporation in the U.S. and other countries;
®
is a registered trademark of Oracle Inc. in the US and other countries; Red Hat® and Red Hat
®
are registered trademarks of Red Hat, Inc. in the U.S. and other countries.
®
and PowerPath® are trademarks of EMC Corporation; Intel®,
Page 3
Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Required Documentation for Deploying the Dell Oracle Database
. . . . . . . . . . . . . . . . . 7
Terminology Used in this Document
Getting Help
Dell Support. . . . . . . . . . . . . . . . . . . . . . 8
. . . . . . . . . . . . . . . . . . . . . . . . 8
. . . . . . . . . . . . 8
2 Troubleshooting. . . . . . . . . . . . . . . . . . . . . 9
Performance and Stability. . . . . . . . . . . . . . . . . 9
Enterprise Linux exhibits poor performance
and instability; excessive use of swap space . . . . 9
Unknown interface-type warning appears in the
Oracle alert file; poor system performance . . . . . 9
Enterprise Manager . . . . . . . . . . . . . . . . . . . 10
The Enterprise Manager agent fails . . . . . . . . 10
Oracle Clustered File System2 (OCFS2) . . . . . . . . . 10
Network Configuration Assistant (NETCA) . . . . . . . 11
System hangs while mounting or
unmounting OCFS partitions . . . . . . . . . . . . 10
NETCA fails, resulting in database
creation errors . . . . . . . . . . . . . . . . . . . 11
NETCA cannot configure remote nodes or a RAW device validation error occurs
while running DBCA . . . . . . . . . . . . . . . . 11
Contents 3
Page 4
Cluster Ready Services (CRS) . . . . . . . . . . . . . . 11
CRS fails prematurely when trying to start . . . . . 11
The Oracle Clusterware installation
procedure fails . . . . . . . . . . . . . . . . . . . 11
CRS fails to start when you reboot the nodes,
or after entering /etc/init.d/init.crs start . . . . . . 12
When you run root.sh, CRS fails to start . . . . . . 12
Node continuously reboots . . . . . . . . . . . . . 14
CRS fails to start when you reboot the nodes,
or after entering /etc/init.d/init.crs start . . . . . . 15
Database Configuration Assistant (DBCA) . . . . . . . 16
There is no response when you click OK in
the DBCA Summary window . . . . . . . . . . . . 16
Miscellaneous . . . . . . . . . . . . . . . . . . . . . . 16
You receive dd failure error messages while installing the software using
Dell Deployment CD 1 . . . . . . . . . . . . . . . . 16
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 . . . . . . . 16
Installation . . . . . . . . . . . . . . . . . . . . . . . . 17
Oracle software fails to install on the nodes . . . . 17
When you run root.sh, the utility fails to
format the OCR disk . . . . . . . . . . . . . . . . . 17
Networking. . . . . . . . . . . . . . . . . . . . . . . . 17
The cluster verification check fails . . . . . . . . . 17
Fibre Channel Storage System . . . . . . . . . . . . . . 18
You receive I/O errors and warnings when you load the Fibre Channel HBA driver module . . 18
4 Contents
Page 5
Operating System . . . . . . . . . . . . . . . . . . . . 18
When you add a new peripheral device to your Dell PowerEdge system, the operating
system does not recognize the device . . . . . . . 18
Using Dell DKMS Drivers
After Upgrading the Kernel . . . . . . . . . . . . . 18
3 Oracle Security Patches and
Recommended Patches . . . . . . . . . . . . . 19
Critical Patch Updates. . . . . . . . . . . . . . . . . . 19
Recommended Patches
. . . . . . . . . . . . . . . . . 19
Contents 5
Page 6
6 Contents
Page 7
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
The Dell|Oracle Database Installation Documentation set is organized into a series of modules. These modules cover the following topics:
Oracle Database
•
Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64­Operating System and Hardware Installation Guide
required minimum hardware and software versions, how to install and configure the operating system, how to verify the hardware and software configurations, and how to obtain open source files.
•
Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64­Storage and Network Guide
network and storage solutions.
•
Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64­Database Setup and Installation Guide
configure the Oracle database.
•
Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64­Troubleshooting Guide
encountered during the installation procedures described in the previous
modules.
—Describes how to install and configure the
—Describes how to install and
—Describes how to troubleshoot and resolve errors
—Describes the
All modules provide information on how to receive technical assistance from Dell.
Overview 7
Page 8
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.
This document uses the term Enterprise Linux that applies to both Red Hat Enterprise Linux and Oracle Enterprise Linux unless stated specifically.
Getting Help
This section provides information on contacting Dell or Oracle for whitepapers, supported configurations, training, technical support, and general information.
Dell Support
• For detailed information about using your system, see the documentation that came with your system components.
• For whitepapers, Dell-supported configurations, and general information, see the Dell|Oracle Tested and Validated Configurations website at
dell.com/oracle
.
8 Overview
Page 9
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
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. To decrease the SGA size:
Enter free at a command prompt to determine the total RAM and reduce the values of db_cache_size and shared_pool_size parameters in the Oracle parameter file accordingly.
use of swap space
Unknown interface-type warning appears in the Oracle alert file; poor system performance
The problem occurs when the public interface is configured as cluster communications (private interface).
Perform the following steps on one node to force cluster communications to the private interface:
a
b
Log in as
Enter The
oracle
sqlplus "/ as sysdba"
SQL>
.
prompt appears.
at the command prompt.
c
Enter the following lines at the
alter system set cluster_interconnects=<private IP address node1>’ scope=spfile sid=’<SID1>’ alter system set cluster_interconnects = ’<private IP address node2>’ scope=spfile sid= ’<SID2>’
SQL>
prompt:
Troubleshooting 9
Page 10
d
Create these entries for each node in the cluster.
e
Restart the database on all nodes by entering the following
srvctl stop database –d <dbname> srvctl start database –d <dbname>
f
Open the file, and verify that the private IP addresses are being used for all instances.
commands:
/opt/oracle/admin/<dbname>/bdump/alert_<SID>.log
Enterprise Manager
The Enterprise Manager agent fails
The Enterprise Manager fails when the Enterprise Manager repository is not populated.
Enter the following to re-create the configuration file and repository for the Database Console:
emca -config dbcontrol db repos recreate
For detailed instructions, see the Oracle Metalink Note # 330976.1.
Oracle Clustered File System2 (OCFS2)
System hangs while mounting or unmounting OCFS partitions
The problem occurs when OCFS partitions are unmounted on two nodes at exactly the same time.
CAUTION: Do not reboot more than one system at the same time.
NOTE: It is not recommended to restart the network on a live node. When trying to
restart the network service from any live node in the cluster, the node hangs indefinitely. This behavior is expected for OCFS2.
10 Troubleshooting
Page 11
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.equiv file either does not exist or does not include the assigned public or virtual IP addresses.
Verify that the /etc/hosts.equiv file on each node contains the correct public and virtual IP address. Try to rsh to other public names and VIP addresses as the user oracle.
Cluster Ready Services (CRS)
CRS fails prematurely when trying to start
Refer Oracle Bug 4698419. See the My Oracle Support website at support.oracle.com.
Apply Patch 4698419 available on the My Oracle Support website at support.oracle.com.
The Oracle Clusterware installation procedure fails
The Oracle Clusterware installation fails because the EMC PowerPath device names are not uniform across the nodes.
Before you install Oracle Clusterware, restart PowerPath and ensure that the PowerPath device names are uniform across the nodes.
Troubleshooting 11
Page 12
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.
If you see:
clssnmvWriteBlocks: Failed to flush writes to (votingdisk), then
verify the following:
•The
/etc/hosts
file on each node contains the correct IP addresses for all
node hostnames, including the virtual IP addresses.
• You can ping the public and private hostnames.
• The Oracle Cluster Registry (OCR) file and Voting disk is writable.
When you run root.sh, CRS fails to start
NOTE: Ensure that you have all the public and private node names defined and you
can ping the node names.
Attempt to start the service again by rebooting the node or by running root.sh from /crs/oracle/product/11.1.0/crs/ after correcting the networking issues.
The following is the list of issues that can result in CRS failure:
• OCR file and Voting disk are inaccessible.
Correct the I/O problem and attempt to start the service again by rebooting the node or by running
/crs/oracle/product/11.1.0/crs/.
root.sh
from
• OCR file and Voting disk have not been cleared and contain old
information.
Clear the OCR and Voting disks to erase the old information.
12 Troubleshooting
Page 13
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 (specifically
a
Make User Oracle the owner of
/var/tmp/.oracle
).
/var/tmp/.oracle
/var/tmp
by entering the
following command:
chown oracle.oinstall /var/tmp/.oracle
b
Attempt to start the service again by rebooting the node or by running
root.sh from: /crs/oracle/product/11.1.0/crs/.
If all the other CRS troubleshooting steps fail, then perform the following:
a
Enable debugging by adding the following line:
to root.sh:
set -x
b
Attempt to start the service again by running
root.sh
from:
/crs/oracle/product/11.1.0/crs/
c
Check log files in the following directories to diagnose the issue:
$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
Check CRS
e
Capture all log files for support diagnosis.
/var/log/messages
init scripts.
for any error messages regarding
Troubleshooting 13
Page 14
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:
If the private interconnect is down:
a
Start Linux in single-user mode.
b
Enter the following command:
/etc/init.d/init.crs disable
c
Verify that the node can ping over the private interconnect to the remaining nodes in the cluster.
/etc/init.d/init.crs enable
d
Enter the following command:
/etc/init.d/init.crs enable
Reboot the system. In some cases, the network has a latency of up to
seconds before it can ping the remaining nodes in the cluster after
30 reboot. If this situation occurs, add the following line to the beginning of your
/etc/inet.d/init.crs
file and reboot your system:
/bin/sleep 30.
CRS fails to start when you reboot the nodes, or after entering /etc/init.d/init.crs start
1
Change
node.session.timeo.replacement_timeout = 144
to
node.session.timeo.replacement_timeout = 30
2
Logout from the existing iscsi sessions, rediscover, and re-login to set the change in timeout.
/etc/iscsi/iscsid.conf
14 Troubleshooting
Page 15
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 <target IP> -­interface=<first iface> --interface=<second iface>
iscsiadm -m discovery -t st -p <target IP> -­interface <first Iface> --login
iscsiadm -m discovery -t st -p <target IP> -­interface <Second Iface> --login
You can check the above settings under /var/lib/iscsi/nodes/iqn*/<any target_port_ip>/default.
Database Configuration Assistant (DBCA)
There is no response when you click OK in the DBCA Summary window
This is a Java Runtime Environment timing issue.
Click OK again. If there is still no response, restart the DBCA software installation.
Miscellaneous
You receive dd failure error messages while installing the software using Dell Deployment CD 1
This issue occurs when a copy of the Enterprise Linux CD is used. Always use the original CD.
When burning the CD images (ISOs), use the proper options such as -dao if using the cdrecord command.
Troubleshooting 15
Page 16
When connecting to the database as a user other than oracle,
receive the error messages ORA01034: ORACLE not available and
you 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.
Perform one of the following procedures:
• Ensure that the system clock on the Oracle software installation node is set to a later time than the remaining nodes.
• Configure one of your nodes as an NTP server to synchronize the remaining nodes in the cluster.
When you run root.sh, the utility fails to format the OCR disk
Download and apply Oracle Patch 4679769 available on the My Oracle Support website at support.oracle.com.
Networking
The cluster verification check fails
This issue occurs when the public network IP address is not routable; for example: 192.168.xxx.xxx
Assign a valid, routable public IP address.
16 Troubleshooting
Page 17
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.
Operating System
When you add a new peripheral device to your Dell PowerEdge system, the operating system does not recognize the device
The problem occurs when Kudzu is disabled.
Run Kudzu manually after you add the new peripheral to your system.
Using Dell DKMS Drivers After Upgrading the Kernel
If the kernel is upgraded in a system where the DKMS driver is installed, then after the kernel upgrade perform the following procedure to ensure that the updated DKMS driver is installed for the latest kernel.
• If the module version of the updated kernel is higher than the dkms driver version, then continue using the native driver.
• If the module version in the updated kernel is lesser than the DKMS driver version, then use the DKMS driver. Create a file in filename
override module_name kernel_version modules_directory
For example, for the bnx2 driver, create a file bnx2.conf in /etc/depmod.d/ with the below contents:
override bnx2 2.6.18-x.el5 weak-updates
Run the depmod -a command
dkms_module_name.conf
with an entry as below:
/etc/depmod.d
with the
For more information on DKMS, see the DKMS main page on your system.
Troubleshooting 17
Page 18
18 Troubleshooting
Page 19
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.
Recommended Patches
Dell recommends that you apply the Oracle-recommended database patchsets for the Linux x86_64 platform. For latest Oracle-recommended patches, see the Metalink Note #756671.1 on the My Oracle Support website at support.oracle.com.
The current Oracle recommended patches for Oracle 11g R1 11.1.0.7 Clusterware on Linux x86_64 are:
• 11.1.0.7 Generic Recommended Patch, Patch 9165206
• 11.1.0.7 CRS Recommended 11.1.0.7.2 CRS Patch Set Update
(CRS
PSU), Patch 9207257
Oracle Security Patches And Recommended Patches 19
Page 20
20 Oracle Security Patches And Recommended Patches
Page 21
Dell PowerEdge 系统
Enterprise Linux x86_64 上的
Oracle 数据库
故障排除指南
4.4 版
Page 22
注和小心
注:“注”表示可以帮助您更好地使用计算机的重要信息。
小心:
“小心”表示如果不遵循说明,就有可能损坏硬件或导致数据丢失。
____________________
本出版物中的信息如有更改,恕不另行通知。 © 2010 Dell Inc. 版权所有,翻印必究。
未经
Dell Inc.
本文中使用的商标:
EMC® 和 PowerPath® 是 EMC Corporation Corporation
区的注册商标; 的注册商标。
本出版物中述及的其它商标和产品名称是指拥有相应商标和产品名称的公司或其制造的产品。
Dell Inc.
2010 年 7
书面许可,严禁以任何形式复制这些材料。
Dell™、
在美国 和其它国家/地区的注册商标;
Red Hat® 和 Red Hat Enterprise Linux® 是 Red Hat, Inc.
对其它公司的商标和产品名称不拥有任何所有权。
月
Rev. A02
DELL™
徽标、
的商标;
PowerEdge™ 和 PowerVault™ 是 Dell Inc.
Intel®、
Oracle® 是 Oracle Inc.
的商标;
Pentium® 和 Celeron® 是 Intel
在美国和其它国家/地
在美国和其它国家/地区
Page 23
目录
1 概览 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
部署
Dell Oracle
本说明文件中使用的术语
获得帮助
. . . . . . . . . . . . . . . . . . . . . . . . . 28
Dell 支持
数据库所需的说明文件 . . . . . . . 27
. . . . . . . . . . . . . . . 28
. . . . . . . . . . . . . . . . . . . . . . 28
2 故障排除 . . . . . . . . . . . . . . . . . . . . . . . . . 29
性能和稳定性 . . . . . . . . . . . . . . . . . . . . . . 29
Enterprise Linux 出现性能不佳和系统
不稳定现象;使用的交换空间过多 . . . . . . . 29
在 Oracle 警报文件中显示未知接口类 型警告;系统性能不佳
Enterprise Manager
. . . . . . . . . . . . . . . . . . . 30
Enterprise Manager 代理失败
. . . . . . . . . . . . . . 29
. . . . . . . . . . . 30
Oracle
网络配置助手
群集文件系统
2 (OCFS2)
当安装或卸载 OCFS 分区时系统挂起
(NETCA)
. . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . 30
. . . . . . 30
NETCA 失败,导致数据库创建出现错误 NETCA 无法配置远程节点,或者在运行
DBCA 时出现原始设备验证错误
. . . . . . . . . 30
. . . . 30
目录 23
Page 24
群集就绪服务
. . . . . . . . . . . . . . . . . . . 31
(CRS)
CRS 尝试启动时过早失败 Oracle 群集件安装过程失败
. . . . . . . . . . . . . 31
. . . . . . . . . . . 31
当您重新引导节点或输入 /etc/init.d/init.crs start 时, CRS 无法启动
运行 root.sh 时, CRS 无法启动 节点频繁地重新引导
. . . . . . . . . . . . . . . 33
. . . . . . . . . 32
当您重新引导节点或输入 /etc/init.d/init.crs start 时, CRS 无法启动
数据库配置助手
(DBCA)
. . . . . . . . . . . . . . . . 34
在单击 DBCA Summary (DBCA 摘要) 窗口中的 OK (确定)时没有响应
其它
. . . . . . . . . . . . . . . . . . . . . . . . . . . 35
. . . . . . . 34
使用 Dell Deployment CD 1 安装软件时 出现 dd 失败错误信息
. . . . . . . . . . . . . . . 35
当作为 oracle 以外的用户连接到数据库时, 出现错误信息 ORA01034: ORACLE not available
(ORA01034:ORACLE 不可用)和
Linux Error 13: Permission denied
(Linux 错误 13:权限被拒绝)
. . . . . . . . . . 35
. . . . 31
. . . . 34
24 目录
. . . . . . . . . . . . . . . . . . . . . . . . . . . 35
安装
在节点上无法安装 Oracle 软件
. . . . . . . . . . 35
运行 root.sh 时,该公用程序无法 格式化 OCR 磁盘
. . . . . . . . . . . . . . . . . . . . . . . . . . . 35
网络
群集验证检查失败
光纤信道存储系统
. . . . . . . . . . . . . . . . . . 35
. . . . . . . . . . . . . . . . . 35
. . . . . . . . . . . . . . . . . . . 36
载入光纤信道 HBA 驱动程序模块时,
收到 I/O 错误和警告 . . . . . . . . . . . . . . . . 36
Page 25
操作系统. . . . . . . . . . . . . . . . . . . . . . . . . 36
当您向 Dell PowerEdge 系统添加新的 外围设备时,操作系统无法识别该设备
. . . . 36
升级内核后使用 Dell DKMS 驱动程序
3 Oracle 安全增补软件和建议
的增补软件
关键的增补软件更新 . . . . . . . . . . . . . . . . . . 37
建议的增补软件
. . . . . . . . . . . . . . . . . . . . . . . 37
. . . . . . . . . . . . . . . . . . . . 37
. . . . . . 36
目录 25
Page 26
26 目录
Page 27
概览
“
The Oracle Database on Linux Advanced Server Troubleshooting Guide
(
Linux Enterprise Linux Database 10g R2
部署
Dell|Oracle
题:
•
•
•
高级服务器上的
或
Oracle Enterprise Linux 5.5 AS x86_64
。
Oracle
Dell Oracle
数据库安装说明文件集分为多个模块。这些模块涵盖以下主
“
Dell PowerEdge
操作系统和硬件安装指南”— 安装和配置操作系统、如何验证硬件和软件配置以及如何获取开放源 代码文件。
“
Dell PowerEdge
存储设备和网络指南”— “
Dell PowerEdge
数据库设置及安装指南”—
系统:
系统:
系统:
数据库:故障排除指南)适用于在
上运行的
数据库所需的说明文件
Enterprise Linux x86_64
介绍要求的最低硬件和软件版本、如何
Enterprise Linux x86_64
介绍如何安装和配置网络和存储解决方案。
Enterprise Linux x86_64
介绍如何安装和配置
上的
Oracle
上的
Oracle
上的
Oracle Database
Oracle
数据库:
数据库:
数据库。
Red Hat Oracle
”
:
•
“
Dell PowerEdge
故障排除指南”— 题,安装过程在先前的模块中均有描述。
所有模块均提供有关如何从
系统:
Enterprise Linux x86_64
介绍如何排除故障和解决在安装过程中遇到的问
获得技术帮助的信息。
Dell
上的
Oracle
数据库:
概览 27
Page 28
本说明文件中使用的术语
本说明文件中使用了逻辑单元号码 是同义词并可互换使用。术语 境中使用,而虚拟磁盘通常在 和带有
除非特别说明,本说明文件使用的术语
Enterprise Linux
MD1000
扩展的
和
Dell MD3000i
Oracle Enterprise Linux
(LUN) LUN Dell Power Vault SAS 和 iSCSI(Dell MD3000
通常在
和虚拟磁盘两个术语。这些术语
Dell/EMC
)存储环境中使用。
Enterprise Linux
。
光纤信道存储系统环
获得帮助
本节介绍有关如何联系 技术支持和一般信息的信息。
支持
Dell
•
有关使用系统的详情,请参阅随系统组件附带的说明文件。
•
有关白皮书、 上的
Dell|Oracle Tested and Validated Configurations
测试和验证的配置)
Dell 或 Oracle
支持的配置和一般信息,请参阅位于
Dell
站点。
Web
以获取白皮书、支持的配置、培训、
适用于
(经
Red Hat
dell.com/oracle
Dell|Oracle
28 概览
Page 29
故障排除
本节介绍在部署及使用 问题的建议操作。
Enterprise Linux 和 Oracle
软件过程中可能会遇到的
性能和稳定性
Enterprise Linux
过多
当
Oracle System Global Area
Enterprise Linux
总
RAM 的 65%
在命令提示符下输入 减小
db_cache_size
在
Oracle
当公用接口配置为群集通信(专用接口)时会发生此问题。 在一个节点上执行以下步骤,强制群集通信使用专用接口:
警报文件中显示未知接口类型警告;系统性能不佳
出现性能不佳和系统不稳定现象;使用的交换空间
(系统全局区域,
就会出现性能不佳现象。 请始终确保
。要减小
free
和
shared_pool_size
SGA
大小:
,确定总
RAM
,然后在
参数的值。
)超过推荐大小时,
SGA
SGA
Oracle
大小不超过系统
参数文件中相应
a
作为用户
b
在命令提示符下,输入 sqlplus "/ as sysdba"
SQL> 提示符。
示
c
在 SQL> 提示符下,输入以下行:
alter system set cluster_interconnects=< 专用 地址节点1>’ scope=spfile sid=’ system set cluster_interconnects =’<专用 IP 地 址节点
d
为群集中的每个节点创建这些条目。
e
通过输入以下命令,重新启动所有节点上的数据库:
srvctl stop database – srvctl start database –
f
打开 件,验证所有实例是否都在使用专用
oracle
2>’
/opt/oracle/admin/<
登录。
scope=spfile sid=’
数据库名
d <
数据库名
d <
数据库名
>/bdump/alert_<SID>.log
IP
<SID1>’
<SID2>
>
地址。
故障排除 29
。屏幕将显
alter
’
>
IP
文
Page 30
Enterprise Manager
Enterprise Manager
未装入 输入以下命令,为数据库控制台重新创建配置文件和存储库:
有关详细说明,请参阅
Oracle
当安装或卸载
两个节点恰好同时卸载
Enterprise Manager
emca -config dbcontrol db repos recreate
群集文件系统
OCFS
小心:请勿同时重新引导多个系统。
注:建议您不要在活动节点上重新启动网络。当尝试从群集中的任何活
动节点重新启动网络服务时,该节点将无限期地挂起。这是 OCFS2 的预 期行为。
网络配置助手
代理失败
存储库时
Oracle Metalink Note #
Enterprise Manager
2 (OCFS2)
分区时系统挂起
OCFS
分区时会出现这个问题。
(NETCA)
330976.1
失败。
。
NETCA
由于公用网络、主机名或虚拟
NETCA
在启动 文件中列出了公用和虚拟
NETCA
失败,导致数据库创建出现错误
失败。
NETCA
之前,确保已为公用网络分配了主机名,且
IP
无法配置远程节点,或者在运行
错误
/etc/hosts.equiv
现此问题。 验证各个节点上的
址。作为用户
30 故障排除
文件不存在或者不包括已分配的公用或虚拟
/etc/hosts.equiv
oracle
,尝试向其它公用名称和
未在
IP
地址。
/etc/hosts.equiv
DBCA
文件
是否均包含正确的公用和虚拟
VIP
文件中列出而导致
时出现原始设备验证
地址发出 rsh 命令。
/etc/hosts.equiv
地址时会出
IP
地
IP
Page 31
群集就绪服务
尝试启动时过早失败
CRS
(CRS)
请参阅
support.oracle.com
应用
4698419
Oracle
由于 失败。
在安装
PowerPath
Oracle
My Oracle Support Web
。
群集件安装过程失败
EMC PowerPath
Oracle
当您重新引导节点或输入
群集就绪服务 重新引导节点或键入以下内容以尝试再次启动服务:
root.sh from /crs/oracle/product/11.1.0/crs/
验证是否每个节点均具有访问仲裁磁盘的权限,以及以 户能否写入磁盘。
错误
4698419
。
设备名称在各节点内不一致而导致
群集件之前,重新启动
设备名称一致。
CSS
守护程序无法向仲裁磁盘写入数据时
。请访问
My Oracle Suppor Web
站点
support.oracle.com
PowerPath
,并确保各群集节点内的
/etc/init.d/init.crs start
站点
上提供的增补软件
Oracle
时,
CRS
CRS
身份登录的用
root
群集件安装
无法启动
无法启动。
检查
$ORA_CRS_HOME/css/log/ocssd.log
如果显示:
clssnmvWriteBlocks: Failed to flush writes to (votingdisk)
验证以下内容:
•
每个节点上的 包括虚拟
•
是否可以对公用和专用主机名执行
•
Oracle
(
clssnmvWriteBlocks
/etc/hosts
地址。
IP
群集注册表
文件是否包含所有节点主机名的正确
(OCR)
文件和投票磁盘是否可写入。
文件中的最后一行。
:无法刷新写入到 [投票磁盘]),则
ping
命令。
故障排除 31
IP
地址,
Page 32
运行
root.sh
注:确保已定义所有公用和专用节点名称,并且可以对节点名称执行 ping
命令。
时,
CRS
无法启动
在解决网络问题之后,通过重新引导节点或从 中运行
root.sh
以下是可导致
•
OCR
解决 中运行
•
OCR
清除
您可以在
,尝试再次启动服务。
CRS
出现故障的问题列表:
文件和投票磁盘无法访问。
问题,并通过重新引导节点或从
I/O
root.sh
,尝试再次启动服务。
文件和投票磁盘尚未清除,仍包含旧信息。
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/
尝试再次启动服务。
•
Oracle
用户无权访问
/var/tmp
(特别是
/crs/oracle/product/11.1.0/crs/
/crs/oracle/product/11.1.0/crs/
中运行
/var/tmp/.oracle
root.sh
)。
,
a
通过输入以下命令,使用户
chown oracle.oinstall /var/tmp/.oracle
b
通过重新引导节点或从
root.sh
如果所有其它
a
通过将以下行添加
,尝试再次启动服务。
CRS
到 root.sh,启用调试功能:
set -x
b
通过从以下位置运行
/crs/oracle/product/11.1.0/crs/
32 故障排除
Oracle
/crs/oracle/product/11.1.0/crs/
成为
/var/tmp/.oracle
故障排除步骤均失败,则执行以下操作:
root.sh
:
,尝试再次启动服务
的所有者:
中运行
Page 33
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
e
收集所有支持诊断的日志文件。
,了解有关
CRS init
脚本的所有错误信息。
节点频繁地重新引导
节点无权访问共享存储设备上的仲裁磁盘时,该节点会频繁地重新引导。 请执行以下步骤:
a
在单用户模式下启动
Linux
并输入以下命令:
/etc/init.d/init.crs disable
b
验证仲裁磁盘是否可用以及专用互连是否激活。
c
重新引导并键入:
/etc/init.d/init.crs enable
如果专用互连中断:
a
在单用户模式下启动
b
输入以下命令:
Linux
。
/etc/init.d/init.crs disable
c
验证该节点是否可以通过专用互连对群集上的其余节点执行 命令。
d
输入以下命令:
/etc/init.d/init.crs enable
重新引导系统。在某些情况下,重新引导后,网络需要多达 待时间,才能对群集中的其余节点使用 况,请在
统:
/etc/inet.d/init.crs
/bin/sleep 30
文件的开头添加以下行,然后重新引导系
。
ping
命令。如果出现这种情
30
ping
秒的等
故障排除 33
Page 34
当您重新引导节点或输入
1
将
/etc/iscsi/iscsid.conf
node.session.timeo.replacement_timeout = 144
/etc/init.d/init.crs start
时,
CRS
无法启动
更改为
node.session.timeo.replacement_timeout = 30
从现有的
2
改。
3
使用以下命令退出:
iscsiadm -m session --logout
要重新搜索并重新登录,请使用下列命令:
4
iscsiadm -m discovery -t st -p < 目标 IP> -­interface=< 第一个接口 > --interface=< 第二个接口 >
iscsiadm -m discovery -t st -p < 目标 IP> -­interface < 第一个接口 > --login
iscsiadm -m discovery -t st -p < 目标 IP> -­interface < 第二个接口 > --login
可在
/var/lib/iscsi/nodes/iqn*/<
设置。
会话中退出,然后重新搜索并重新登录,以设置超时更
iscsi
任何目标_端口
_ip>/default
下检查以上
数据库配置助手
在单击 响应
这是一个
再次单击
34 故障排除
DBCA Summary(DBCA
Java Runtime Environment
(确定)。如果仍然没有响应,请重新启动
OK
(DBCA)
摘要) 窗口中的
计时问题。
(确定)时没有
OK
DBCA
软件安装。
Page 35
其它
使用
Dell Deployment CD 1
使用
Enterprise Linux CD
刻录 命令时为
当作为
CD
oracle
映像
-dao
(ISO)
选项)。
以外的用户连接到数据库时,出现错误信息
时,请使用正确的选项(例如,如果使用 cdrecord
安装软件时出现
的副本时会出现此问题。请始终使用原始
失败错误信息
dd
ORA01034: ORACLE not available(ORA01034:ORACLE Linux Error 13: Permission denied(Linux
未在远程节点上设置所需的权限时会出现此问题。 在所有远程节点上,作为用户
root
键入:
错误
chmod 6751 $ORACLE_HOME
:权限被拒绝)
13
安装
在节点上无法安装
节点系统时钟不一致时会出现此问题。 请执行以下过程之一:
Oracle
软件
CD
不可用)和
。
•
确保
Oracle
一些。
•
将其中一个节点配置为
运行
root.sh
下载并应用
Oracle
My Oracle Support Web
增补软件
软件安装节点上的系统时钟设置为比其余节点的时钟稍晚
NTP
时,该公用程序无法格式化
4679769
。
网络
群集验证检查失败
公用网络 分配一个有效且可路由的公用
地址(例如:
IP
192.168.xxx.xxx
服务器,以同步群集中的其余节点。
磁盘
上提供的
IP
站点
地址。
OCR
support.oracle.com
)不可路由时会出现此问题
故障排除 35
Page 36
光纤信道存储系统
载入光纤信道
必须更新 查看
验证的配置) 供的解决方案列表,
HBA
HBA
Dell|Oracle Tested and Validated Configurations
的驱动程序、
HBA
驱动程序、
Web
驱动程序模块时,收到
BIOS
站点
dell.com/oracle
)以了解支持的版本。根据需要,更新光纤信道
SDL
BIOS
和固件。
或固件。
上的
Solution Deliverable List
操作系统
当您向
Dell PowerEdge
别该设备
Kudzu 禁用时会出现此问题。
向系统添加新的外围设备后,手动运行
升级内核后使用
如果在安装有 下步骤操作,以确保为最新的内核安装更新过的
Dell DKMS
DKMS
系统添加新的外围设备时,操作系统无法识
Kudzu
。
驱动程序
驱动程序的系统中升级内核,请在内核升级后按照以
错误和警告
I/O
(经
DKMS
Dell|Oracle
驱动程序。
测试和
(可提
•
如果更新过的内核中的模块版本高于 用原有驱动程序。
•
如果更新过的内核中的模块版本低于
DKMS
dkms_module_name.conf
override module_name kernel_version modules_directory
例如,对于 件,其中包含如下内容:
override bnx2 2.6.18-x.el5 weak-updates
运行 depmod -a 命令
有关
DKMS
36 故障排除
驱动程序。请在
bnx2
驱动程序,请在
的详情,请参阅系统上的
/etc/depmod.d
的文件,其中包含如下条目:
/etc.depmod.d/
DKMS
DKMS
中创建一个文件名为
DKMS
驱动程序版本,请继续使
驱动程序版本,则使用
中创建一个
主页。
bnx2.conf
文
Page 37
Oracle
补软件
安全增补软件和建议的增
本节提供有关建议的
Oracle
安全增补软件更新和建议的增补软件的信息。
关键的增补软件更新
Oracle
品的潜在安全漏洞。这些 目前,适用于
R1 11.1.0.7
每个季度都会发行重要的增补软件更新
增补软件必须应用到生产系统。
平台的最新
Linux x86_64
群集件
CPU
CPU
增补软件
建议的增补软件
建议您应用适用于
Dell
集。有关
support.oracle.com
对于 增补软件为:
Oracle
Linux x86_64
•
11.1.0.7
建议的最新增补软件,请参阅
通用建议增补软件,增补软件
Linux x86_64
上的
Metalink Note #756671.1
上的
Oracle 11g R1 11.1.0.7
CPU
9369783
平台的
(CPU)
增补软件为
。
Oracle
My Oracle Support Web
群集件
9165206
,用于修正
Oracle 11g
建议的数据库增补软件
。
,
Oracle
Oracle
当前建议的
产
站点
•
11.1.0.7 CRS
增补软件
建议的
9207257
11.1.0.7.2 CRS
Oracle 安全增补软件和建议的增补软件 37
增补软件集更新
(CRS PSU)
,
Page 38
38 Oracle 安全增补软件和建议的增补软件
Page 39
Systèmes Dell PowerEdge
Oracle Database sur
Enterprise Linux x86_64
Guide de dépannage
Version 4.4
Page 40
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.
La reproduction de ce document de quelque manière que ce soit sans l'autorisation écrite de Dell Inc. est strictement interdite.
Les marques utilisées dans ce document : Dell™, le logo DELL™, PowerEdge™ et PowerVault™ sont des marques de Dell Inc. ; EMC
®
, Pentium®, et Celeron® sont des marques déposée d'Intel Corporation aux États-Unis et dans
Intel d’autres pays Red Hat et dans d’autres pays.
D'autres marques commerciales et noms de marque peuvent être utilisés dans ce document pour faire référence aux entités se réclamant de ces marques et de ces noms ou de leurs produits. Dell Inc. rejette tout intérêt propriétaire dans les marques et les noms commerciaux autres que les siens.
Juillet 2010 Rév. A02
; Oracle® est une marque déposée d'Oracle Inc. aux États-Unis et dans d’autres pays ;
®
et Red Hat Enterprise Linux® sont des marques déposées de Red Hat, Inc aux États-Unis
®
et PowerPath® sont des marques déposées d’EMC Corporation ;
Page 41
Table des matières
1 Présentation . . . . . . . . . . . . . . . . . . . . . . 45
Documentation requise pour déployer la base de données Dell Oracle
. . . . . . . . . . . . . . 45
Terminologie utilisée dans le présent document
Obtention d’aide
Support Dell. . . . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . 46
. . . . 46
2 Dépannage . . . . . . . . . . . . . . . . . . . . . . . 47
Performances et stabilité . . . . . . . . . . . . . . . . 47
Instabilité et performances médiocres d’Enterprise Linux ; utilisation excessive
de l’espace de pagination . . . . . . . . . . . . . 47
Un avertissement signalant un type d’interface inconnu est consigné dans le journal d’alertes Oracle ; performances médiocres du système. . . 47
Enterprise Manager . . . . . . . . . . . . . . . . . . . 48
Echec de l’agent d’Enterprise Manager échoue. . 48
Oracle Clustered File System2 (OCFS2) . . . . . . . . . 48
Blocage du système lors du montage ou
du démontage des partitions OCFS. . . . . . . . . 48
Table des matières 41
Page 42
Assistant de configuration réseau (NETCA). . . . . . . 49
Echec de l’assistant NETCA provoquant des erreurs liées à la création des
bases de données. . . . . . . . . . . . . . . . . . 49
L’ as s ista n t 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. . . . . . . . . . . . . . . 49
Cluster Ready Services (CRS) . . . . . . . . . . . . . . 49
Echec des services CRS en cours de démarrage . 49
Echec de l’installation d’Oracle Clusterware. . . . 50
Echec des services CRS au redémarrage des nœuds ou lorsque vous entrez
/etc./ini.d/init.crs start . . . . . . . . . . . . . . . 50
Les services CRS ne démarrent pas lors
de l’exécution du script root.sh. . . . . . . . . . . 50
Redémarrage en boucle du nœud . . . . . . . . . 53
Les services CRS échouent au redémarrage des nœuds ou lorsque vous entrez la commande
/etc./ini.d/init.crs start . . . . . . . . . . . . . . . 54
Assistant de configuration de base de données (DBCA) 55
Le système ne répond pas lorsque vous cliquez sur OK dans la fenêtre DBCA Summary
(Résumé de l’assistant DBCA). . . . . . . . . . . . 55
Divers. . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Vous recevez des messages d’erreur dd lorsque vous installez le logiciel à l’aide du
CD Dell Deployment n°1. . . . . . . . . . . . . . . 55
Lorsque vous vous connectez à la base de données sous un ID utilisateur autre que oracle, vous recevez les messages d’erreur suivants : ORA01034: ORACLE not available (ORACLE n’est pas disponible) et Linux Error 13: Permission
denied (Autorisation refusée). . . . . . . . . . . . 55
42 Table des matières
Page 43
Installation . . . . . . . . . . . . . . . . . . . . . . . . 56
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 . . . . . . . . . . . . . . . . . . . . . 56
La vérification du cluster échoue . . . . . . . . . 56
Système de stockage Fibre Channel . . . . . . . . . . 56
Vous recevez des erreurs d’E/S et des avertissements lorsque vous chargez le
module du pilote HBA Fibre Channel . . . . . . . . 56
Système d’exploitation . . . . . . . . . . . . . . . . . 57
Les nouveaux périphériques ajoutés à un système Dell PowerEdge ne sont pas
reconnus par le système d’exploitation . . . . . . 57
Utilisation des pilotes DKMS de Dell
après la mise à niveau du noyau . . . . . . . . . . 57
3 Correctifs de sécurité Oracle
et correctifs recommandés . . . . . . . . . . 59
Mises à jour critiques . . . . . . . . . . . . . . . . . . 59
Correctifs recommandés
. . . . . . . . . . . . . . . . 59
Table des matières 43
Page 44
44 Table des matières
Page 45
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
La documentation relative à l’installation de la base de données Dell|Oracle est organisée en une série de modules. Ces modules traitent des sujets suivants :
•
Oracle Database sous Enterprise Linux x86_64 pour systèmes Dell matériel
logicielles requises, le mode d’installation et de configuration du système d’exploitation, la procédure de vérification des configurations matérielles et logicielles et la manière d’obtenir des fichiers
•
Oracle Database sous Enterprise Linux x86_64 pour systèmes Dell PowerEdge - Guide de stockage et de mise en réseau
la configuration des solutions de mise en réseau et de stockage.
•
Oracle Database sous Enterprise Linux x86_64 pour systèmes Dell données
•
Oracle Database sous Enterprise Linux x86_64 pour systèmes Dell
résoudre les erreurs rencontrées lors des procédures d’installation décrites dans les modules précédents.
Dell Oracle
PowerEdge - Guide d’installation du système d’exploitation et du
: présente la configuration matérielle minimale et les versions
Open Source.
: décrit l’installation et
PowerEdge - Guide d’installation et de configuration de la base de
: indique comment installer et configurer Oracle Database.
PowerEdge - Guide de dépannage
: indique comment dépanner et
Tous les modules indiquent comment recevoir une assistance technique auprès de Dell.
Présentation 45
Page 46
Terminologie utilisée dans le présent document
Les termes 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).
Dans ce document, Enterprise Linux s’applique aussi bien à Red Hat Enterprise Linux qu’à Oracle Enterprise Linux, sauf mention contraire.
LUN
(numéro d’unité logique) et
disque virtuel
sont synonymes et
Obtention d’aide
Cette section indique comment contacter Dell ou Oracle pour vous procurer des livres blancs, vous informer sur les configurations prises en charge, connaître les formations proposées ainsi qu’obtenir une assistance technique ou des informations plus générales.
Support Dell
• Pour plus d’informations sur l’utilisation du système, reportez-vous à la documentation fournie avec vos composants système.
• Pour les livres blancs, les configurations prises en charge par Dell et des informations générales, consultez la page dédiée aux configurations Dell|Oracle testées et validées sur le site
dell.com/oracle
.
46 Présentation
Page 47
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. Pour réduire la taille de la zone SGA :
À l’invite de commande, tapez conséquence les valeurs des paramètres le fichier de paramètres Oracle.
free
pour connaître la RAM totale et réduire en
db_cache_size
et
shared_pool_size
dans
Un avertissement signalant un type d’interface inconnu est consigné dans le journal d’alertes Oracle ; performances médiocres du système
Ce problème se produit lorsque l’interface publique est configurée pour traiter les communications du cluster (interface privée).
Suivez la procédure suivante sur l’un des nœuds pour forcer les communications du cluster à utiliser l
a
Ouvrez une session en tant qu’utilisateur
b
Ta p e z L’invite
c
Entrez les lignes suivantes à l’invite
alter system set cluster_interconnects=<adresse IP privée du nœud1>’ scope=spfile sid=’<SID1>’ alter system set cluster_interconnects = ’<adresse IP privée du nœud2>’ scope=spfile sid=’<SID2>’
sqlplus "/ as sysdba"
SQL>
s’affiche.
’
interface privée :
oracle
à l’invite de commande.
SQL>
:
.
Dépannage 47
Page 48
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 <nomBDD> srvctl start database –d <nomBDD>
f
Ouvrez le fichier
/opt/oracle/admin/<nomBDD>/bdump/alert_<SID>.log
que les adresses
IP privées sont utilisées pour toutes les instances.
:
et vérifiez
Enterprise Manager
Echec de l’agent d’Enterprise Manager échoue
Enterprise Manager échoue lorsque son référentiel est vide.
Entrez la commande suivante pour recréer le référentiel et le fichier de configuration pour la console de base de données :
emca -config dbcontrol db repos recreate
Pour plus d’informations, voir l’article Oracle Metalink 330976.1.
Oracle Clustered File System2 (OCFS2)
Blocage du système lors du montage ou du démontage des partitions
Ce problème se produit lorsque les partitions OCFS sont démontées simultanément sur deux nœuds exactement au même moment.
PRÉCAUTION : ne redémarrez pas plusieurs systèmes en même temps. REMARQUE : la méthode consistant à redémarrer le réseau sur un nœud actif est
OCFS
déconseillée. Si vous essayez de redémarrer le service réseau à partir d’un nœud actif du cluster, ce nœud se bloque pendant un délai indéterminé. Ce comportement d’OCFS2 est normal.
48 Dépannage
Page 49
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.
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
Ce problème survient lorsque le fichier /etc./hosts.equiv n’existe pas ou qu’il ne contient pas l’adresse IP publique ou virtuelle attribuée.
Vérifiez que le fichier /etc/hosts.equiv de chaque nœud contient les adresses IP publique et virtuelle correctes. Ouvrez une session en tant qu
’
oracle et essayez d virtuelles.
exécuter rsh vers d’autres noms publics et adresses IP
’
utilisateur
Cluster Ready Services (CRS)
Echec des services CRS en cours de démarrage
Consultez le bogue Oracle 4698419. Voir le site My Oracle Support, à l’adresse
support.oracle.com
Appliquez le correctif 4698419 disponible sur le site My Oracle Support, à l’adresse support.oracle.com.
.
Dépannage 49
Page 50
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.crs start
Les services CRS échouent au redémarrage, car le disque quorum n’est pas accessible en écriture pour le démon CSS.
Essayez de relancer le service en redémarrant le nœud ou en tapant :
root.sh from /crs/oracle/product/11.1.0/crs/
Vérifiez que chaque nœud a accès au disque quorum et que le disque est accessible en écriture pour l’utilisateur root.
Vérifiez la dernière ligne du fichier $RACINE_CRS_ORA/css/log/ocssd.log.
Si vous y lisez :
clssnmvWriteBlocks: Failed to flush writes to (votingdisk), alors vérifiez les points suivants :
• Le fichier
/etc./hosts
de chaque nœud contient des adresses IP correctes
pour les noms d’hôte de tous les nœuds (adresses IP virtuelles comprises).
• Vous pouvez lancer un test ping sur les noms d’hôtes public et privé.
• Le disque de vote et le fichier du registre de cluster Oracle (OCR) sont accessibles en écriture.
Les services CRS ne démarrent pas lors de l’exécution du script root.sh
REMARQUE : vérifiez que les noms public et privé du nœud sont définis et que
vous parvenez à leur envoyer des requêtes ping.
Essa
yez de lancer à nouveau le service en redémarrant le nœud ou en exécutant
le script
root.sh
réseau corrigés.
à partir de
/crs/oracle/product/11.1.0
, une fois les problèmes
50 Dépannage
Page 51
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 de
/crs/oracle/product/11.1.0/crs/
root.sh
à partir
• 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.
Vous pouvez effectuer cette suppression sur RHEL4 en entrant les lignes suivantes
:
dd if=/dev/zero of=/dev/raw/ocr.dbf
dd if=/dev/zero of=/dev/raw/votingdisk
Essayez de lancer à nouveau le service en redémarrant le nœud ou en exécutant le script
root.sh
/crs/oracle/product/11.1.0/crs/
• L’utilisateur oracle ne dispose pas des autorisations adéquates sur (plus particulièrement,
a
Vérifiez que l’utilisateur Oracle est le propriétaire de en tapant la commande suivante
à partir du répertoire
.
/var/tmp/.oracle
).
:
/var/tmp
/var/tmp/.oracle
chown oracle.oinstall /var/tmp/.oracle
b
Essayez de lancer à nouveau le service en redémarrant le nœud ou en exécutant le script
root.sh
/crs/oracle/product/11.1.0/crs/
à partir du répertoire
.
Dépannage 51
Page 52
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 du répertoire suivant
:
root.sh
à partir
/crs/oracle/product/11.1.0/crs/
c
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
d
Vérifiez dans /
var/log/messages
les messages d’erreurs éventuels
concernant les scripts de lancement des services CRS.
e
Faites une capture d’écran de tous les fichiers journaux pour que le support puisse les étudier.
52 Dépannage
Page 53
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 :
Si l’interconnexion privée n’est pas active :
a
Démarrez Linux en mode mono-utilisateur.
:
/etc./init.d/init.crs enable
b
Entrez la commande suivante :
/etc./init.d/init.crs disable
c
Vérifiez que le nœud peut envoyer une commande ping aux autres nœuds du cluster via l’interconnexion privée.
d
Entrez la commande suivante :
/etc./init.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œuds 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
.
Dépannage 53
Page 54
Les services CRS échouent au redémarrage des nœuds ou lorsque vous entrez la commande /etc./ini.d/init.crs start
1
Modifiez
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.
3
Déconnectez-vous à l’aide de la commande suivante :
iscsiadm -m session --logout
4
Pour procédez de nouveau à la détection et à la connexion, utilisez la commande ci-dessous
/etc/iscsi/iscsid.conf
:
iscsiadm -m discovery -t st -p <target IP> -­interface=<first iface> --interface=<second iface>
iscsiadm -m discovery -t st -p <target IP> -­interface <first Iface> --login
iscsiadm -m discovery -t st -p <target IP> -­interface <Second Iface> --login
Vous pouvez vérifier les paramètres ci-dessus sous /var/lib/iscsi/nodes/iqn*/<any target_port_ip>/default.
54 Dépannage
Page 55
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.
Ce problème se produit lorsqu’une copie du CD Enterprise Linux est utilisée. Utilisez toujours le CD original.
Lorsque vous gravez les images de CD (ISO), utilisez les options appropriées, telles que -dao si vous utilisez la commande cdrecord.
Lorsque vous vous connectez à la base de données sous un ID utilisateur autre que oracle, vous recevez les messages d’erreur suivants
: ORA01034: ORACLE not available (ORACLE n’est pas disponible) et Linux Error 13: Permission denied (Autorisation refusée)
Ce problème se produit lorsque les permissions requises ne sont pas définies sur le nœud distant.
Sur tous les nœuds distants, ouvrez une session en tant qu’utilisateur root, et tapez : chmod 6751 $RACINE_ORACLE.
Dépannage 55
Page 56
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.sh, l’utilitaire ne parvient pas à formater le disque
Téléchargez et appliquez le correctif Oracle 4679769 disponible sur le site My Oracle Support, à l’adresse support.oracle.com.
OCR
Mise en réseau
La vérification du cluster échoue
Ce problème se produit lorsque l’adresse IP du réseau public n’est pas routable ; par exemple : 192.168.xxx.xxx
Attribuez une adresse IP publique valide et routable.
Système de stockage Fibre Channel
Vous recevez des erreurs d’E/S et des avertissements lorsque vous chargez le module du pilote HBA Fibre Channel
Le pilote HBA, le BIOS ou le micrologiciel doivent être mis à jour.
Pour savoir quelles sont les versions prises en charge, consultez le document «Solution Deliverable List» (Liste des éléments pris en charge) disponible sur la page dédiée aux configurations Dell|Oracle validées et testées à l’adresse dell.com/oracle. Mettez à jour en conséquence le pilote, le BIOS et le micrologiciel des adaptateurs HBA Fibre Channel.
56 Dépannage
Page 57
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.
Utilisation des pilotes DKMS de Dell après la mise à niveau du noyau
Si le noyau est mis à niveau dans un système sur lequel le pilote DKMS est installé, une fois le noyau mis à niveau, procédez comme suit pour vérifier que le pilote DKMS mis à jour a été installé pour le noyau le plus récent.
• Si la version du module du noyau mis à jour est supérieure à la version du pilote DKMS, continuez à utiliser le pilote natif.
• Si la version du module du noyau mis à jour est inférieure à la version du pilote DKMS, utilisez ce dernier. Dans le répertoire un fichier nommé suivante
override module_name kernel_version modules_directory
Par exemple, pour le pilote bnx2, créez le fichier bnx2.conf dans le répertoire /etc.depmod.d/ avec le contenu suivant :
override bnx2 2.6.18-x.el5 weak-updates
Exécutez ensuite la commande depmod -a.
Pour plus d’informations sur le module DKMS, consultez la page principale DKMS sur votre système.
:
dkms_module_name.conf
et incluez-y la syntaxe
/etc/depmod.d
, créez
Dépannage 57
Page 58
58 Dépannage
Page 59
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.
Actuellement, la dernière mise à jour critique disponible pour la plateforme Linux x86_64 est la mise à jour critique 9369783 pour Oracle 11g R1 11.1.0.7 Clusterware.
Correctifs recommandés
Dell conseille d’installer les jeux de correctifs pour plateforme Linux x86_64 recommandés par Oracle. Pour connaître les derniers correctifs recommandés par Oracle, reportez-vous à l’article Metalink 756671.1 sur le site My Oracle Support, à l’adresse support.oracle.com.
Les correctifs recommandés par Oracle pour Oracle 11g R1 11.1.0.7 Clusterware sur plateforme Linux x86_64 sont :
• Le correctif générique recommandé pour 11.1.0.7, correctif 9165206
• Le CRS Patch Set Update (CRS PSU) 11.1.0.7.2 recommandé pour
CRS 11.1.0.7, correctif 920725
Correctifs de sécurité Oracle et correctifs recommandés 59
Page 60
60 Correctifs de sécurité Oracle et correctifs recommandés
Page 61
Dell PowerEdge-Systeme
Oracle Database unter
Enterprise Linux x86_64
Fehlerbehebungshandbuch
Version 4.4
Page 62
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.
Die Vervielfältigung oder Wiedergabe dieser Materialien in jeglicher Weise ohne vorherige schriftliche Genehmigung von Dell Inc. ist strengstens untersagt.
Marken in diesem Text: Dell™, das DELL™ Logo, PowerEdge™ und PowerVault™ sind Marken von Dell Inc.; EMC Celeron ist eine eingetragene Marke von Oracle Inc. in den USA und anderen Ländern; Red Hat Enterprise Linux
Andere in diesem Dokument möglicherweise verwendete Marken und Handelsbezeichnungen beziehen sich auf die entsprechenden Eigentümer oder deren Produkte. Dell Inc. erhebt keinen Anspruch auf Marken und Handelsbezeichnungen mit Ausnahme der eigenen.
Juli 2010 Rev. A02
®
sind eingetragene Marken von Intel Corporation in den USA und anderen Ländern; Oracle®
®
und PowerPath® sind Marken von EMC Corporation; Intel®, Pentium® und
®
®
sind eingetragene Marken von Red Hat, Inc. in den USA und anderen Ländern.
und Red Hat
Page 63
Inhalt
1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . . . 67
Erforderliche Dokumentation zum Bereitstellen von Dell Oracle Database
. . . . . . . . . . . . . . . . 67
In diesem Dokument verwendete Terminologie
Wie Sie Hilfe bekommen
Dell Support
. . . . . . . . . . . . . . . . . . . . . 68
. . . . . . . . . . . . . . . . 68
. . . . 68
2 Fehlerbehebung. . . . . . . . . . . . . . . . . . . . 69
Leistung und Stabilität. . . . . . . . . . . . . . . . . . 69
Unzureichende Leistung und instabiler Betrieb von Enterprise Linux; übermäßige Beanspruchung des Swap-Speichers
Warnung über unbekannten Schnittstellentyp im Oracle-Alarmprotokoll; schlechte Systemleistung
. . . . . . . . . . . . . 69
Enterprise Manager . . . . . . . . . . . . . . . . . . . 70
Fehlschlagen von Enterprise Manager-Agent
. . . . . . . 69
. . . 70
Oracle Clustered File System2 (OCFS2)
. . . . . . . . . 70
Einfrieren des System beim Mounten oder Unmounten von OCFS-Partitionen
. . . . . . . . . 70
Inhalt 63
Page 64
Network Configuration Assistant (NETCA) . . . . . . . 71
Fehlschlagen von NETCA führt zu Fehlern bei der Datenbankerstellung
. . . . . . . . . . . . 71
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
. . . . . . . . . . . . . 71
Cluster Ready Services (CRS)
. . . . . . . . . . . . . . 71
Vorzeitiges Abbrechen von CRS beim Startvorgang
. . . . . . . . . . . . . . . . . 71
Fehlschlagen des Oracle Clusterware-Installationsvorgangs
. . . . . . . . . 72
Fehler beim CRS-Start, wenn Sie die Knoten neu starten oder nach Eingabe des Befehls /etc/init.d/init.crs start
. . . . . . . . . . . . . . . 72
Kein CRS-Start beim Ausführen von root.sh Ständiger Neustart eines Knotens
. . . . . . . . . 75
Fehler beim CRS-Start, wenn Sie die Knoten neu starten oder nach Eingabe des Befehls /etc/init.d/init.crs start
. . . . . . . . . . . . . . . 76
Database Configuration Assistant (DBCA)
Keine Reaktion beim Klicken auf OK im Fenster DBCA Summary (DBCA-Übersicht)
. . . . 73
. . . . . . . 77
. . . . 77
Verschiedenes . . . . . . . . . . . . . . . . . . . . . . 77
dd-Fehlermeldungen während der Installation der Software mit der Dell Deployment-CD 1
Wenn Sie sich mit der Datenbank nicht als Benutzer oracle verbinden, erhalten Sie die Fehlermeldungen ORA01034: ORACLE not
available und Linux Error 13: Permission denied
64 Inhalt
. . . . 77
. .
77
Page 65
Installation . . . . . . . . . . . . . . . . . . . . . . . . 78
Oracle-Software lässt sich auf den Knoten nicht installieren
. . . . . . . . . . . . . . 78
Beim Ausführen von root.sh lässt sich der OCR-Datenträger nicht formatieren
. . . . . . . . 78
Netzwerk
. . . . . . . . . . . . . . . . . . . . . . . . . 78
Fehlschlagen der Clusterüberprüfung
Fibre-Channel-Speichersystem
. . . . . . . . . . . . . 78
Sie erhalten E/A-Fehler und -Warnmeldungen, wenn Sie das Fibre-Channel-HBA-Treibermodul laden.
Betriebssystem
. . . . . . . . . . . . . . . . . . . . . . 79
Wenn Sie dem Dell PowerEdge-System ein neues Peripheriegerät hinzufügen, wird das Gerät vom Betriebssystem nicht erkannt
Verwenden von Dell DKMS-Treibern nach dem Kernel-Upgrade
. . . . . . . . . . . . . . . . 79
3 Oracle Sicherheits-Patches
und empfohlene Patches
. . . . . . . . . . . . 81
. . . . . . . 78
. . . . . 78
. . . . . . 79
Kritische Patch-Updates. . . . . . . . . . . . . . . . . 81
Empfohlene Patches
. . . . . . . . . . . . . . . . . . . 81
Inhalt 65
Page 66
66 Inhalt
Page 67
Ü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. Diese Module behandeln die folgenden Themen:
•
Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 Installationshandbuch für Betriebssystem und Hardware
Mindestanforderungen für Hardware und Softwareversionen, Informationen zur Installation und Konfiguration des Betriebssystems, zur Überprüfung der Hardware- und Softwarekonfigurationen und zum Erhalt von Open-Source-Dateien.
– Beschreibung der
•
Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 Speicher- und Netzwerkhandbuch
Konfiguration der Netzwerk- und Speicherlösungen.
•
Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 Datenbankeinrichtungs- und -installationshandbuch
Installation und Konfiguration der Oracle-Datenbank.
Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64
•
Fehlerbehebungshandbuch
bei den Installationsvorgängen aus den vorhergehenden Modulen auftreten können.
Alle Module enthalten Informationen zur technischen Unterstützung von Dell.
– Beschreibt das Beheben von Fehlern, die
– Beschreibung der Installation und
– Beschreibung der
Übersicht 67
Page 68
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 iSCSI­Speicherumgebungen (Dell MD3000 und Dell MD3000i mit MD1000­Erweiterung) verwendet.
In diesem Dokument ist mit dem Begriff Enterprise Linux sowohl Red Hat Enterprise Linux als auch Oracle Enterprise Linux gemeint, falls nicht anders angegeben.
Wie Sie Hilfe bekommen
Dieser Abschnitt enthält Kontaktinformationen von Dell oder Oracle, über die Sie Whitepapers, Informationen zu den unterstützten Konfigurationen, Schulungsmaterial, technischen Support und allgemeine Informationen anfordern können.
Dell Support
• Ausführliche Informationen zur Verwendung des Systems finden Sie in der zusammen mit den Systemkomponenten gelieferten Dokumentation.
• Whitepapers, Informationen zu den von Dell unterstützten Konfigurationen und allgemeine Informationen erhalten Sie auf der Website für unterstützte und geprüfte Dell/Oracle-Konfigurationen unter
dell.com/oracle
.
68 Übersicht
Page 69
Fehlerbehebung
In diesem Abschnitt sind empfohlene Maßnahmen für Probleme aufgeführt, die bei der Bereitstellung und beim Einsatz von Enterprise Linux und Oracle­Software 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. Stellen Sie stets sicher, dass die SGA­Größe nicht mehr als 65 % des gesamten System-RAMs beträgt. So reduzieren Sie die SGA-Größe:
Geben Sie an der Eingabeaufforderung vorhandenen RAM-Speichers festzustellen. Vermindern Sie dementsprechend die Werte für Parameterdatei.
db_cache_size
und
shared_pool_size parameters
free
ein, um die Größe des
in der Oracle-
Warnung über unbekannten Schnittstellentyp im Oracle-Alarmprotokoll; schlechte Systemleistung
Dieses Problem tritt auf, wenn die öffentliche Schnittstelle für interne Clusterkommunikation konfiguriert ist (private Schnittstelle).
Führen Sie auf einem Knoten folgende Schritte aus, um den Netzwerkverkehr des Clusters auf die private Netzwerkschnittstelle umzuleiten:
a
Melden Sie sich als Benutzer
b
Geben Sie an der Eingabeaufforderung ein. Die Eingabeaufforderung
c
Geben Sie an der Eingabeaufforderung
alter system set cluster_interconnects=<Private IP-Adresse Knoten1>’ scope=spfile sid=’<SID1>’ alter system set cluster_interconnects=’<Private IP-Adresse Knoten2>’ scope=spfile sid=’<SID2>’
oracle
SQL>
an.
sqlplus „/ as sysdba
wird angezeigt.
SQL>
folgende Zeilen ein:
”
Fehlerbehebung 69
Page 70
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 <Datenbankname> srvctl start database –d <Datenbankname>
f
Öffnen Sie die Datei
/opt/oracle/admin/<Datenbankname>/bdump/alert_<SID>.log
und überprüfen Sie, ob für alle Instanzen die privaten IP-Adressen verwendet werden.
,
Enterprise Manager
Fehlschlagen von Enterprise Manager-Agent
Der Enterprise Manager schlägt fehl, wenn das Enterprise-Manager­Repository leer ist.
Geben Sie Folgendes ein, um die Konfigurationsdatei und das Repository für die Datenbankkonsole neu zu erstellen:
emca -config dbcontrol db repos recreate
Ausführliche Anweisungen erhalten Sie im Oracle Metalink-Artikel 330976.1.
Oracle Clustered File System2 (OCFS2)
Einfrieren des System beim Mounten oder Unmounten von OCFS­Partitionen
Dieses Problem tritt auf, wenn das Unmounting von OCFS-Partitionen an zwei Knoten genau zur gleichen Zeit erfolgt.
VORSICHTSHINWEIS: Starten Sie immer nur ein System auf einmal neu.
ANMERKUNG: Es wird davon abgeraten, das Netzwerk an einem aktiven Knoten
neu zu starten. Wenn versucht wird, den Netzwerkdienst von einem aktiven Knoten im Cluster aus neu zu starten, reagiert der Knoten für unbestimmte Zeit nicht mehr. Dieses Verhalten ist bei OCFS2 normal.
70 Fehlerbehebung
Page 71
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
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.
/etc/hosts.equiv
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
Dies tritt auf, wenn die Datei /etc/hosts.equiv nicht vorhanden ist oder nicht die zugewiesenen öffentlichen und virtuellen IP-Adressen enthält.
Stellen Sie sicher, dass die Datei /etc/hosts.equiv auf jedem Knoten die richtige öffentliche und virtuelle IP-Adresse enthält. Versuchen Sie als Benutzer oracle mit rsh auf andere öffentliche Knotennamen und virtuelle IP-Adressen zuzugreifen.
aufgeführt werden.
Cluster Ready Services (CRS)
Vorzeitiges Abbrechen von CRS beim Startvorgang
Siehe Oracle-Programmfehler 4698419. Rufen Sie die My Oracle Support­Websi te support.oracle.com auf.
Wenden Sie den Patch 4698419 an, der auf der My Oracle Support-Website support.oracle.com zur Verfügung steht.
Fehlerbehebung 71
Page 72
Fehlschlagen des Oracle Clusterware-Installationsvorgangs
Die Installation von Oracle Clusterware schlägt fehl, da die EMC PowerPath­Gerä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.crs start
CRS kann nicht starten, wenn der CSS-Daemon (Cluster Ready Services) nicht auf den Quorum-Datenträger schreiben kann.
Versuchen Sie, den Dienst erneut zu starten, indem Sie den Knoten neu starten oder Folgendes eingeben:
root.sh im Verzeichnis/crs/oracle/product/11.1.0/crs/
Stellen Sie sicher, dass alle Knoten Zugriff auf den Quorum-Datenträger haben
root
und der Benutzer
über Schreibrechte auf diesem Datenträger verfügt.
Überprüfen Sie die letzte Zeile in der Datei $ORA_CRS_HOME/css/log/ocssd.log.
Wenn Sie Folgendes sehen:
clssnmvWriteBlocks: Failed to flush writes to (votingdisk),
überprüfen Sie Folgendes:
• Die Datei
/etc/hosts
auf den einzelnen Knoten enthält die korrekten IP-Adressen für alle Knoten-Hostnamen, einschließlich der virtuellen IP-Adressen.
• Die öffentlichen und privaten Hostnamen reagieren auf Ping-Befehle.
• Die Oracle Cluster Registry-Datei (OCR) und der Voting-Datenträger können beschrieben werden.
72 Fehlerbehebung
Page 73
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.
Die folgenden Probleme können zum Fehlschlagen von CRS führen:
• Kein Zugriff auf die OCR-Datei und den Speicher für Statusinformationen.
Beheben Sie das E/A-Problem und versuchen Sie den Dienst neu zu starten, indem Sie den Knoten neu starten oder den Befehl Verzeichnis
/crs/oracle/product/11.1.0/crs/
ausführen.
root.sh
• Die OCR-Datei und der Voting-Datenträger wurden nicht gelöscht und enthalten veraltete Informationen.
Löschen Sie die OCR-Datei und den Voting-Datenträger, um die veralteten Informationen zu entfernen.
im
Unter RHEL4 können Sie dazu die folgenden Zeilen eingeben:
dd if=/dev/zero of=/dev/raw/ocr.dbf
dd if=/dev/zero of=/dev/raw/votingdisk
Versuchen Sie den Dienst neu zu starten, indem Sie den Knoten neu starten oder den Befehl
/crs/oracle/product/11.1.0/crs/
root.sh im Verzeichnis
ausführen.
• Der Oracle-Benutzer besitzt keine Zugriffsrechte auf das Verzeichnis
/var/tmp
a
(insbesondere
/var/tmp/.oracle
).
Legen Sie den Oracle-Benutzer als Besitzer des Verzeichnisses
/var/tmp/.oracle
fest, indem Sie den folgenden Befehl eingeben:
chown oracle.oinstall /var/tmp/.oracle
b
Versuchen Sie den Dienst neu zu starten, indem Sie den Knoten neu starten oder den Befehl
/crs/oracle/product/11.1.0/crs/
root.sh im Verzeichnis
ausführen.
Fehlerbehebung 73
Page 74
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.0/crs/
c
Ü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
d
Fehlermeldungen des CRS-Initialisierungsskripts finden Sie in
/var/log/messages
e
Erstellen Sie eine Kopie dieser Protokolldateien für die Diagnose
.
durch den Support.
74 Fehlerbehebung
Page 75
Ständiger Neustart eines Knotens
Ein Knoten startet wiederholt neu, wenn er keinen Zugriff auf den Quorum­Datenträ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.crs enable
Wenn die private Verbindung ist ausgefallen ist:
a
Starten Sie Linux im Einzelbenutzer-Modus.
b
Geben Sie folgenden Befehl ein:
/etc/init.d/init.crs disable
c
Überprüfen Sie, ob der Knoten die anderen Clusterknoten mit Ping­Befehlen über die private Verbindung erreicht.
d
Geben Sie folgenden Befehl ein:
/etc/init.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 am Anfang der Datei
/etc/inet.d/init.crs
und starten Sie das System neu:
/bin/sleep 30
.
Fehlerbehebung 75
Page 76
Fehler beim CRS-Start, wenn Sie die Knoten neu starten oder nach Eingabe des Befehls /etc/init.d/init.crs start
1
Ändern Sie
node.session.timeo.replacement_timeout = 144
in
node.session.timeo.replacement_timeout = 30
Melden Sie sich von bestehenden iscsi-Sitzungen ab, führen Sie eine
2
Neuerkennung durch und melden Sie sich erneut an, damit das neue Zeitlimit in Kraft tritt.
3
Melden Sie sich mit folgendem Befehl ab:
iscsiadm -m session --logout
Um die Neuerkennung durchzuführen und sich wieder anzumelden,
4
geben Sie folgende Befehle ein:
iscsiadm -m discovery -t st -p <Ziel-IP> -­interface=<Erste Schnittstelle> --interface= <Zweite Schnittstelle>
/etc/iscsi/iscsid.conf
iscsiadm -m discovery -t st -p <Ziel-IP> -­interface <Erste Schnittstelle> --login
iscsiadm -m discovery -t st -p <Ziel-IP> -­interface <Zweite Schnittstelle> --login
Sie können die obigen Einstellungen mit /var/lib/iscsi/nodes/iqn*/<Beliebige Ziel-Port-IP>/default überprüfen.
76 Fehlerbehebung
Page 77
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. Verwenden Sie immer die Original-CD.
Verwenden Sie beim Brennen von CD-Images (ISOs) für den Befehl die korrekten Optionen wie
-dao
.
cdrecord
Wenn Sie sich mit der Datenbank nicht als Benutzer oracle verbinden, erhalten Sie die 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 auf allen Netzwerkknoten als Benutzer root den Befehl chmod 6751 $ORACLE_HOME ein.
Fehlerbehebung 77
Page 78
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 Oracle­Installation 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.sh lässt sich der OCR-Datenträger nicht formatieren
Laden Sie den Oracle-Patch 4679769 von der My Oracle Support-Website support.oracle.com herunter und wenden Sie ihn an.
Netzwerk
Fehlschlagen der Clusterüberprüfung
Dieses Problem tritt auf, wenn die IP-Adresse des öffentlichen Netzwerks nicht routingfähig ist, zum Beispiel: 192.168.xxx.xxx
Weisen Sie eine gültige, routingfähige öffentliche IP-Adresse zu.
Fibre-Channel-Speichersystem
Sie erhalten E/A-Fehler und -Warnmeldungen, wenn Sie das Fibre­Channel-HBA-Treibermodul laden.
Für HBA-Treiber, BIOS oder Firmware ist ein Update erforderlich. Die unterstützten Versionen sind in der „Solution Deliverable List“ (SDL)
auf der Dell|Oracle-Website für geprüfte und zugelassene Konfigurationen dell.com/oracle aufgeführt. Führen Sie die entsprechenden Updates des Treibers, des BIOS und der Firmware der Fibre-Channel-HBAs durch.
78 Fehlerbehebung
Page 79
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.
Verwenden von Dell DKMS-Treibern nach dem Kernel-Upgrade
Wenn ein Kernel-Upgrade auf einem System mit installiertem DKMS-Treiber durchgeführt wird, befolgen Sie nach dem Kernel-Upgrade die untenstehenden Anweisungen, um sicherzustellen, dass der aktualisierte DKMS-Treiber für den neuesten Kernel installiert ist.
• Wenn die Modulversion des aktualisierten Kernels höher ist als die dkms­Treiberversion, verwenden Sie weiterhin den nativen Treiber.
• Wenn die Modulversion des aktualisierten Kernels niedriger ist als die DKMS-Treiberversion, verwenden Sie den DKMS-Treiber. Erstellen Sie eine Datei unter
dkms_module_name.conf
/etc/depmod.d
, die folgenden Eintrag enthält:
mit dem Dateinamen
override module_name kernel_version modules_directory
Erstellen Sie beispielsweise für den bnx2-Treiber die Datei bnx2.conf unter /etc/depmod.d/ mit folgendem Inhalt:
override bnx2 2.6.18-x.el5 weak-updates
Führen Sie den Befehl depmod -a aus.
Weitere Informationen zu DKMS finden Sie auf der entsprechenden man­Seite des Systems.
Fehlerbehebung 79
Page 80
80 Fehlerbehebung
Page 81
Oracle Sicherheits-Patches und empfohlene Patches
Dieser Abschnitt informiert über die empfohlenen Oracle Sicherheits-Patch­Updates 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.
Empfohlene Patches
Dell empfiehlt, die von Oracle empfohlene Datenbank-Patchsets für die Linux x86_64-Plattform anzuwenden. Die aktuellen von Oracle empfohlenen Patches sind im Metalink-Artikle 756671.1 auf
support.oracle.com
aufgeführt.
Dies sind die aktuellen von Oracle empfohlenen Patches für
Oracle 11g R1 11.1.0.7 Clusterware unter Linux x86_64
• 11.1.0.7 Allgemein empfohlener Patch, Patch 9165206
• 11.1.0.7 CRS Empfohlenes Patchset-Update 11.1.0.7.2 CRS
(CRS PSU), Patch 9207257
Oracle Sicherheits-Patches und empfohlene Patches 81
:
Page 82
82 Oracle Sicherheits-Patches und empfohlene Patches
Page 83
Dell PowerEdge システム
Enterprise Linux x86_64 で使
用する Oracle データベース
トラブルシューティン
グガイド
バージョン 4.4
Page 84
メモおよび注意
メモ:
注意 : 手順に従わないと、ハードウェアの損傷やデータの損失につながる
可能性があることを示しています。
コンピュータを使いやすくするための重要な情報を説明しています。
____________________
本書の内容は予告なく変更されることがあります。
©
2010
すべての著作権は
Dell Inc.
本書に使用されている商標: は
Dell Inc.
Intel®、
標です。 び
Red Hat Enterprise Linux®
商標または製品の権利を主張する事業体を表すためにその他の商標および社名が使用され ていることがあります。それらの商標や会社名は、一切 ません。
2010 年 7 月 Rev. A02
の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。
の商標です。
Pentium®
Oracle®
および
は米国その他の国における
Dell Inc.
Dell™、DELL™
EMC®
Celeron®
にあります。
および
は米国その他の国における
PowerPath® は EMC Corporation
は米国その他の国における
ロゴ、
Oracle Inc.
PowerEdge™
、および
Intel Corporation
の登録商標です。
Red Hat, Inc.
Dell Inc.
に帰属するものではあり
PowerVault™
の商標です。
の登録商
Red Hat®
の登録商標です。
およ
Page 85
目次
1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Dell Oracle データベースの導入に必要 なマニュアル
. . . . . . . . . . . . . . . . . . . . . . 89
本書で使用されている用語
困ったときは
デルサポート . . . . . . . . . . . . . . . . . . . 90
. . . . . . . . . . . . . . . . . . . . . . 90
. . . . . . . . . . . . . . 90
2 トラブルシューティング . . . . . . . . . . . . 91
パフォーマンスと安定性 . . . . . . . . . . . . . . . 91
Enterprise Linux のパフォーマンスが 低下して、不安定になっている。
スワップスペースの過剰使用. . . . . . . . . . 91
Oracle アラートファイル内にインタ フェースタイプ不明の警告がある。
システムパフォーマンスの低下 . . . . . . . . 91
Enterprise Manager . . . . . . . . . . . . . . . . . . . 92
Enterprise Manager エージェン
トが失敗する . . . . . . . . . . . . . . . . . . . 92
OCFS2(Oracle Clustered File System2). . . . . . . . 92
OCFS パーティションのマウントまたは アンマウント中にシステムがハングする . . . 92
目次 85
Page 86
NETCA(Network Configuration Assistant) . . . . . . 93
NETCA が誤動作して、データ
ベース作成が失敗する . . . . . . . . . . . . . . 93
NETCA がリモートノードを設定 できない。または、DBCA 実行中に
RAW デバイス検証エラーが発生する . . . . . 93
CRS(Cluster Ready Services) . . . . . . . . . . . . . 93
CRS の起動が途中で失敗する . . . . . . . . . . 93
Oracle Clusterware のインスト
ールが失敗する . . . . . . . . . . . . . . . . . . 93
ノードの再起動時または
/etc/init.d/init.crs start の入力後に
CRS が起動できない . . . . . . . . . . . . . . . 94
root.sh 実行時に CRS が起動できない . . . . . 94
ノードが再起動を繰り返す . . . . . . . . . . . . 96
ノードの再起動時または
/etc/init.d/init.crs start の入力後に
CRS が起動できない . . . . . . . . . . . . . . . 97
DBCA(Database Configuration Assistant) . . . . . . 98
DBCA Summary(DBCA サマリ)ウィン ドウで OK をクリックしても反応がない . . . 98
その他 . . . . . . . . . . . . . . . . . . . . . . . . . . 98
『Deployment CD 1』を使用したソフトウ
ェアのインストール中に dd 失敗のエラ
ーメッセージが表示される . . . . . . . . . . . 98
oracle 以外のユーザーとしてデータベー スに接続する際に、ORA01034:ORACLE not available(ORACLE が使用できません) および Linux Error 13: Permission denied
(アクセスは拒否されました)というエ
ラーメッセージが表示される . . . . . . . . . . 98
86 目次
Page 87
インストール . . . . . . . . . . . . . . . . . . . . . . 99
Oracle ソフトウェアがノードにイン
ストールできない . . . . . . . . . . . . . . . . 99
root.sh を実行すると、ユーティリ ティが OCR ディスクのフォーマッ
トに失敗する . . . . . . . . . . . . . . . . . . . 99
ネットワーク . . . . . . . . . . . . . . . . . . . . . . 99
クラスタ検証テストが失敗する . . . . . . . . 99
ファイバーチャネルストレージシステム . . . . . 99
ファイバーチャネル HBA ドライバ モジュールのロード時に I/O エラー
と警告が表示される . . . . . . . . . . . . . . . 99
OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Dell PowerEdge システムに新しい周辺 機器を追加すると、OS がその周辺機器
を認識しない . . . . . . . . . . . . . . . . . . . 100
カーネルのアップグレード後の
Dell DKMS ドライバの使い方 . . . . . . . . . . 100
3 Oracle セキュリティ修正プログ
ラムと推奨される修正プログラム . . . 101
重要な修正プログラムのアップデート
(CPU: Critical Patch Update)
推奨される修正プログラム
. . . . . . . . . . . . . . 101
. . . . . . . . . . . . . . 101
目次 87
Page 88
88 目次
Page 89
概要
Linux Advanced Server
シューティング』は、
Linux 5.5 AS x86_64
されます。
で使用する
Red Hat Enterprise Linux
上で実行されている
Oracle
Oracle Database 10g R2
データベースの『トラブル
または
Oracle Enterprise
に適用
Dell Oracle データベースの導入に必要なマ ニュアル
Dell|Oracle
になっています。各分冊の内容は次のとおりです。
•
『
Dell PowerEdge
Oracle
けガイド』では、最低限必要なソフトウェアとハードウェアのバー ジョン、 ウェアの構成を確認する方法、オープンソースファイルの入手方法 について説明しています。
•
『
Dell PowerEdge
Oracle
ネットワークとストレージソリューションの設置と設定の方法につ いて説明しています。
データベースインストールマニュアルセットは、分冊の構成
システム
データベース
OS
のインストールと設定の方法、ハードウェアとソフト
データベース
— OS
システム
—
— Enterprise Linux x86_64
のインストールとハードウェアの取り付
— Enterprise Linux x86_64
ストレージ
&
ネットワークガイド』では、
で使用する
で使用する
•
『
Dell PowerEdge
Oracle
ガイド』では、 ついて説明しています。
•
『
Dell PowerEdge
Oracle
分冊で説明されているインストール手順中に発生するエラーの解決 方法について説明しています。
各分冊のいずれにも、デルのテクニカルサポートを利用する方法が記され ています。
データベース
データベース
システム
—
Oracle
システム
—
— Enterprise Linux x86_64
データベースセットアップ
データベースのインストールと設定の方法に
— Enterprise Linux x86_64
トラブルシューティングガイド』では、前の
で使用する
&
インストール
で使用する
概要 89
Page 90
本書で使用されている用語
本書では、「 これらの用語は同義語であり、どちらを使用しても構いません。「 は
Dell/EMC
ディスク」は
Dell MD3000i + MD1000
です。
本書で使われている Enterprise Linux という用語は、特に説明のない限 り Red Hat Enterprise Linux と Oracle Enterprise Linux の両方に適用 されます。
LUN
」および「仮想ディスク」という語が使われています。
LUN
ファイバーチャネルストレージシステムの環境で、「仮想
Dell Power Vault SAS
拡張)ストレージの環境で、通常使われる用語
および
iSCSI(Dell MD3000
および
」
困ったときは
本項では、ホワイトペーパー、サポートされている構成、トレーニング、 テクニカルサポートに関する情報、および一般的な情報を入手するために デルまたは
デルサポート
•
システムの使い方の詳細については、システムコンポーネントに付 属のマニュアルを参照してください。
Oracle
に問い合わせる方法を説明しています。
•
各種のホワイトペーパー、デルがサポートする設定、一般情報につ いては、
(
Dell|Oracle
参照してください。
Dell|Oracle Tested and Validated Configurations
で検証済みの構成)ウェブサイト dell.com/oracle を
90 概要
Page 91
トラブルシューティング
本項では、 あたって発生する可能性のある問題と推奨する対処方法を示します。
Enterprise Linux
および
Oracle
ソフトウェアの導入と使用に
パフォーマンスと安定性
Enterprise Linux のパフォーマンスが低下して、不安定になってい る。スワップスペースの過剰使用
Oracle SGA(System Global Area Enterprise Linux
ズがシステム してください。
コマンドプロンプトから
Oracle
の両パラメータを上記に従って変更します。
パラメータファイル内の db_cache_size と shared_pool_size
のパフォーマンスが低下します。 どんな場合も
RAM
合計容量の
SGA
サイズを小さくするには、次の手順を実行します。
free と入力して、
Oracle アラートファイル内にインタフェースタイプ不明の警告が ある。システムパフォーマンスの低下
)が推奨サイズを超えていると、
SGA
65
パーセントを超えることがないように
RAM
の合計容量を確認し、
サイ
この問題は、パブリックインタフェースがクラスタ通信(プライベートイ ンタフェース)に設定されている場合に発生します。
1
つのノードで以下の手順を実行して、クラスタ通信にプライベートイン
タフェースの使用を強制します。
a
oracle としてログインします。
b
コマンドプロンプトで sqlplus "/ as sysdba" と入力しま
SQL> プロンプトが表示されます。
す。
c SQL>
alter system set cluster_interconnects=< プライ ベート IP アドレス node1>’ scope=spfile sid=’
<SID1>’ alter system set cluster_interconnects =’< プライベート IP アドレス node2>’ scope=spfile sid=’<SID2>’
プロンプトで以下の各行を入力します。
トラブルシューティング 91
Page 92
d
クラスタ内の各ノードについてこれらの行を作成します。
e
次のコマンドを入力して、すべてのノードでデータベースを再起 動します。
srvctl stop database –d <db 名 > srvctl start database –d <db 名 >
f
/opt/oracle/admin/<db名>/bdump/alert_<SID>.log ファイ
IP
ルを開き、プライベート 使用されていることを確認します。
アドレスがすべてのインスタンスで
Enterprise Manager
Enterprise Manager エージェントが失敗する
Enterprise Manager
敗します。 次のテキストを入力して、データベースコンソールの設定ファイルとリポ
ジトリを作成しなおします。
emca -config dbcontrol db repos recreate
詳細な手順については、 ださい。
は、
Enterprise Manager
Oracle Metalink Note #
リポジトリが空の場合に失
330976.1 を参照してく
OCFS2(Oracle Clustered File System2)
OCFS パーティションのマウントまたはアンマウント中にシステ ムがハングする
この問題は、 された場合に発生します。
注意: 同時に複数のシステムの再起動を行わないでください。
メモ: ライブノード上のネットワークを再起動することはお勧めできま
せん。クラスタ内のライブノードからネットワークサービスの再起動を試 みると、ノードがハングします。これは OCFS2 の予期される動作です。
OCFS
パーティションが
2
つのノードで同時にアンマウント
92 トラブルシューティング
Page 93
NETCA(Network Configuration Assistant)
NETCA が誤動作して、データベース作成が失敗する
NETCA
/etc/hosts.equiv ファイル内のリストにないためです。
NETCA
てあること、 レスと仮想
が失敗するのは、パブリックネットワーク、ホスト名、仮想
を起動する前に、ホスト名がパブリックネットワークに割り当て
/etc/hosts.equiv ファイル内のリストにパブリック
IP
アドレスが入っていることを確認します。
IP が
IP
アド
NETCA がリモートノードを設定できない。または、DBCA 実行中 に RAW デバイス検証エラーが発生する
この問題は、 たパブリックまたは仮想
各ノードで、
アドレスが含まれていることを確認します。別のパブリック名と
IP
アドレスに対して、ユーザー oracle として rsh コマンドを実行してみ ます。
/etc/hosts.equiv ファイルがないか、または割り当てられ
IP
アドレスが含まれていない場合に発生します。
/etc/hosts.equiv
ファイルに正しいパブリックまたは仮想
VIP
CRS(Cluster Ready Services)
CRS の起動が途中で失敗する
Oracle
イト
My Oracle Support
ム
バグ
4698419
support.oracle.com を参照してください。
4698419
を入手して、適用します。
を参照してください。
ウェブサイト support.oracle.com で修正プログラ
My Oracle Support
Oracle Clusterware のインストールが失敗する
Oracle Clusterware
バイス名が全部のノードで統一されていないためです。
Oracle Clusterware PowerPath
ます。
デバイス名が全部のノードで統一されていることを確認し
のインストールが失敗するのは、
をインストールする前に
PowerPath
トラブルシューティング 93
EMC PowerPath
ウェブサ
デ
を再起動し、
Page 94
ノードの再起動時または /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.log ファイルの最終行を調べます。
次の記載があれば、
clssnmvWriteBlocks: Failed to flush writes to (votingdisk)
以下のことを確認します。
•
各ノードの /etc/hosts ファイルの仮想
IP
ノードホスト名に対する
•
パブリックおよびプライベートホスト名に対して
アドレスが正しい。
IP
アドレスを含むすべての
ping
が実行でき
る。
•
OCR(Oracle Cluster Registry
)ファイルと投票ディスクが書き込み
可能である。
root.sh 実行時に CRS が起動できない
メモ: パブリックおよびプライベートのノード名がすべて定義済みで、
これらのノード名に対して ping が実行できることを確認します。
ネットワークの問題を修正した後、該当ノードを再起動するか、
/crs/oracle/product/11.1.0/crs/ から root.sh
のサービスが起動できるかどうか試してみます。
を実行して、もう一度こ
94 トラブルシューティング
Page 95
以下は、
•
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/.oracle
)に対する権
限を持っていない。
a
次のコマンドを入力して、ユーザー
Oracle を
/var/tmp/.oracle
の所有者にします。
chown oracle.oinstall /var/tmp/.oracle
b
該当ノードを再起動するか、または
/crs/oracle/product/11.1.0/crs/ から root.sh を実行して、も
う一度このサービスが起動できるかどうか試してみます。
CRS
その他すべての
トラブルシューティングの手順が失敗した場合は、
次の手順を実行します。
a
次の行を追加して、デバッグを可能にします。
to root.sh:
set -x
b
次のディレクトリから root.sh を実行して、もう一度このサー ビスが起動できるかどうか試してみます。
/crs/oracle/product/11.1.0/crs/
トラブルシューティング 95
Page 96
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 を調べて、
るエラーメッセージを確認します。
e
サポート診断のためにすべてのログファイルを保存します。
ノードが再起動を繰り返す
CRS
の初期化スクリプトに関す
ノードは、共有ストレージ上のクォーラムディスクにアクセスできない場 合に再起動を繰り返します。
以下の手順を実行します。
a
シングルユーザーモードで
Linux
を起動し、次のコマンドを入力
します。
/etc/init.d/init.crs disable
b
クォーラムディスクが利用可能で、プライベート相互接続が有効 であることを確認します。
c
再起動して、
/etc/init.d/init.crs enable と入力しま
す。
プライベート相互接続がダウンしている場合は、次の手順を実行します。
a
シングルユーザーモードで
b
次のコマンドを入力します。
Linux
を起動します。
/etc/init.d/init.crs disable
96 トラブルシューティング
Page 97
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.replacement_timeout = 30
2
既存の
iscsi
セッションからログアウトし、再検知、再ログインして、
タイムアウトの変更を設定します。
3
次のコマンドを使用してログアウトします。
iscsiadm -m session --logout
再検知と再ログインを行うには、以下のコマンドを使用します。
4
iscsiadm -m discovery -t st -p < ターゲット IP> -­interface=<最初のインタフェース> --interface=<2 番目の
インタフェース >
iscsiadm -m discovery -t st -p < ターゲット IP> -­interface < 最初のインタフェース > --login
iscsiadm -m discovery -t st -p < ターゲット IP> -­interface <2 番目のインタフェース > --login
上記の設定は /var/lib/iscsi/nodes/iqn*/<
IP>/default
で確認できます。
任意のターゲットポート
トラブルシューティング 97
Page 98
DBCA(Database Configuration Assistant)
DBCA Summary(DBCA サマリ)ウィンドウで OK をクリックして も反応がない
これは、
OK を再度クリックします。それでも反応がなければ、
アのインストールを再試行します。
Java Runtime Environment
のタイミングの問題です。
DBCA
ソフトウェ
その他
『Deployment CD 1』を使用したソフトウェアのインストール中に
dd 失敗のエラーメッセージが表示される
この問題は、『 す。必ず元の
CD
イメージ(
る場合は、
oracle 以外のユーザーとしてデータベースに接続する際に、 ORA01034:ORACLE not available(ORACLE が使用できません)およ
び Linux Error 13: Permission denied(アクセスは拒否されました) というエラーメッセージが表示される
Enterprise Linux CD
CD
を使用してください。
ISO
)を書き込む際に、
-dao
などの適切なオプションを使用します。
』のコピーを使用した場合に発生しま
cdrecord コマンドを使用してい
この問題は、該当するリモートノードに必要な権限が設定されていない場 合に発生します。
すべてのリモートノードで、ユーザー
$ORACLE_HOME
98 トラブルシューティング
と入力します。
root
として chmod 6751
Page 99
インストール
Oracle ソフトウェアがノードにインストールできない
この問題は、ノードのシステムクロックが同一でない場合に発生します。 次のいずれかの手順を実行してください。
•
Oracle
ロックが残りのノードよりも遅い時刻に設定されていることを確認 します。
•
ノードの ノードを同期化します。
root.sh を実行すると、ユーティリティが OCR ディスクのフォー マットに失敗する
ソフトウェアのインストールを実行するノードのシステムク
1
つを
NTP
サーバーとして構成し、クラスタ内の残りの
My Oracle Support
プログラム
4679769
ウェブサイト support.oracle.com から
をダウンロードし、適用してください。
Oracle
ネットワーク
クラスタ検証テストが失敗する
この問題は、パブリックネットワークの 場合に発生します。例:
有効でルータブルなパブリック
192.168.xxx.xxx IP
アドレスを割り当てます。
IP
アドレスがルータブルでない
ファイバーチャネルストレージシステム
ファイバーチャネル HBA ドライバモジュールのロード時に I/O エ ラーと警告が表示される
HBA
Dell|Oracle Tested and Validated Configurations(Dell|Oracle
みの構成)ウェブサイト
(
確認します。必要に応じて、ファイバーチャネル
BIOS
ドライバ、
SDL
)』(ソリューションリスト)で、サポートされているバージョンを
、ファームウェアをアップデートします。
BIOS
、またはファームウェアのアップデートが必要です。
で検証済
dell.com/oracle の『
Solution Deliverable List
HBA
用のドライバ、
修正
トラブルシューティング 99
Page 100
OS
Dell PowerEdge システムに新しい周辺機器を追加すると、OS がそ の周辺機器を認識しない
この問題は、 システムに新しい周辺機器を追加した後で、
Kudzu が無効になっている場合に発生します。
Kudzu を手動で実行します。
カーネルのアップグレード後の Dell DKMS ドライバの使い方
DKMS
グレードした場合は、カーネルのアップグレード後に、以下の手順を実行 して最新のカーネル用にアップデートされた ルされていることを確認します。
•
•
ドライバがインストールされているシステムでカーネルをアップ
dkms
アップデートされたカーネルのモジュールバージョンが イバのバージョンよりも高い場合は、ネイティブドライバを使い続 けます。
アップデートされたカーネルのモジュールバージョンが イバのバージョンよりも低い場合は、 下記のエントリを持つ ファイルを
override module_name kernel_version modules_directory
/etc/depmod.d に作成してください。
dkms_module_name.conf という名前の
DKMS
ドライバがインストー
dkms
DKMS
ドライバを使います。
ドラ
ドラ
たとえば、 うファイルを
override bnx2 2.6.18-x.el5 weak-updates
depmod -a コマンドを実行します。
DKMS
100 トラブルシューティング
bnx2
の詳細については、
ドライバには、下記のコンテンツを持つ
/etc/depmod.d/
に作成します。
DKMS
のメインページを参照してください。
bnx2.conf
とい
Loading...