Dell™ PowerEdge™ Systems Oracle® Database on Enterprise Linux x86_64 Operating System and Hardware Installation Guide Version 1.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notes and Cautions NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed. ____________________ Information in this document is subject to change without notice. © 2009 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 . . . . . . . . . . . . . 4 5 4 . . . . . . . . . 19 Configuring the Operating System for Oracle Database Installation . . . . . . . . . . . . . . 19 Verifying Cluster Hardware and Software Configurations . . . . . . . . . 23 . . . . . . . . . . . . . . . . 25 Obtaining and Using Open Source Files . .
Overview of Dell™ Oracle® Database Deployment This document applies to: • Oracle Database 10g R2 on Red Hat® Enterprise Linux® or Oracle Enterprise Linux® 4.7 AS x86_64 • Oracle Database 10g R2 on Red Hat Enterprise Linux or Oracle Enterprise Linux 5.2 AS x86_64 • Oracle Database 11g R1 on Red Hat Enterprise Linux or Oracle Enterprise Linux 5.
Terminology Used in this Document This document uses the terms logical unit number (LUN) and virtual disk. These terms are synonymous and can be used interchangeably. The term LUN is commonly used in a Dell/EMC Fibre Channel storage system environment and virtual disk is commonly used in a Dell PowerVault™ SAS (Dell MD3000i and Dell MD3000i with MD1000 expansion) and Dell EqualLogic™ PS Series storage environments.
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 Oracle Database Setup and Installation Guide. Minimum Software Requirements Table 2-1 lists basic software requirements for Dell-supported configurations for Oracle 10g on Enterprise Linux® version 4.7.
Table 2-1. Software Requirements (continued) Software Component Configuration Dell PowerVault™ MD3000 Modular Disk Storage Manager software Version 03.35.36.37 or higher Dell PowerVault™ MD3000i Modular Disk Storage Manager software Version 03.35.36.37 or higher Table 2-2 lists basic software requirements for Dell-supported configurations for Oracle 10g on Enterprise Linux Version 5.2. Table 2-2.
Table 2-3 lists basic software requirements for Dell-supported configurations for Oracle 11g on Enterprise Linux version 5.2. Table 2-3. Software Requirements Software Component Configuration Red Hat or Oracle Enterprise Linux AS x86_64 (Version 5) Update 2 Oracle Database 11g R1 Version Version 11.1 (with 11.1.0.7 patchset) • Enterprise/Standard Edition, including the RAC option for clusters • Enterprise/Standard and Standard Edition for single-node configuration EMC PowerPath Version 5.
Minimum Hardware Requirements for a Fibre Channel Configuration Table 2-4 through Table 2-5 indicate the minimum hardware requirements for a Fibre Channel 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.
Table 2-6.
Minimum Hardware Requirements for an iSCSI Configuration Table 2-8 through Table 2-9 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-8.
Table 2-9.
Table 2-10.
Software and Hardware Requirements
Installing and Configuring Enterprise Linux® CAUTION: To ensure that the operating system is installed correctly, disconnect all 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.
Table 3-1. Volumes for Oracle RAC Configuration Partition File System Name Type Volume Group Name Size (MB) /tmp ext3 swap osvg 4096 /home ext3 home osvg 8192 /opt/oracle ext3 opt osvg 15384 / ext3 root osvg 10240 /usr ext3 usr osvg 5120 /crs/oracle ext3 crs osvg 5120 /var ext3 var osvg 2048 swap swap swap osvg * /boot ext3 256 *Use the following formula to calculate the size of your swap partition: • For RAM size between 1024 MB to 2048 MB — 1.
When you register a system with ULN, the system is by default subscribed to the latest Channel. The Dell | Oracle Deployment Automation process requires you to be subscribed to the Oracle Software Channel in addition to the default latest Channel. Log on to linux.oracle.com to subscribe to the Oracle Software Channel. You must be subscribed to these ULN Channels to download the required oracleasm or ocfs2 RPMs automatically using the Dell Automated Scripts.
The automated scripts are designed to do the following Dell- and Oracle-recommended settings: • Create Oracle Software Owner and group(s). • Create the required directories for Oracle database and set their ownership and permissions. • Set up the kernel parameters (/etc/sysctl.conf). • Set up the kernel module parameters (/etc/modprobe.conf, hangcheck, etc.). • Set up the Oracle Software Owner limits (/etc/security/limits.conf file). • Set up the pam limits (/etc/pam.d/login file).
3 Extract the tar file using the command: $> tar -xvf dell-oracle-deployment...tar -C / NOTE: Ensure that the os_ver and oracle_ver on the tar file is appropriate for your installation. 4 Change to the Dell|Oracle Scripts directory: $> cd /dell-oracle-deployment/scripts/ 5 Run the Oracle Setup script with the Dell Oracle Setup RPM: $> ./00-oracle-setup.sh ../rpms/oracle-setupscripts-...noarch.
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 9.
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 上的 数据库 操作系统和 硬件安装指南 1.1 版 w w w. d e l l . c o m | s u p p o r t . d e l l .
注和小心 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心: “小心”表示如果不遵循说明,就有可能损坏硬件或导致数据 丢失。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2009 Dell Inc.。版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell、 DELL 徽标、 PowerEdge 和 PowerVault 是 Dell Inc. 的商标; Intel 和 Xeon 是 Intel Corporation 在美国 和其它国家 / 地区的注册商标; Red Hat 和 Red Hat Enterprise Linux 是 RedHat, Inc.
目录 1 Dell™ Oracle ® 数据库部署概览 . . . . . . . . . . . . 部署 Dell|Oracle 数据库所需的说明文件 . . . . . . . . . . . . 31 . . . . . . . . . . . . . . . . . . . . 32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 本说明文件中使用的术语 获得帮助 . 2 3 31 软件和硬件要求 . . . . . . . . . . . . . . . . . . . . . . . . 33 最低软件要求 . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 最低硬件要求 . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 安装和配置 Enterprise Linux ® 准备工作 . . . . . . . . . . . . . . 41 . .
目录
Dell™ Oracle® 数据库部署概览 本说明文件适用于: • Red Hat® Enterprise Linux® 或 Oracle Enterprise Linux® 4.7 AS x86_64 上的 Oracle Database 10g R2 • Red Hat Enterprise Linux 或 Oracle Enterprise Linux 5.2 AS x86_64 上的 Oracle Database 10g R2 • Red Hat Enterprise Linux 或 Oracle Enterprise Linux 5.
本说明文件中使用的术语 本说明文件中使用了逻辑单元号码 (LUN) 和虚拟磁盘两个术语。这些术语 是同义词并可互换使用。术语 LUN 通常在 Dell/EMC 光纤信道存储系统环 境中使用,而虚拟磁盘通常在 Dell PowerVault™ SAS(带有 MD1000 扩充的 Dell MD3000i 和 Dell MD3000i)和 EqualLogic™ PS 系列存储环境中使用。 除非特别说明,本说明文件使用的术语 Enterprise Linux 适用于 Red Hat Enterprise Linux 和 Oracle Enterprise Linux。 获得帮助 Dell 支持 有关系统使用方面的详情,请参阅随系统组件附带的说明文件。 有关白皮书、Dell 支持的配置和一般信息,请访问 Dell|Oracle Tested and Validated Configurations(经 Dell|Oracle 测试和验证的配置)网站 dell.com/oracle。 要获得硬件和操作系统软件的 Dell 技术支持,以及下载最新的系统更新, 请访问 Dell 支持网站 support.dell.
软件和硬件要求 以下各节说明 Dell 支持的 Oracle® 配置的最低软件和硬件要求。有关驱动 程序和应用程序最低软件版本的详情,请参阅《Oracle 数据库设置和安装 指南》。 最低软件要求 表 2-1 列出了在 Enterprise Linux® 4.7 版上安装 Dell 支持的 Oracle 10g 配置 的基本软件要求。 注:您的 Dell™ 配置包括 30 天的 Oracle 软件试用许可证。如果您没有此产 品的许可证,请与 Dell 销售代表联系。 表 2-1. 软件要求 软件组件 ® 配置 Red Hat 或 Oracle Enterprise Linux® AS x86_64(4 版) 更新 7 Oracle 数据库 10g R2 版 10.2 版(带有 10.2.0.4 增补软件集) • 企业 / 标准版,包括适用于群集的 Real Application Clusters (RAC) 选件 • 用于单个节点配置的企业 / 标准版和标准版 EMC® PowerPath® 5.
表 2-2 列出了在 Enterprise Linux 5.2 版上安装 Dell 支持的 Oracle 10g 配置的 基本软件要求。 表 2-2. 软件要求 软件组件 配置 Red Hat 或 Oracle Enterprise Linux AS x86_64(版本 5) 更新 2 Oracle Clusterware 11g R1 11.1.0.6 版(带有 11.1.0.7 增补软件集) Oracle 数据库 10g R2 10.2 版(带有 10.2.0.4 增补软件集) • 企业 / 标准版,包括用于群集的 RAC 选件 • 用于单个节点配置的企业 / 标准版 EMC PowerPath 5.3 版 Dell PowerVault MD3000 Modular 03.35.36.37 版或更高版本 Disk Storage Manager 软件 Dell PowerVault MD3000i Modular Disk Storage Manager 软件 03.35.36.37 版或更高版本 表 2-3 列出了在 Enterprise Linux 5.
最低硬件要求 以下各节列出了光纤信道、直接连接 SAS 和 iSCSI 配置的硬件要求。有关 特定硬件组件的详情,请参阅随系统附带的说明文件。 注:视用户数量、使用的应用程序和批处理进程而定,您可能需要一个超 出最低硬件要求的系统才能获得所需的性能。 光纤信道配置的最低硬件要求 表 2-4 到表 2-5 表示光纤信道群集和单个节点配置的最低硬件要求。 注:群集中所有节点的硬件配置必须相同。 表 2-4.
表 2-5. 光纤信道单个节点的最低硬件要求 硬件组件 配置 PowerEdge 系统(单个节点,使用自 Intel Xeon 或 AMD Opteron 支持的处理器 动存储管理或用于 Linux 的 Oracle 系列 群集文件系统 [OCFS2]) 1 GB 的 RAM 两个连接至 PERC 控制器或 SAS 控制器的 73 GB 硬盘驱动器 (RAID 1) 两个千兆位网络接口控制器 (NIC) 端口 Dell/EMC 光纤信道存储系统 (可选) 请参阅位于 dell.com/oracle 的 Solution Deliverable List(可提供的解决方案列表, SDL)以获得有关支持配置的信息。 Dell/EMC 光纤信道交换机(可选) 8 端口光纤信道交换机 千兆位以太网交换机(需要两台) 请参阅位于 dell.
表 2-6. 直接连接 SAS 群集的最低硬件要求 (续) 硬件组件 配置 Dell PowerVault MD1000 存储设 有关详情,请参阅 Dell PowerVault MD1000 备扩充硬盘柜(可选)。 存储设备扩充硬盘柜的说明文件。 千兆位以太网交换机 (需要两台) 有关支持配置的信息,请参阅位于 dell.com/oracle 的 Solution Deliverable List (可提供的解决方案列表,SDL)。 表 2-7.
iSCSI 配置的最低硬件要求 表 2-8 到表 2-9 表示 iSCSI 群集(直接连接和交换式)和直接连接的单个节 点配置的最低硬件要求。 注:群集中所有节点的硬件配置必须相同。 表 2-8.
表 2-9.
表 2-10.
安装和配置 Enterprise Linux® 警告:为确保正确地安装操作系统,在安装操作系统之前,需断开系统与 所有外部存储设备的连接。 本节将向您介绍 Red Hat® 和 Oracle® Enterprise Linux AS 操作系统的安装 以及针对 Oracle 数据库部署的操作系统的配置。 准备工作 在安装 Enterprise Linux 操作系统之前,请从 Red Hat Network (RHN) 或 Unbreakable Linux Network (ULN) 下载 Enterprise Linux 季度更新 ISO 映像。有关安装 Red Hat Enterprise Linux 的信息,请访问以下网站: redhat.com/docs/manuals/enterprise/。 Oracle Enterprise Linux ISO 映像可从以下网站下载:edelivery.oracle.
表 3-1. 用于 Oracle RAC 配置的卷 分区 文件系统 类型 名称 卷组名称 大小 (MB) /tmp ext3 swap osvg 4096 /home ext3 home osvg 8192 /opt/oracle ext3 opt osvg 15384 / ext3 root osvg 10240 /usr ext3 usr osvg 5120 /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.
使用 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 测试和验 证的配置)网站 dell.com/oracle 了解支持的最新配置。 配置 Oracle 数据库安装的操作系统 有关 Dell|Oracle 部署自动脚本 Dell|Oracle 部署自动脚本已打包成 tar 文件,可从 Dell|Oracle Tested and Validated Configurations(经 Dell|Oracle 测试和验证的配置)网站 www.dell.
安装 Dell|Oracle 部署自动脚本 安装操作系统并将其连接到 RHN 或 ULN 网络后,请下载适合您操作系统 版本和 Oracle 数据库版本的经 Dell|Oracle 测试和验证的 tar 文件到您的 Dell PowerEdge 系统。下载地址为:dell.com/oracle。 注:为自动解决 RPM 相关性缺少或失败的问题,脚本要求系统连接到所 订阅的操作系统通道(如果使用的是 ULN 网络,则还需连接到 Oracle 软件 通道)。这些缺少或失败的 RPM 相关性是 Oracle 数据库安装所必需的。 在运行以下所列的脚本之前,您必须连接到操作系统通道。 按照以下步骤解压 tar 文件并安装 Dell|Oracle 设置 RPM: 1 作为 root 登录。 2 使用以下命令将目录切换到根目录: $> cd / 3 使用以下命令解压 tar 文件: $> tar -xvf dell-oracle-deployment...
7 运行以下脚本安装 Oracle asm 和 / 或 ocfs2 RPM: $> ./20-install-oracle-rpms.sh 注:此脚本可安装 Oracle asm 和 ocfs2 RPM。如果您系统上的操作系统 是 OEL,则此脚本会从 ULN 通道下载和安装 oracle asm 和 ocfs2 RPM。 如果您系统上的操作系统是 RHEL,则此脚本会从 /dell-oracledeployment/rpms 目录安装 oracle asm 和 ocfs2 RPM。 可在 /dell-oracle-deployment/logs 文件夹中找到 Dell|Oracle 安装日志。 连接到 Dell 固件存储库通道(可选) Dell 固件存储库提供了一种机制,可将 Dell PowerEdge 系统的 BIOS 和固件 更新到最新的修订版本。使用下列命令可设置和安装 Dell 固件存储库: # set up repos wget -q -O - http://linux.dell.com/repo/software/bootstrap.
安装和配置
验证群集硬件与软件配置 本节提供用于硬件和软件群集配置的设置信息。 开始设置群集之前,请验证整个群集的硬件安装、通信互连和节点软件 配置。 • 按照第 35 页上的“最低硬件要求”中的说明,每个节点必须包括最低 要求的硬件外围设备组件。 • 每个节点均必须安装以下软件: • – Enterprise Linux® 软件(请参阅 表 2-1、 表 2-2 或 表 2-3)。 – 光纤信道主机总线适配器 (HBA) 驱动程序(适用于光纤信道 群集)。 – 正确版本的多路径驱动程序(适用于直接连接的 SAS 和 iSCSI)。 有关详情,请参阅随 Dell™ PowerVault™ MD3000/MD3000i 存储系 统附带的说明文件。 – 正确版本的 Open-iSCSI 启动程序驱动程序和 Device Mapper Mutipath 驱动程序(适用于 Dell EqualLogic™ iSCSI 存储系统)。 光纤信道、iSCSI 或直接连接 SAS 存储系统必须使用以下配置: – 创建最少三个 LUN/ 虚拟磁盘并分配到群集存储组 (请参阅表 4-1) 注:有关在直接连接的 S
表 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 测试和验证的配置)网站 dell.
获取和使用开放源代码文件
Systèmes Dell™ PowerEdge™ Oracle® Database sous Enterprise Linux x86_64 Système d'exploitation et Guide d'installation du matériel Version 1.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
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 Dell Inc. Tous droits réservés.
Table des matières 1 Présentation du déploiement de Dell™ Oracle ® Database . . . . . . . . . . 55 Documentation requise pour déployer Dell|Oracle Database . . . . . . . . . . . . . . . . . . 55 Terminologie utilisée dans le présent document . Obtention d'aide . 2 . . . 56 . . . . . . . . . . . . . . . . . . . . 56 Configuration matérielle et logicielle requise . . . . . . . . . . . . . . . . Configuration logicielle minimale requise . . . . . . . Configuration matérielle 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 54 . . . . . . . . Vérification de la configuration matérielle et logicielle du cluster Obtention et utilisation de fichiers Open Source Table des matières 69 69 . . . . . . 73 . . . . . . . . . . . . .
Présentation du déploiement de Dell™ Oracle® Database Ce document s'applique aux configurations suivantes : • Oracle Database 10g R2 sous Red Hat® Enterprise Linux® ou Oracle Enterprise Linux® 4.7 AS x86_64 • Oracle Database 10g R2 sous Red Hat Enterprise Linux ou Oracle Enterprise Linux 5.2 AS x86_64 • Oracle Database 11g R1 sous Red Hat Enterprise Linux ou Oracle Enterprise Linux 5.
Terminologie utilisée dans le présent document Les termes LUN (numéro d'unité logique) et disque virtuel sont des synonymes et interchangeables. Le terme LUN est généralement utilisé pour les environnements de systèmes de stockage Fibre Channel Dell/EMC, tandis que le terme disque virtuel est plutôt réservé aux environnements de stockage Dell PowerVault™ SAS (Dell MD3000i et Dell MD3000i avec châssis d'extension MD1000) 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 des applications à installer, voir le Guide d'installation et de configuration d'Oracle Database. Configuration logicielle minimale requise Le tableau 2-1 présente la configuration logicielle minimale pour Oracle 10g sous Enterprise Linux® version 4.
Tableau 2-1. Configuration logicielle requise (suite) Composant Configuration Logiciel Dell PowerVault™ MD3000 Modular Disk Storage Manager Version 03.35.36.37 ou supérieure Logiciel Dell PowerVault™ MD3000i Modular Disk Storage Manager Version 03.35.36.37 ou supérieure Le tableau 2-2 présente la configuration logicielle minimale pour Oracle 10g sous Enterprise Linux version 5.2 prise en charge par Dell. Tableau 2-2.
Le tableau 2-3 présente la configuration logicielle minimale pour Oracle 11g sous Enterprise Linux version 5.2 prise en charge par Dell. Tableau 2-3. Configuration logicielle requise Composant Configuration Red Hat ou Oracle Enterprise Linux AS x86_64 (Version 5) Update 2 Oracle Database 11g Version R1 Version 11.1 (avec groupe de correctifs 11.1.0.
Matériel requis pour une configuration Fibre Channel Les sections suivantes (du tableau 2-4 au tableau 2-5) présentent la configuration matérielle minimale requise pour un cluster Fibre Channel à nœud unique. REMARQUE : Tous les nœuds du cluster doivent posséder une configuration identique. Tableau 2-4.
Tableau 2-5.
Tableau 2-6.
Tableau 2-7. Matériel requis pour un environnement SAS à connexion directe comprenant un seul nœud - Configuration minimale Composant matériel Configuration Système Dell PowerEdge Processeurs Intel Xeon et AMD Opteron pris en charge 1 Go de RAM Deux disques durs de 73 Go (RAID 1) connectés à un contrôleur PERC Deux ports de cartes réseau (NIC) Gigabit Système de stockage Dell PowerVault MD3000. Pour plus d'informations, reportez-vous à la documentation du système de stockage Dell PowerVault MD3000.
Tableau 2-8.
Tableau 2-9.
Tableau 2-10. Matériel requis pour un cluster iSCSI à connexion directe ou commutée à nœud unique - Configuration minimale Composant matériel Configuration Système Dell PowerEdge (nœud unique avec ASM ou OCFS2) Processeurs Intel Xeon et AMD Opteron pris en charge 1 Go de RAM avec OCFS2 ou ASM Contrôleur RAID interne pour les disques durs internes Deux disques durs (RAID 1) de 73 Go connectés au contrôleur PERC Trois ports de carte réseau (NIC) Gigabit Système de stockage Dell PowerVault MD3000i.
Installation et configuration d'Enterprise Linux® PRÉCAUTION : Déconnectez tous les périphériques de stockage externes avant d'installer le système d'exploitation, pour vous assurer que ce dernier sera correctement installé. Cette section décrit l'installation de Red Hat® et d'Oracle® Enterprise Linux AS et la configuration du système d'exploitation pour le déploiement d'Oracle Database.
Tableau 3-1.
Pour plus d'informations sur la configuration de votre propre réseau ULN (Unbreakable Linux Network), voir le site web : linux.oracle.com. Lorsque vous enregistrez un système sur le réseau ULN, il est abonné par défaut au dernier canal. Le processus de déploiement automatique Oracle | Dell exige l'abonnement au canal du logiciel Oracle en plus du dernier canal par défaut. Pour vous abonner à ce canal, connectez-vous à linux.oracle.com.
Les scripts automatisés sont conçus pour définir les paramètres suivants, recommandés par Dell et par Oracle : • Créer un propriétaire du logiciel Oracle et un ou des groupes. • Créer les répertoires requis pour Oracle Database et en définir les propriétaires et les droits. • Configurer les paramètres du noyau (/etc/sysctl.conf). • Configurer les paramètres de module du noyau (/etc/modprobe.conf, hangcheck, etc.). • Configurer les limites de propriété du logiciel Oracle (/etc/security/limits.
Extrayez le fichier tar, puis installez le package RPM de configuration de Dell | Oracle en procédant comme suit : 1 Ouvrez une session en tant que root. 2 Remplacez l'emplacement par le répertoire root en tapant la commande : $> cd / 3 Extrayez le fichier tar en tapant la commande : $> tar -xvf dell-oracle-deployment...tar -C / REMARQUE : Vérifiez que les composants os_ver et oracle_ver du fichier tar correspondent à votre instance.
7 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 et ocfs2. Si votre système exécute le système d'exploitation OEL, alors le script télécharge et installe les RPM Oracle asm et ocfs2 à partir du canal ULN. Si votre système exécute le système d'exploitation RHEL, alors le script installe les RPM Oracle asm et ocfs2 à partir du répertoire /dell-oracle-deployment/rpms.
Vérification de la configuration matérielle et logicielle du cluster Cette section contient des informations sur la configuration matérielle et logicielle des clusters. 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. • Chaque nœud doit contenir les composants matériels requis pour la configuration minimale (voir “Configuration matérielle minimale requise”, page 59).
• La configuration du système de stockage Fibre Channel, iSCSI ou SAS à connexion directe doit inclure les éléments suivants : – Au minimum trois LUN/disques virtuels créés et attribués au groupe de stockage du cluster (voir le tableau 4-1) REMARQUE : Pour plus d'informations sur les contraintes à respecter lorsque vous affectez des disques virtuels à un nœud dans une configuration SAS à connexion directe, voir la documentation du système de stockage Dell PowerVault MD3000/MD3000i. Tableau 4-1.
Obtention et utilisation de fichiers Open Source Les logiciels contenus dans les scripts de déploiement automatique d'Oracle|Dell incluent des scripts tiers et Dell™. L'utilisation des logiciels est soumise aux termes de licence indiqués. Tout logiciel désigné par les termes “sous les conditions du contrat de licence de GNU GPL” peut être copié, distribué et/ou modifié selon les termes de la licence GNU General Public License, version 2, juin 1991.
Obtention et utilisation de fichiers Open Source
Dell™ PowerEdge™-Systeme Oracle® Database auf Enterprise Linux x86_64 Installationshandbuch für Betriebssystem und Hardware Version 1.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
Anmerkungen und Vorsichtshinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie das System besser einsetzen können. VORSICHTSHINWEIS: Mit einem VORSICHTSHINWEIS werden Sie auf mögliche Gefahrenquellen hingewiesen, die Hardwareschäden oder Datenverlust zur Folge haben können, wenn die Anweisungen nicht befolgt werden. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2009 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht über die Dell™ Oracle ® Database-Bereitstellung . . . . . . . . Benötigte Dokumentation zum Bereitstellen der Dell|Oracle-Datenbank . . . . . . . . . . . . . . 81 . . . . . . 81 In diesem Dokument verwendete Terminologie Wie Sie Hilfe bekommen 2 3 . . . . 82 . . . . . . . . . . . . . . . . 82 Softwareund Hardwareanforderungen . . . . . . . . . 85 Software-Mindestanforderungen . . . . . . . . . . . . 85 Hardware-Mindestanforderungen . . . . . . . . . . .
Update der Betriebssystempakete über Red Hat Network oder Unbreakable Linux Network . . . . . . . . . . . . Konfiguration des Betriebssystems für die Installation der Oracle-Datenbank 4 5 80 . . . . . . . Überprüfen der Konfiguration von Clusterhardware und -software . . Erwerb und Einsatz von Open-Source-Dateien Inhalt 98 98 . . . . 103 . . . . . . . . . .
Übersicht über die Dell™ Oracle® Database-Bereitstellung Dieses Dokument gilt für: • Oracle Database 10g R2 unter Red Hat® Enterprise Linux® oder Oracle Enterprise Linux® 4.7 AS x86_64 • Oracle Database 10g R2 unter Red Hat Enterprise Linux oder Oracle Enterprise Linux 5.2 AS x86_64 • Oracle Database 11g R1 unter Red Hat Enterprise Linux oder Oracle Enterprise Linux 5.
In diesem Dokument verwendete Terminologie In diesem Dokument werden die Begriffe Logische Gerätenummer (LUN) und Virtueller Datenträger verwendet. Diese Begriffe sind synonym und untereinander ersetzbar. Der Begriff LUN wird üblicherweise im Zusammenhang mit Dell/EMC Fibre-Channel-Speichersystemumgebungen und der Begriff virtuelles Laufwerk bei Dell PowerVault™ SAS-Speicherumgebungen (Dell MD3000i und Dell MD3000i mit Erweiterung MD1000) sowie Dell EqualLogic™ PS-Speicherumgebungen verwendet.
Oracle Support Informationen über Schulungen für Oracle-Software und ClusterwareAnwendung finden Sie auf der Oracle-Website unter oracle.com, oder wenden Sie sich direkt an Oracle. Die entsprechenden Kontaktdaten können Sie der Oracle-Dokumentation entnehmen. Technischer Support, Downloads und weitere technische Informationen sind auf der My Oracle Support-Website unter metalink.oracle.com verfügbar.
Übersicht
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. Weitere Informationen zu den mindestens erforderlichen Treiber- und Anwendungsversionen finden Sie im Oracle Database Setupund Installationshandbuch.
Tabelle 2-1. Softwareanforderungen (fortgesetzt) Softwarekomponente Konfiguration Dell PowerVault™ MD3000 Modular Disk Storage Manager Software Version 03.35.36.37 oder höher Dell PowerVault™ MD3000i Modular Disk Storage Manager Software Version 03.35.36.37 oder höher In Tabelle 2-2 sind die grundlegenden Softwarevoraussetzungen für die von Dell unterstützten Konfigurationen für Oracle 10g mit Enterprise Linux Version 5.2 aufgeführt. Tabelle 2-2.
In Tabelle 2-3 sind die grundlegenden Softwarevoraussetzungen für die von Dell unterstützten Konfigurationen für Oracle 11g mit Enterprise Linux Version 5.2 aufgeführt. Tabelle 2-3. Softwareanforderungen Softwarekomponente Konfiguration Red Hat oder Oracle Enterprise Linux AS x86_64 (Version 5) Update 2 Oracle Database 11g R1 Version Version 11.1 (mit Patchset 11.1.0.
Hardware-Mindestanforderungen für eine Fibre-Channel-Konfiguration In Tabelle 2-4 bis Tabelle 2-5 sind die Hardware-Mindestanforderungen für Fibre-Channel-Cluster- und Einzelknotenkonfigurationen aufgeführt. ANMERKUNG: Die Hardwarekonfiguration sämtlicher Knoten in einem Cluster muss identisch sein. Tabelle 2-4.
Tabelle 2-5.
Tabelle 2-6.
Hardware-Mindestanforderungen für eine iSCSI-Konfiguration In Tabelle 2-8 bis Tabelle 2-9 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-8.
Tabelle 2-9.
Tabelle 2-10.
Software- und Hardwareanforderungen
Installation und Konfiguration von Enterprise Linux® VORSICHTHINWEIS: 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.
Empfohlenes Partitionierungsschema für das Betriebssystem In der folgenden Liste sind die empfohlenen Systempartitionierungsschemas für Ihre Oracle-Datenbank aufgeführt. 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.
Verbinden von Systemen mit dem Betriebssystemkanal Red Hat Network (RHN) oder Unbreakable Linux Network (ULN) ermöglicht Ihnen die effiziente Verwaltung Ihrer Systeme über das Netzwerk. Über eine einfache Benutzerschnittstelle lassen sich Software-Patches und Updates installieren und Wartungsmaßnahmen auf den Systemen durchführen.
Update der Betriebssystempakete über Red Hat Network oder Unbreakable Linux Network Red Hat und Oracle veröffentlichen regelmäßig Software-Updates zum Beheben von Programmfehlern und Sicherheitslücken und zum Hinzufügen neuer Funktionen. Diese Aktualisierungen können Sie über das Red Hat Network (RHN) oder das Unbreakable Linux Network (ULN) herunterladen. Informieren Sie sich auf der Dell|Oracle-Website für geprüfte und zugelassene Konfigurationen unter dell.
Die automatisierten Skripts wurden konzipiert, um die folgenden von Dell und Oracle empfohlenen Einstellungen vorzunehmen: • Erstellen von Oracle Software-Besitzer und -Gruppe(n) • Erstellen der erforderlichen Verzeichnisse für die Oracle-Datenbank und der erforderlichen Besitzrechte und Berechtigungen • Einrichten der Kernel-Parameter (/etc/sysctl.conf) • Einrichten der Kernel-Modulparameter (/etc/modprobe.conf, hangcheck, usw.
Extrahieren Sie die tar-Datei und installieren Sie den Dell|Oracle-RPM, indem Sie wie folgt vorgehen: 1 Melden Sie sich als root beim System an. 2 Wechseln Sie mit folgendem Befehl zum Stammverzeichnis: $> cd / 3 Extrahieren Sie die tar-Datei mit folgendem Befehl: $> tar -xvf dell-oracle-deployment...tar -C / ANMERKUNG: Stellen Sie sicher, dass os_ver und oracle_ver der tar-Datei für Ihre Installation geeignet sind.
7 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 RPMs „Oracle asm“ und „ocfs2“. Wenn OEL das Betriebssystem ist, lädt dieses Skript die RPMs „oracle asm“ und „ocfs2“ vom ULN-Kanal herunter und installiert sie. Wenn RHEL das Betriebssystem ist, installiert dieses Skript die RPMs „oracle asm“ und „ocfs2“ vom Verzeichnis /dell-oracle-deployment/rpms.
Installation und Konfiguration
Ü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 Cluster-Einrichtung beginnen, überprüfen Sie die Hardware-Installation, die Kommunikationsverbindungen und die SoftwareKonfiguration der Knoten im gesamten Cluster. • Jeder Knoten muss mindestens über die Hardware-Peripheriekomponenten aus „Hardware-Mindestanforderungen“ auf Seite 87 verfügen.
• Das Fibre-Channel-, iSCSI- oder Direct-Attach-SAS-Speichersystem muss wie folgt konfiguriert sein: – Mindestens drei LUNs/virtuelle Laufwerke sind erstellt und der Clusterspeichergruppe zugewiesen (siehe Tabelle 4-1) ANMERKUNG: Weitere Informationen zu den Anforderungen für die Zuordnung virtueller Datenträger zu einem Knoten in einer Direct-AttachKonfiguration finden Sie in der mit Ihrem Dell PowerVault MD3000/MD3000iSpeichersystem ausgelieferten Dokumentation. Tabelle 4-1.
Erwerb und Einsatz von OpenSource-Dateien Die in den Dell|Oracle-Bereitstellungsautomatisierungsskripts 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 のインストールとハード ウェアの取り付けガイド バージョン 1.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明してい ます。 注意 : 手順に従わない場合は、ハードウェアの損傷やデータの損失の可能 性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2009 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書に使用されている商標:Dell、DELL ロゴ、PowerEdge、および PowerVault は Dell Inc. の商標です。Intel および Xeon は米国その他の国における Intel Corporation の登録商標 です。Red Hat および Red Hat Enterprise Linux は Red Hat, Inc.
目次 1 Dell™ Oracle® データベース 導入の概要 . . . . . . . . . . . . . . . . . . . . . . . . . . Dell|Oracle データベースの導入に必要な マニュアル. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 . . . . . . . . . . . . . . . . . . . . . 112 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 本書で使用されている用語 困ったときは 2 3 ソフトウェアおよびハードウ ェアの要件 . . . . . . . . . . . . . . . . . . . . . . . . . . 111 115 ソフトウェアの最小要件 . . . . . . . . . . . . . . . . . . . . . . 115 ハードウェアの最小要件 . . . . . . . . . . . . .
4 5 110 目次 クラスタのハードウェアおよびソ フトウェアの構成の確認 . . . . . . . . . . . . . . . 133 オープンソースファイルの入手お よび使用 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dell™ Oracle® データベース導入 の概要 本書の説明は次の製品に適用されます。 • Red Hat® Enterprise Linux® または Oracle Enterprise Linux® 4.7 AS x86_64 上で使用されている Oracle Database 10g R2 • Red Hat Enterprise Linux または Oracle Enterprise Linux 5.2 AS x86_64 上で使用されている Oracle Database 10g R2 • Red Hat Enterprise Linux または Oracle Enterprise Linux 5.
本書で使用されている用語 本書では、「論理ユニット番号」(LUN)および「仮想ディスク」とい う語が使われています。これらの用語は同義語であり、どちらを使用し ても構いません。「LUN」は Dell/EMC ファイバーチャネルストレージ システムの環境で、「仮想ディスク」は Dell PowerVault™ SAS (Dell MD3000i および Dell MD3000i + MD1000 拡張)および Dell EqualLogic™ PS シリーズのストレージ環境で、通常使われる用語 です。 本書で使われている Enterprise Linux という用語は、特に説明のない限 り Red Hat Enterprise Linux と Oracle Enterprise Linux の両方に適用 されます。 困ったときは デルサポート システムの詳しい使い方については、システムコンポーネントに付属の マニュアルを参照してください。 各種の白書、デルがサポートする設定、一般情報については、 Dell|Oracle Tested and Validated Configurations(Dell|Orac
Oracle のサポート Oracle ソフトウェアおよびアプリケーションクラスタウェアのトレー ニングについては Oracle のウェブサイト oracle.com を、Oracle への お問合せの方法については Oracle のマニュアルを参照してください。 テクニカルサポート、ダウンロード、その他の技術情報については、 My Oracle Support ウェブサイト metalink.oracle.
概要
ソフトウェアおよびハードウェ アの要件 以下の項では、デルがサポートする Oracle® 用の構成に必要なソフト ウェアとハードウェアの最小要件について説明します。最低限必要なド ライバとアプリケーションのバージョンの詳細については、『Oracle データベースセットアップ & インストールガイド』を参照してくだ さい。 ソフトウェアの最小要件 デルがサポートする Enterprise Linux® バージョン 4.7 で使用する Oracle 10g の構成の基本的なソフトウェア要件のリストを 表 2-1 に示 します。 メモ:お使いの Dell™ システムには、Oracle ソフトウェアの 30 日間の試 用ライセンスが含まれています。この製品のライセンスをお持ちでない場 合は、デルの営業担当にお問い合わせください。 表 2-1. ソフトウェア要件 ソフトウェアコンポーネント ® Red Hat または Oracle Enterprise Linux® AS x86_64 (バージョン 4) Oracle Database 10g R2 のバージョン 構成 アップデート 7 バージョン 10.
表 2-1. ソフトウェア要件 (続き) ソフトウェアコンポーネント ® EMC PowerPath ® 構成 バージョン 5.3 Dell PowerVault™ MD3000 バージョン 03.35.36.37 以降 Modular Disk Storage Manager ソフトウェア Dell PowerVault™ MD3000i バージョン 03.35.36.37 以降 Modular Disk Storage Manager ソフトウェア デルがサポートする Enterprise Linux バージョン 5.2 で使用する Oracle 10g の構成の基本的なソフトウェア要件のリストを 表 2-2 に示します。 表 2-2. ソフトウェア要件 ソフトウェアコンポーネント Red Hat または Oracle Enterprise Linux AS x86_64 (バージョン 5) 構成 アップデート 2 Oracle Clusterware 11g R1 バージョン 11.1.0.6(11.1.0.
デルがサポートする Enterprise Linux バージョン 5.2 で使用する Oracle 11g の構成の基本的なソフトウェア要件のリストを 表 2-3 に示 します。 表 2-3. ソフトウェア要件 ソフトウェアコンポーネント 構成 Red Hat または Oracle Enterprise Linux アップデート 2 AS x86_64(バージョン 5) Oracle Database 11g R1 のバージョン バージョン 11.1(11.1.0.7 パッチ セット適用) • クラスタには、RAC オプションを 含む Enterprise/Standard Edition • シングルノード構成には、 Enterprise/Standard および Standard Edition EMC PowerPath バージョン 5.3 Dell PowerVault MD3000 Modular Disk バージョン 03.35.36.
ファイバーチャネル構成用のハードウェアの最小要件 ファイバーチャネルクラスタおよびシングルノード構成用のハードウェ アの最小要件を 表 2-4 ~ 表 2-5 に示します。 メモ:クラスタ内のすべてのノードのハードウェア構成は同一でなけれ ばなりません。 表 2-4.
表 2-5. ファイバーチャネルシングルノード用のハードウェアの最小要件 ハードウェアコンポーネント 構成 PowerEdge システム(Automatic Storage Management または OCFS2(Oracle Cluster File System for Linux)を使用したシングル ノード) Intel Xeon または AMD Opteron のサ ポートされているプロセッサシリーズ 1 GB の RAM PERC コントローラまたは SAS コントロー ラに接続された 73 GB のハードドライブ (RAID1)2 台 ギガビット NIC ポート 2 個 Dell/EMC ファイバーチャネルスト サポートされる構成については、 レージシステム(オプション) dell.com/oracle で Solution Deliverable List(SDL)を参照してください。 Dell/EMC ファイバーチャネルス イッチ(オプション) ギガビットイーサネットスイッチ (2 台必要) 8 ポートのファイバーチャネルスイッチ サポートされる構成については、 dell.
表 2-6.
iSCSI 構成用のハードウェアの最小要件 iSCSI クラスタ(直接接続およびスイッチ式)および直接接続シングル ノード構成用のハードウェアの最小要件を 表 2-8 ~ 表 2-9 に示します。 メモ:クラスタ内のすべてのノードのハードウェア構成は同一でなけれ ばなりません。 表 2-8.
表 2-9.
表 2-10.
ソフトウェアおよびハードウェアの要件
Enterprise Linux® のインストール および設定 警告:OS を正常にインストールするには、インストールを開始する前に 外付けストレージデバイスをすべてシステムから取り外してください。 本項では Red Hat® および Oracle® Enterprise Linux AS のインストー ルと、Oracle データベースの導入に必要な OS の設定について説明し ます。 作業を開始する前に Enterprise Linux OS をインストールする前に、 Red Hat Network または Unbreakable Linux Network から Enterprise Linux Quarterly Update ISO イメージをダウンロードします。Red Hat Enterprise Linux のインス トールについては、redhat.com/docs/manuals/enterprise/ を参照し てください。 Oracle Enterprise Linux ISO イメージは、edelivery.oracle.
表 3-1. Oracle RAC 構成用のボリューム パーティ ション ファイル システム のタイプ 名前 ボリュームグループ名 サイズ(MB) /tmp ext3 swap osvg 4096 /home ext3 home osvg 8192 /opt/oracle ext3 opt osvg 15384 / ext3 root osvg 10240 /usr ext3 usr osvg 5120 /crs/oracle ext3 crs osvg 5120 /var ext3 var osvg 2048 swap swap swap osvg * /boot ext3 256 * スワップパーティションのサイズを計算するには、次の式を使用します。 • RAM サイズが 1024 MB ~ 2048 MB の場合 — RAM のサイズ x 1.
ご自身の Unbreakable Linux Network(ULN)をセットアップする手 順については、Unbreakable Linux(ULN)のウェブサイト linux.oracle.com を参照してください。 ULN を使用してシステムを登録する場合、システムはデフォルトで最 新のチャネルに購読が設定されます。Dell | Oracle Deployment Automation プロセスでは、デフォルトの最新チャネルに加えて、 Oracle ソフトウェアチャネルにも購読を設定しておく必要があります。 Oracle ソフトウェアチャネルに購読を設定するには、 linux.oracle.
Oracle データベースをインストールするため の OS の設定 Dell | Oracle Deployment Automation Scripts について Dell|Oracle Deployment Automation Scripts は tar ファイルと してパッケージになっており、Dell|Oracle Tested and Validated Configurations(Dell|Oracle で検証済みの構成)ウェブサイト www.dell.
Dell | Oracle Deployment Automation Scripts のインストール OS をインストールし、RHN または ULN に接続したら、お使いの OS バージョンと Oracle データベースバージョンに適した Dell|Oracle で 検証済みの tar ファイルを、ウェブサイト dell.
6 次のスクリーンを実行して、Dell PowerEdge システムコンポーネン トのドライバをインストールします。 $> ./10-install-Dell-rpms.sh メモ:このスクリプトにより、/dell-oracle-deployment/rpms フォルダ にあるサポートされている Dell Dynamic Kernel Module Support(dkms) ドライバがインストールされます。dkms ドライバのインストールで は、モジュールを作成するために kernel devel RPM が必要です。この スクリプトは、OS チャネルから kernel-devel パッケージの自動ダウン ロードとインストールを試行します。OS チャネルに kernel-devel パッ ケージがない場合は、kernel-devel パッケージを手動でインストール してから、このスクリプトを通じて Dell dkms ドライバをインストー ルする必要があります。 7 次のスクリプトを実行して、Oracle asm および / または ocfs2 RPM をインストールします。 $> .
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.
インストールと設定
クラスタのハードウェアおよび ソフトウェアの構成の確認 本項では、ハードウェアとソフトウェアのクラスタ構成の設定について 説明します。 クラスタをセットアップする前に、ハードウェアの取り付け、通信の相 互接続、およびクラスタ全体に対するノードソフトウェア構成を確認し ます。 • 各ノードには、少なくとも 117 ページの「ハードウェアの最小要件」 に説明するハードウェア周辺機器が含まれている必要があります。 • 各ノードには、次のソフトウェアをインストールする必要があり ます。 – – Enterprise Linux® ソフトウェア(表 2-1、表 2-2 または 表 2-3 を参照)。 ファイバーチャネルホストバスアダプタ(HBA)ドライバ (ファイバーチャネルクラスタ用)。 – マルチパスドライバの正しいバージョン(直接接続 SAS および iSCSI 用)。詳細については、Dell™ PowerVault™ MD3000/MD3000i ストレージシステムに付属のマニュアルを参 照してください。 – Dell EqualLogic™ iSCSI ストレージシステム用の正しいバージョ ン
• ファイバーチャネル、iSCSI、または直接接続 SAS ストレージシステ ムは、次の構成が必須です。 – クラスタストレージグループに対して少なくとも 3 つの LUN/ 仮 想ディスクを作成して割り当てる(表 4-1 を参照) メモ:直接接続 SAS 構成のノードに仮想ディスクを割り当てるため の要件の詳細については、Dell PowerVault MD3000/MD3000i ストレージ システムに付属のマニュアルを参照してください。 表 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 1.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notas y precauciones NOTA: Una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. PRECAUCIÓN: Un mensaje de PRECAUCIÓN indica la posibilidad de daños en el hardware o la pérdida de datos si no se siguen las instrucciones. ____________________ La información contenida en este documento puede modificarse sin previo aviso. © 2009 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general sobre la implantación de la base de datos Oracle ® de Dell™ . . . . . . . . 141 Terminología utilizada en este documento . . . . . . . 142 . . . . . . . . . . . . . . . . . . . 142 Requisitos de software y hardware Requisitos mínimos de software 145 145 147 . . . . . . . . . . . Instalación y configuración de Enterprise Linux ® . . . . . Antes de comenzar. . . . . . . . . . . . . . . . Requisitos mínimos de hardware .
Actualización de los paquetes de sistema mediante Red Hat Network o Unbreakable Linux Network . . . . . 4 5 140 . . . . . . . . 158 Configuración del sistema operativo para la instalación de la base de datos Oracle . . . . 158 Verificación de las configuraciones de hardware y software del clúster . . . 163 . . . . . . . . 165 Obtención y uso de archivos de código fuente abierto . . . .
Información general sobre la implantación de la base de datos Oracle® de Dell™ Este documento se aplica a: • Base de datos Oracle 10g R2 en Red Hat® Enterprise Linux® u Oracle Enterprise Linux® 4.7 AS x86_64 • Base de datos Oracle 10g R2 en Red Hat Enterprise Linux u Oracle Enterprise Linux 5.2 AS x86_64 • Base de datos Oracle 11g R1 en Red Hat Enterprise Linux u Oracle Enterprise Linux 5.
• Guía de solución de problemas: en ella se describen los procedimientos de solución de problemas para resolver los errores que se producen durante la instalación de la base de datos Oracle. En todos los módulos se proporciona información sobre cómo obtener asistencia técnica de Dell. 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.
Asistencia de Oracle Para obtener información de formación sobre el software Oracle y el software de clúster de aplicaciones, visite la página web de Oracle (oracle.com) o consulte la documentación de Oracle para obtener información sobre cómo ponerse en contacto con Oracle. Para obtener información sobre asistencia técnica, descargas y otras cuestiones técnicas, visite la página web My Oracle Support en metalink.oracle.com.
Información general
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 Guía de configuración e instalación de la base de datos Oracle.
Tabla 2-1. Requisitos de software (continuación) Componente de software Configuración Software Dell PowerVault™ MD3000 Modular Disk Storage Manager Versión 03.35.36.37 o superior Software Dell PowerVault™ MD3000i Modular Disk Storage Manager Versión 03.35.36.37 o superior En la tabla 2-2 se enumeran los requisitos básicos de software para las configuraciones de Oracle 10g en Enterprise Linux versión 5.2 admitidas por Dell. Tabla 2-2.
En la tabla 2-3 se enumeran los requisitos básicos de software para las configuraciones de Oracle 11g en Enterprise Linux versión 5.2 admitidas por Dell. Tabla 2-3. Requisitos de software Componente de software Configuración Red Hat u Oracle Enterprise Linux AS x86_64 (versión 5) Actualización 2 Base de datos Oracle 11g versión R1 Versión 11.1 (con el patchset 11.1.0.
Requisitos mínimos de hardware para una configuración de Fibre Channel 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 un clúster Fibre Channel. NOTA: La configuración de hardware de todos los nodos del clúster debe ser idéntica. Tabla 2-4.
Tabla 2-5.
Tabla 2-6.
Tabla 2-7.
Tabla 2-8.
Tabla 2-9.
Tabla 2-10.
Instalación y configuración de Enterprise Linux® 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 describe la instalación del sistema operativo Red Hat® y Oracle® Enterprise Linux AS, así como la configuración del sistema operativo para la implantación de la base de datos Oracle.
Esquema de particiones del sistema operativo recomendado A continuación se ofrece una lista de recomendaciones de partición del sistema para la base de datos Oracle: 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 de su sistema operativo Red Hat Network (RHN) o Unbreakable Linux Network (ULN) permite administrar de manera eficaz 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 interfaz de usuario sencilla.
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) u Oracle 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 de kernel (/etc/sysctl.conf) • Configurar los parámetros del módulo de kernel (/etc/modprobe.conf, hangcheck, etc.
Extraiga el archivo tar e instale el RPM de configuración de Dell|Oracle; para ello, realice los pasos que se indican a continuación: 1 Inicie la sesión como root. 2 Cambie al directorio raíz mediante el comando siguiente: $> cd / 3 Extraiga el archivo tar mediante el comando $> tar -xvf dell-oracle-deployment...tar -C / NOTA: Asegúrese de que os_ver y oracle_ver en el archivo tar son adecuados para su instalación.
7 Ejecute la secuencia de comandos siguiente para instalar los RPM de Oracle asm u ocfs2: $> ./20-install-oracle-rpms.sh NOTA: Con esta secuencia de comandos se instalan los RPM de Oracle asm y ocfs2. Si su sistema operativo es OEL, esta secuencia de comandos descarga e instala los RPM de Oracle asm y ocfs2 desde el canal ULN. Si su sistema operativo es RHEL, esta secuencia de comandos instala los RPM de Oracle asm y ocfs2 desde el directorio /dell-oracle-deployment/rpms.
Instalación y configuración
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 147.
• 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 MD3000/MD3000i. 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