Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64 Operating System and Hardware Installation 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. © 2009–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 of Dell Oracle Database Deployment . . . . . . . . . . . . . . . . . . . . . . . . 5 . . . . . . . . . 5 . . . . . . . . . . . 6 . . . . . . . . . . . . . . . . . . . . . . . . 6 Required Documentation for Deploying the Dell|Oracle Database . . . . . . . . Terminology Used in This Document Getting Help 2 3 Software and Hardware Requirements . . . 7 Minimum Software Requirements . . . . . . . . . . . . 7 Minimum Hardware Requirements . . . . . . . . . . . .
Updating Your System Packages Using Red Hat Network or Unbreakable Linux Network . . . . . . . . . . . . . . . Configuring the Operating System for Oracle Database Installation. . 4 5 4 . . . . . . . . . . . Verifying Cluster Hardware and Software Configurations Obtaining and Using Open Source Files . . Contents 17 18 . . . . . . . . . 23 . . . . . . . . . . . . . . . .
Overview of Dell Oracle Database Deployment This document applies to Oracle Database 10g R2 on Red Hat Enterprise Linux or Oracle Enterprise Linux 5.5 AS x86_64.
Terminology Used in This Document This document uses the terms logical unit number (LUN) and virtual disk. These terms are synonymous and can be used interchangeably. The term LUN is commonly used in a Dell/EMC Fibre Channel storage system environment and virtual disk is commonly used in Dell PowerVault SAS and Dell EqualLogic PS Series storage environments. This document uses the term Enterprise Linux that applies to both Red Hat Enterprise Linux and Oracle Enterprise Linux unless stated specifically.
Software and Hardware Requirements The following sections describe the minimum software and hardware requirements for Dell-supported configurations for Oracle. For more information on the minimum software versions for drivers and applications, see the Solution Deliverable List (SDL) that can be found for each Dell Validated Components at dell.com/oracle. Minimum Software Requirements Table 2-1 lists basic software requirements for Dell-supported configurations for Oracle 10g on Enterprise Linux Version 5.
Minimum Hardware Requirements The following sections list the hardware requirements for Fibre Channel, direct-attached SAS, and iSCSI configurations. For more information on specific hardware components, see the documentation that shipped with your system. For more information about Dell Supported hardware configurations, see the SDL for each Dell validated component at dell.com/oracle.
Table 2-2. Minimum Hardware Requirements for a Fibre Channel Cluster (continued) Hardware Component Configuration Ethernet switches (three required) One switch for public and two switches for private interconnect. See the SDL at dell.com/oracle for information on supported configurations. Dell/EMC Fibre Channel switch (two required) 8-port Fibre Channel switch for two to six nodes 16-port Fibre Channel switch for seven or eight nodes Table 2-3.
Minimum Hardware Requirements for a Direct-Attached SAS Configuration Table 2-4 through Table 2-5 indicate the minimum hardware requirements for a direct-attached SAS cluster and single-node configuration. NOTE: The hardware configuration of all the nodes in a cluster must be identical. Table 2-4.
Table 2-5. Minimum Hardware Requirements for a Direct-attached SAS Single Node Hardware Component Configuration Dell PowerEdge system Intel Xeon or AMD Opteron supported processor families 1 GB of RAM Two 73-GB hard drives (RAID 1) connected to PERC One NIC port (one public) Dell PowerVault storage system See your Dell PowerVault storage system documentation for more details. See the SDL at dell.com/oracle for information on supported Dell PowerVault Expansion Storage Systems.
Minimum Hardware Requirements for an iSCSI Configuration Table 2-6 through Table 2-7 indicate the minimum hardware requirements for an iSCSI cluster (direct-attached and switched) and a direct-attached, single-node configuration. NOTE: The hardware configuration of all the nodes in a cluster must be identical. Table 2-6.
Table 2-7.
Table 2-8.
Installing and Configuring the Operating System CAUTION: To ensure that the operating system is installed correctly, disconnect all the external storage devices from the system before you install the operating system. This section describes the installation of the Red Hat and Oracle Enterprise Linux AS operating system and the configuration of the operating system for Oracle Database deployment.
FILE LOCATION: L:\DELL\DL1787\EN\Installing_configuring.fm Recommended Operating System Partitioning Scheme Creation of a logical volume group is necessary in order to create a logical volume within this logical volume group. Table 3-1 lists the partitions and logical volumes that need to be created within the logical volume group named osvg (Oracle Solution Volume Group). Table 3-1.
FILE LOCATION: L:\DELL\DL1787\EN\Installing_configuring.fm Attaching Systems to Your Operating System Channel Red Hat Network (RHN) or Unbreakable Linux Network (ULN) allows you to efficiently manage systems over the network. You can perform software patches, updates, and maintenance on the systems through a simple user interface.
FILE LOCATION: L:\DELL\DL1787\EN\Installing_configuring.fm Configuring the Operating System for Oracle Database Installation About the Dell|Oracle Deployment Automation Scripts The Dell|Oracle Deployment automation scripts are packaged as a tar file that can be downloaded from the Dell|Oracle Tested and Validated Configurations website at www.dell.com/oracle. This tar file contains automated scripts, Dell|Oracle Setup RPM, Dell PowerEdge system component driver RPMs, and Oracle RPMs.
FILE LOCATION: L:\DELL\DL1787\EN\Installing_configuring.fm Installing the Errata Kernel 1 Log in as root. 2 Download and install the minimum supported kernel (2.6.18-194.3.1 or later) RPMs (kernel), kernel-headers and kernel-devel from RHN or ULN. 3 Reboot your server. 4 Boot in to the new kernel installed in step 2.
FILE LOCATION: L:\DELL\DL1787\EN\Installing_configuring.fm 6 If the script reports any failed RPM dependencies, then resolve the required RPMs by choosing one of the options listed below: NOTE: You must install the missing RPMs to install the Oracle Clusterware and Database successfully. • Automatically Using Online OS Channel Repository (RHN/ULN)— Choose this option if your system is connected to either Red Hat's RHN or Oracle's ULN network according to your operating system.
FILE LOCATION: L:\DELL\DL1787\EN\Installing_configuring.fm 7 Run the following script to install the Dell PowerEdge system Component drivers: $> ./10-install-Dell-rpms.sh NOTE: This script installs the supported Dell Dynamic Kernel Module Support (dkms) drivers located in the /dell-oracle-deployment/rpms folder. The dkms driver installation requires the presence of the kernel devel RPM in order to build the modules.
FILE LOCATION: L:\DELL\DL1787\EN\Installing_configuring.fm Attaching to the Dell Firmware Repository Channel (Optional) The Dell Firmware Repository provides a mechanism to update the BIOS and firmware of your Dell PowerEdge systems to the latest revision. Use the following commands to setup and install the Dell Firmware Repository: # set up repos wget -q -O - http://linux.dell.com/repo/software/bootstrap.cgi | bash wget -q -O - http://linux.dell.com/repo/firmware/bootstrap.
Verifying Cluster Hardware and Software Configurations This section provides setup information for hardware and software cluster configurations. Before setting up the cluster, verify the hardware installation, communication interconnections, and node software configuration for the entire cluster. • Each node must include the minimum hardware peripheral components as described in “Minimum Hardware Requirements” on page 8.
FILE LOCATION: L:\DELL\DL1787\EN\Verify_config.fm Table 4-1.
Obtaining and Using Open Source Files The software contained in the Dell|Oracle Deployment automation scripts is an aggregate of third-party scripts as well as Dell scripts. Use of the software is subject to designated license terms. All software that is designated as “under the terms of the GNU GPL” may be copied, distributed, and/or modified in accordance with the terms and conditions of the GNU General Public License, Version 2, June 1991.
Obtaining and Using Open Source Files
Dell PowerEdge 系统 Enterprise Linux x86_64 上的 Oracle 数据库 操作系统和 硬件安装指南 4.
注和小心 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心: “小心”表示如果不遵循说明,就有可能损坏硬件或导致数据丢失。 ____________________ 本出版物中的信息如有更改,恕不另行通知。 © 2009-2010 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell™ 、DELL 徽标、PowerEdge™ 以及 PowerVault™ 是 Dell Inc. 的商标。Intel® 和 Xeon® 是 Intel Corporation 在美国和其它国家 / 地区的商标或注册商标。 Red Hat® 和 Red Hat Enterprise Linux® 是 RedHat, Inc. 的注册商标。AMD® 和 AMD Opteron™ 分别是 Advanced Micro Devices, Inc.
目录 1 Dell Oracle 数据库部署概览 . . . . . . . . . . . . . 部署 Dell|Oracle 数据库所需的说明文件 . . . . . . . . . . . 31 . . . . . . . . . . . . . . . . . . . 31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 本说明文件中使用的术语 获得帮助 . 2 3 31 软件和硬件要求 . . . . . . . . . . . . . . . . . . . . . . 33 最低软件要求 . . . . . . . . . . . . . . . . . . . . . . . . . . 33 最低硬件要求 . . . . . . . . . . . . . . . . . . . . . . . . . . 34 安装和配置操作系统 开始之前 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
目录
Dell Oracle 数据库部署概览 本说明文件适用于在 Red Hat Enterprise Linux 或 Oracle Enterprise Linux 5.
获得帮助 Dell 支持 有关系统使用方面的详情,请参阅随系统组件附带的说明文件。 有关白皮书、Dell 支持的配置和一般信息,请访问 dell.com/oracle。 要获得硬件和操作系统软件的 Dell 技术支持以及下载最新的系统更新, 请访问 support.dell.com。与 Dell 联系的有关信息包含在系统的《安装与 故障排除指南》中。 现在还提供 Dell 企业培训与认证服务;请访问 dell.com/training 了解详情。 此培训服务并非在所有地区都提供。 Oracle 支持 有关 Oracle 软件和应用程序群集件的培训信息,请访问 oracle.com 或参阅 Oracle 说明文件以了解关于联络 Oracle 的信息。 有关技术支持、下载和其它技术信息,请访问 support.oracle.
软件和硬件要求 以下各节介绍 Dell 支持的 Oracle 配置的最低软件和硬件要求。有关驱动 程序和应用程序最低软件版本的详情,请参阅 dell.com/oracle 上针对每个 Dell Validated Component(经 Dell 验证的组件)的 Solution Deliverable List(可提供的解决方案列表,SDL)。 最低软件要求 表 2-1 列出了在 Enterprise Linux 5.5 版上安装 Dell 支持的 Oracle 10g 配置 的基本软件要求。 表 2-1. 软件要求 软件组件 配置 Red Hat 或 Oracle Enterprise Linux AS x86_64(版本 5) 更新 5(内核 2.6.18-194.3.1.el5 或更高版 本) Oracle Clusterware 11g R1 11.1.0.7 版 Oracle Database 10g R2 10.2 版(带有 10.2.0.
最低硬件要求 以下各节列出了光纤信道、直接连接的 SAS 和 iSCSI 配置的硬件要求。 有关特定硬件组件的详情,请参阅随系统附带的说明文件。有关 Dell 支持 的硬件配置的详情,请参阅 dell.com/oracle 上针对每个 Dell Validated Component(经 Dell 验证的组件)的 SDL。 注: 视用户数量、使用的应用程序和批处理进程而定,您可能需要一个超 出最低硬件要求的系统才能获得所需的性能。 光纤信道配置的最低硬件要求 表 2-2 到表 2-3 表示光纤信道群集和单个节点配置的最低硬件要求。 注: 群集中所有节点的硬件配置必须相同。 表 2-2.
表 2-3. 光纤信道单个节点的最低硬件要求 硬件组件 配置 PowerEdge 系统(单个节点, Intel Xeon 或 AMD Opteron 支持的处理器系列 使用自动存储管理或用于 1 GB 的 RAM Linux 的 Oracle 群集文件系统 两个连接至 PERC 控制器或 SAS 控制器的 73 GB [OCFS2]) 硬盘驱动器 (RAID 1) 一个 NIC 端口(公用) Dell/EMC 光纤信道存储系统 (可选) 请参阅 dell.com/oracle 上的 SDL,以获得有关支 持配置的信息 Dell/EMC 光纤信道交换机 (可选) 8 端口光纤信道交换机 以太网交换机(需要一台) 一台交换机用于公用。请参阅 dell.com/oracle 上的 SDL,以获得有关支持配置的信息 直接连接的 SAS 配置的最低硬件要求 表 2-4 到表 2-5 表示直接连接的 SAS 群集和单个节点配置的最低硬件要求。 注: 群集中所有节点的硬件配置必须相同。 表 2-4.
表 2-4. 直接连接的 SAS 群集的最低硬件要求 (续) 硬件组件 配置 Dell PowerVault 存储设备扩展 盘柜(可选) 有关详情,请参阅 Dell PowerVault 存储设备扩 展盘柜的说明文件。请参阅 dell.com/oracle 上的 SDL,以获得有关支持的 Dell PowerVault 存储系统的信息。 以太网交换机(需要三台) 一台交换机用于公用互连,两台用于专用互连 请参阅 dell.com/oracle 上的 SDL,以获得有关 支持配置的信息。 表 2-5. 直接连接的 SAS 单个节点的最低硬件要求 硬件组件 配置 Dell PowerEdge 系统 Intel Xeon 或 AMD Opteron 支持的处理器系列 1 GB 的 RAM 连接至 PERC 的两个 73 GB 硬盘驱动器 (RAID 1) 一个 NIC 端口(一个公用) Dell PowerVault 存储系统 有关详情,请参阅 Dell PowerVault 存储系统的说 明文件。请参阅 dell.
iSCSI 配置的最低硬件要求 表 2-6 到表 2-7 表示 iSCSI 群集(直接连接和交换式)和直接连接的单个节 点配置的最低硬件要求。 注: 群集中所有节点的硬件配置必须相同。 表 2-6. 直接连接的 iSCSI 群集的最低硬件要求 硬件组件 配置 Dell PowerEdge 系统(最多两 Intel Xeon 或 AMD Opteron 支持的处理器系列 个节点,使用 ASM 或用于 1 GB 的 RAM,使用 OCFS2 或 ASM Linux 的 Oracle 群集文件系统 用于内部硬盘驱动器的内部 RAID 控制器 [OCFS2]) 两个连接至 PERC 的 73 GB 硬盘驱动器 (RAID 1) 三个 NIC 端口(一个公用,两个专用) 两个 NIC 端口 (iSCSI) Dell PowerVault 存储系统 有关详情,请参阅 Dell PowerVault 存储系统的说 明文件。请参阅 dell.
表 2-7. 交换式 iSCSI 群集的最低硬件要求 硬件组件 配置 Dell PowerEdge 系统(Oracle 企业版最多支持八个节点或 Oracle 标准版最多支持两个 节点,使用 ASM 或用于 Linux 的 Oracle 群集文件 系统 [OCFS2]) Intel Xeon 或 AMD Opteron 支持的处理器系列 1 GB 的 RAM,使用 OCFS2 或 ASM 用于内部硬盘驱动器的内部 RAID 控制器 两个连接至 PERC 的 73 GB 硬盘驱动器 (RAID 1) 三个 NIC 端口(一个公用,两个专用) 两个千兆位 NIC 端口 (iSCSI) Dell PowerVault 存储系统 有关详情,请参阅 Dell PowerVault 存储系统的说 明文件。请参阅 dell.com/oracle 上的 SDL,以获 得有关支持配置的信息。 Dell PowerVault 存储设备扩 展盘柜(可选) 有关详情,请参阅 Dell PowerVault 存储设备扩展 盘柜的说明文件。请参阅 dell.
表 2-8. 交换式或直接连接的单个节点 iSCSI 的最低硬件要求 硬件组件 配置 Dell PowerEdge 系统(单个节 点,使用 ASM 或 Oracle 群集 文件系统第 2 版 [OCFS2]) Intel Xeon 或 AMD Opteron 支持的处理器系列 1 GB 的 RAM,使用 Oracle 群集文件系统第 2 版 (OCFS2) 或 ASM 用于内部硬盘驱动器的内部 RAID 控制器 两个连接至 PowerEdge RAID 控制器 (PERC) 的 73 GB 硬盘驱动器 (RAID 1) 一个 NIC 端口(一个公用) 两个 NIC 端口 (iSCSI) Dell PowerVault 存储系统 有关详情,请参阅 Dell PowerVault 存储系统的 说明文件。 Dell PowerVault 存储设备扩 展盘柜(可选) 有关详情,请参阅 Dell PowerVault 存储设备扩 展盘柜的说明文件。请参阅 dell.
软件和硬件要求
安装和配置操作系统 小心: 为确保正确地安装操作系统,在安装操作系统之前,应断开系统与 所有外部存储设备的连接。 本节介绍如何安装 Red Hat 和 Oracle Enterprise Linux AS 操作系统以及如何 配置该操作系统以进行 Oracle Database 部署。 开始之前 从 Red Hat Network (RHN) 或 Unbreakable Linux Network (ULN) 下载适用于 Red Hat Enterprise Linux 或 Oracle Enterprise Linux 的 ISO 映像,具体视您 的操作系统而定。有关安装 Red Hat Enterprise Linux 的详情,请参阅 redhat.com/docs/manuals/enterprise/。 Oracle Enterprise Linux ISO 映像可从以下网站下载:edelivery.oracle.com/。 注: Oracle 建议在操作系统安装过程中选择 default list of RPMs(默认 RPM 列表),如 Metalink Note 376183.
FILE LOCATION: L:\DELL\DL1787\ZH-CN\Installing_configuring.fm 表 3-1. 用于 Oracle RAC 配置的卷 (续) 分区 文件系统类型 名称 卷组名称 大小 (MB) /crs/oracle ext3 crs osvg 5120 /var ext3 var osvg 2048 swap swap swap osvg * /boot ext3 256 * 使用以下公式来计算交换分区的大小: • 若 RAM 大小介于 1024 MB 与 2048 MB 之间 — 1.5 倍 RAM 大小 • 若 RAM 大小介于 2049 MB 与 8192 MB 之间 — 交换分区大小与 RAM 相同 • 若 RAM 大于 8192 MB — 0.
FILE LOCATION: L:\DELL\DL1787\ZH-CN\Installing_configuring.fm 使用 Red Hat Network 或 Unbreakable Linux Network 更新您的系统软件包 Red Hat 和 Oracle 会定期发布软件更新来修补错误、解决安全问题以及添 加新功能。您可以通过 Red Hat Network (RHN) 服务或 Unbreakable Linux Network (ULN) 下载这些更新。将系统软件更新至最新修订版本之前,请访 问 Dell|Oracle Tested and Validated Configurations(经 Dell|Oracle 测试和验 证的配置)Web 站点 dell.
FILE LOCATION: L:\DELL\DL1787\ZH-CN\Installing_configuring.fm 安装堪误内核 1 作为 root 登录。 2 从 RHN 或 ULN 下载并安装支持的最低内核(2.6.18-194.3.1 或更 高版本)RPM(内核)、kernel-header 以及 kernel-devel。 3 重新引导服务器。 4 引导至步骤 2 中安装的新内核。 安装 Dell|Oracle 部署自动化脚本 从 dell.com/oracle 下载适合于操作系统版本和 Oracle Database 版本的经 Dell|Oracle 测试和验证的 tar 文件。 按照以下步骤解压 tar 文件并安装 Dell|Oracle 设置 RPM: 1 作为 root 登录。 2 使用以下命令将目录切换到根目录: $> cd / 3 使用以下命令解压 tar 文件: $> tar -xvf dell-oracle-deployment...
FILE LOCATION: L:\DELL\DL1787\ZH-CN\Installing_configuring.
FILE LOCATION: L:\DELL\DL1787\ZH-CN\Installing_configuring.fm 7 运行以下脚本安装 Dell PowerEdge 系统组件驱动程序: $> ./10-install-Dell-rpms.
FILE LOCATION: L:\DELL\DL1787\ZH-CN\Installing_configuring.fm 连接至 Dell 固件存储库通道(可选) Dell 固件存储库提供了一种机制,可将 Dell PowerEdge 系统的 BIOS 和固件 更新到最新的修订版本。使用下列命令可设置和安装 Dell 固件存储库: # set up repos wget -q -O - http://linux.dell.com/repo/software/bootstrap.cgi | bash wget -q -O - http://linux.dell.com/repo/firmware/bootstrap.cgi | bash # install firmware tools yum -y install firmware-addon-dell # install BIOS update yum -y install $(bootstrap_firmware) update_firmware 注: 有关该存储库的相关支持问题,请订阅以下邮件列表: lists.us.dell.
FILE LOCATION: L:\DELL\DL1787\ZH-CN\Installing_configuring.
验证群集硬件与软件配置 本节提供用于硬件和软件群集配置的设置信息。 开始设置群集之前,请验证整个群集的硬件安装、通信互连和节点软件 配置。 • 按照第 34 页上的“最低硬件要求”中的说明,每个节点必须包括最 低要求的硬件外围设备组件。 • 每个节点均必须安装以下软件: • – Enterprise Linux 软件(请参阅表 2-1 或表 2-2)。 – 光纤信道主机总线适配器 (HBA) 驱动程序(适用于光纤信道 群集)。 – 正确版本的多路径驱动程序(适用于直接连接的 SAS 和 iSCSI)。 有关详情,请参阅随 Dell PowerVault 存储系统附带的说明文件。 – 正确版本的 Open-iSCSI 启动程序驱动程序和 Device Mapper Mutipath 驱动程序(适用于 Dell EqualLogic iSCSI 存储系统)。 光纤信道、iSCSI 或直接连接 SAS 存储系统必须使用以下配置: – 创建最少三个 LUN/ 虚拟磁盘并分配到群集存储组(请参阅 表 4-1) 注: 有关在直接连接的 SAS 配置中将虚拟磁盘分配到节点的要求的 其它信息,请参
ŒƒºžŒª÷У½ L:\DELL\DL1787\ZH-CN\Verify_config.fm 表 4-1.
获取和使用开放源代码文件 Dell|Oracle 部署自动化脚本中包含的软件集合了第三方脚本以及 Dell 脚本。使用该软件必须遵循指定的许可条款。“依据 GNU GPL 条款” 指定的所有软件均可复制、分发和 / 或修改,但是必须遵循 GNU 一般公 共许可第 2 版(1991 年 6 月)的条款和条件。“依据 GNU GPL 条款” (或“Lesser GPL”)指定的所有软件均可复制、分发和 / 或修改,但是 必须遵循 GNU Lesser 一般公共许可 2.1 版(1999 年 2 月)的条款和条件。 根据这些 GNU 许可,您还有权通过 1-800-WWW-DELL 与 Dell 联系以 便获得相应的源代码文件。也可以通过 Dell|Oracle Tested and Validated Configurations(经 Dell|Oracle 测试和验证的配置)Web 站点 dell.
ŒƒºžŒª÷У½ L:\DELL\DL1787\ZH-CN\Open_source.
Systèmes Dell PowerEdge Oracle Database sous Enterprise Linux x86_64 Guide d'installation du système d'exploitation et du matériel 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 vous avertit d'un risque de dommage matériel ou de perte de données en cas de non-respect des instructions données. ____________________ Les informations contenues dans ce document sont sujettes à modification sans préavis. © 2009–2010 Dell Inc. tous droits réservés.
Table des matières 1 Présentation du déploiement de Dell Oracle Database . . . . . . . . . . . . . . . . . Documentation requise pour le déploiement de Dell|Oracle Database. . . . . . . . . . . . . . . . . . . . . Terminologie utilisée dans le présent document . Obtention d'aide . 2 57 . . . . . . . 58 . . . . . . . . . . . . . . . . . . . . . . . . 58 Configuration matérielle et logicielle requise . . . . . . . . . . . . . . . . . . . . Configuration logicielle minimale requise . . . . . .
Mise à jour des modules système à l'aide de Red Hat Network ou d'Unbreakable Linux Network Configuration du système d'exploitation pour l'installation d'Oracle Database . . 4 5 56 . . . . 71 . . . . . . . . . . . . 72 Vérification de la configuration matérielle et logicielle du cluster . . . . . . . . . Obtention et utilisation de fichiers Open Source . . . . . . . . . . . . . . . . . Table des matières . . . . . . . .
Présentation du déploiement de Dell Oracle Database Ce document s'applique à Oracle Database 10g R2 exécuté sur Red Hat Enterprise Linux ou Oracle Enterprise Linux 5.5 AS x86_64.
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èmes de stockage Fibre-Channel Dell/EMC, tandis que le terme disque virtuel est plutôt réservé aux environnements de stockage Dell PowerVault SAS et Dell EqualLogic série PS.
Configuration matérielle et logicielle requise Les sections suivantes présentent les composants logiciels et matériels minimaux requis pour les configurations Oracle prises en charge par Dell. Pour plus d'informations sur les versions minimales des pilotes et applications à installer, voir le document “Solution Deliverable List” (Liste des éléments pris en charge) pour chaque composant approuvé par Dell (Dell Validated Components) à l'adresse dell.com/oracle.
Configuration matérielle minimale requise Les sections suivantes répertorient les composants matériels requis pour les configurations Fibre Channel, SAS à connexion directe et iSCSI. Pour plus d'informations sur certains composants matériels spécifiques, consultez la documentation fournie avec votre système.
Tableau 2-2. Configuration matérielle minimale requise pour un cluster Fibre Channel (Suite) Composant matériel Configuration Système de stockage Fibre Channel Dell/EMC (en option) Voir le document SDL sur le site dell.com/oracle pour plus d'informations sur les configurations prises en charge. Commutateurs Ethernet (trois) Un commutateur pour l'interconnexion publique et deux commutateurs pour l'interconnexion privée. Voir le document SDL sur le site dell.
Configuration matérielle minimale requise pour une configuration SAS à connexion directe Les sections suivantes (du tableau 2-4 au tableau 2-5) présentent la configuration matérielle minimale requise pour un cluster SAS à connexion directe à nœud unique. REMARQUE : tous les nœuds du cluster doivent posséder une configuration identique. Tableau 2-4.
Tableau 2-4. Configuration matérielle minimale requise pour un cluster SAS à connexion directe (Suite) Composant matériel Configuration Boîtier d'extension Dell PowerVault (en option) Pour plus d'informations, voir la documentation du boîtier d'extension Dell PowerVault. Voir le document SDL sur le site dell.com/oracle pour plus d'informations sur les systèmes de stockage Dell PowerVault pris en charge.
Configuration matérielle minimale requise pour une configuration iSCSI Les sections suivantes (du tableau 2-6 au tableau 2-7) présentent la configuration matérielle minimale requise pour un cluster iSCSI (à connexion directe et commutée) et une configuration à connexion directe à nœud unique. REMARQUE : tous les nœuds du cluster doivent posséder une configuration identique. Tableau 2-6.
Tableau 2-6. Configuration matérielle minimale requise pour un cluster iSCSI à connexion directe (Suite) Composant matériel Configuration Boîtier d'extension Dell PowerVault (en option) Pour plus d'informations, voir la documentation du boîtier d'extension Dell PowerVault. Voir le document SDL sur le site dell.com/oracle pour plus d'informations sur les systèmes de stockage avec boîtier d'extension Dell PowerVault pris en charge.
Tableau 2-7. Configuration matérielle minimale requise pour un cluster iSCSI commuté (Suite) Composant matériel Configuration Boîtier d'extension Dell PowerVault (en option) Pour plus d'informations, voir la documentation du boîtier d'extension Dell PowerVault. Voir le document SDL sur le site dell.com/oracle pour plus d'informations sur les configurations prises en charge. Système de stockage Dell EqualLogic série PS* Une matrice de stockage Dell EqualLogic série PS.
Tableau 2-8.
Configuration matérielle et logicielle requise
Installation et configuration du système d'exploitation PRÉCAUTION : pour installer correctement le système d'exploitation, déconnectez tous les périphériques de stockage externes avant d'effectuer l'opération. Cette section décrit l'installation de Red Hat et Oracle Enterprise Linux AS et la configuration du système d'exploitation pour le déploiement d'Oracle Database.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Installing_configuring.fm Schéma de partitionnement recommandé du système d'exploitation Il est indispensable de créer un groupe de volumes logiques pour créer un volume logique au sein de ce groupe. Le tableau 3-1 indique les partitions et les volumes logiques à créer au sein du groupe nommé osvg (Oracle Solution Volume Group). Tableau 3-1.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Installing_configuring.fm Connexion de systèmes au canal de votre système d'exploitation Le réseau RHN (Red Hat Network) ou ULN (Unbreakable Linux Network) permet de gérer efficacement les systèmes via le réseau. Il permet d'installer les correctifs logiciels, mais aussi de mettre à jour les systèmes et d'en assurer la maintenance grâce à une interface utilisateur simple.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Installing_configuring.fm Configuration du système d'exploitation pour l'installation d'Oracle Database À propos des scripts d'automatisation du déploiement Dell|Oracle Les scripts d'automatisation du déploiement Dell|Oracle sont disponibles sous forme de fichier tar, que vous pouvez télécharger à partir du site Web www.dell.com/oracle, qui présente les configurations Dell|Oracle testées et validées.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Installing_configuring.fm Installation du correctif du noyau 1 Ouvrez une session en tant qu'utilisateur root. 2 Téléchargez puis installez les RMP (noyau) de la version minimale du noyau prise en charge (2.6.18-194.3.1 ou supérieure), les kernelheaders, le devel du noyau à partir du réseau RHN ou ULN. 3 Redémarrez votre serveur. 4 Démarrez dans le noyau que vous venez d'installer à l'étape 2.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Installing_configuring.fm 6 Si le script signale que des dépendances RPM ne sont pas conformes, résolvez les RPM requis en choisissant l'une des options suivantes : REMARQUE : pour installer Oracle Clusterware et Oracle Database, vous devez préalablement installer les RPM manquants.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Installing_configuring.fm REMARQUE : le script ne prend pas en charge le partage SAMBA ni aucun serveur à distance qui nécessite une authentification pour monter les répertoires. Vérifiez que le serveur et le répertoire spécifiés ne nécessitent pas d'authentification. • Manually (Manuellement) : choisissez cette option si vous voulez résoudre manuellement les RPM manquants. Si vous choisissez cette option, cela implique que vous quittiez le script.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Installing_configuring.fm 8 Exécutez le script suivant pour installer les RPM Oracle asm et/ou ocfs2 : $> ./20-install-oracle-rpms.sh REMARQUE : ce script installe les RPM Oracle asm. Si votre système exécute le système d'exploitation OEL, alors le script télécharge et installe les RPM Oracle asm à partir du canal ULN.
Vérification de la configuration matérielle et logicielle du cluster Cette section contient des informations sur la configuration matérielle et logicielle du cluster. Avant de commencer la configuration du cluster, vérifiez l'installation matérielle, les interconnexions de communication et la configuration logicielle des nœuds de l'ensemble du cluster.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Verify_config.fm Tableau 4-1.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Open_source.fm Obtention et utilisation de fichiers Open Source Les logiciels contenus dans les scripts d'automatisation du déploiement Dell|Oracle incluent des scripts tiers et Dell. L'utilisation des logiciels est soumise aux conditions indiquées dans la licence.
EMPLACEMENT DU FICHIER : L:\DELL\DL1787\FR\Open_source.
Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 Installationshandbuch für Betriebssystem und Hardware 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. © 2009–2010 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht über die Bereitstellung von Dell Oracle Database . . . . . . . 3 85 Erforderliche Dokumentation zum Bereitstellen von Dell|Oracle Database . . . . . . . . . . . . . . . . . . . . 85 In diesem Dokument verwendete Terminologie . . . . . . . . 86 . . . . . . . . . . . . . . . . . . . . 86 Wie Sie Hilfe bekommen 2 . . . . . . . . . Software- und Hardwareanforderungen . . . . 87 Software-Mindestanforderungen . . . . . . . . . . . . . . . .
4 5 84 Überprüfen der Konfiguration von Clusterhardware und -software . . Erwerb und Einsatz von Open-Source-Dateien . . Inhalt . . . . . . . 105 . . . . . . . . . . . . . . .
Übersicht über die Bereitstellung von Dell Oracle Database Dieses Dokument 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-Datenbankbereitstellung ist als Folge 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 EqualLogic PS-Speicherumgebungen verwendet.
Software- und Hardwareanforderungen In den folgenden Abschnitten sind die Mindestanforderungen für Software und Hardware für die von Dell für Oracle unterstützten Konfigurationen beschrieben. Nähere Informationen über die Mindestversionen für Treiber und Softwareanwendungen finden Sie in der Solution Deliverable List (SDL) für alle von Dell zugelassenen Komponenten unter dell.com/oracle.
Hardware-Mindestanforderungen In den folgenden Abschnitten sind die Hardwareanforderungen für FibreChannel-, Direct-Attach-SAS- und iSCSI-Konfigurationen aufgeführt. Weitere Informationen zu spezifischen Hardwarekomponenten finden Sie in der zugehörigen Systemdokumentation. Weitere Informationen über von Dell unterstützte Hardwarekonfigurationen finden Sie in der SDL (Solution Deliverable List) für die einzelnen von Dell zugelassenen Komponenten unter dell.com/oracle.
Tabelle 2-2. Hardware-Mindestanforderungen für einen Fibre-Channel-Cluster (fortgesetzt) Hardwarekomponente Konfiguration Ethernet-Switches (drei erforderlich) Ein Switch für die öffentliche Verbindung und zwei Switches für die private Verbindung untereinander. Informationen zu den unterstützten Konfigurationen finden Sie in der SDL (Solution Deliverable List) unter dell.com/oracle.
Hardware-Mindestanforderungen für eine Direct-Attach-SAS-Konfiguration In Tabelle 2-4 bis Tabelle 2-5 sind die Hardware-Mindestanforderungen für Direct-Attach-SAS-Cluster- und Einzelknotenkonfigurationen aufgeführt. ANMERKUNG: Die Hardwarekonfiguration sämtlicher Knoten in einem Cluster muss identisch sein. Tabelle 2-4.
Tabelle 2-5. Hardware-Mindestanforderungen für einen Direct-AttachSAS-Einzelknoten Hardwarekomponente Konfiguration Dell PowerEdge-System Unterstützte Prozessoren der Reihen Intel Xeon oder AMD Opteron 1 GB RAM Zwei 73-GB-Festplatten (RAID 1) mit Verbindung zum PERC Ein NIC-Port (öffentlich) Dell PowerVault-Speichersystem Weitere Informationen finden Sie in der Dokumentation zum Dell PowerVaultSpeichersystem.
Hardware-Mindestanforderungen für eine iSCSI-Konfiguration In Tabelle 2-6 bis Tabelle 2-7 sind die Hardware-Mindestanforderungen für einen iSCSI Cluster (Direct-Attach und Switch) und eine Direct-AttachEinzelknotenkonfiguration aufgeführt. ANMERKUNG: Die Hardwarekonfiguration sämtlicher Knoten in einem Cluster muss identisch sein. Tabelle 2-6.
Tabelle 2-7.
Tabelle 2-7. Hardware-Mindestanforderungen für einen iSCSI-Cluster mit Switchanbindung (fortgesetzt) Hardwarekomponente Konfiguration Ethernet-Switch (zwei erforderlich) Zwei Switches für iSCSI-SAN. Informationen zu den unterstützten Konfigurationen finden Sie in der SDL (Solution Deliverable List) unter dell.com/oracle. Ethernet-Switch (drei erforderlich) Ein Switch für die öffentliche Verbindung und zwei Switches für die private Verbindung untereinander.
Tabelle 2-8. Hardware-Mindestanforderungen für einen über Switch verbundenen oder Direct-Attach-Einzelknoten (iSCSI) (fortgesetzt) Hardwarekomponente Konfiguration Dell PowerVault-Speichererweiterungsgehäuse (optional) Weitere Informationen finden Sie in der Dokumentation zum Dell PowerVaultSpeichererweiterungsgehäuse. Informationen zu den unterstützten Konfigurationen finden Sie in der SDL (Solution Deliverable List) unter dell.com/oracle.
Software- und Hardwareanforderungen
Installation und Konfiguration des Betriebssystems VORSICHTSHINWEIS: Um die korrekte Installation des Betriebssystems zu gewährleisten, trennen Sie vor der Installation alle externen Speichergeräte vom System. In diesem Abschnitt werden die Installation von Red Hat und Oracle Enterprise Linux AS und die Konfiguration des Betriebssystems für das Bereitstellen von Oracle Database beschrieben.
Empfohlendes Partitionsschema für das Betriebssystem Das Erstellen einer logischen Datenträgergruppe ist erforderlich, um einen logischen Datenträger innerhalb dieser logischen Datenträgergruppe zu erstellen. In Tabelle 3-1 sind die Partitionen und logischen Datenträger aufgeführt, die innerhalb der logischen Datenträgergruppe osvg (Oracle Solution Volume Group) erstellt werden müssen. Tabelle 3-1.
Verbinden von Systemen mit dem Betriebssystemkanal Red Hat Network (RHN) oder Unbreakable Linux Network (ULN) ermöglichen die effiziente Verwaltung von Systemen über das Netzwerk. Über eine einfache Benutzerschnittstelle lassen sich Software-Patches und Updates installieren und Wartungsmaßnahmen auf den Systemen durchführen.
Konfiguration des Betriebssystems für die Installation von Oracle Database Über die Dell|Oracle Deployment Automation Scripts (Skripts zur Bereitstellungsautomatisierung) Die Dell|Oracle-Skripts zur Bereitstellungsautomatisierung liegen als tar-Datei vor, die von der Dell|Oracle Tested and Validated ConfigurationsWebsite unter www.dell.com/oracle heruntergeladen werden kann.
Installation des Errata-Kernels 1 Melden Sie sich als root beim System an. 2 Laden Sie die RPMs der unterstützten Mindestversion des Kernels (2.6.18-194.3.1 oder höher), Kernel-Header und Kernel-Devel von RHN oder ULN herunter und installieren Sie diese. 3 Starten Sie den Server neu. 4 Starten Sie mit dem neuen Kernel, den Sie in Schritt 2 installiert haben.
6 Wenn das Skript fehlgeschlagene RPM-Abhängigkeiten meldet, lösen Sie die erforderlichen RPMs auf, indem Sie eine der drei nachstehend aufgeführten Optionen verwenden: ANMERKUNG: Sie müssen die fehlenden RPMs installieren, um die Installation von Oracle Clusterware und Database erfolgreich durchführen zu können.
• Manuell – Wählen Sie diese Option, wenn Sie die fehlenden RPMs manuell auflösen möchten. Bei Auswahl dieser Option wird das Skript beendet. ANMERKUNG: Eine Liste der fehlenden RPMs finden Sie in der Datei /dell-oracle-deployment/logs/rpm_install.log. 7 Führen Sie das folgende Skript aus, um die Komponententreiber für das Dell PowerEdge-System auszuführen: $> ./10-install-Dell-rpms.
8 Führen Sie das folgende Skript aus, um die RPMs „Oracle asm“ und/oder „ocfs2“ zu installieren: $> ./20-install-oracle-rpms.sh ANMERKUNG: Dieses Skript installiert die „Oracle asm“-RPMs. Wenn OEL das Betriebssystem ist, lädt dieses Skript die „oracle asm“-RPMs vom ULN-Kanal herunter und installiert sie. Wenn RHEL das Betriebssystem ist, installiert dieses Skript die „oracle asm“-RPMs vom Verzeichnis /dell-oracle-deployment/rpms.
Überprüfen der Konfiguration von Clusterhardware und -software Dieser Abschnitt enthält Setup-Informationen für die Hardware und Software von Clusterkonfigurationen. Bevor Sie mit der Clustereinrichtung beginnen, überprüfen Sie die Hardware-Installation, die Kommunikationsverbindungen und die Software-konfiguration der Knoten im gesamten Cluster. • Jeder Knoten muss mindestens über die Hardware-Peripheriekomponenten aus „Hardware-Mindestanforderungen“ auf Seite 88 verfügen.
Tabelle 4-1.
Erwerb und Einsatz von Open-Source-Dateien Die in den Dell|Oracle-Skripts zur Bereitstellungsautomatisierung enthaltene Software umfasst sowohl Skripts von Drittanbietern als auch von Dell. Die Verwendung der Software unterliegt den jeweils angegebenen Lizenzbestimmungen.
Erwerb und Einsatz von Open-Source-Dateien
Dell PowerEdge システム Enterprise Linux x86_64 で使 用する Oracle データベース OS のインストールと ハードウェアの取り付 けガイド バージョン 4.
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明しています。 注意:手順に従わないと、ハードウェアの損傷やデータの損失につながる 可能性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2009 ~ 2010 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書に使用されている商標:Dell™、DELL ロゴ、PowerEdge™ および PowerVault™ は Dell Inc. の商標です。Intel® および Xeon® は米国その他の国における Intel Corporation の登録商標です。Red Hat® および Red Hat Enterprise Linux® は RedHat, Inc. の登録商 標です。AMD® は Advanced Micro Devices, Inc. の登録商標です。AMD Opteron™ は Advanced Micro Devices, Inc.
目次 1 Dell Oracle データベース 導入の概要 . . . . . . . . . . . . . . . . . . . . . . . . . . Dell|Oracle データベースの導入に必要な マニュアル . . . . . . . . . . . . . . . . . . . . . . . . . . 113 . . . . . . . . . . . . . . . . 114 . . . . . . . . . . . . . . . . . . . . . . . . 114 本書で使用されている用語 . 困ったときは . 2 3 113 ソフトウェアおよび ハードウェアの要件 . . . . . . . . . . . . . . . . . . 115 ソフトウェアの最小要件 . . . . . . . . . . . . . . . . . . 115 ハードウェアの最小要件 . . . . . . . . . . . . . . . . . . 116 OS のインストールと設定 . 作業を開始する前に . . . .
4 5 112 クラスタのハードウェアおよび ソフトウェアの構成の確認 . . . . オープンソースファイルの 入手および使用 . . . . . . . . . 目次 . . . . . . . . 133 . . . . . . . . . . . .
Dell Oracle データベース 導入の概要 本書の説明は、Red Hat Enterprise Linux または Oracle Enterprise Linux 5.
本書で使用されている用語 本書では、「LUN」および「仮想ディスク」という語が使われています。 これらの用語は同義語であり、どちらを使用しても構いません。「LUN」 は Dell/EMC ファイバーチャネルストレージシステムの環境で、 「仮想 ディスク」は Dell PowerVault SAS および Dell EqualLogic PS シリーズ のストレージ環境で、通常使われる用語です。 本書で使われている Enterprise Linux という用語は、特に説明のない 限り Red Hat Enterprise Linux と Oracle Enterprise Linux の両方に適 用されます。 困ったときは デルサポート システムの詳しい使い方については、システムコンポーネントに付属の マニュアルを参照してください。 各種のホワイトペーパー、デルがサポートする設定、一般情報につい ては、dell.com/oracle を参照してください。 ハードウェアと OS ソフトウェアに対するデルのテクニカルサポート、 およびアップデートのダウンロードについては、support.dell.
ソフトウェアおよび ハードウェアの要件 以下の項では、デルがサポートする Oracle 用の構成に必要なソフト ウェアとハードウェアの最小要件について説明します。最低限必要 なドライバとアプリケーションのバージョンの詳細については、各 Dell Validated Components(Dell 承認のコンポーネント)リンク dell.com/oracle で『Solution Deliverable List(SDL) 』 (ソリュー ションリスト)を参照してください。 ソフトウェアの最小要件 Oracle 10g を Enterprise Linux バージョン 5.5 で使用する場合のデ ルがサポートする構成の基本的なソフトウェア要件のリストを 表 2-1 に示します。 表 2-1. ソフトウェア要件 ソフトウェアコンポーネント Red Hat または Oracle Enterprise Linux AS x86_64(バージョン 5) 構成 アップデート 5 (カーネル 2.6.18-194.3.1.el5 以降) バージョン 11.1.0.
ハードウェアの最小要件 以下の項では、ファイバーチャネル、直接接続 SAS、および iSCSI 構成 に必要なハードウェア要件を示します。特定のハードウェアコンポー ネントの詳細については、システムに付属のマニュアルを参照してく ださい。デルがサポートしているハードウェア構成の詳細については、 dell.com/oracle で各 Dell 承認コンポーネントの SDL を参照してく ださい。 メモ:望ましいパフォーマンスを得るには、ユーザー数、使用するアプ リケーション、バッチプロセスに応じて、ここに示すハードウェアの最小 要件を超えるシステムを選択する必要があります。 ファイバーチャネル構成用のハードウェアの最小要件 ファイバーチャネルクラスタおよびシングルノード構成用のハードウェ アの最小要件を 表 2-2 ~ 表 2-3 に示します。 メモ:クラスタ内のすべてのノードのハードウェア構成は同一でなけれ ばなりません。 表 2-2.
表 2-2. ファイバーチャネルクラスタ用のハードウェアの最小要件 (続き) ハードウェアコンポーネント 構成 イーサネットスイッチ(3 台必要) パブリック相互接続用に 1 台、プライベー ト相互接続用に 2 台。サポートされる構成 については、dell.com/oracle で SDL を参照してください。 Dell/EMC ファイバーチャネルス イッチ(2 台必要) 2 ~ 6 ノードに対して 8 ポートのファイ バーチャネルスイッチ 7 ~ 8 ノードに対して 16 ポートのファイ バーチャネルスイッチ 表 2-3.
直接接続 SAS 構成のハードウェアの最小要件 直接接続 SAS クラスタおよびシングルノード構成用のハードウェアの 最小要件を 表 2-4 ~ 表 2-5 に示します。 メモ:クラスタ内のすべてのノードのハードウェア構成は同一でなけれ ばなりません。 表 2-4.
表 2-5. 直接接続 SAS シングルノードのハードウェアの最小要件 ハードウェアコンポーネント 構成 Dell PowerEdge システム Intel Xeon または AMD Opteron のサポートさ れているプロセッサシリーズ 1 GB の RAM PERC に接続された 73 GB のハードドライブ (RAID 1)2 台 NIC ポート 1 個(パブリック) Dell PowerVault ストレー ジシステム 詳細については、Dell PowerVault ストレージシ ステムのマニュアルを参照してください。サポー トされる Dell PowerVault 拡張ストレージシステ ムについては、dell.com/oracle で SDL を参照 してください。 Dell PowerVault ストレー ジ拡張エンクロージャ (オプション) 詳細については、Dell PowerVault ストレージ 拡張エンクロージャのマニュアルを参照してくだ さい。サポートされる Dell PowerVault 拡張スト レージシステムについては、dell.
iSCSI 構成用のハードウェアの最小要件 iSCSI クラスタ(直接接続およびスイッチ式)および直接接続シングル ノード構成用のハードウェアの最小要件を 表 2-6 ~ 表 2-7 に示します。 メモ:クラスタ内のすべてのノードのハードウェア構成は同一でなけれ ばなりません。 表 2-6.
表 2-7.
表 2-8.
OS のインストールと設定 注意:OS を正常にインストールするには、インストールを開始する前 に外付けストレージデバイスをすべてシステムから取り外してください。 本項では Red Hat および Oracle Enterprise Linux AS のインストー ルと、Oracle データベースの導入に必要な OS の設定について説明 します。 作業を開始する前に お使いの OS に応じて、Red Hat Network(RHN)または Unbreakable Linux Network(ULN)から Red Hat Enterprise Linux または Oracle Enterprise Linux の ISO イメージをダウンロードします。 Red Hat Enterprise Linux のインストールの詳細については、 redhat.com/docs/manuals/enterprise/ を参照してください。 Oracle Enterprise Linux ISO イメージは edelivery.oracle.
推奨される OS のパーティションスキーム 論理ボリュームグループ内に論理ボリュームを作成するには、論理ボ リュームグループを作成する必要があります。表 3-1 には、osvg (Oracle Solution Volume Group)という名前の論理ボリュームグ ループ内に作成する必要のあるパーティションと論理ボリュームが一 覧表示されています。 表 3-1.
OS チャネルへのシステムの接続 Red Hat Network(RHN)または Unbreakable Linux Network(ULN) を使用することで、システムの管理をネットワーク経由で効率的に行う ことができます。分かりやすいユーザーインタフェースを使って、ソフ トウェアパッチ、アップデート、メンテナンスをシステムに導入でき ます。 Dell|Oracle Deployment Automation Scripts では、Oracle データベー スのインストールに必要な RPM とパッケージを使用してアップデート を行うには、システムを適切な OS チャネルの 1 つに接続しておく必要 があります。 お使いのシステムを RHN に接続する方法、またはご自身の RHN サテ ライトサーバーをセットアップする手順については、 redhat.com/rhn/ を参照してください。 ユーザー独自の Unbreakable Linux Network(ULN)をセットアップ する方法については、linux.oracle.
Red Hat Network または Unbreakable Linux Network を使用したシステムパッケージの アップデート Red Hat と Oracle では、ソフトウェアのアップデート版を定期的にリ リースして、バグの修正、セキュリティ問題への対応や、新しい機能の 追加を行っています。ユーザーは Red Hat Network(RHN)サービス または Unbreakable Linux Network(ULN)を使用してアップデート 版をダウンロードできます。システムソフトウェアを最新バージョン に更新する前に、Dell|Oracle Tested and Validated Configurations (デルと Oracle で検証済みの構成)ウェブサイト dell.
• カーネルモジュールパラメータの設定 (/etc/modprobe.conf、hangcheck、その他)。 • Oracle Software Owner の制限の設定 (/etc/security/limits.conf file)。 • pam の制限の設定(/etc/pam.d/login ファイル)。 • /etc/profile の設定。 • SELinux を無効に設定。 • Oracle データベースのインストールに必要な(欠けている) RPM、パッケージ、依存関係を自動的に解決。 • Dell PowerEdge システムコンポーネントのドライバのイン ストール。 • oracleasm または ocfs2 RPM のインストール。 errata カーネルのインストール 1 root としてログインします。 2 サポートされている最も低いバージョンのカーネル(2.6.18-194.3.
3 次のコマンドを使用して、tar ファイルを解凍します。 $> tar -xvf dell-oracle-deployment-< リリースバー ジョン >...tar -C / メモ:tar ファイル上の OS バージョンと Oracle バージョンが、実行 するインストールに適していることを確認します。 4 次の Dell|Oracle Scripts ディレクトリに変更します。 $> cd /dell-oracle-deployment/scripts/ 5 Dell Oracle Setup RPM を使用して Oracle セットアップスクリプト を実行します。 $> ./00-oracle-setup.sh ../rpms/oracle-setupscripts-<リリースバージョン>...noarch.
– DVD-ROM:OS の DVD メディアを使用して OS をインストー ルした場合、または OS DVD-ROM を使用することで欠けている RPM を解決する場合は、このオプションを選択します。 – LOCAL-ISO image (.iso) on local HDD or USB Drive (ローカル HDD または USB ドライブ上のローカル ISO イメージ [.iso]):ローカルハードドライブまたは外付けの USB またはフ ラッシュドライブ上にある OS DVD の .iso イメージを使用する ことで欠けている RPM を解決する場合は、このオプションを選 択します。 – NETWORK- ISO image (.iso) on a remote NFS Server (リモート NFS サーバー上のネットワーク ISO イメージ [.iso]): NFS サーバー上にある OS DVD の .
メモ:DKMS ドライバがインストールされているシステムでカーネ ルをアップグレードした場合、カーネルのアップグレード後、一部 の DKMS ドライバが新しいカーネル用にリビルドされず、脆弱なモ ジュールとしてインストールされます。デフォルトでは、ビルトイ ンモジュールは脆弱なモジュールに優先します。そのため、脆弱な DKMS ドライバはロードされません。 メモ:アップデートしたカーネルのモジュールバージョンよりも バージョンが高い場合は、DKMS ドライバを使用することをお勧めし ます。また、このスクリプトにより /etc/depmod.d/ フォルダ内に depmod 設定ファイルが作成されます。これは、一部の DKMS モ ジュールについては、アップデートされたカーネルのモジュールに 優先します。アップデートしたカーネルのモジュールを使用する場 合は、このスクリプトによって作成された ファイルを /etc/depmod.
Dell Firmware Repository チャネルへの接続(オプション) Dell Firmware Repository には、お使いの Dell PowerEdge システムの BIOS とファームウェアを最新のリビジョンにアップデートするメカ ニズムがあります。以下のコマンドを使用して、Dell Firmware Repository のセットアップとインストールを行います。 # set up repos wget -q -O - http://linux.dell.com/repo/software/bootstrap.cgi | bash wget -q -O - http://linux.dell.com/repo/firmware/bootstrap.
OS のインストールと設定
クラスタのハードウェアおよび ソフトウェアの構成の確認 本項では、ハードウェアとソフトウェアのクラスタ構成の設定について 説明します。 クラスタをセットアップする前に、ハードウェアの取り付け、通信の相 互接続、およびクラスタ全体に対するノードソフトウェア構成を確認し ます。 • 116 ページの「ハードウェアの最小要件」で説明されているハード ウェアの最小要件を満たすハードウェア周辺機器が各ノードに必要 です。 • 以下のソフトウェアが各ノードにインストールされている必要があ ります。 – – • Enterprise Linux ソフトウェア(表 2-1 または 表 2-2 を参照)。 ファイバーチャネルホストバスアダプタ(HBA)ドライバ (ファイバーチャネルクラスタ用)。 – マルチパスドライバの正しいバージョン(直接接続 SAS および iSCSI 用)。詳細については、Dell PowerVault ストレージシステ ムに付属のマニュアルを参照してください。 – Dell EqualLogic iSCSI ストレージシステム用の正しいバージョン の Open-iSCSI イニシエー
表 4-1.
オープンソースファイルの 入手および使用 Dell|Oracle Deployment Automation Scripts に格納されているソフト ウェアには、デルのスクリプトのほかに、サードパーティ製のスクリ プトもあります。ソフトウェアの使用に際しては、そのソフトウェア を対象とした使用許諾条件が適用されます。"under the terms of the GNU GPL" と表記されているすべてのソフトウェアは、GNU General Public License、バージョン 2(1991 年 6 月)の条項および条件に従っ てコピー、配布、および / または修正を行うことが認められています。 "under the terms of the GNU LGPL"("Lesser GPL")と表記されて いるすべてのソフトウェアは、GNU Lesser General Public License、 バージョン 2.
オープンソースファイルの 入手および使用
Sistemas Dell PowerEdge Base de datos Oracle en Enterprise Linux x86_64 Guía de instalación del sistema operativo y el hardware 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. © 2009-2010 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general sobre la implantación de la base de datos Oracle de Dell . . . . . . . . . . . . . . . . . . . . . . . . 141 Documentación necesaria para implantar la base de datos Dell|Oracle . . . . . . . . . . . . . . . . . 141 Terminología utilizada en este documento . . . . . . . . . . 142 . . . . . . . . . . . . . . . . . . . . . . 142 Obtención de ayuda 2 Requisitos de software y hardware Requisitos mínimos de software . . . . . . . . . . . . . . .
4 5 140 Actualización de los paquetes de sistema mediante Red Hat Network o Unbreakable Linux Network . . . . . . . . . . . . . . . . . 154 Configuración del sistema operativo para la instalación de la base de datos Oracle . . . . . . . . . . . 154 Verificación de las configuraciones de hardware y software del clúster Obtención y uso de archivos de código fuente abierto . . . . Contenido . . . . . . 161 . . . . . . . . . . .
Información general sobre la implantación de la base de datos Oracle de Dell Este documento se aplica a la base de datos Oracle 10g R2 con Red Hat Enterprise Linux u Oracle Enterprise Linux 5.5 AS x86_64.
Terminología utilizada en este documento En este documento se utilizan los términos número de unidad lógica (LUN) y disco virtual. Dichos términos son sinónimos y pueden utilizarse indistintamente. El término LUN suele utilizarse en un entorno de sistema de almacenamiento Dell/EMC Fibre Channel, mientras que disco virtual suele emplearse en entornos de almacenamiento SAS Dell PowerVault y Dell EqualLogic serie PS.
Requisitos de software y hardware En las secciones siguientes se describen los requisitos mínimos de software y hardware para las configuraciones de Oracle admitidas por Dell. Para obtener más información sobre las versiones mínimas de software para los controladores y las aplicaciones, consulte la lista de soluciones disponibles (Solution Deliverable List, SDL) de cada componente validado por Dell en dell.com/oracle.
Requisitos mínimos de hardware En las secciones siguientes se enumeran los requisitos de hardware para las configuraciones Fibre Channel, SAS de conexión directa e iSCSI. Para obtener más información sobre componentes de hardware específicos, consulte la documentación enviada con el sistema. Para obtener más información sobre las configuraciones de hardware admitidas por Dell, consulte la SDL de cada componente validado por Dell en dell.com/oracle.
Tabla 2-2. Requisitos mínimos de hardware para un clúster FibreChannel (continuación) Componente de hardware Configuración Sistema de almacenamiento Consulte la SDL en dell.com/oracle para Dell/EMC Fibre Channel (opcional) obtener información sobre las configuraciones admitidas. Conmutador Ethernet (son necesarios tres) Un conmutador para la interconexión pública y dos conmutadores para la interconexión privada. Consulte la SDL en dell.
Requisitos mínimos de hardware para una configuración SAS de conexión directa En la tabla 2-4 y la tabla 2-5 se indican los requisitos mínimos de hardware para una configuración de un solo nodo y de clúster SAS de conexión directa. NOTA: La configuración de hardware de todos los nodos del clúster debe ser idéntica. Tabla 2-4.
Tabla 2-5. Requisitos mínimos de hardware para un solo nodo SAS de conexión directa Componente de hardware Configuración Sistema Dell PowerEdge Familias de procesadores Intel Xeon o AMD Opteron admitidos 1 GB de RAM Dos unidades de disco duro (RAID 1) de 73 GB conectadas a la PERC Un puerto NIC (público) Sistema de almacenamiento Dell PowerVault Para obtener más información, consulte la documentación del sistema de almacenamiento Dell PowerVault. Consulte la SDL en dell.
Requisitos mínimos de hardware para una configuración iSCSI En la tabla 2-6 y la tabla 2-7 se indican los requisitos mínimos de hardware para una configuración de un solo nodo de conexión directa y de un clúster iSCSI (de conexión directa y conmutado). NOTA: La configuración de hardware de todos los nodos del clúster debe ser idéntica. Tabla 2-6.
Tabla 2-7.
Tabla 2-8.
Instalación y configuración del sistema operativo PRECAUCIÓN: Para asegurarse de que el sistema operativo está instalado correctamente, desconecte todos los dispositivos de almacenamiento externos del sistema antes de instalar el sistema operativo. En esta sección se describen la instalación del sistema operativo Red Hat y Oracle Enterprise Linux AS y la configuración del sistema operativo para la implantación de la base de datos Oracle.
Esquema de particionamiento recomendado del sistema operativo Es necesario crear un grupo de volúmenes lógicos para poder crear un volumen lógico en dicho grupo. En la tabla 3-1 se enumeran las particiones y los volúmenes lógicos que se deben crear en el grupo de volúmenes lógicos llamado osvg (Oracle Solution Volume Group). Tabla 3-1.
Conexión de sistemas al canal del sistema operativo Red Hat Network (RHN) y Unbreakable Linux Network (ULN) le permiten administrar de manera eficiente los sistemas a través de la red. Puede aplicar parches de software, realizar actualizaciones y llevar a cabo el mantenimiento de los sistemas mediante una sencilla interfaz de usuario.
Actualización de los paquetes de sistema mediante Red Hat Network o Unbreakable Linux Network Red Hat y Oracle publican periódicamente actualizaciones de software para corregir errores, solucionar problemas de seguridad y añadir nuevas funciones. Puede descargar estas actualizaciones a través del servicio Red Hat Network (RHN) o Unbreakable Linux Network (ULN).
Las secuencias de comandos automatizadas se han diseñado para realizar las tareas de configuración recomendadas por Dell y Oracle siguientes: • Crear grupos y propietarios del software Oracle • Crear los directorios necesarios para la base de datos Oracle y establecer la propiedad y los permisos correspondientes • Configurar los parámetros del kernel (/etc/sysctl.conf) • Configurar los parámetros del módulo de kernel (/etc/modprobe.conf, hangcheck, etc.
Instalación de las secuencias de comandos de automatización de la implantación de Dell|Oracle Descargue el archivo tar probado y validado por Dell|Oracle correspondiente a su versión del sistema operativo y a la de la base de datos Oracle desde dell.com/oracle. Extraiga el archivo tar e instale el RPM de configuración de Dell|Oracle como se indica a continuación: 1 Inicie la sesión como root.
6 Si la secuencia de comandos notifica un error en una dependencia de RPM, resuelva los RPM necesarios con uno de los métodos que se indican a continuación: NOTA: Debe instalar los RPM que faltan para poder instalar el software de clúster Oracle y la base de datos correctamente. • Automáticamente mediante un repositorio de canal de SO en línea (RHN/ULN): elija esta opción si su sistema está conectado a una red RHN de Red Hat o a una red ULN de Oracle, según el sistema operativo.
• Manualmente: elija esta opción si desea resolver de forma manual los RPM que faltan. Si se selecciona esta opción, se cierra la secuencia de comandos. NOTA: Puede encontrar la lista de los RPM que faltan en el archivo /dell-oracle-deployment/logs/rpm_install.log. 7 Ejecute la secuencia de comandos siguiente para instalar los controladores de componentes del sistema Dell PowerEdge: $> ./10-install-Dell-rpms.
9 Ejecute la secuencia de comandos siguiente para configurar la propiedad y los permisos para los directorios de instalación del software de clúster Oracle y la base de datos: $> ./30-oracle-crs-base-permissions.sh 10 Siga las instrucciones de la pantalla y continúe configurando los permisos. Los registros de instalación de Dell|Oracle se encuentran en la carpeta /dell-oracle-deployment/logs.
Instalación y configuración del sistema operativo
Verificación de las configuraciones de hardware y software del clúster En esta sección se proporciona información sobre las configuraciones de hardware y software del clúster. Antes de configurar el clúster, compruebe la instalación del hardware, las interconexiones de comunicación y la configuración del software de nodos en todo el clúster. • Cada nodo debe incluir, como mínimo, los componentes periféricos de hardware que se describen en “Requisitos mínimos de hardware” en la página 144.
• El sistema de almacenamiento Fibre Channel, iSCSI o SAS de conexión directa debe estar configurado con lo siguiente: – Un mínimo de tres LUN/discos virtuales creados y asignados al grupo de almacenamiento del clúster (vea la tabla 4-1) NOTA: Para obtener información adicional sobre los requisitos para asignar discos virtuales a un nodo en una configuración SAS de conexión directa, consulte la documentación incluida con el sistema de almacenamiento Dell PowerVault. Tabla 4-1.
Obtención y uso de archivos de código fuente abierto El software incluido en las secuencias de comandos de automatización de la implantación de Dell|Oracle es una combinación de secuencias de comandos de Dell y de secuencias de comandos de terceros. El uso del software está sujeto a las condiciones específicas de la licencia.
Obtención y uso de archivos de código fuente abierto