Dell™ PowerEdge™ Systems Oracle® Database on Microsoft® Windows Server® x64 Database Setup and 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 document 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Required Documentation for Installing Oracle Database 10g R2 . . . . . . . . . . . . . . . . . . . . . 5 . . . . . . . . . . . . . . 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Terminology Used in This Document Getting Help Dell Support . . . . . . . . . . . . . . . . . . . . . . . . . 6 . . . . . . . . . . . . . . . . . . . . . . . 6 Oracle Support 2 Before You Begin . . . . . . . . . . . . . . .
Configuring the Listener . . . . . . . . . . . . . . . . . . . . . Creating the Seed Database . 4 . . . . . . . . . . . . . . . . . . Installing Oracle RAC 10g R2 Using ASM . . . . . . . . . . . . . . . Installing Oracle Clusterware . . . . . . . . . . . . . . . . . . Applying Oracle Patch 7320726 for Windows Server 2008 . . . . 27 . . . . . . . . . . . . . . . . 28 . . . . . . . . . . . . . . . . 28 . . . . . . . . . . . . . . . . . 29 . . . . . . . . . . . . . . . . . . . . .
Overview This document applies to: • Oracle® Database 10g R2 Enterprise Edition on Microsoft® Windows Server® 2003 R2 SP2 Enterprise or Standard x64 Edition or Windows Server 2008 SP2 Enterprise or Standard x64 Edition. • Oracle Database 10g R2 Standard Edition on Microsoft Windows Server 2003 R2 SP2 Standard x64 Edition or Windows Server 2008 SP2 Standard x64 Edition.
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 direct-attached SAS (Dell™ PowerVault™ MD3000/MD3000i and PowerVault MD3000/MD3000i with PowerVault MD1000 expansion) storage environment.
Before You Begin This section provides information on basic installation requirements for Oracle® Real Application Cluster (RAC) 10g R2. Choosing the Correct Oracle Installation Media To choose the correct Oracle installation media version for your Microsoft® Windows Server® operating systems, see Table 2-1. Table 2-1. Supported Versions of Clusterware/ Database/ Patchset Operating System Oracle Clusterware Oracle Database version version Patchset version Windows Server 2008 10.2.0.4 10.2.0.
Before You Begin
Installing Oracle® RAC 10g R2 Using OCFS This section applies only to Oracle® Enterprise Edition. This section describes the procedures to install Oracle Real Application Cluster (RAC) 10g R2 using Oracle Cluster File System (OCFS). NOTE: If you want to install Oracle using Automatic Storage Management (ASM), ignore the following steps and follow the procedures given under “Installing Oracle RAC 10g R2 Using ASM” on page 23.
5 In the Product Specification Prerequisite Checks window: • For Windows Server 2003: Ensure that the installation program completes all the checks successfully and then click Next. • For Windows Server 2008: The Product Specification Prerequisite Check fails for the OCFS and Orafence Driver’s Signature. To continue with the installation, select the Checking OCFS & Orafence Driver's Signature check box when the installation performs the prerequisite checks. The field label changes to User Verified.
9 In the Specify Network Interface Usage window, click Next. 10 In the Cluster Configuration Storage window, perform the following steps for the Oracle Cluster Registry (OCR) disk: a Locate the two 300 MB partitions that you created. For more information on the procedure, see Preparing the OCR and Voting Disks for Clusterware in Oracle Database on Microsoft Windows Server x64 – Storage and Network Guide available at support.dell.com/manuals. b Select the first partition and click Edit.
c In the Specify Disk Configuration window, select Format partition with CFS. d Ensure that you select Use partition for data storage. e Use the drop-down menu of the Assign Drive Letter option to assign a drive letter to the partition. f Click OK. 13 In the Cluster Configuration Storage window, perform the following steps for flash recovery: a Locate the partition you created.
For more information, see the Oracle Database on Microsoft Windows Server x64 – Troubleshooting Guide available at support.dell.com/manuals. For information on how to install Oracle using ASM, see “Installing Oracle RAC 10g R2 Using ASM” on page 23. Applying Oracle Patch 7320726 for Windows Server 2008 NOTE: This section is applicable only if your Oracle 10g database installation is on Windows Server 2008. Install this patch before you install the database binaries.
Installing Oracle Database 10g R2 With RAC 1 On node 1, insert the appropriate Oracle Clusterware installation media for your operating system as specified in Table 2-1 into your optical drive. The OUI starts and the Welcome window is displayed. If the Welcome window is not displayed: a Click Start and select Run. b In the Run field, type the following text and click OK: %CD-ROM drive%:\autorun\autorun.exe where %CD-ROM drive% is the drive letter of your optical drive.
6 Click Next. 7 In the Specify Hardware Cluster Installation Mode window, select Select All and click Next. 8 In the Product Specification Prerequisite Checks window, ensure that the installation program completes all the checks successfully and then click Next. 9 In the Select Configuration Option window, select Install Database Software Only and click Next. 10 In the Summary window, click Install. 11 After the installation is complete, the End of Installation window is displayed.
Installing Patchset 10.2.0.4 for Oracle 10g Clusterware Before You Begin Before you install patchset 10.2.0.4 for Oracle 10g Clusterware on your system, perform the following steps: 1 Stop nodeapps on all the nodes. Enter the following text in command prompt: %SystemDrive%\%CRS_HOME%\bin> srvctl stop nodeapps -n where %SystemDrive% is the drive on which you configured the Oracle home and %CRS_HOME% is the home directory that you created.
6 In the Summary window, click Install. 7 In the End of Installation window, perform all the steps that the Summary tab displays. NOTE: Do not perform the step that instructs you to stop the Oracle services. You must stop the Oracle services before you begin installing the patchset. For more information, see “Before You Begin” on page 16. 8 In the End of Installation window, click Exit. 9 Click Yes to exit from the OUI. Installing Patchset 10.2.0.
7 In the Summary window, click Install. 8 In the End of Installation window, perform all the steps that the Summary tab displays. NOTE: Do not perform the step that instructs you to stop the Oracle services. You must stop the Oracle services before you begin installing the patchset. For more information, see “Before You Begin” on page 16. 9 In the End of Installation window, click Exit. 10 Click Yes to exit from the OUI.
d In the TCP/IP Protocol window, select Use the standard port number of 1521 and click Next. e In the More Listeners window, select No and click Next. 6 In the Listener Configuration Done window, click Next. 7 In the Welcome window, click Finish. Creating the Seed Database This section provides procedures to create the seed database using OCFS and and to verify the seed database.
10 In the Storage Options window, select Cluster File System and click Next. 11 In the Database File Locations window, you need to select the location for storing database files. Perform the following steps: a Select Use Common Location for All Database Files. b Click Browse. c In the Directory Browse window, select the CFS drive that you created, from the drop-down menu. For more information, see sub-step e of step 12 of “Installing Oracle Clusterware” on page 9. d Click OK. 12 Click Next.
16 Click Next. 17 In the Database Content window, accept the default values and click Next. 18 In the Database Services window, click Next. 19 In the Initialization Parameters window, click Next. 20 In the Database Storage window, click Next. 21 In the Creation Options window, accept the default values and click Finish. 22 In the Summary window, click OK. The Database Configuration Assistant window is displayed, and the Oracle software creates the database.
Installing Oracle® RAC 10g R2 Using OCFS
Installing Oracle RAC 10g R2 Using ASM This section applies to both Oracle® Enterprise Edition and Standard Edition. This section describes the procedures to install Oracle Real Application Cluster (RAC) 10g R2 using Automatic Storage Management (ASM). NOTE: If you want to install Oracle using OCFS, ignore the following steps and follow the procedures given under “Installing Oracle® RAC 10g R2 Using OCFS” on page 9.
5 In the Product Specification Prerequisite Checks window: • For Windows Server 2003: Ensure that the installation program completes all the checks successfully and then click Next. • For Windows Server 2008: The Product Specification Prerequisite Check fails for the OCFS and Orafence Driver’s Signature. To continue with the installation, select the Checking OCFS & Orafence Driver's Signature check box when the installation performs the prerequisite checks. This changes the field label to User Verified.
10 In the Cluster Configuration Storage window, perform the following steps for the Oracle Cluster Registry (OCR) disk: a Locate the two 300 MB partitions that you created. For more information on the procedure, see the Preparing the OCR and Voting Disks for Clusterware section in the Oracle Database on Microsoft Windows Server x64 – Storage and Network Guide available at support.dell.com/manuals. b Select the first partition and click Edit.
NOTE: If a failure occurs in the Configuration Assistant window, perform the following steps: a In the error window, click OK. b In the Configuration Assistant window, click Next. c Ignore the warning message and click OK. d Click Exit to finish the OUI session. e In the Exit window, click Yes. For more information, see the Oracle Database on Microsoft Windows Server x64 – Troubleshooting Guide available at support.dell.com/manuals. 15 Click Exit to finish the OUI session.
Installing Oracle 10g Database NOTE: If you are installing Oracle using OCFS, skip these steps and go to “Installing Oracle® RAC 10g R2 Using OCFS” on page 9. 1 On node 1, insert the appropriate Oracle Clusterware installation media for your operating system as specified in Table 2-1 into your optical drive. The OUI starts and the Welcome window is displayed. If the Welcome window is not displayed: a Click Start and select Run. b In the Run field, type: %CD-ROM drive%\autorun\autorun.
7 In the Specify Hardware Cluster Installation Mode window, click Select All and click Next. 8 In the Product-Specific Prerequisite Checks window, click Next. 9 In the Select Configuration Option window, select Install database Software only, and click Next. 10 In the Summary window, click Install. 11 After the installation is complete, the End of Installation window is displayed. Complete the procedures in the End of Installation window and then click Exit.
For more information on creating the home directory, see “Installing Oracle Clusterware” on page 9. 2 Select Start → Programs → Administrator Tools → Services to start Programs Administrator Tools Services. 3 Locate all Oracle services and stop them on both nodes. Installing the Patchset NOTE: You must install the patchset from the node where you installed the RAC 10g R2 software. If you are not running the OUI from the same node, exit and install the patchset from that node.
3 In the Specify Home Details window, select OraDB10g_home1 from the drop-down menu and click Next. 4 In the Specify Hardware Cluster Installation Mode window, click Next. 5 In the Product-Specific Prerequisite Checks window, click Next. 6 In the Oracle Configuration Manager Registration window, click Next. 7 In the Summary window, click Install. During the installation, the following error may be displayed: Error in writing to file oci.dll.
5 In the Listener Configuration window perform the following steps: a In the Listener window, select Add and click Next. b In the Listener Name window, accept the default setting in the Listener name field and click Next. c In the Select Protocols window, select TCP in the Selected protocols field and click Next. d In the TCP/IP Protocol window, select Use the standard port number of 1521 and click Next. e In the More Listeners window, select No and click Next.
5 In the Operations window, click Create a Database and click Next. 6 In the Node Selection window, click Select All and click Next. 7 In the Database Templates window, click Custom Database and click Next. 8 In the Database Identification window, enter a name such as racdb in the Global Database Name field and click Next. 9 In the Management Options window, click Next.
f In the Generate stamps with this prefix field, keep the default settings and click Next. g In the Stamp disks window, click Next. h Click Finish to save your settings. i Select the check boxes next to the available disks and click OK. 16 In the ASM Disk Groups window, click Create New. 17 In the Create Disk Group window, enter the information for the Flash Recovery Area. a In the Disk Group Name field, type a name for the new disk group. For example, FLASH.
e Select Enable Archiving. f Click Edit Archive Mode Parameters. g In the Edit Archive Mode Parameters window, ensure that the path listed under the Archive Log Destinations is as follows: +FLASH/, where FLASH is the Flash Recovery Area disk group name that you specified in sub-step a of step 17. h Click Next. 20 In the Database Content window, click Next. 21 In the Database Services window, click Next. 22 In the Initialization Parameters window, click Next.
Adding a New Node to an Existing Oracle 10g RAC Cluster This section describes how to add nodes and instances to Oracle® Real Application Cluster (RAC) databases on Microsoft® Windows Server® x64 operating systems. Preparing the Node to be Added to a Cluster Perform the following steps on the node(s) that you want to add to an existing cluster: 1 Install and configure the operating system using the deployment media. 2 Configure the networking and fiber channel storage subsystem.
Adding Nodes at the Oracle Clusterware Layer 1 On one of the existing nodes, navigate to the CRS home\oui\bin directory. Run the addNode.bat script to start the Oracle Universal Installer (OUI). 2 The OUI runs in the add node mode and displays the OUI Welcome window. 3 Click Next. The Specify Cluster Nodes for Node Addition window is displayed. The upper table on the Specify Cluster Nodes for Node Addition window displays the existing nodes associated with the CRS home from which you launched the OUI.
Adding Nodes at the Oracle RAC Database Layer 1 Run the addNode.bat script from the %ORACLE_HOME%\oui\bin directory. This starts the OUI in the add node mode and displays the OUI Welcome window. 2 Click Next on the Welcome window. The Specify Cluster Nodes for Node Addition window is displayed. The Specify Cluster Nodes for Node Addition window has a table that displays the existing nodes associated with the Oracle home from which you launched the OUI.
Adding Database Instances to New Nodes To add database instances to each new node, perform the following steps: 1 Choose Start → Programs → Oracle - HOME_NAME → Configuration and Migration Tools → Database Configuration Assistant. The Welcome window for RAC is displayed. 2 Click Help on any DBCA window for additional information. 3 Select Real Application Clusters database and click Next. The DBCA displays the Operations window. 4 Select Instance Management and click Next.
Dell™ PowerEdge™ 系统 Microsoft® Windows Server® x64 上的 Oracle® 数据库 数据库设置和安装 指南 版本 4.
注和小心 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心: “小心”表示如果不遵循说明,就有可能损坏硬件或导致数据丢失。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2009–2010 Dell Inc. 保留 所有 权利。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell、DELL 徽标、PowerEdge 和 PowerVault 是 Dell Inc. 的商标; Microsoft 和 Windows Server 是 Microsoft Corporation 在美国和其它国家 / 地区的商标 或注册商标; Oracle 是 Oracle Corporation 的注册商标。 本说明文件中述及的其它商标和产品名称是指拥有相应商标和产品名称的公司或其制 造的产品。Dell Inc. 对其它公司的商标和产品名称不拥有任何所有权。 2010 年 3 月 Rev.
目录 1 概览 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 安装 Oracle Database 10g R2 需要的文档 . . . . . . . . . . 43 . . . . . . . . . . . . . . . . . . 44 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 本说明文件中使用的术语 获得帮助 Dell 支持 . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle 支持 2 开始之前 44 . . . . . . . . . . . . . . . . . . . . . . . . 44 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 选择正确的 Oracle 安装介质 . 3 43 . . . . . . . . . . . . . . . .
4 使用 ASM 安装 Oracle RAC 10g R2 . 安装 Oracle 群集件 . . . . . . . . . . . . . . . . . . . . . . . 为 Windows Server 2008 应用 Oracle Patch 7320726 . . . . . 安装 Oracle 10g 数据库 . 64 . . . . . . . . . . . . . . . . . . . . 65 . . . . . . . . . . . . . . . . 66 . . . . . . . . . . . 66 安装用于 Oracle 10g 数据库的增补 软件集 10.2.0.4 . . . . . . . . . . . . . . . . . . . . . . . 67 . . . . . . . . . . . . . . . . . . . . . . . . . . 68 创建基础数据库 . . . . . . . . . . . . . . . . . . . . . . . . .
概览 本说明文件适用于: • Microsoft® Windows Server® 2003 R2 SP2 x64 企业版或标准版以及 Windows Server 2008 SP2 x64 企业版 或 标准版上的 Oracle® Database 10g R2 企业版。 • Microsoft Windows Server 2003 R2 SP2 x64 标准版或 Windows Server 2008 SP2 x64 标准版上的 Oracle Database 10g R2 标准版。 安装 Oracle Database 10g R2 需要的文档 下面列出的模块是安装 Dell™|Oracle 数据库所需的说明文件: • 《Microsoft Windows Server x64 上的 Oracle Database:操作系统和硬 件安装指南》 — 介绍要求的最低硬件和软件版本、如何安装和配置 操作系统、如何验证硬件和软件配置以及如何获取开放源代码文件。 • 《Microsoft Windows Server x64 上的 Oracle 数据库:存储设备和网 络指南》— 介绍如何安装和配置存
本说明文件中使用的术语 本说明文件中使用了逻辑单元号码 (LUN) 和虚拟磁盘两个术语。这些术 语是同义词并可互换使用。术语 LUN 通常在 Dell/EMC 光纤信道存储系统 环境中使用,而虚拟磁盘通常在直连 SAS(Dell™ PowerVault™ MD3000/ MD3000i 和带有 PowerVault MD1000 扩展的 PowerVault MD3000/ MD3000i)存储环境中使用。 获得帮助 Dell 支持 • 有关使用系统的详情,请参阅系统组件随附的说明文件。 • 有关白皮书、Dell 支持的配置和一般信息,请访问 dell.com/oracle。 • 要获得对硬件和操作系统软件的 Dell 技术支持并下载最新的系统更 新,请访问 support.dell.com。 • 有关与 Dell 联络的信息,请参阅 support.dell.com/manuals 上提供的 《Microsoft Windows Server x64 上的 Oracle Database - 操作系统和硬件 安装指南》。 • 有关 Dell 企业培训与认证的详情,请访问 dell.
开始之前 本节提供了有关 Oracle® Real Application Cluster (RAC) 10g R2 基本安装要 求的信息。 选择正确的 Oracle 安装介质 要选择适用于您的 Microsoft® Windows Server® 操作系统的正确 Oracle 安装 介质版本,请参阅表 2-1。 表 2-1. 支持的群集件 / 数据库 / 增补软件版本 操作系统 Oracle 群集件版本 Oracle 数据库版本 增补软件集版本 Windows Server 2008 10.2.0.4 10.2.0.4 暂无 Windows Server 2003 10.2.0.1 10.2.0.1 10.2.0.
开始之前
使用 OCFS 安装 Oracle® RAC 10g R2 本节仅适用于 Oracle® 企业版。本节介绍了使用 Oracle 群集文件系统 (OCFS) 安装 Oracle Real Application Cluster (RAC) 10g R2 的步骤。 注: 如果要使用自动存储管理 (ASM) 安装 Oracle,则忽略以下步骤并按照 第 61 页上的“使用 ASM 安装 Oracle RAC 10g R2”中介绍的步骤进行操作。 安装 Oracle 群集件 1 在节点 1 中,将您在表 2-1 中指定的、适用于您操作系统的相应 Oracle 群集件安装介质插入光盘驱动器中。 随即启动 Oracle Universal Installer (OUI),Welcome(欢迎)窗口 将显示。如果 Welcome(欢迎)窗口未显示,则请执行下列操作: 2 a 单击 Start(开始),然后选择 Run(运行)。 b 在 Run(运行)字段中,键入以下文本,然后单击 OK (确定): %CD-ROM drive%:\autorun\autorun.
5 在 Product Specification Prerequisite Checks(产品特定先决条件检查) 窗口中: • • 对于 Windows Server 2003:确保安装程序成功完成全部检查, 然后单击 Next(下一步)。 对于 Windows Server 2008:OCFS 和 Orafence 驱动程序签名的 Product Specification Prerequisite Check(产品特定先决条件) 失败。 要继续安装,安装执行先决条件检查时,请选中 Checking OCFS & Orafence Driver's Signature(检查 OCFS 和 Orafence 驱动程序的签名)复选框。这会将字段标签更改为 User Verified (用户已验证)。 要解决此问题,请在完成 Oracle 群集件安装后、安装数据库二进制 程序之前,立即应用 Oracle Patch 7320726。有关详情,请参阅第 51 页上的“为 Windows Server 2008 应用 Oracle Patch 7320726”。 6 在 Specify Cluster Co
9 10 11 在 Specify Network Interface Usage(指定网络接口用途)窗口中, 单击 Next(下一步)。 在 Cluster Configuration Storage(群集配置存储)窗口中,对 Oracle 群集注册表 (OCR) 磁盘执行以下步骤: a 找到两个已创建的 300 MB 分区。有关该过程的详情,请参阅 support.dell.
12 13 50 在 Cluster Configuration Storage(群集配置存储)窗口中,为数据库 执行以下步骤: a 找到创建的分区。有关该过程的详情,请参阅 support.dell.
14 在 Cluster Configuration Storage(群集配置存储)窗口中,单击 Next(下一步)。 15 忽略这些警告信息,然后单击 OK(确定)。 16 在 Summary(摘要)窗口中,单击 Install(安装)以开始安装过程。 Install(安装)窗口将显示安装进度指示条。屏幕将显示 Configuration Assistant(配置助手)窗口,且 OUI 将运行一系列 配置工具。最后显示 End of Installation(安装结束)窗口。 注: 如果 Configuration Assistant(配置助手)窗口中出现故障, 请执行以下操作: a 在错误窗口中,单击 OK(确定)。 b 在 Configuration Assistant(配置助手)窗口中,单击 Next (下一步)。 c 忽略该警告信息,然后单击 OK(确定)。 d 单击 Exit(退出)以完成 OUI 会话。 e 在 Exit(退出)窗口中,单击 Yes(是)。 有关详情,请参阅 support.dell.
安装带有 RAC 的 Oracle Database 10g R2 1 在节点 1 中,将您在表 2-1 中指定的、适用于您操作系统的相应 Oracle 群集件安装介质插入光盘驱动器中。 随即启动 OUI 并显示 Welcome(欢迎)窗口。如果 Welcome(欢迎) 窗口未显示,则请执行下列操作: a 单击 Start(开始),然后选择 Run(运行)。 b 在 Run(运行)字段中,键入以下文本,然后单击 OK (确定): %CD-ROM drive%:\autorun\autorun.
6 7 8 9 10 11 单击 Next(下一步)。 在 Specify Hardware Cluster Installation Mode(指定硬件群集安装 模式)窗口中,选择 Select All(全选),然后单击 Next(下一步)。 在 Product Specification Prerequisite Checks(产品特定先决条件 检查)窗口中,确保安装程序成功完成所有检查,然后单击 Next (下一步)。 在 Select Configuration Option(选择配置选项)窗口中,选择 Install database Software only(仅安装数据库软件),然后单击 Next (下一步)。 在 Summary(摘要)窗口中,单击 Install(安装)。 安装完成后,End of Installation(安装结束)窗口将显示。完成 End of Installation(安装结束)窗口中的过程,然后单击 Exit(退出)。 注: 您必须完成 End of Installation(安装结束)窗口中的步骤,然后才 能退出。 12 在 Exit(退出)窗口中,单击
2 选择 Start(开始)→ Programs(程序)→ Administrator Tools (管理工具)→ Services(服务)以启动 Programs Administrator Tools Services(程序管理工具服务)。 3 找到两个节点上的所有 Oracle 服务并停止这些服务。 安装增补软件集 注: 必须从安装 RAC 10g R2 软件的节点安装增补软件集软件。如果不是 从同一节点运行 OUI,请退出并从安装 RAC 10g R2 软件的节点安装增补软 件集。 1 启动位于增补软件集文件夹中的 OUI。例如: %SystemDrive%\Oracle_patch\setup.
安装用于 Oracle 10g 数据库的增补软件集 10.2.0.4 注: 安装增补软件集之前,请确保启动了所有 Oracle 服务。 创建侦听程序和 基础 数据库之前,请完成以下过程。 安装增补软件集 注: 必须从安装 RAC 10g R2 软件的节点安装增补软件集软件。如果不是 从同一节点运行 OUI,请退出 并从安装 RAC 10g R2 软件的位置安装增补 软件集。 1 启动位于增补软件集文件夹中的 OUI。例如: %SystemDrive%\Oracle_patch\setup.
配置侦听程序 本节介绍配置侦听程序的步骤。从远程客户端连接到数据库需要配置侦听 程序。 注: 在按照本节中的过程执行之前,必须安装路径。 在节点 1 上执行以下步骤: 56 1 单击 Start(开始),选择 Run(运行),然后键入 netca 并单击 OK (确定)。 2 在 Real Application Clusters, Configuration(Real Application Clusters,配置)窗口中,选择 Cluster Configuration(群集配置), 然后单击 Next(下一步)。 3 在 Real Application Clusters, Active Nodes(Real Application Clusters, 激活节点)窗口中,选择 Select all nodes(选择全部节点),然后单击 Next(下一步)。 4 在 Welcome(欢迎)窗口中,选择 Listener Configuration(侦听程序 配置),然后单击 Next(下一步)。 5 在 Listener Configuration(侦听程序配置)窗口中,执行以下步骤
创建基础数据库 本节介绍使用 OCFS 创建基础数据库以及验证基础数据库的步骤。 注: 您必须先根据前面章节的说明安装所需的增补软件,然后依据本节的 步骤操作。 执行以下步骤,使用 OCFS 创建基础数据库: 1 在节点 1 上单击 Start(开始),然后选择 Run(运行)。 2 在 Run(运行)字段中,键入 dbca,然后单击 OK(确定)。 此时会启动 Database Configuration Assistant(数据库配置助手)。 3 在 Welcome(欢迎)窗口中,选择 Oracle Real Application Clusters database(Oracle Real Application Clusters 数据库),然后单击 Next (下一步)。 4 在 Operations(操作)窗口中,单击 Create a Database(创建数 据库),然后单击 Next(下一步)。 5 在 Node Selection(节点选择)窗口中,单击 Select All(全选), 然后单击 Next(下一步)。 6 在 Database Templates(数据库
11 58 在 Database File Locations(数据库文件位置)窗口中,需要选择用于 存储数据库文件的位置。请执行以下步骤: a 选择 Use Common Location for All Database Files(对所有数据 库文件使用公用位置)。 b 单击 Browse(浏览)。 c 在 Directory Browse(目录浏览)窗口中,从下拉式菜单选择创 建的 CFS 驱动器。有关详情,请参阅第 47 页上的“安装 Oracle 群集件”中步骤 12 的 子步骤。 d 单击 OK(确定)。 12 单击 Next(下一步)。 13 在 Recovery Configuration(恢复配置)窗口中,执行以下步骤: a 选择 Specify Flash Recovery Area(指定快擦写恢复区域)。 b 单击 Browse(浏览)。 c 在 Directory Browse(目录浏览)窗口中,从下拉式菜单选择创 建的 CFS 驱动器。有关详情,请参阅第 47 页上的“安装 Oracle 群集件”中的步骤 13 的子步骤 e。 d 单击 OK
16 单击 Next(下一步)。 17 在 Database Content(数据库内容)窗口中,接受默认值,然后单击 Next(下一步)。 18 在 Database Services(数据库服务)窗口中,单击 Next(下一步)。 19 在 Initialization Parameters(初始化参数)窗口中,单击 Next (下一步)。 20 在 Database Storage(数据库存储)窗口中,单击 Next(下一步)。 21 在 Creation Options(创建选项)窗口中,接受默认值,然后单击 Finish(完成)。 22 在 Summary(摘要)窗口中,单击 OK(确定)。 随即显示 Database Configuration Assistant(数据库配置助手)窗口, 而且 Oracle 软件将创建数据库。 注: 完成数据库的创建可能需要几分钟。 23 在 Database Configuration Assistant(数据库配置助手)窗口中, 单击 Yes(是)。 完成数据库配置后,Database Configuration Assistan
使用 OCFS 安装 Oracle® RAC 10g R2
使用 ASM 安装 Oracle RAC 10g R2 本节同时适用于 Oracle® 企业版和标准版。本节介绍了使用自动存储管理 (ASM) 安装 Oracle Real Application Cluster (RAC) 10g R2 的步骤。 注: 如果要使用 OCFS 安装 Oracle,请忽略以下步骤并按照第 47 页上的 “使用 OCFS 安装 Oracle® RAC 10g R2”中介绍的步骤进行操作。 安装 Oracle 群集件 1 在节点 1 中,将您在表 2-1 中指定的、适用于您操作系统的相应 Oracle 群集件安装介质插入光盘驱动器中。 随即启动 Oracle 通用安装程序 (OUI),Welcome(欢迎)窗口将显示。 如果 Welcome(欢迎)窗口未显示,则执行下列操作: a 单击 Start(开始),然后选择 Run(运行)。 b 在 Run(运行)字段中,键入以下命令,然后单击 OK (确定): %CD-ROM drive%\autorun\autorun.
5 在 Product Specification Prerequisite Checks(产品特定先决条件 检查)窗口中: • • • 对于 Windows Server 2003:确保安装程序成功完成全部检查, 然后单击 Next(下一步)。 对于 Windows Server 2008:OCFS 和 Orafence 驱动程序签名的 Product Specification Prerequisite Check(产品特定先决条件) 失败。 要继续安装,请在安装执行先决条件检查时,选中 Checking OCFS & Orafence Driver's Signature(检查 OCFS 和 Orafence 驱动程序的签名)复选框。这会将字段标签更改为 User Verified (用户已验证)。 要解决此问题,请在完成 Oracle 群集件安装后、安装数据库二进 制程序之前,立即应用 Oracle Patch 7320726。有关应用 Oracle Patch 7320726 的详情,请参阅第 64 页上的“为 Windows Server 2008 应用 Oracle Patch 73207
9 10 单击 Next(下一步)。 在 Cluster Configuration Storage(群集配置存储)窗口中,对 Oracle 群集注册表 (OCR) 磁盘执行以下步骤: a 找到两个已创建的 300 MB 分区。有关该过程的详情,请参阅 support.dell.
14 在 Summary(摘要)窗口中,单击 Install(安装)以开始安装过程。 Install(安装)窗口将显示,并且会显示安装进度条。 屏幕将显示 Configuration Assistant(配置助手)窗口,且 OUI 将运 行一系列配置工具。 最后显示 End of Installation(安装结束)窗口。 注: 如果在 Configuration Assistant(配置助手)窗口中出现故障, 请执行以下步骤: a 在错误窗口中,单击 OK(确定)。 b 在 Configuration Assistant(配置助手)窗口中,单击 Next (下一步)。 c 忽略该警告信息,然后单击 OK(确定)。 d 单击 Exit(退出)以完成 OUI 会话。 e 在 Exit(退出)窗口中,单击 Yes(是)。 有关详情,请参阅 support.dell.
安装 Oracle 10g 数据库 注: 如果您使用 OCFS 安装 Oracle,请跳过这些步骤并转至第 47 页上的 “使用 OCFS 安装 Oracle® RAC 10g R2”。 1 在节点 1 中,将您在表 2-1 中指定的、适用于您操作系统的相应 Oracle 群集件安装介质插入光盘驱动器中。 随即启动 OUI 并显示 Welcome(欢迎)窗口。 如果 Welcome(欢迎)窗口未显示: a 单击 Start(开始),然后选择 Run(运行)。 b 在 Run(运行)字段中,键入: %CD-ROM drive%\autorun\autorun.
8 在 Product-Specific Prerequisite Checks(产品特定先决条件检查) 窗口中,单击 Next(下一步)。 9 在 Select Configuration Option(选择配置选项)窗口中,选择 Install database Software only(仅安装数据库软件),然后单击 Next (下一步)。 10 在 Summary(摘要)窗口中,单击 Install(安装)。 11 安装完成后,将显示 End of Installation(安装结束)窗口。完成 End of Installation(安装结束)窗口中的过程,然后单击 Exit(退出)。 注: 您必须完成 End of Installation(安装结束)窗口中的步骤,然后才 能退出。 12 在 Exit(退出)窗口中,单击 Yes(是)。 安装 Oracle 10g R2 增补软件集 注: 本节仅当在 Windows Server 2003 上安装 Oracle 10g 数据库时适用。 1 确保仅在系统上安装了 10.2.0.1 群集件和 10.2.0.
安装增补软件集 注: 必须从安装 RAC 10g R2 软件的节点安装增补软件集软件。如果不 是从同一节点运行 OUI,请退出 并从该节点安装增补软件集。 1 启动位于增补软件集文件夹中的 OUI。 2 在 Welcome(欢迎)窗口中,单击 Next(下一步)。 3 在 Specify home details(指定主目录详细信息)窗口中,从下拉式 菜单中选择 OraCR10g_home,然后单击 Next(下一步)。 4 在 Specify Hardware Cluster Installation Mode(指定硬件群集安装 模式)窗口中,单击 Next(下一步)。 5 在 Product-Specific Prerequisite Checks(产品特定先决条件检查) 窗口中,单击 Next(下一步)。 6 在 Summary(摘要)窗口中,单击 Install(安装)。 7 在 End of installation(安装结束)窗口中,执行 Summary(摘要) 窗口中列出的所有步骤(步骤 1 除外)。 8 在 End of Installation(安装完成)窗口
5 在 Product-Specific Prerequisite Checks(产品特定先决条件检查) 窗口中,单击 Next(下一步)。 6 在 Oracle Configuration Manager Registration(Oracle 配置管理器 注册)窗口中,单击 Next(下一步)。 7 在 Summary(摘要)窗口中,单击 Install(安装)。 在安装过程中,可能会显示以下错误信息:Error in writing to file oci.dll (写入文件 oci.dll 时出现错误)。要避免此错误,请执行以下步骤: a 取消增补软件集安装。 b 将 %Oracle_home%\BIN 目录重命名为 \bin_save。 c 重新启动系统。 d 重启动系统后,将 \bin_save 文件重命名为 \bin。 e 从增补软件集文件夹运行 setup.
5 在 Listener Configuration(侦听程序配置)窗口中,执行以下步骤: a 在 Listener(侦听程序)窗口中,选择 Add(添加),然后单击 Next(下一步)。 b 在 Listener Name(侦听程序名称)窗口中,接受 Listener Name(侦听程序名称)字段中的默认设置,然后单击 Next (下一步)。 c 在 Select Protocols(选择协议)窗口中,在 Selected protocols (选定的协议)字段中选择 TCP,然后单击 Next(下一步)。 在 TCP/IP Protocol(TCP/IP 协议)窗口中,选择 Use the standard port number of 1521(使用标准端口号 1521),然后 单击 Next(下一步)。 d e 在 More Listeners(更多侦听程序)窗口中,选择 No(否), 然后单击 Next(下一步)。 6 在 Listener Configuration Done(侦听程序配置完成)窗口中,单击 Next(下一步)。 7 在 Welcome(欢迎)窗口中,单击
2 在节点 1 上单击 Start(开始),然后选择 Run(运行)。 3 在 Run(运行)字段中,键入 dbca,然后单击 OK(确定): 此时会启动 Database Configuration Assistant(数据库配置助手)。 4 在 Welcome(欢迎)窗口中,选择 Oracle Real Application Clusters database(Oracle Real Application Clusters 数据库),然后单击 Next (下一步)。 5 在 Operations(操作)窗口中,单击 Create a Database(创建数 据库),然后单击 Next(下一步)。 6 在 Node Selection(节点选择)窗口中,单击 Select All(全选), 然后单击 Next(下一步)。 7 在 Database Templates(数据库模板)窗口中,单击 Custom Database (自定义数据库),然后单击 Next(下一步)。 8 在 Database Identification(数据库识别)窗口的 Global Databas
13 在 Database Configuration Assistant (DBCA)(数据库配置助手 [DBCA])窗口中,单击 OK(确定)。 随即显示 ASM Creation(ASM 创建)窗口,并创建 ASM 实例。 注: 如果您看到以下警告信息:Failed to retrieve network listener resources(无法检索网络监听程序资源),则单击 Yes(是),以允许 DBCA 创建相应的监听程序资源。 14 在 ASM Disk Groups(ASM 磁盘组)窗口中,单击 Create New (新建)。 15 在 Create Disk Group(创建磁盘组)窗口中,执行以下步骤: a 输入新磁盘组的名称,例如 databaseDG。 b 在 Redundancy(冗余)框中,选择 External(外部)。 c 单击 Stamp Disks(标记磁盘)。 d 选择 Add or change label(添加或更改标签),然后单击 Next (下一步)。 e 在 Select disks(选择磁盘)窗口上,选择打算用于数据库文 件的磁
d 在 Select disks(选择磁盘)窗口上,选择打算用于快擦写恢复 区域的磁盘。选择磁盘之后,状态会标记为 Candidate device (候选设备)。 e f 在 Generate stamps with this prefix(使用此前缀生成标记) 字段中,键入 FLASH,然后单击 Next(下一步)。 在 Stamp disks(标记磁盘)窗口中,单击 Next(下一步)。 g 单击 Finish(完成)以保存您的设置。 h 选择可用磁盘旁边的复选框,然后单击 OK(确定)。 随即显示 ASM Disk Group(ASM 磁盘组)窗口,表示该软件正在创 建磁盘组。在完成磁盘组创建后,FLASH 磁盘组会显示在 Disk Group Name(磁盘组名称)列中。 72 18 在 Database File Locations(数据库文件位置)窗口中,选择 Use Oracle-Managed Files(使用 Oracle 管理的文件)、Multiplex Redo Logs(多路复用重做日志)和 Control Files(控制文件),然后单击 Next(下一步)。
22 在 Initialization Parameters(初始化参数)窗口中,单击 Next (下一步)。 23 在 Database Storage(数据库存储)窗口中,单击 Next(下一步)。 24 在 Creation Options(创建选项)窗口中,单击 Finish(完成)。 25 在 Summary(摘要)窗口中,单击 OK(确定)。 随即显示 Database Configuration Assistant(数据库配置助手)窗口, 而且 Oracle 软件将创建数据库。 注: 完成数据库的创建可能需要几分钟。 完成数据库创建后,Database Configuration Assistant(数据库配置 助手)窗口将提供数据库配置信息。 26 单击 Password Management(密码管理),向授权用户分配特定的 密码(如果需要)。否则,单击 Exit(退出)。屏幕上会显示一条 消息,指示正在所有节点上启动群集数据库。 27 记录 Database Configuration Assistant(数据库配置助手)窗口中的 信息,以便将来用于管理数据库。 2
使用 ASM 安装 Oracle RAC 10g R2
向现有 Oracle 10g RAC 群集 添加新节点 本节介绍如何向 Microsoft® Windows Server® x64 操作系统上的 Oracle® Real Application Cluster (RAC) 数据库添加节点和实例。 准备要添加到群集的节点 在您想要添加到现有群集的节点上执行以下步骤: 1 使用部署 介质安装和配置操作系统。 2 配置网络和光纤信道存储子系统。 请确保可从群集的每个节点执行以下命令: NET USE \\host_name\C$ 其中 host_name 是新节点的公用网络名称。 如果您在每个节点上拥有需要的管理权限,操作系统将显示以下信息: Command completed successfully.
在 Oracle 群集件层添加节点 1 在一个现有节点上,导航至 CRS home\oui\bin 目录。运行 addNode.
在 Oracle RAC 数据库层添加节点 1 从 %ORACLE_HOME%\oui\bin 目录运行 addNode.
向新节点添加数据库实例 要向每个新节点添加数据库实例,请执行以下步骤: 1 选择 Start(开始)→ Programs(程序)→ Oracle - HOME_NAME (Oracle 主目录名称)→ Configuration and Migration Tools(配置和 迁移工具)→ Database Configuration Assistant(数据库配置助手)。 随即显示 RAC 的 Welcome(欢迎)窗口。 2 单击任意 DBCA 窗口上的 Help(帮助)以了解其它信息。 3 选择 Real Application Clusters database(Real Application Clusters 数 据库),然后单击 Next(下一步)。此时,DBCA 会显示 Operations (操作)窗口。 4 选择 Instance Management(实例管理),然后单击 Next (下一步)。此时,DBCA 会显示 Instance Management(实例管理) 窗口。 5 选择 Add instance(添加实例),然后单击 Next(下一步)。此时 DBCA
Systèmes Dell™ PowerEdge™ Oracle® Database sous Microsoft® Windows Server® x64 Guide d’installation et de configuration Version 4.
Remarques et précautions REMARQUE : une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. PRÉCAUTION : une PRÉCAUTION indique un risque de dommage matériel ou de perte de données en cas de non-respect des instructions. ____________________ Les informations contenues dans ce document peuvent être modifiées sans préavis. © 2009-2010 Dell Inc. Tous droits réservés.
Table des matières 1 Présentation générale . . . . . . . . . . . 83 Terminologie utilisée dans ce document . . . . . . . . . . . 84 . . . . . . . . . . . . . . . . . . . . . . . . 84 . . . . . . . . . . . . . . . . . . . . . . . . 84 . . . . . . . . . . . . . . . . . . . . . . 84 Support Dell Support Oracle Avant de commencer . . . . . . . . . . . . . . . . . . . 85 . . . . . . . . .
Configuration de l’écouteur . . . . . . . . . . . . . . . . . . . Création de la base de données initiale . 4 . . . . . . . . . . . . Installation d’Oracle RAC 10g R2 à l’aide d’ASM . . . . . . . . . . . . . . . Installation d’Oracle Clusterware . . . . . . . . . . . . . . . Application du correctif Oracle 7320726 pour Windows Server 2008 . . . . . . . Installation d’Oracle Database 10g . . . . . . . . 103 103 107 . . . . . . . . . . . . . . 108 . . . . .
Présentation générale Ce document présente des informations sur : • Oracle® Database 10g R2 Enterprise Edition sous Microsoft® Windows Server® 2003 R2 SP2 édition Enterprise ou Standard x64 ou Windows Server 2008 SP2 édition Enterprise ou Standard x64. • Oracle Database 10g R2 Standard Edition sous Microsoft Windows Server 2003 R2 SP2 édition Standard x64 ou Windows Server 2008 SP2 édition Standard x64.
Terminologie utilisée dans ce document Les termes LUN (numéro d’unité logique) et disque virtuel utilisés dans le présent document sont synonymes et interchangeables. Le terme LUN est généralement utilisé pour faire référence aux 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 SAS à connexion directe (Dell™ PowerVault™ MD3000/MD3000i et PowerVault MD3000/MD3000i avec châssis d’extension PowerVault MD1000).
Avant de commencer Cette section contient des informations concernant la configuration requise pour l’installation d’Oracle® Real Application Cluster (RAC) 10g R2. Choix du bon support d’installation d’Oracle Pour choisir la version du support d’installation d’Oracle adaptée à votre système d’exploitation Microsoft® Windows Server® voir le tableau 2-1. Tableau 2-1.
Avant de commencer
Installation d’Oracle® RAC 10g R2 à l’aide d’OCFS Cette section concerne uniquement Oracle® Enterprise Edition. Elle décrit les procédures d’installation d’Oracle Real Application Cluster (RAC) 10g R2 à l’aide d’Oracle Cluster File System (OCFS). REMARQUE : pour installer Oracle à l’aide d’ASM (Automatic Storage Management), utilisez les procédures décrites dans la section “Installation d’Oracle RAC 10g R2 à l’aide d’ASM”, à la page 103.
5 Dans la fenêtre Product Specification Prerequisite Checks (Vérification des conditions prérequises) : • Pour Windows Server 2003 : Vérifiez que le programme d’installation effectue correctement toutes les vérifications, puis cliquez sur Next (Suivant). • Pour Windows Server 2008 : La tâche Product Specification Prerequisite Check (Vérification des conditions prérequises) échoue pour OCFS et la signature du pilote Orafence.
8 Pour modifier la valeur Interface Type (Type d’interface) : a Sélectionnez Interface Name (Nom d’interface), puis cliquez sur Edit (Modifier). b Choisissez l’une des options suivantes : c • Public, pour rendre l’interface publique. • Private (Privé), pour rendre l’interface privée. • Do not use (Ne pas utiliser), pour toutes les autres interfaces. Cliquez sur OK. 9 Dans la fenêtre Specify Network Interface Usage (Définir l’utilisation des interfaces réseau), cliquez sur Next (Suivant).
11 Dans la fenêtre Cluster Configuration Storage (Stockage de la configuration du cluster), effectuez la procédure suivante pour le disque de vote : a Identifiez les trois partitions de 250 Mo créées. Pour plus d’informations sur la procédure, voir Préparation du disque OCR et du disque de vote pour Clusterware dans Oracle Database sous Microsoft Windows Server x64 – Guide de stockage et de mise en réseau, à l’adresse support.dell.com/manuals.
13 Dans la fenêtre Cluster Configuration Storage (Stockage de la configuration du cluster), effectuez la procédure suivante pour la zone de récupération flash : a Identifiez la partition créée. Pour plus d’informations, voir Préparation du disque de la base de données et de la zone de récupération flash pour le stockage de la base de données avec OCFS dans Oracle Database sous Microsoft Windows Server x64 – Guide de stockage et de mise en réseau, à l’adresse support.dell.com/manuals.
REMARQUE : si la fenêtre Configuration Assistant (Assistant de configuration) indique qu’une erreur s’est produite, procédez comme suit : a Dans la fenêtre du message d’erreur, cliquez sur OK. b Dans la fenêtre Configuration Assistant (Assistant de configuration), cliquez sur Next (Suivant). c Cliquez sur OK, sans tenir compte du message d’avertissement. d Cliquez sur Exit (Quitter) pour terminer la session OUI. e Dans la fenêtre Exit (Quitter), cliquez sur Yes (Oui).
Installation d’Oracle Database 10g R2 avec RAC 1 Sur le nœud 1, insérez le support d’installation d’Oracle Clusterware correspondant à votre système d’exploitation (voir le tableau 2-1) dans votre lecteur optique. Oracle Universal Installer (OUI) démarre et la fenêtre d’accueil s’ouvre. Si elle ne s’ouvre pas, procédez comme suit : a Cliquez sur Démarrer, puis sélectionnez Exécuter. b Dans le champ Exécuter, tapez le texte suivant, puis cliquez sur OK : %LecteurCD%:\autorun\autorun.
Par défaut, l’utilitaire OUI sélectionne l’un des lecteurs CFS partagés pour copier les fichiers de la base de données. Pour modifier le lecteur par défaut, remplacez la lettre affichée dans le champ Path (Chemin d’accès) pour celle de %LecteurSystème%. REMARQUE : notez le répertoire racine d’Oracle. Ces informations vous serviront ultérieurement lors de la procédure d’installation.
Installation du groupe de correctifs Oracle 10g R2 REMARQUE : cette section n’est applicable que si l’installation d’Oracle Database 10g s’effectue sous Windows Server 2003. 1 Vérifiez que seuls les fichiers binaires de Clusterware 10.2.0.1 et de Database 10.2.0.1 sont installés sur le système et que la base de données initiale n’a pas été créée. 2 Téléchargez le groupe de correctifs 10.2.0.4 disponible à l’adresse metalink.oracle.com.
Installation du groupe de correctifs REMARQUE : vous devez installer le groupe de correctifs à partir du nœud contenant le logiciel RAC 10g R2. Si vous n’exécutez pas l’utilitaire OUI à partir du même nœud, quittez celui-ci, puis installez le groupe de correctifs à partir du nœud contenant le logiciel RAC 10g R2. 1 Exécutez l’utilitaire OUI qui se trouve dans le dossier du groupe de correctifs. Exemple : %LecteurSystème%\Oracle_patch\setup.
Installation du groupe de correctifs 10.2.0.4 pour Oracle 10g Database REMARQUE : avant d’installer le groupe de correctifs, vérifiez que tous les services Oracle sont en cours d’exécution. Effectuez les opérations suivantes avant de créer un écouteur et une base de données initiale. Installation du groupe de correctifs REMARQUE : vous devez installer le groupe de correctifs à partir du nœud contenant le logiciel RAC 10g R2.
9 Dans la fenêtre End of Installation (Fin de l’installation), cliquez sur Exit (Quitter). 10 Cliquez sur Yes (Oui) pour quitter l’utilitaire OUI. Téléchargement des derniers correctifs Oracle Oracle peut fournir des correctifs supplémentaires qui n’étaient pas inclus lorsque vous avez téléchargé le groupe de correctifs pour la première fois. Vous pouvez télécharger de tels correctifs à l’adresse metalink.oracle.com. Configuration de l’écouteur Cette section indique comment configurer l'écouteur.
c Dans la fenêtre Select Protocols (Sélectionner les protocoles), sélectionnez TCP dans le champ Selected protocols (Protocoles sélectionnés), puis cliquez sur Next (Suivant). d Dans la fenêtre TCP/IP Protocol (Protocole TCP/IP), sélectionnez Use the standard port number of 1521 (Utiliser le numéro de port standard 1521), puis cliquez sur Next (Suivant). e Dans la fenêtre More Listeners (Autres écouteurs), sélectionnez No (Non), puis cliquez sur Next (Suivant).
6 Dans la fenêtre Database Templates (Modèles de base de données), cliquez sur Custom Database (Base de données personnalisée), puis sur Next (Suivant). 7 Dans la fenêtre Database Identification (Identification de la base de données), tapez un nom tel que racdb dans le champ Global Database Name (Nom global de la base de données), puis cliquez sur Next (Suivant). 8 Dans la fenêtre Management Options (Options de gestion), acceptez les sélections par défaut et cliquez sur Next (Suivant).
13 Dans la fenêtre Recovery Configuration (Configuration de la récupération), effectuez les opérations suivantes : a Sélectionnez Specify Flash Recovery Area (Définir la zone de récupération flash). b Cliquez sur Browse (Parcourir). c Dans la fenêtre Directory Browse (Parcourir les répertoires), utilisez le menu déroulant pour sélectionner le lecteur CFS créé. Pour plus d’informations, voir la sous-étape e de l’étape 13 de la section “Installation d’Oracle Clusterware”, à la page 87.
16 Cliquez sur Next (Suivant). 17 Dans la fenêtre Database Content (Contenu de la base de données), acceptez les valeurs par défaut, puis cliquez sur Next (Suivant). 18 Dans la fenêtre Database Services (Services de base de données), cliquez sur Next (Suivant). 19 Dans la fenêtre Initialization Parameters (Paramètres d’initialisation), cliquez sur Next (Suivant). 20 Dans la fenêtre Database Storage (Stockage de la base de données), cliquez sur Next (Suivant).
Installation d’Oracle RAC 10g R2 à l’aide d’ASM Cette section concerne Oracle®, éditions Enterprise et Standard. Elle décrit les procédures d’installation d’Oracle Real Application Cluster (RAC) 10g R2 à l’aide d’Automatic Storage Management (ASM). REMARQUE : pour installer Oracle à l’aide d’OCFS, utilisez les procédures décrites dans la section “Installation d’Oracle® RAC 10g R2 à l’aide d’OCFS”, à la page 87.
4 Dans la fenêtre Specify Home Details (Définir l’emplacement racine), acceptez les paramètres par défaut, puis cliquez sur Next (Suivant). REMARQUE : notez le chemin d’accès OraCR10g_home (racine des services CRS). Vous en aurez besoin ultérieurement. 5 Dans la fenêtre Product Specification Prerequisite Checks (Vérification des conditions prérequises) : • Pour Windows Server 2003 : Vérifiez que le programme d’installation effectue correctement toutes les vérifications, puis cliquez sur Next (Suivant).
7 Cliquez sur Next (Suivant). La fenêtre Specify Network Interface Usage (Définir l’utilisation des interfaces réseau) affiche la liste des interfaces réseau du cluster. 8 Pour modifier la valeur Interface Type (Type d’interface) : a Sélectionnez Interface Name (Nom d’interface), puis cliquez sur Edit (Modifier). b Choisissez l’une des options suivantes : c • Public, pour rendre l’interface publique. • Private (Privé), pour rendre l’interface privée.
11 Dans la fenêtre Cluster Configure Storage (Stockage de la configuration du cluster), effectuez la procédure suivante pour le disque de vote : a Idenifiez les trois partitions de 250 Mo créées. Pour plus d’informations sur la procédure, voir la section Préparation du disque OCR et du disque de vote pour Clusterware dans Oracle Database sous Microsoft Windows Server x64 – Guide de stockage et de mise en réseau, à l’adresse support.dell.com/manuals.
d Cliquez sur Exit (Quitter) pour terminer la session OUI. e Dans la fenêtre Exit (Quitter), cliquez sur Yes (Oui). Pour plus d’informations, voir Oracle Database on Microsoft Windows Server x64 – Guide de dépannage, à l’adresse support.dell.com/manuals. 15 Cliquez sur Exit (Quitter) pour terminer la session OUI. 16 Dans la fenêtre Exit (Quitter), cliquez sur Yes (Oui).
Installation d’Oracle Database 10g REMARQUE : si vous installez Oracle à l’aide d’OCFS, n’exécutez pas cette procédure. Passez directement à la section “Installation d’Oracle® RAC 10g R2 à l’aide d’OCFS”, à la page 87. 1 Sur le nœud 1, insérez le support d’installation d’Oracle Clusterware correspondant à votre système d’exploitation (voir le tableau 2-1) dans votre lecteur optique. Oracle Universal Installer (OUI) démarre et la fenêtre d’accueil s’ouvre.
6 Cliquez sur Next (Suivant). 7 Dans la fenêtre Specify Hardware Cluster Installation Mode (Définir le mode d’installation du cluster), cliquez sur Select All (Sélectionner tout), puis sur Next (Suivant). 8 Dans la fenêtre Product-Specific Prerequisite Checks (Vérification des conditions prérequises), cliquez sur Next (Suivant).
Installation du groupe de correctifs 10.2.0.4 pour Oracle 10g Clusterware Avant de commencer Avant d’installer le groupe de correctifs 10.2.0.4 pour Oracle 10g Clusterware, effectuez les opérations suivantes : 1 Arrêtez les applications nodeapps sur tous les nœuds. Tapez la commande suivante : %LecteurSystème%\%RACINE_CRS%\bin> srvctl stop nodeapps -n où %LecteurSystème% correspond au lecteur contenant le répertoire racine d’Oracle, et %RACINE_CRS% au répertoire racine créé.
5 Dans la fenêtre Product-Specific Prerequisite Checks (Vérification des conditions prérequises), cliquez sur Next (Suivant). 6 Dans la fenêtre Summary (Résumé), cliquez sur Install (Installer). 7 Dans la fenêtre End of Installation (Fin de l’installation), effectuez toutes les opérations décrites dans la fenêtre Summary (Résumé), sauf l’étape 1. 8 Dans la fenêtre End of Installation (Fin de l’installation), cliquez sur Exit (Quitter). 9 Cliquez sur Yes (Oui) pour quitter l’utilitaire OUI.
7 Dans la fenêtre Summary (Résumé), cliquez sur Install (Installer). Lors de l’installation, le message d’erreur suivant peut s’afficher : Error in writing to file oci.dll (Erreur d’écriture dans le fichier oci.dll). Pour éviter cette erreur, procédez comme suit : a Annulez l’installation du groupe de correctifs. b Renommez le répertoire %RacineOracle%\BIN en \bin_save. c Redémarrez le système. d Après le redémarrage, renommez le fichier \bin_save en \bin. e Exécutez le fichier setup.
5 Dans la fenêtre Listener Configuration (Configuration de l’écouteur), effectuez la procédure suivante : a Dans la fenêtre Listener (Écouteur), sélectionnez Add (Ajouter), puis cliquez sur Next (Suivant). b Dans la fenêtre Listener Name (Nom de l’écouteur), acceptez le paramètre par défaut du champ Listener name (Nom de l’écouteur), puis cliquez sur Next (Suivant).
c Si vous ne trouvez pas le résultat attendu, tapez crsctl start crs d Tapez exit, puis fermez la fenêtre cmd. 2 Sur le nœud 1, cliquez sur Démarrer, puis sélectionnez Exécuter. 3 Dans le champ Exécuter, tapez dbca, puis cliquez sur OK : L'assistant de configuration de base de données, Database Configuration Assistant, démarre. 4 Dans la fenêtre d’accueil, sélectionnez Oracle Real Application Clusters Database (Base de données Oracle RAC), puis cliquez sur Next (Suivant).
12 Dans la fenêtre Create ASM Instance (Créer une instance ASM), procédez comme suit : a Dans le champ SYS password (Mot de passe SYS), entrez le nouveau mot de passe et confirmez-le. b Sélectionnez Create initialization parameter file (IFILE) (Créer un fichier de paramètres d’initialisation [IFILE]). c Cliquez sur Next (Suivant).
g Dans la fenêtre Stamp disks (Marquer les disques), cliquez sur Next (Suivant). h Cliquez sur Finish (Terminer) pour enregistrer les paramètres. i Cochez les cases en regard des disques disponibles, puis cliquez sur OK. 16 Dans la fenêtre ASM Disk Groups (Groupes de disques ASM), cliquez sur Create new (Créer). 17 Dans la fenêtre Create Disk Group (Créer un groupe de disques), entrez les informations relatives à la zone de récupération flash.
18 Dans la fenêtre Database File Locations (Emplacement des fichiers de base de données), sélectionnez Use Oracle-Managed Files (Utiliser des fichiers gérés par Oracle) et Multiplex Redo Logs and Control Files (Multiplexer les fichiers Redo Log et les fichiers de contrôle), puis cliquez sur Next (Suivant). 19 Dans la fenêtre Recovery Configuration (Configuration de la récupération) : a Sélectionnez Specify Flash Recovery Area (Définir la zone de récupération flash). b Cliquez sur Browse (Parcourir).
22 Dans la fenêtre Initialization Parameters (Paramètres d’initialisation), cliquez sur Next (Suivant). 23 Dans la fenêtre Database Storage (Stockage de la base de données), cliquez sur Next (Suivant). 24 Dans la fenêtre Creation Options (Options de création), cliquez sur Finish (Terminer). 25 Dans la fenêtre Summary (Résumé), cliquez sur OK. La fenêtre Database Configuration Assistant (Assistant de configuration de base de données) s’ouvre et le logiciel Oracle crée la base de données.
Ajout d’un nouveau nœud à un cluster Oracle 10g RAC existant Cette section explique comment ajouter des nœuds et des instances aux bases de données Oracle® Real Application Cluster (RAC) sous les systèmes d’exploitation Microsoft® Windows Server® x64. Préparation du nœud à ajouter au cluster Effectuez les opérations suivantes sur le ou les nœuds à ajouter à un cluster existant : 1 Installez et configurez le système d’exploitation à l’aide du support de déploiement.
Ajout de nœuds à la couche Oracle Clusterware 1 Sur l’un des nœuds existants, accédez au répertoire CRS home\oui\bin. Exécutez le script addNode.bat pour lancer l’utilitaire OUI (Oracle Universal Installer). 2 L’utilitaire OUI s'exécute en mode d’ajout de nœud et affiche une fenêtre d’accueil. 3 Cliquez sur Next (Suivant). La fenêtre Specify Cluster Nodes for Node Addition (Définir les nœuds à ajouter au cluster) s’affiche.
10 Exécutez l’utilitaire racgons à partir du sous-répertoire bin de la racine des services CRS. Configurez le numéro de port des services de notification Oracle (ONS) comme suit : racgons add_config NomNouveauNœud:4948 Une fois les procédures permettant d’ajouter les nœuds à la couche Oracle Clusterware effectuées, l’extension de la racine des services CRS aux nouveaux nœuds est terminée. Ajout de nœuds à la couche Oracle RAC Database 1 Exécutez le script addNode.bat à partir du répertoire %ORACLE_HOME%\ou
6 Exécutez l’utilitaire VIPCA à partir du sous-répertoire bin de la racine Oracle. Utilisez l’option -nodelist (voir la syntaxe ci-dessous) pour identifier l’ensemble complet de nœuds faisant maintenant partie de la base de données RAC, du nœud1 au nœudN : vipca -nodelist Nœud1,Nœud2,Nœud3,...NœudN 7 Ajoutez un écouteur au nouveau nœud. Pour ce faire, utilisez exclusivement l’assistant NetCA (Net Configuration Assistant).
6 Dans la fenêtre List of Cluster Databases (Liste des bases de données du cluster), sélectionnez la base de données RAC active à laquelle vous souhaitez ajouter une instance. 7 Cliquez sur Next (Suivant). L’Assistant DBCA affiche la fenêtre Adding an Instance (Ajout d’une instance). 8 Dans cette fenêtre, entrez le nom de l’instance dans le champ approprié. 9 Sélectionnez le nom du nouveau nœud dans la liste, puis cliquez sur Next (Suivant). L’Assistant DBCA affiche la fenêtre Services.
Ajout d’un nouveau nœud à un cluster Oracle 10g RAC existant
Dell™ PowerEdge™-Systeme Oracle® Database unter Microsoft® Windows Server® x64 Einrichtungs- und Installationsanleitung für die Datenbank Version 4.
Anmerkungen und Vorsichtshinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie das System besser einsetzen können. VORSICHTSHINWEIS: Durch einen VORSICHTSHINWEIS werden Sie auf potenzielle Gefahrenquellen hingewiesen, die Hardwareschäden oder Datenverlust zur Folge haben könnten, wenn die Anweisungen nicht befolgt werden. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2009-2010 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . . . . . Erforderliche Dokumentation zum Installieren von Oracle Database 10g R2 . . . . . . . . . . . . . . . . . . In diesem Dokument verwendete Terminologie . 130 . . . . . . . . . . . . . . . . . . . 130 . . . . . . . . . . . . . . . . . . . . . . . 130 . . . . . . . . . . . . . . . . . . . . . . 130 Oracle-Support 2 Bevor Sie beginnen . . . . . . . . . . . . . . . . . . . Auswahl des richtigen Oracle-Installationsmediums .
Konfiguration des Listeners . . . . . . . . . . . . . . . . . . 144 . . . . . . . . . . . . . . . . . 145 Erstellen der Startdatenbank 4 Installation von Oracle RAC 10g R2 mit ASM . . . . . . . . . . . . . . . . . . . . . . Installation von Oracle Clusterware . . . . . . . . . . . . . Anwenden des Oracle-Patch 7320726 für Windows Server 2008 . . . . . . . Installation von Oracle 10g Database . 153 . . . . . . . . . . . . 154 156 Installation des Patchsets 10.2.0.4 für Oracle 10g Clusterware . .
Übersicht Dieses Dokument gilt für: • Oracle® Database 10g R2 Enterprise Edition unter Microsoft® Windows Server® 2003 R2 SP2 Enterprise oder Standard x64 Edition oder Windows Server 2008 SP2 Enterprise oder Standard x64 Edition. • Oracle Database 10g R2 Standard Edition unter Microsoft Windows Server 2003 R2 SP2 Standard x64 Edition oder Windows Server 2008 SP2 Standard x64 Edition.
In diesem Dokument verwendete Terminologie In diesem Dokument werden die Begriffe Logische Gerätenummer (LUN) und Virtuelles Laufwerk 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 Direct-Attach-SAS-Speicherumgebungen (Dell™ PowerVault™ MD3000/MD3000i und PowerVault MD3000/MD3000i mit Erweiterung PowerVault MD1000) verwendet.
Bevor Sie beginnen Dieser Abschnitt enthält Informationen zu grundlegenden Installationsanforderungen für Oracle® Real Application Cluster (RAC) 10g R2. Auswahl des richtigen OracleInstallationsmediums Um die richtige Version des Oracle-Installationsmediums für Ihr Microsoft® Windows Server®-Betriebssystem auszuwählen, orientieren Sie sich an Tabelle 2-1. Tabelle 2-1.
Bevor Sie beginnen
Installation von Oracle® RAC 10g R2 mit OCFS Dieser Abschnitt gilt nur für Oracle® Enterprise Edition. In diesem Abschnitt wird die Vorgehensweise bei der Installation von Oracle Real Application Cluster (RAC) 10g R2 mit Oracle Cluster File System (OCFS) beschrieben. ANMERKUNG: Wenn Sie Oracle mit Automatic Storage Management (ASM) installieren möchten, ignorieren Sie die nachstehenden Schritte und gehen Sie vor wie unter „Installation von Oracle RAC 10g R2 mit ASM“ auf Seite 149 beschrieben.
4 Akzeptieren Sie im Fenster Specify Home Details (Stamm-Details festlegen) die Vorgaben und klicken Sie auf Next (Weiter). ANMERKUNG: Notieren Sie sich den Stammpfad OraCR10g_home (CRS Home). Sie benötigen diese Informationen später bei der Installation. 5 Im Fenster Product Specification Prerequisite Checks (Produktspezifische Vorüberprüfungen): • Für Windows Server 2003: Stellen Sie sicher, dass das Installationsprogramm alle Überprüfungen erfolgreich abschließt, und klicken Sie dann auf Next (Weiter).
7 Klicken Sie auf Next (Weiter). Das Fenster Specify Network Interface Usage (Nutzung der Netzwerkschnittstelle festlegen) wird mit einer Liste clusterweiter Netzwerkschnittstellen angezeigt. 8 So ändern Sie den Schnittstellentyp: a Wählen Sie den Schnittstellennamen aus und klicken Sie auf Edit (Bearbeiten).
11 Führen Sie im Fenster Cluster Configuration Storage (Clusterkonfigurationsspeicher) für den Voting-Datenträger die folgenden Schritte durch: a Suchen Sie die drei 250-MB-Partitionen, die Sie erstellt haben. Weitere Informationen zu diesem Verfahren finden Sie im Abschnitt Vorbereiten des OCR- und Voting-Datenträgers für Clusterware in Oracle Database unter Microsoft Windows Server x64 – Speicher- und Netzwerkhandbuch, das unter support.dell.com/manuals verfügbar ist.
13 Führen Sie im Fenster Cluster Configuration Storage (Clusterkonfigurationsspeicher) die folgenden Schritte für die Wiederherstellung durch: a Suchen Sie die Partition, die Sie erstellt haben. Weitere Informationen finden Sie im Abschnitt Vorbereiten des Datenbankdatenträgers und des Wiederherstellungsbereichs für OCFS-Datenspeicherung in Oracle Database unter Microsoft Windows Server x64 – Speicher- und Netzwerkhandbuch, das unter support.dell.com/manuals verfügbar ist.
ANMERKUNG: Bei einem Fehler im Fenster Configuration Assistant Konfigurationsassistent): a Klicken Sie im Fehlerfenster auf OK. b Klicken Sie im Fenster Configuration Assistant (Konfigurationsassistent) auf Next (Weiter). c Ignorieren Sie die Warnmeldung und klicken Sie auf OK. d Klicken Sie auf Exit (Beenden), um die OUI-Sitzung zu beenden. e Klicken Sie im Fenster Exit (Beenden) auf Yes (Ja).
Installation von Oracle Database 10g R2 mit RAC 1 Legen Sie bei Knoten 1 das entsprechende Oracle ClusterwareInstallationsmedium für Ihr Betriebssystem wie in Tabelle 2-1 angegeben in das optische Laufwerk ein. Das Installationsprogramm OUI wird gestartet und der Begrüßungsbildschirm wird angezeigt. Wenn das Begrüßungsfenster nicht angezeigt wird: a Klicken Sie auf Start und wählen Sie Ausführen. b Geben Sie im Feld Ausführen den nachstehenden Befehl ein und klicken Sie auf OK: %CD-Laufwerk%:\autorun\aut
Standardmäßig wählt der OUI eines der gemeinsam genutzen CFSLaufwerke zum Kopieren der Datenbankdateien aus. Ändern Sie das Laufwerk in das %SystemDrive%, indem Sie den Laufwerkbuchstaben im Feld Path (Pfad) ändern. ANMERKUNG: Notieren Sie den Oracle-Stammpfad. Sie benötigen diese Informationen später bei der Installation. ANMERKUNG: Der Oracle-Stammpfad muss sich von dem Oracle-Stammpfad unterscheiden, den Sie bei der Installation von Oracle Clusterware in Schritt 4 festgelegt haben.
Installation des Oracle 10g R2 Patchset ANMERKUNG: Dieser Abschnitt gilt nur, wenn Sie Oracle 10g Database auf einem System mit Windows Server 2003 installiert haben. 1 Achten Sie darauf, dass Sie nur die 10.2.0.1 Clusterware und Datenbankbinärdateien für 10.2.0.1 installieren und dass Sie nicht die Startdatenbank erstellen. 2 Laden Sie das Patchset 10.2.0.4 von metalink.oracle.com herunter. 3 Extrahieren Sie das Patchset nach %Systemlaufwerk%, wobei es sich um Ihr lokales Laufwerk handelt.
Installation des Patchsets ANMERKUNG: Sie müssen das Patchset über den Knoten installieren, auf dem die RAC 10g R2-Software installiert wurde. Falls Sie das Installationsprogramm OUI auf einem anderen Knoten ausführen, beenden Sie das Programm und installieren Sie das Patchset über den Knoten, auf dem Sie die RAC 10g R2-Software installiert haben. 1 Starten Sie das Installationsprogramm, das sich im Patchset-Ordner befindet. Beispiel: %Systemlaufwerk%\Oracle_patch\setup.
Installation des Patchsets 10.2.0.4 für Oracle 10g Database ANMERKUNG: Vergewissern Sie sich vor dem Installieren des Patchsets, dass Sie alle Oracle-Dienste gestartet haben. Führen Sie die folgenden Schritte aus, bevor Sie einen Listener und eine Startdatenbank erstellen. Installation des Patchsets ANMERKUNG: Installieren Sie das Patchset über den Knoten, auf dem die RAC 10g R2-Software installiert wurde.
8 Führen Sie im Fenster End of Installation (Installation abgeschlossen) alle im Fenster Summary aufgeführten Schritte aus. ANMERKUNG: Führen Sie nicht den Schritt zum Anhalten der OracleDienste aus. Sie müssen die Oracle-Dienste beenden, bevor Sie mit der Installation des Patchsets beginnen. Weitere Informationen finden Sie unter „Bevor Sie beginnen“ auf Seite 141. 9 Klicken Sie im Fenster End of Installation (Installation abgeschlossen) auf Exit (Beenden).
5 Führen Sie im Fenster Listener Configuration (Listener-Konfiguration) die folgenden Schritte aus: a Wählen Sie im Fenster Listener die Option Add (Hinzufügen) aus und klicken Sie auf Next (Weiter). b Akzeptieren Sie im Fenster Listener Name (Name des Listeners) im Feld Listener Name (Name des Listeners) die vorgegebene Einstellung und klicken Sie auf Next (Weiter).
3 Wählen Sie im Begrüßungsfenster die Option Oracle Real Application Clusters Database (Oracle Real Application Clusters-Datenbank) und klicken Sie auf Next (Weiter). 4 Klicken Sie im Fenster Operations (Aktionen) auf Create a Database (Datenbank erstellen) und anschließend auf Next (Weiter). 5 Klicken Sie im Fenster Node Selection (Knotenauswahl) auf Select All (Alle auswählen) und anschließend auf Next (Weiter).
12 Klicken Sie auf Next (Weiter). 13 Führen Sie im Fenster Recovery Configuration (Konfiguration für Wiederherstellung) folgende Schritte durch: a Wählen Sie den Bereich Specify Flash Recovery (Flash-Wiederherstellung festlegen). b Klicken Sie auf Browse (Durchsuchen). c Wählen Sie im Fenster Directory Browse (Verzeichnis wählen) im Listenmenü das CFS-Laufwerk aus, das Sie erstellt haben.
17 Akzeptieren Sie im Fenster Database Content (Datenbankinhalt) die Vorgaben und klicken Sie auf Next (Weiter). 18 Klicken Sie im Fenster Database Services (Datenbankdienste) auf Next (Weiter). 19 Klicken Sie im Fenster Initialization Parameters (Initialisierungsparameter) auf Next (Weiter). 20 Klicken Sie im Fenster Database Storage (Datenbankspeicher) auf Next (Weiter). 21 Akzeptieren Sie im Fenster Creation Options (Erstellungsoptionen) die Vorgaben und klicken Sie auf Finish (Fertig stellen).
Installation von Oracle RAC 10g R2 mit ASM Dieser Abschnitt gilt für Oracle® Enterprise Edition und Standard Edition. In diesem Abschnitt wird die Vorgehensweise bei der Installation von Oracle Real Application Cluster (RAC) 10g R2 mit Automatic Storage Management (ASM) beschrieben. ANMERKUNG: Wenn Sie Oracle mit OCFS installieren möchten, ignorieren Sie die nachstehenden Schritte und gehen Sie vor wie unter „Installation von Oracle® RAC 10g R2 mit OCFS“ auf Seite 133 beschrieben.
4 Bestätigen Sie im Fenster Specify Home Details (Stammdetails festlegen) die Vorgaben und klicken Sie auf Next (Weiter). ANMERKUNG: Notieren Sie sich den Stammpfad OraCR10g_home (CRS Home). Sie benötigen diese Informationen später. 5 Im Fenster Product Specification Prerequisite Checks (Produktspezifische Vorüberprüfungen): • Für Windows Server 2003: Stellen Sie sicher, dass das Installationsprogramm alle Überprüfungen erfolgreich abschließt und klicken Sie dann auf Next (Weiter).
7 Klicken Sie auf Next (Weiter). Das Fenster Specify Network Interface Usage (Nutzung der Netzwerkschnittstelle festlegen) wird angezeigt und enthält eine Liste clusterweiter Netzwerkschnittstellen. 8 So ändern Sie den Schnittstellentyp: a Wählen Sie den Schnittstellennamen aus und klicken Sie auf Edit (Bearbeiten).
d Wählen Sie die zweite Partition aus und klicken Sie auf Edit (Bearbeiten). e Wählen Sie im Fenster Specify Disk Configuration (Datenträgerkonfiguration festlegen) die Option Place OCR (Mirror) on this partition (Verwende Partition für OCR [Mirror]) und klicken Sie auf OK. 11 Führen Sie im Fenster Cluster Configure Storage (Clusterkonfigurationsspeicher) für den Voting-Datenträger die folgenden Schritte durch: a Suchen Sie die drei 250-MB-Partitionen, die Sie erstellt haben.
ANMERKUNG: Wenn im Fenster Configuration Assistant (Konfigurationsassistent) ein Fehler auftrifft, führen Sie die folgenden Schritte aus: a Klicken Sie im Fehlerfenster auf OK. b Klicken Sie im Fenster Configuration Assistant (Konfigurationsassistent) auf Next (Weiter). c Ignorieren Sie die Warnmeldung und klicken Sie auf OK. d Klicken Sie auf Exit (Beenden), um die OUI-Sitzung zu beenden. e Klicken Sie im Fenster Exit (Beenden) auf Yes (Ja).
Installation von Oracle 10g Database ANMERKUNG: Wenn Sie Oracle mit OCFS installieren, überspringen Sie diese Schritte und fahren Sie mit „Installation von Oracle® RAC 10g R2 mit OCFS“ auf Seite 133 fort. 1 Legen Sie bei Knoten 1 das entsprechende Oracle ClusterwareInstallationsmedium für Ihr Betriebssystem wie in Tabelle 2-1 angegeben in das optische Laufwerk ein. Das Installationsprogramm OUI wird gestartet und der Begrüßungsbildschirm wird angezeigt.
ANMERKUNG: Notieren Sie sich den Pfad. Sie benötigen diese Informationen später. ANMERKUNG: Der Oracle-Stammpfad muss sich von dem OracleStammpfad unterscheiden, den Sie bei der Installation von Oracle Clusterware festgelegt haben. Sie können Oracle Database 10g R2 Enterprise x64 Edition mit RAC und Clusterware nicht im gleichen Stammverzeichnis installieren. 6 Klicken Sie auf Next (Weiter).
Installation des Oracle 10g R2 Patchset ANMERKUNG: Dieser Abschnitt gilt nur, wenn Sie Oracle 10g Database unter Windows Server 2003 installiert haben. 1 Achten Sie darauf, dass Sie nur die 10.2.0.1 Clusterware und Datenbankbinärdateien für 10.2.0.1 installieren und dass Sie nicht die Startdatenbank erstellen. 2 Laden Sie das Patchset 10.2.0.4 von metalink.oracle.com herunter. 3 Extrahieren Sie das Patchset nach %Systemlaufwerk%, wobei es sich um Ihr lokales Laufwerk handelt. Installation des Patchsets 10.
Installation des Patchsets ANMERKUNG: Sie müssen das Patchset über den Knoten installieren, auf dem die RAC 10g R2-Software installiert wurde. Falls Sie das Installationsprogramm OUI auf einem anderen Knoten ausführen, beenden Sie das Programm und installieren Sie das Patchset über den betreffenden Knoten. 1 Starten Sie das Installationsprogramm, das sich im Patchset-Ordner befindet. 2 Klicken Sie im Begrüßungsfenster auf Next (Weiter).
Installation des Patchsets ANMERKUNG: Sie müssen das Patchset über den Knoten installieren, auf dem die Oracle RAC 10g R2-Software installiert wurde. Falls Sie das Installationsprogramm OUI auf einem anderen Knoten ausführen, beenden Sie das Programm und installieren Sie das Patchset über den betreffenden Knoten. 1 Starten Sie das OUI-Installationsprogramm, das sich im extrahierten Bereich des Patchsets befindet. 2 Klicken Sie im Begrüßungsfenster auf Next (Weiter).
Konfiguration des Listeners In diesem Abschnitt wird die Konfiguration des Listeners beschrieben, der für die Verbindung mit der Datenbank von einem Remoteclient benötigt wird. ANMERKUNG: Sie müssen den Patch installieren, bevor Sie die in diesem Abschnitt beschriebenen Schritte ausführen. Führen Sie die folgenden Schritte auf Knoten 1 aus: 1 Klicken Sie auf Start, wählen Sie Ausführen, geben Sie den Befehl netca ein und klicken Sie auf OK.
6 Klicken Sie im Fenster Listener Configuration Done (Konfiguration des Listeners abgeschlossen) auf Next (Weiter). 7 Klicken Sie im Begrüßungsfenster auf Finish (Fertig stellen). Erstellen der Startdatenbank Führen Sie die folgenden Schritte aus, um mit Oracle ASM eine Startdatenbank zu erstellen: 1 Stellen Sie sicher, dass Oracle Clusterware aktiv ist. a Öffnen Sie ein Fenster mit einer Befehlszeile. Klicken Sie auf Start und wählen Sie Ausführen. Geben Sie cmd ein und drücken Sie die .
6 Klicken Sie im Fenster Node Selection (Knotenauswahl) auf Select All (Alle auswählen) und anschließend auf Next (Weiter). 7 Klicken Sie im Fenster Database Templates (Datenbankvorlagen) auf Custom Database (Benutzerdefinierte Datenbank) und anschließend auf Next (Weiter). 8 Geben Sie im Fenster Database Identification (Datenbankidentifikation) unter Global Database Name (Globaler Datenbankname) einen Namen wie racdb ein und klicken Sie auf Next (Weiter).
14 Klicken Sie im Fenster ASM Disk Groups (ASM-Datenträgergruppen) auf Create New (Neu erstellen). 15 Führen Sie im Fenster Create Disk Group (Datenträgergruppe erstellen) folgende Schritte durch: a Geben Sie einen Namen für die neue Datenträgergruppe ein, etwa databaseDG. b Wählen Sie im Feld Redundancy (Redundanz) den Eintrag External (Extern) aus. c Klicken Sie auf Stamp Disks (Datenträger kennzeichnen).
d Wählen Sie im Fenster Select disks die Datenträger aus, die Sie für den Flash-Wiederherstellungsbereich verwenden möchten. Nachdem Sie die Datenträger ausgewählt haben, wird der Status als Candidate device (Mögliches Gerät) angezeigt. e Geben Sie im Feld Generate stamps with this prefix (Kennzeichnungen mit diesem Präfix erzeugen) den Namen FLASH ein und klicken Sie auf Next (Weiter). f Klicken Sie im Fenster Stamp disks (Datenträger kennzeichnen) auf Next (Weiter).
g Stellen Sie im Fenster Edit Archive Mode Parameters (Archivmodusparameter bearbeiten) sicher, dass der Pfad unter Archive Log Destinations (Archivprotokollziele) wie folgt eingestellt ist: +FLASH/, wobei FLASH der Datenträgergruppenname für den Wiederherstellungsbereich aus Teilschritt a von Schritt 17 ist. h Klicken Sie auf Next (Weiter). 20 Klicken Sie im Fenster Database Content (Datenbankinhalt) auf Next (Weiter). 21 Klicken Sie im Fenster Database Services (Datenbankdienste) auf Next (Weiter).
Hinzufügen eines neuen Knotens in einem bestehenden Oracle 10g RAC-Cluster In diesem Abschnitt wird das Hinzufügen von Knoten und Instanzen zu Oracle® Real Application Cluster (RAC)-Datenbanken unter Microsoft® Windows Server® x64-Betriebssystemen beschrieben. Vorbereiten des Knotens auf das Hinzufügen in einem Cluster Führen Sie die folgenden Schritte auf dem bzw.
Sofern Sie über die erforderlichen Verwaltungsberechtigungen für die einzelnen Knoten verfügen, zeigt das Betriebssystem die folgende Meldung an: Der Befehl wurde erfolgreich ausgeführt. ANMERKUNG: Wenn Sie Automatic Storage Management (ASM) verwenden, sollten die neuen Knoten die gleichen Zugriffsrechte für den ASM-Datenträger erhalten wie die bereits vorhandenen Knoten.
5 Klicken Sie auf Next (Weiter). Der OUI zeigt das Fenster Cluster Node Addition Progress (Knoten hinzufügen: Status) an. 6 Klicken Sie nach Abschluss des Vorgangs auf Exit (Beenden), um die OUISitzung zu beenden. 7 Wenn im OUI das Fenster End of Node Addition (Knoten hinzufügen: Fertig) angezeigt wird, klicken Sie auf Exit (Beenden), um die OUISitzung zu beenden. 8 Geben Sie den folgenden Befehl ein, um die Knotennamen und Knotennummern zu identifizieren, die derzeit in Verwendung sind: CRS home\bin\olsnod
Hinzufügen von Knoten in der Oracle RAC Datenbank-Schicht 1 Führen Sie das Skript addNode.bat vom Verzeichnis %ORACLE_HOME%\oui\bin aus. Damit wird der OUI im Knotenhinzufügen-Modus gestartet und das OUI-Begrüßungsfenster Welcome wird angezeigt. 2 Klicken Sie im Begrüßungsfenster auf Next (Weiter). Das Fenster Specify Cluster Nodes for Node Addition (Hinzuzufügende Clusterknoten auswählen) wird angezeigt.
7 Fügen Sie nur dem neuen Knoten einen Listener hinzu, indem Sie den Net Configuration Assistant (NetCA) (Netzkonfigurationsassistenten) ausführen. Nachdem Sie diese Schritte ausgeführt haben, sind die neuen Knoten in der Clusterware-Datenbank-Schicht definiert. Sie können den neuen Knoten jetzt neue Datenbankinstanzen hinzufügen.
7 Klicken Sie auf Next (Weiter), um eine neue Instanz hinzuzufügen. Im DBCA wird das Fenster Adding an Instance (Instanz hinzufügen) angezeigt. 8 Geben Sie im Fenster Adding an Instance (Instanz hinzufügen) den Instanznamen in das entsprechende Feld ein. 9 Wählen Sie den Namen des neuen Knotens aus der Liste aus und klicken Sie auf Next (Weiter). Der DBCA zeigt das Fenster Services (Dienste) an. 10 Geben Sie die Dienstinformationen für die Instanz im neuen Knoten ein und klicken Sie auf Next (Weiter).
Dell™ PowerEdge™ システム Microsoft® Windows Server® x64 で使用する Oracle® データベース データベースセット アップ & インストール ガイド バージョン 4.
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明しています。 注意:手順に従わない場合は、ハードウェアの損傷やデータの損失の可 能性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2009 ~ 2010 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書に使用されている商標:Dell、DELL ロゴ、PowerEdge および PowerVault は Dell Inc. の商標です。Microsoft、および Windows Server は 米国その他の国における Microsoft Corporation の商標または登録商標です。Oracle は Oracle Corporation の登 録商標です。 商標または製品の権利を主張する事業体を表すためにその他の商標および社名が使用され ていることがあります。それらの商標や会社名は、一切 Dell Inc.
目次 1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle Database 10g R2 のインストールに 必要なマニュアル . . . . . . . . . . . . . . . . . . . . . . . 175 . . . . . . . . . . . . . . . . . 176 . . . . . . . . . . . . . . . . . . . . . . . . . 176 本書で使用されている用語 困ったときは デルサポート . . . . . . . . . . . . . . . . . . . . . . . Oracle のサポート 2 . . . . . . . . . . . . . . . . . . . . 作業を開始する前に . . . . . . . . . . . . . . . . . .
リスナーの設定 . . . . . . . . . . . . . . . . . . . . . . . . シードデータベースの作成 . 4 . . . . . . . . . . . . . . . . ASM を使用した Oracle RAC 10g R2 のインストール Oracle Clusterware のインストール Windows Server 2008 用 Oracle パッチ 7320726 の適用 . . . . . . . . . . . . . . . . . . . . . . . 199 . . . . . . . . . . . . . . . . . . Oracle 10g Clusterware 用のパッチセット 10.2.0.4 のインストール . . . . . . . . . . . 202 202 . . . . . . . 203 . . . . . . . . . . . . . . . . . . . . . . . 205 シードデータベースの作成 . . . . . . . . . . . . . . . . .
概要 本書の説明は次の製品に適用されます。 • Microsoft® Windows Server® 2003 R2 SP2 Enterprise/Standard x64 Edition または Windows Server 2008 SP2 Enterprise/Standard x64 Edition で使用する Oracle® Database 10g R2 Enterprise Edition。 • Microsoft Windows Server 2003 R2 SP2 Standard x64 Edition または Windows Server 2008 SP2 Standard x64 Edition で使用する Oracle Database 10g R2 Standard Edition。 Oracle Database 10g R2 のインストールに必要 なマニュアル Dell™|Oracle データベースのインストールに必要なマニュアル (分冊)は、以下のとおりです。 • 『Microsoft Windows Server x64 で使用する Oracle データベース OS のイ
本書で使用されている用語 本書では、「LUN」および「仮想ディスク」という語が使われています。 これらの用語は同義語であり、どちらを使用しても構いません。「LUN」 は Dell/EMC ファイバーチャネルストレージシステムの環境で、 「仮想 ディスク」は 直接接続 SAS(Dell™ PowerVault™ MD3000/MD3000i および PowerVault MD3000/MD3000i + PowerVault MD1000 拡張) ストレージの環境で、通常使われる用語です。 困ったときは デルサポート • システムの使い方の詳細については、システムコンポーネントに付 属のマニュアルを参照してください。 • 各種のホワイトペーパー、デルがサポートする設定、一般情報につ いては、dell.com/oracle を参照してください。 • ハードウェアおよび OS ソフトウェアに対するデルのテクニカルサ ポート、およびアップデートのダウンロードについては、 support.dell.
作業を開始する前に 本項では、Oracle® RAC(Real Application Cluster)10g R2 のインス トールに関する基本要件を示します。 正しい Oracle インストールメディアの選択 お使いの Microsoft® Windows Server® OS に適した Oracle インストー ルメディアのバージョンを選択するには、表 2-1 を参照してください。 表 2-1. サポートされているクラスタウェア / データベース / パッチセットの バージョン OS Oracle Clusterware のバージョン Oracle Database バージョン パッチセット のバージョン Windows Server 2008 10.2.0.4 10.2.0.4 - Windows Server 2003 10.2.0.1 10.2.0.1 10.2.0.
作業を開始する前に
OCFS を使用した Oracle® RAC 10g R2 のインストール 本項は Oracle® Enterprise Edition にのみ適用されます。本項では、 OCFS(Oracle Cluster File System)を使用して Oracle RAC(Real Application Cluster)10g R2 をインストールする手順を説明します。 メモ:ASM(Automatic Storage Management)を使用して Oracle をイン ストールする場合は、以下の手順を省略して 195 ページの「ASM を使用 した Oracle RAC 10g R2 のインストール」の手順に従います。 Oracle Clusterware のインストール 1 ノード 1 で、表 2-1 を参照し、お使いの OS に適した Oracle Clusterware インストールメディアをオプティカルドライブに セットします。 Oracle Universal Installer(OUI)が起動し、Welcome(ようこそ) ウィンドウが表示されます。Welcome(ようこそ)ウィンドウが表 示
4 Specify Home Details(ホームの詳細の指定)ウィンドウで、デ フォルト設定をそのまま使用し、Next(次へ)をクリックします。 メモ:OraCR10g_home(CRS のホーム)パスをメモしておきます。 この情報は後でインストール中に必要になります。 5 Product Specification Prerequisite Checks(製品仕様の要件 チェック)ウィンドウで、次の手順に従います。 • Windows Server 2003 の場合:インストールプログラムです べてのチェックが正常に完了したことを確認し、Next(次へ) をクリックします。 • Windows Server 2008 の場合:OCFS and Orafence Driver’s Signature(OCFS および Orafence ドライバの署名)について、 Product Specification Prerequisite Check(製品仕様の要件 チェック)が失敗します。 インストールを続行するには、前提条件の確認が行われる際に、 Checking OCFS & Orafence Dr
7 Next(次へ)をクリックします。 Specify Network Interface Usage(ネットワークインタフェース の用途を指定する)ウィンドウが表示され、その中にクラスタ全体の ネットワークインタフェースのリストが表示されます。 8 Interface Type(インタフェースのタイプ)を変更するには、次の 手順を実行します。 a Interface Name(インタフェース名)を選択し、Edit(編集) をクリックします。 b 次のオプションのいずれかを選択します。 c • Public(パブリック)— インタフェースをパブリックイン タフェースにする場合。 • Private(プライベート)— インタフェースをプライベート インタフェースにする場合。 • Do not use(使用しない)— その他のインタフェースにす る場合。 OK をクリックします。 9 Specify Network Interface Usage(ネットワークインタフェース の用途を指定する)ウィンドウで、Next(次へ)をクリックします。 10 Cluster Configuration
c Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Place OCR (Primary) on this partition(このパーティ ションに OCR(プライマリ)を置く)を選択し、OK をクリック します。 d 2 番目のパーティションを選択し、Edit(編集)をクリックし ます。 e Specify Disk Configuration(ディスク構成の指定)ウィン ドウで、Place OCR (Mirror) on this partition(このパー ティションに OCR(ミラー)を置く)を選択し、OK をクリッ クします。 11 Cluster Configuration Storage(クラスタ構成ストレージ) ウィンドウで、投票ディスクについて以下の手順を実行します。 a 作成した 3 つの 250 MB パーティションの位置を確認します。 手順の詳細については、『Microsoft Windows Server x64 で使用 する Oracle データベース ストレージ & ネットワークガイド』 の「Clusterware 用の
c Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Format partition with CFS(パーティションを CFS で フォーマット)を選択します。 d Use partition for data storage(パーティションをデータ ストレージに使用する)を選択します。 e Assign Drive Letter(ドライブ文字の割り当て)オプショ ンのドロップダウンメニューを使用して、ドライブ文字をパー ティションに割り当てます。 f OK をクリックします。 13 Cluster Configuration Storage(クラスタ構成ストレージ) ウィンドウで、フラッシュリカバリについて以下の手順を実行し ます。 a 作成したパーティションの位置を確認します。詳細につい ては、『Microsoft Windows Server x64 で使用する Oracle データベース – ストレージ & ネットワークガイド』の 「OCFS を使用したデータベースストレージ用のデータベー スディスクとフラッシュリカバリ領域の準備」を参照し
16 Summary(サマリ)ウィンドウで Install(インストール)をク リックしてインストール手順を開始します。 Install(インストール)ウィンドウにインストールの進行状況が 表示されます。Configuration Assistants ウィンドウが表示さ れ、OUI が一連の設定ツールを実行します。End of Installation (インストールの終了)ウィンドウが表示されます。 メモ:Configuration Assistant ウィンドウでエラーが発生した場合は、 以下の手順を実行します。 a エラーウィンドウで、OK をクリックします。 b Configuration Assistant ウィンドウで、Next(次へ) をクリックします。 c 警告メッセージを無視して OK をクリックします。 d Exit(終了)をクリックして OUI セッションを終了します。 e Exit(終了) ウィンドウで、 Yes (はい) をクリックします。 詳細については、『Microsoft Windows Server x64 で使用する Oracle データベース – ト
3 パッチのステージング領域から新しいファイル orafencedrv.sys および ocfs.sys をコピーします。 4 システムを再起動します。 5 手順 1 ~ 手順 4 をすべてのノードで繰り返します。 すべてのノードでアップデートと再起動を行ったら、データベースのイ ンストールを続行できます。 Oracle Database 10g R2 With RAC のインス トール 1 ノード 1 で、表 2-1 を参照し、お使いの OS に適した Oracle Clusterware インストールメディアをオプティカルドライブにセッ トします。 OUI が起動し、Welcome(ようこそ)ウィンドウが表示されます。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドに次のテキストを入力し、 OK をクリックします。 %CD-ROM drive%:\autorun\autorun.
5 Specify Home Details(ホームの詳細の指定)ウィンドウの Destination(インストール先)で、以下の詳細を確認します。 • Name(名前)フィールドで、Oracle データベースのホーム名 が OraDb10g_home1 であること。 • Path(パス)フィールドで、Oracle ホームの完全なパスが次の ようになっていること。 %SystemDrive%\oracle\product\10.2.0\db_1 %SystemDrive% はユーザーのローカルドライブです。 デフォルトでは、OUI はデータベースファイルのコピー先 として CFS 共有ドライブの 1 つを選択します。ドライブを %SystemDrive% に変更するには、Path(パス)フィールド のドライブ文字を変更します。 メモ:Oracle ホームのパスをメモしておきます。インストール中に 後でこの情報が必要になります。 メモ:Oracle ホームのパスは、Oracle Clusterware のインストール中 に 手順 4 で選択した Oracle ホームのパスとは異なっている必要があ りま
11 インストールが完了すると、End of Installation(インストールの 終了)ウィンドウが表示されます。End of Installation(インス トールの終了)ウィンドウの手順を完了し、Exit(終了)をクリッ クします。 メモ:終了する前に、End of Installation(インストールの終了) ウィンドウの手順を完了する必要があります。 12 Exit(終了)ウィンドウで、Yes(はい)をクリックします。 Oracle 10g R2 パッチセットのインストール メモ:本項は、Windows Server 2003 を実行しているシステムに Oracle 10g Database をインストールする場合にのみ適用されます。 1 お使いのシステムには 10.2.0.1 Clusterware と 10.2.0.1 データベース バイナリのみをインストールします。シードデータベースは作成しま せん。 2 metalink.oracle.com からパッチセット 10.2.0.
パッチセットのインストール メモ:パッチセットのインストールは、RAC 10g R2 ソフトウェアをインス トールしたノードから行う必要があります。OUI を実行しているノードが 異なる場合は、終了して、RAC 10g R2 ソフトウェアをインストールした ノードからパッチセットをインストールします。 1 パッチセットのフォルダにある OUI を起動します。たとえば、次の とおりです。 %SystemDrive%\Oracle_patch\setup.
Oracle 10g Database 用のパッチセット 10.2.0.4 のインストール メモ:パッチセットをインストールする前に、必ずすべての Oracle サー ビスを停止してしてください。 リスナーとシードデータベースを作成する前に、次の手順を完了します。 パッチセットのインストール メモ:パッチセットのインストールは、RAC 10g R2 ソフトウェアをインス トールしたノードから行ってください。OUI を実行しているノードが異な る場合は、終了して、RAC 10g R2 ソフトウェアをインストールしたノード からパッチセットをインストールします。 1 パッチセットのフォルダにある OUI を起動します。たとえば、次の とおりです。 %SystemDrive%\Oracle_patch\setup.
9 End of Installation(インストールの終了)ウィンドウで、Exit (終了)をクリックします。 10 Yes(はい)をクリックして OUI を終了します。 最新の Oracle パッチのダウンロード Oracle は、パッチセットを最初にダウンロードした時には含まれてい なかった追加のパッチを提供する場合があります。追加のパッチは metalink.oracle.
c Select Protocols(プロトコルの選択)ウィンドウの Selected protocols(選択するプロトコル)フィールドで TCP を選択し、 Next(次へ)をクリックします。 d TCP/IP Protocol(TCP/IP プロトコル)ウィンドウで Use the standard port number of 1521(標準ポート番号 1521 を使 用)をクリックし、Next(次へ)をクリックします。 e More Listeners(リスナーの追加)ウィンドウで No(いいえ) を選択し、Next(次へ)をクリックします。 6 Listener Configuration Done(リスナーの設定が終了しました) ウィンドウで Next(次へ)をクリックします。 7 Welcome(ようこそ)ウィンドウで Finish(完了)をクリックし ます。 シードデータベースの作成 本項では、OCFS を使用してシードデータベースを作成する手順と、 シードデータベースを検証する手順を説明します。 メモ:本項の手順を実行する前に、前述の手順に従って必要なパッチを インストールす
6 Database Templates(データベーステンプレート)ウィンドウで Custom Database(カスタムデータベース)をクリックしてから、 Next(次へ)をクリックします。 7 Database Identification(データベース識別情報)ウィンドウの Global Database Name(グローバルデータベース名)フィール ドに、racdb などの名前を入力し、Next(次へ)をクリックし ます。 8 Management Options(管理オプション)ウィンドウでデフォ ルトの選択をそのまま使用し、Next(次へ)をクリックします。 9 Database Credentials(データベース資格証明)ウィンドウで Use the Same Password for All Accounts(すべてのアカウン トに対して同じパスワードを使用)をクリックし、それぞれ適切な フィールドに新しいパスワードの入力と確認の入力を行い、Next (次へ)をクリックします。 メモ:新しいパスワードをメモしておいてください。この情報は後 でデータベースの管理中に必要になります。 10 S
13 Recovery Configuration(リカバリ構成)ウィンドウで、以下の 手順を実行します。 a Specify Flash Recovery Area(フラッシュリカバリ領域の 指定)を選択します。 b Browse(参照)をクリックします。 c Directory Browse(ディレクトリの参照)ウィンドウで、作成 した CFS ドライブをドロップダウンメニューから選択します。 詳細については、179 ページの「Oracle Clusterware のインス トール」の 手順 13 の e を参照してください。 d OK をクリックします。 e Flash Recovery Area Size(フラッシュリカバリ領域のサ イズ)テキストボックスに、フラッシュリカバリ領域用に作成し た総容量を入力します。詳細については、『Microsoft Windows Server x64 で使用する Oracle データベース ストレージ & ネッ トワークガイド』の「OCFS を使用したデータベースストレージ 用のデータベースディスクとフラッシュリカバリ領域の準備」 を参照してくだ
16 Next(次へ)をクリックします。 17 Database Content(データベースの内容)ウィンドウでデフォル ト値をそのまま使用し、Next(次へ)をクリックします。 18 Database Services(データベースサービス)ウィンドウで Next (次へ)をクリックします。 19 Initialization Parameters(初期化パラメータ)ウィンドウで Next(次へ)をクリックします。 20 Database Storage(データベースストレージ)ウィンドウで Next(次へ)をクリックします。 21 Creation Options(作成オプション)ウィンドウでデフォルト値を そのまま使用し、Finish(完了)をクリックします。 22 Summary(サマリ)ウィンドウで OK をクリックします。 Database Configuration Assistant ウィンドウが表示され、 Oracle ソフトウェアがデータベースを作成します。 メモ:データベースの作成には数分かかることがあります。 23 Database Configuration Assistant ウ
ASM を使用した Oracle RAC 10g R2 のインストール 本項は、Oracle® Enterprise Edition と Standard Edition の両方に適用 されます。本項では、ASM(Automatic Storage Management)を使 用して Oracle RAC(Real Application Cluster)10g R2 をインストール する手順を説明します。 メモ:OCFS を使用して Oracle をインストールする場合は、以下の手順を 無視して 179 ページの「OCFS を使用した Oracle® RAC 10g R2 のインストー ル」の手順に従います。 Oracle Clusterware のインストール 1 ノード 1 で、表 2-1 を参照し、お使いの OS に適した Oracle Clusterware インストールメディアをオプティカルドライブにセッ トします。 Oracle Universal Installer(OUI)が起動し、Welcome(ようこそ) ウィンドウが表示されます。 Welcome(ようこそ)ウィンドウが表示されない場
3 ようこそ ウィンドウで 次へ をクリックします。 4 Specify Home Details(ホームの詳細の指定)ウィンドウで、デ フォルト設定をそのまま使用し、 Next(次へ)をクリックします。 メモ:OraCR10g_home(CRS のホーム)パスをメモしておきます。 この情報は後で必要になります。 5 Product Specification Prerequisite Checks(製品仕様の要件 チェック)ウィンドウで、次の手順に従います。 • Windows Server 2003 の場合:インストールプログラムです べてのチェックが正常に完了したことを確認し、Next(次へ) をクリックします。 • Windows Server 2008 の場合:OCFS and Orafence Driver’s Signature(OCFS および Orafence ドライバの署名)について、 Product Specification Prerequisite Check(製品仕様の要 件チェック)が失敗します。 インストールを続行するには、前提条件の確認が行われる際に、 Checkin
7 Next(次へ)をクリックします。 Specify Network Interface Usage(ネットワークインタフェー スの用途を指定する)ウィンドウが表示され、クラスタ全体のネット ワークインタフェースのリストが表示されます。 8 Interface Type(インタフェースのタイプ)を変更するには、次の 手順を実行します。 a Interface Name(インタフェース名)を選択し、Edit(編集) をクリックします。 b 次のオプションのいずれかを選択します。 c • Public(パブリック)— インタフェースをパブリックイン タフェースにする場合。 • Private(プライベート)— インタフェースをプライベート インタフェースにする場合。 • Do not use(使用しない)— その他のインタフェースにす る場合。 OK をクリックします。 9 Next(次へ)をクリックします。 10 Cluster Configuration Storage(クラスタ構成ストレージ) ウィンドウで、OCR(Oracle Cluster Registry)ディスクについて
d 2 番目のパーティションを選択し、Edit(編集)をクリックし ます。 e Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Place OCR (Mirror) on this partition(このパーティ ションに OCR(ミラー)を置く)を選択し、OK をクリックし ます。 11 Cluster Configure Storage(クラスタ構成ストレージ)ウィンド ウで、投票ディスクについて以下の手順を実行します。 a 作成した 3 つの 250 MB パーティションの位置を確認します。 手順の詳細については、『Microsoft Windows Server x64 で使用 する Oracle データベース – ストレージ & ネットワークガイド』 の「Clusterware 用の OCR と投票ディスクの準備」を参照して ください。このマニュアルは support.dell.
メモ:Configuration Assistant ウィンドウでエラーが発生した場合は、 以下の手順を実行します。 a エラーウィンドウで、OK をクリックします。 b Configuration Assistant ウィンドウで、Next(次へ) をクリックします。 c 警告メッセージを無視して OK をクリックします。 d Exit(終了)をクリックして OUI セッションを終了します。 e Exit(終了)ウィンドウで、Yes(はい)をクリックします。 詳細については、『Microsoft Windows Server x64 で使用する Oracle データベース – トラブルシューティング』を参照してくだ さい。このマニュアルは、support.dell.
4 システムを再起動します。 5 手順 1 ~ 手順 4 をすべてのノードで繰り返します。 すべてのノードでアップデートと再起動を行ったら、データベースのイ ンストールを続行できます。 Oracle Database 10g のインストール メモ:OCFS を使用して Oracle をインストールする場合は、以下の手順 を省略して 179 ページの「OCFS を使用した Oracle® RAC 10g R2 のインス トール」に進みます。 1 ノード 1 で、表 2-1 を参照し、お使いの OS に適した Oracle Clusterware インストールメディアをオプティカルドライブにセッ トします。 OUI が起動し、Welcome(ようこそ)ウィンドウが表示されます。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドで、次のテキストを入力 します。 %CD-ROM drive%\autorun\autorun.
5 Specify Home Details(ホームの詳細の指定)ウィンドウの Destination(インストール先)で、以下のことを確認します。 • Name(名前)フィールドで、Oracle データベースのホーム 名が OraDb10g_home1 であること。 • Path(パス)フィールドで、Oracle ホームの完全なパスが次の ようになっていること。 %SystemDrive%\oracle\product\10.2.0\db_1 % SystemDrive% はユーザーのローカルドライブです。 メモ:パスをメモしておきます。後でこの情報が必要になります。 メモ:Oracle ホームのパスは、Oracle Clusterware インストール中 に選択した Oracle ホームのパスとは異なっている必要があります。 Oracle Database 10g R2 Enterprise x64 Edition と Clusterware を同じホー ムディレクトリにインストールすることはできません。 6 Next(次へ)をクリックします。 7 Specify Hardware Cluste
Oracle 10g R2 パッチセット のインストール メモ:本項は、Oracle Database 10g が Windows Server 2003 にインストール されている場合にのみ適用されます。 1 お使いのシステムには 10.2.0.1 Clusterware と 10.2.0.1 データベー スバイナリのみをインストールします。シードデータベースは作成 しません。 2 metalink.oracle.com からパッチセット 10.2.0.4 をダウンロード します。 3 パッチセットをローカルドライブ %SystemDrive% に解凍します。 Oracle 10g Clusterware 用のパッチセット 10.2.0.4 のインストール 作業を開始する前に お使いのシステムに Oracle 10g Clusterware 用のパッチセット 10.2.0.4 をインストールする前に、次の手順を実行してください。 1 すべてのノードで nodeapps を停止します。コマンドプロンプトに 次のテキストを入力します。 %SystemDrive%\%CRS_HOME%\bin> srvctl
パッチセットのインストール メモ:パッチセットのインストールは、RAC 10g R2 ソフトウェアをインス トールしたノードから行う必要があります。同じノードから OUI を実行し ていない場合は、終了して、そのノードからパッチセットをインストール します。 1 パッチセットのフォルダにある OUI を起動します。 2 Welcome(ようこそ)ウィンドウで Next(次へ)をクリックし ます。 3 Specify home details(ホームの詳細の指定)ウィンドウのド ロップダウンメニューで OraCR10g_home を選択し、Next (次へ)をクリックします。 4 Specify Hardware Cluster Installation Mode(ハードウェアの クラスタインストールモードの指定)ウィンドウで、Next(次へ) をクリックします。 5 Product-Specific Prerequisite Checks(製品固有の前提条件の チェック)ウィンドウで、Next(次へ)をクリックします。 6 Summary(サマリ)ウィンドウで、Install(インストール)をク リックしま
パッチセットのインストール メモ:パッチセットのインストールは、Oracle RAC 10g R2 ソフトウェア をインストールしたノードから行う必要があります。同じノードから OUI を実行していない場合は、終了して、そのノードからパッチセットをイン ストールします。 1 パッチセットを解凍した領域にある OUI を起動します。 2 Welcome(ようこそ)ウィンドウで Next(次へ)をクリックし ます。 3 Specify home details(ホームの詳細の指定)ウィンドウのドロッ プダウンメニューで OraDB10g_home1 を選択し、Next(次へ) をクリックします。 4 Specify Hardware Cluster Installation Mode(ハードウェアの クラスタインストールモードの指定)ウィンドウで、Next(次へ) をクリックします。 5 Product-Specific Prerequisite Checks(製品固有の前提条件の チェック)ウィンドウで、Next(次へ)をクリックします。 6 Oracle Configuration Manager Regi
8 End of Installation(インストールの終了)ウィンドウで、 Summary(サマリ)タブに表示されている手順をすべて実行し ます。 9 End of Installation(インストールの終了)ウィンドウで、 Exit(終了)をクリックします。 10 Yes(はい)をクリックして OUI を終了します。 リスナーの設定 本項では、リスナーの設定手順を説明します。リスナーは、リモートク ライアントからデータベースに接続する際に必要です。 メモ:本項の手順を実行する前に、パッチをインストールする必要があ ります。 次の手順をノード 1 で実行します。 1 スタート をクリックし、ファイル名を指定して実行 を選択して netca と入力し、OK をクリックします。 2 Real Application Clusters, Configuration(Real Application Clusters — 構成)ウィンドウで、Cluster configuration(クラス タの構成)を選択し、Next(次へ)をクリックします。 3 Real Application Clusters の A
d TCP/IP Protocol(TCP/IP プロトコル)ウィンドウで Use the standard port number of 1521(標準ポート番号 1521 を使 用)をクリックし、Next(次へ)をクリックします。 e More Listeners(リスナーの追加)ウィンドウで No(いいえ) を選択し、Next(次へ)をクリックします。 6 Listener Configuration Done(リスナーの設定が終了しました) ウィンドウで Next(次へ)をクリックします。 7 Welcome(ようこそ)ウィンドウで Finish(完了)をクリックし ます。 シードデータベースの作成 Oracle ASM を使用してシードデータベースを作成するには、次の手順 を実行します。 1 Oracle Clusterware が実行中であることを確認します。 a コマンドプロンプトウィンドウを開きます。スタート をクリッ クし、ファイル名を指定して実行 を選択して、cmd と入力し、 を押します。 b cmd ウィンドウで、crsctl check crs と入力
4 Welcome(ようこそ)ウィンドウで Oracle Real Application Clusters database(Oracle Real Application Cluster データ ベース)を選択し、Next(次へ)をクリックします。 5 Operations(操作)ウィンドウで Create a Database(データ ベースの作成)をクリックしてから、Next(次へ)をクリックし ます。 6 Node Selection(ノードの選択)ウィンドウで Select All(すべ て選択)をクリックしてから、Next(次へ)をクリックします。 7 Database Templates(データベーステンプレート)ウィンドウで Custom Database(カスタムデータベース)をクリックしてから、 Next(次へ)をクリックします。 8 Database Identification(データベース識別情報)ウィンドウの Global Database Name(グローバルデータベース名)フィールド に racdb などの名前を入力し、Next(次へ)をクリックします。 9 Manageme
13 Database Configuration Assistant(DBCA)ウィンドウで、 OK をクリックします。 ASM Creation(ASM の作成)ウィンドウが表示され、ASM イン スタンスが作成されます。 メモ:Failed to retrieve network listener resources(ネットワークリス ナーリソースの読み出しに失敗しました)という警告メッセージが 表示された場合は、Yes(はい)をクリックして DBCA に適切なリス ナーリソースの作成を許可します。 14 ASM Disk Groups(ASM ディスクグループ)ウィンドウで、 Create New(新規作成)をクリックします。 15 Create Disk Group(ディスクグループの作成)ウィンドウで、 次の手順を実行します。 208 a 新しいディスクグループの名前(databaseDG など)を入力し ます。 b Redundancy(冗長)ボックスで、External(外付け)を選択 します。 c Stamp Disks(ディスクにスタンプする)をクリックします。 d Ad
16 ASM Disk Groups(ASM ディスクグループ)ウィンドウで、 Create New(新規作成)をクリックします。 17 Create Disk Group(ディスクグループの作成)ウィンドウで、 フラッシュリカバリ領域に以下の情報を入力します。 a Disk Group Name(ディスクグループ名)フィールドに、 新しいディスクグループの名前を入力します。たとえば、FLASH です。 b Redundancy(冗長)ボックスで、External(外付け)を選択 します。 c Stamp Disks(ディスクにスタンプする)をクリックします。 d Select disks(ディスクの選択)ウィンドウで、フラッシュリカ バリ領域に使用するディスクを選択します。ディスクを選択す ると、ステータスが Candidate device(候補デバイス)として 示されます。 e Generate stamps with this prefix(この接頭辞を持つスタン プを生成する)フィールドで、FLASH と入力し、Next(次へ) をクリックします。 f Stamp disks(
19 Recovery Configuration(リカバリ設定)ウィンドウで、次の手 順を実行します。 a Specify Flash Recovery Area(フラッシュリカバリ領域の 指定)を選択します。 b Browse(参照)をクリックします。 c 手順 17 で作成した FLASH ディスクグループを選択し、OK をク リックします。 d Flash Recovery Area Size(フラッシュリカバリ領域のサイ ズ)テキストボックスに、作成したフラッシュディスクグループ の合計サイズを入力します。 e Enable Archiving(アーカイブの有効化)を選択します。 f Edit Archive Mode Parameters(アーカイブモードパラメー タの編集)をクリックします。 g Edit Archive Mode Parameters(アーカイブモードパラメー タの編集)ウィンドウで、Archive Log Destinations(アーカ イブロゴの保存先)の下に表示されているパスが次のようになっ ていることを確認します。+FLASH/ FLASH
25 Summary(サマリ)ウィンドウで OK をクリックします。 Database Configuration Assistant ウィンドウが表示され、 Oracle ソフトウェアがデータベースを作成します。 メモ:データベースの作成には数分かかることがあります。 データベースの作成が完了すると、Database Configuration Assistant ウィンドウにデータベース設定情報が表示されます。 26 必要に応じて Password Management(パスワード管理)をク リックして、権限を持つユーザーに特定のパスワードを割り当てま す。その必要がない場合は Exit(終了)をクリックします。クラス タデータベースがすべてのノードで起動中であることを示すメッ セージが表示されます。 27 Database Configuration Assistant ウィンドウ内の情報をメモ します。情報は将来のデータベース管理に使用します。 28 Exit(終了)をクリックします。 Start Cluster Database(クラスタデータベースの起動)ウィン ドウが表示され、クラスタデータベー
ASM を使用した Oracle RAC 10g R2 のインストール
既存の Oracle 10g RAC クラスタ への新しいノードの追加 本項では、Microsoft® Windows Server® x64 上で Oracle® RAC (Real Application Cluster)データベースにノードとインスタンスを 追加する方法について説明します。 クラスタに追加するノードの準備 既存のクラスタに追加するノードで、次の手順を実行します。 1 Deployment メディアを使用して OS のインストールと設定を行い ます。 2 ネットワークとファイバーチャネルストレージサブシステムを設定 します。 クラスタの各ノードから次のコマンドが実行できることを確認します。 NET USE \\ ホスト名 \C$ ホスト名 は新しいノードのパブリックネットワーク名です。 各ノードで必要な Administrator 権限をお持ちの場合は、次のメッセー ジが表示されます。 Command completed successfully.
Oracle Clusterware 層へのノードの追加 1 いずれかの既存のノードで、CRS home\oui\bin ディレクトリに 移動します。addNode.
9 次に利用できるノード名とノード番号を使用して crssetup.exe コマンドを実行することで、新しいノードの CRS 情報を追加します。 たとえば、次のような表示になります。 crssetup.exe add -nn publicnode3,3 -pn pvtnode3,3 –vn vipnode3,3 10 CRS ホームの bin サブディレクトリから racgons ユーティリティを 実行して、Oracle Notification Services(ONS)のポート番号を次の ように設定します。 racgons add_config new_node_name:4948 本項の手順を完了して Oracle Clusterware 層にノードを追加すると、 既存の CRS ホームから新しいノードに CRS ホームを拡張することがで きます。 Oracle RAC データベース層へのノードの追加 1 %ORACLE_HOME%\oui\bin ディレクトリから addNode.
5 End of Node Addition(ノードの追加の終了)ウィンドウが表 示されたら、Exit(終了)をクリックして OUI セッションを終了し ます。 6 Oracle ホームの bin サブディレクトリから、次のシンタックスと 共に -nodelist オプションを使用して VIPCA ユーティリティを実行 します。このシンタックスは、お使いの RAC データベースの一部と なっているノードの全セット(Node1 で始まり、末尾は NodeN) を識別します。 vipca -nodelist Node1,Node2,Node3,...
5 Add Instance(インスタンスの追加)を選択し、Next(次へ) をクリックします。List of Cluster Databases(クラスタデータ ベースのリスト)ウィンドウが表示され、データベースとその現在 のステータス(Active または Inactive)が示されます。 6 List of Cluster Databases(クラスタデータベースのリスト) ウィンドウから、インスタンスを追加するアクティブな RAC デー タベースを選択します。 7 Next(次へ)をクリックして新しいインスタンスを追加します。 Adding an Instance(インスタンスの追加)ウィンドウが表示 されます。 8 Adding an Instance(インスタンスの追加)ウィンドウで、 該当するフィールドにインスタンス名を入力します。 9 リストから新しいノード名を選択し、Next(次へ)をクリックし ます。DBCA に Services(サービス)ウィンドウが表示されます。 10 新しいノードのインスタンスに対するサービス情報を入力し、Next (次へ)をクリックします。DBCA に Insta
既存の Oracle 10g RAC クラスタへの新しいノードの追加
Sistemas Dell™ PowerEdge™ Base de datos Oracle® en Microsoft® Windows Server® x64 Guía de configuración e instalación de la base de datos 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 este documento puede modificarse sin previo aviso. © 2009-2010 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general . . . . . . . . . . . . . . . . . . . Documentación necesaria para instalar la base de datos Oracle 10g R2 . . . . . . . . . . . . . . . . . 223 . . . . . . . . . . 224 . . . . . . . . . . . . . . . . . . . . . . 224 . . . . . . . . . . . . . . . . . . . . . 224 . . . . . . . . . . . . . . . . . . . 224 Terminología utilizada en este documento Obtención de ayuda. Asistencia de Dell Asistencia de Oracle 2 Antes de comenzar . . . . . . . . . . . . . . . . . .
Configuración del proceso de escucha . Creación de la base de datos semilla . 4 . . . . . . . . . . . 238 . . . . . . . . . . . . 239 Instalación de Oracle RAC 10g R2 mediante ASM . . . . . . . . . . . . . . . . Instalación del software de clúster Oracle . . . . . . . . . . Aplicación del parche 7320726 de Oracle para Windows Server 2008 . . . . . . . . . . . . . . . . . 248 . . . . . . . . . . 249 . . . . . . . . . 250 . . . . . . . . . . . . 251 Configuración del proceso de escucha .
Información general Este documento se aplica a: • Base de datos Oracle® 10g R2 Enterprise Edition en Microsoft® Windows Server® 2003 R2 SP2 Enterprise o Standard x64 Edition o Windows Server 2008 SP2 Enterprise o Standard x64 Edition. • Base de datos Oracle 10g R2 Standard Edition en Microsoft Windows Server 2003 R2 SP2 Standard x64 Edition o Windows Server 2008 SP2 Standard x64 Edition.
Terminología utilizada en este documento En este documento se utilizan los términos número de unidad lógica (LUN) y disco virtual. Dichos términos son sinónimos y pueden utilizarse indistintamente. El término LUN suele utilizarse en un entorno de sistema de almacenamiento Dell/EMC Fibre Channel, mientras que disco virtual suele emplearse en un entorno de almacenamiento SAS de conexión directa (Dell™ PowerVault™ MD3000/MD3000i y PowerVault MD3000/MD3000i con expansión PowerVault MD1000).
Antes de comenzar En esta sección se proporciona información sobre los requisitos básicos para la instalación de Oracle® Real Application Cluster (RAC) 10g R2. Selección del soporte multimedia de instalación de Oracle adecuado Para elegir la versión del soporte multimedia de instalación de Oracle adecuada para su sistema operativo Microsoft® Windows Server®, vea la tabla 2-1. Tabla 2-1.
Antes de comenzar
Instalación de Oracle® RAC 10g R2 mediante OCFS Esta sección se aplica únicamente a Oracle® Enterprise Edition. En esta sección se describe el procedimiento para instalar Oracle Real Application Cluster (RAC) 10g R2 mediante Oracle Cluster File System (OCFS). NOTA: Si desea instalar Oracle mediante Automatic Storage Management (ASM), ignore los siguientes pasos y siga los procedimientos indicados en “Instalación de Oracle RAC 10g R2 mediante ASM” en la página 243.
5 En la ventana Product Specification Prerequisite Checks (Comprobaciones de requisitos previos de las especificaciones del producto): • Para Windows Server 2003: asegúrese de que el programa de instalación completa correctamente todas las comprobaciones y, a continuación, haga clic en Next (Siguiente). • Para Windows Server 2008: la comprobación de requisitos previos de las especificaciones del producto falla para la firma del controlador OCFS y Orafence.
7 Haga clic en Next (Siguiente). Aparece la ventana Specify Network Interface Usage (Especificar uso de interfaz de red) con una lista de las interfaces de red de todo el clúster. 8 Para cambiar el tipo de interfaz: a Seleccione Interface Name (Nombre de interfaz) y haga clic en Edit (Editar). b Seleccione una de las opciones siguientes: c • Public (Público): convierte la interfaz en interfaz pública. • Private (Privado): convierte la interfaz en interfaz privada.
11 En la ventana Cluster Configuration Storage (Almacenamiento de configuración de clúster), realice los pasos siguientes para el disco de votación: a Localice las tres particiones de 250 MB que ha creado. Para obtener más información sobre el procedimiento, consulte Preparación de los discos OCR y de votación para el software de clúster en el documento Base de datos Oracle en Microsoft Windows Server x64 – Guía de almacenamiento y redes disponible en support.dell.com/manuals.
13 En la ventana Cluster Configuration Storage (Almacenamiento de configuración de clúster), realice los pasos siguientes para la recuperación flash: a Localice la partición que ha creado. Para obtener más información, consulte Preparación del disco de base de datos y el área de recuperación flash para el almacenamiento de base de datos con OCFS en el documento Base de datos Oracle en Microsoft Windows Server x64 – Guía de almacenamiento y redes disponible en support.dell.com/manuals.
NOTA: Si se produce un error en la ventana del asistente de configuración: a En la ventana de error, haga clic en OK (Aceptar). b En la ventana del asistente de configuración, haga clic en Next (Siguiente). c Ignore el mensaje de aviso y haga clic en OK (Aceptar). d Haga clic en Exit (Salir) para finalizar la sesión de OUI. e En la ventana Exit (Salir), haga clic en Yes (Sí).
Instalación de la base de datos Oracle 10g R2 con RAC 1 En el nodo 1, inserte en la unidad óptica el soporte multimedia de instalación del software de clúster Oracle adecuado para su sistema operativo de acuerdo con la tabla 2-1. Se inicia OUI y se muestra la ventana de bienvenida. Si no se visualiza la ventana de bienvenida: a Haga clic en Start (Inicio) y seleccione Run (Ejecutar). b En el campo Run (Ejecutar), escriba el siguiente texto y haga clic en OK (Aceptar): %CD-ROM drive%:\autorun\autorun.
NOTA: Anote la ruta principal de Oracle. Necesitará esta información más adelante durante el proceso de instalación. NOTA: La ruta principal de Oracle seleccionada aquí debe ser distinta de la seleccionada en el paso 4 del procedimiento de instalación del software de clúster Oracle. No puede instalar Oracle10 g Enterprise x64 Edition con RAC y el software de clúster en el mismo directorio principal. 6 Haga clic en Next (Siguiente).
Instalación del patchset de Oracle 10g R2 NOTA: Esta sección sólo es aplicable si va a instalar la base de datos Oracle 10g en un sistema que ejecuta Windows Server 2003. 1 Asegúrese de que instala únicamente los binarios de base de datos 10.2.0.1 y el software de clúster 10.2.0.1 en el sistema y de que no ha creado la base de datos semilla. 2 Descargue el patchset 10.2.0.4 desde metalink.oracle.com. 3 Descomprima el patchset en %SystemDrive%, que es su unidad local. Instalación del patchset 10.2.0.
Instalación del patchset NOTA: Debe instalar el patchset desde el nodo en el que ha instalado el software RAC 10g R2. Si no ejecuta OUI desde el mismo nodo, salga e instale el patchset desde el nodo en el que se ha instalado el software RAC 10g R2. 1 Inicie OUI, que se encuentra en la carpeta del patchset. Por ejemplo: %SystemDrive%\Oracle_patch\setup.exe donde %SystemDrive% es la unidad en la que se ha descomprimido el patchset de Oracle. 2 En la ventana de bienvenida, haga clic en Next (Siguiente).
Instalación del patchset 10.2.0.4 para la base de datos Oracle 10g NOTA: Antes de instalar el patchset, asegúrese de iniciar todos los servicios de Oracle. Realice los procedimientos siguientes antes de crear un proceso de escucha y una base de datos semilla. Instalación del patchset NOTA: Instale el patchset desde el nodo en el que ha instalado el software RAC 10g R2. Si no ejecuta OUI desde el mismo nodo, salga e instale el patchset desde donde haya instalado el software RAC 10g R2.
9 En la ventana End of Installation (Fin de la instalación), haga clic en Exit (Salir). 10 Haga clic en Yes (Sí) para salir de OUI. Descarga de los parches de Oracle más recientes Oracle puede proporcionar parches adicionales que no estaban no incluidos cuando descargó por primera vez el patchset. Puede descargar parches adicionales desde metalink.oracle.com. Configuración del proceso de escucha En esta sección se describen los pasos necesarios para configurar el proceso de escucha.
c En la ventana Select Protocols (Seleccionar protocolos), seleccione TCP en el campo Selected Protocols (Protocolos seleccionados) y haga clic en Next (Siguiente). d En la ventana TCP/IP Protocol (Protocolo TCP/IP), seleccione Use the standard port number of 1521 (Utilizar el puerto estándar 1521) y haga clic en Next (Siguiente). e En la ventana More Listeners (Más procesos de escucha), seleccione No y haga clic en Next (Siguiente).
6 En la ventana Database Templates (Plantillas de base de datos), haga clic en Custom Database (Base de datos personalizada) y, a continuación, en Next (Siguiente). 7 En la ventana Database Identification (Identificación de la base de datos), escriba un nombre (por ejemplo, racdb) en el campo Global Database Name (Nombre de base de datos global) y haga clic en Next (Siguiente).
13 En la ventana Recovery Configuration (Configuración de la recuperación), realice los pasos siguientes: a Seleccione Specify Flash Recovery Area (Especificar área de recuperación flash). b Haga clic en Browse (Examinar). c En el menú desplegable de la ventana Directory Browse (Mostrar directorios), seleccione la unidad CFS que ha creado. Para obtener más información, consulte el subpaso e del paso 13 en “Instalación del software de clúster Oracle” en la página 227. d Haga clic en OK (Aceptar).
16 Haga clic en Next (Siguiente). 17 En la ventana Database Content (Contenido de la base de datos), acepte los valores predeterminados y haga clic en Next (Siguiente). 18 En la ventana Database Services (Servicios de bases de datos), haga clic en Next (Siguiente). 19 En la ventana Initialization Parameters (Parámetros de inicialización), haga clic en Next (Siguiente). 20 En la ventana Database Storage (Almacenamiento de base de datos), haga clic en Next (Siguiente).
Instalación de Oracle RAC 10g R2 mediante ASM Esta sección se aplica a Oracle® Enterprise Edition y Standard Edition. En esta sección se describe el procedimiento para instalar Oracle Real Application Cluster (RAC) 10g R2 mediante Automatic Storage Management (ASM). NOTA: Si desea instalar Oracle mediante OCFS, ignore los pasos siguientes y siga los procedimientos indicados en “Instalación de Oracle® RAC 10g R2 mediante OCFS” en la página 227.
4 En la ventana Specify Home Details (Especificar detalles de la ubicación principal), acepte los valores predeterminados y haga clic en Next (Siguiente). NOTA: Anote la ruta OraCR10g_home (ubicación principal de CRS). Necesitará esta información más adelante.
c Haga clic en Add (Agregar). d Escriba los nombres de host público, privado y virtual para el segundo nodo y haga clic en OK (Aceptar). 7 Haga clic en Next (Siguiente). Aparece la ventana Specify Network Interface Usage (Especificar uso de interfaz de red), donde se muestra una lista de las interfaces de red de todo el clúster. 8 Para cambiar el tipo de interfaz: a Seleccione Interface Name (Nombre de interfaz) y haga clic en Edit (Editar).
d Seleccione la segunda partición y haga clic en Edit (Editar). e En la ventana Specify Disk Configuration (Especificar configuración de disco), seleccione Place OCR (Mirror) on this partition (Colocar OCR [duplicado] en esta partición) y haga clic en OK (Aceptar). 11 En la ventana Cluster Configure Storage (Almacenamiento de configuración de clúster), realice los pasos siguientes para el disco de votación: a Localice las tres particiones de 250 MB que ha creado.
NOTA: Si se produce un error en la ventana del asistente de configuración, realice los pasos siguientes: a En la ventana de error, haga clic en OK (Aceptar). b En la ventana del asistente de configuración, haga clic en Next (Siguiente). c Ignore el mensaje de aviso y haga clic en OK (Aceptar). d Haga clic en Exit (Salir) para finalizar la sesión de OUI. e En la ventana Exit (Salir), haga clic en Yes (Sí).
Instalación de la base de datos Oracle 10g NOTA: Si va a instalar Oracle mediante OCFS, omita los pasos siguientes y vaya a “Instalación de Oracle® RAC 10g R2 mediante OCFS” en la página 227. 1 En el nodo 1, inserte en la unidad óptica el soporte multimedia de instalación del software de clúster Oracle adecuado para su sistema operativo de acuerdo con la tabla 2-1. Se inicia OUI y se abre la ventana de bienvenida.
6 Haga clic en Next (Siguiente). 7 En la ventana Specify Hardware Cluster Installation Mode (Especificar el modo de instalación del clúster de hardware), haga clic en Select All (Seleccionar todos) y, a continuación, en Next (Siguiente). 8 En la ventana Product-Specific Prerequisite Checks (Comprobaciones de requisitos previos específicos del producto), haga clic en Next (Siguiente).
Instalación del patchset 10.2.0.4 para el software de clúster Oracle 10g Antes de comenzar Antes de instalar el patchset 10.2.0.4 para el software de clúster Oracle 10g en su sistema, realice los pasos siguientes: 1 Detenga nodeapps en todos los nodos. Escriba el texto siguiente en la línea de comandos: %SystemDrive%\%CRS_HOME%\bin> srvctl stop nodeapps -n donde %SystemDrive% es la unidad en la que se configura la ruta principal de Oracle y %CRS_HOME% es el directorio principal que se ha creado
5 En la ventana Product-Specific Prerequisite Checks (Comprobaciones de requisitos previos específicos del producto), haga clic en Next (Siguiente). 6 En la ventana Summary (Resumen), haga clic en Install (Instalar). 7 En la ventana End of installation (Fin de la instalación), realice todos los pasos que se enumeran en la ventana Summary (Resumen), excepto el paso 1. 8 En la ventana End of Installation (Fin de la instalación), haga clic en Exit (Salir). 9 Haga clic en Yes (Sí) para salir de OUI.
6 En la ventana Oracle Configuration Manager Registration (Registro del administrador de configuración de Oracle), haga clic en Next (Siguiente). 7 En la ventana Summary (Resumen), haga clic en Install (Instalar). Es posible que durante la instalación aparezca el error siguiente: Error in writing to file oci.dll (Error al escribir en el archivo oci.dll). Para evitar este error, realice los pasos siguientes: a Cancele la instalación del patchset. b Cambie el nombre del directorio %Oracle_home%\BIN por \bi
3 En la ventana Real Application Clusters, Active Nodes (Real Application Clusters, Nodos activos), seleccione Select all nodes (Seleccionar todos los nodos) y haga clic en Next (Siguiente). 4 En la ventana de bienvenida, seleccione Listener configuration (Configuración del proceso de escucha) y haga clic en Next (Siguiente).
Creación de la base de datos semilla Para crear la base de datos semilla mediante Oracle ASM, realice los pasos siguientes: 1 Compruebe que el software de clúster Oracle se esté ejecutando. a Abra una ventana de indicador de comandos. Haga clic en Start (Inicio), seleccione Run (Ejecutar), escriba cmd y pulse . b En la ventana cmd, escriba crsctl check crs.
8 En la ventana Database Identification (Identificación de la base de datos), escriba un nombre del tipo racdb en el campo Global Database Name (Nombre de base de datos global) y haga clic en Next (Siguiente). 9 En la ventana Management Options (Opciones de administración), haga clic en Next (Siguiente).
15 En la ventana Create Disk Group (Crear grupo de discos), realice los pasos siguientes: a Escriba un nombre para el nuevo grupo de discos, como por ejemplo databaseDG. b En la casilla Redundancy (Redundancia), seleccione External (Externa). c Haga clic en Stamp Disks (Marcar discos). d Seleccione Add or change label (Agregar o cambiar etiqueta) y haga clic en Next (Siguiente).
e En el campo Generate stamps with this prefix (Generar marcas con este prefijo), escriba FLASH y haga clic en Next (Siguiente). f En la ventana Stamp disks (Marcar discos), haga clic en Next (Siguiente). g Haga clic en Finish (Finalizar) para guardar la configuración. h Seleccione las casillas de verificación que aparecen junto a los discos disponibles y haga clic en OK (Aceptar).
20 En la ventana Database Content (Contenido de la base de datos), haga clic en Next (Siguiente). 21 En la ventana Database Services (Servicios de bases de datos), haga clic en Next (Siguiente). 22 En la ventana Initialization Parameters (Parámetros de inicialización), haga clic en Next (Siguiente). 23 En la ventana Database Storage (Almacenamiento de base de datos), haga clic en Next (Siguiente). 24 En la ventana Creation Options (Opciones de creación), haga clic en Finish (Finalizar).
Adición de un nodo nuevo a un clúster Oracle 10g RAC En esta sección se describe cómo añadir nodos e instancias a las bases de datos Oracle® Real Application Cluster (RAC) en los sistemas operativos Microsoft® Windows Server® x64. Preparación del nodo que va a añadirse a un clúster Realice los pasos siguientes en los nodos que desee añadir a un clúster: 1 Instale y configure el sistema operativo mediante los soportes multimedia de implantación.
Adición de nodos en el nivel de software de clúster Oracle 1 En uno de los nodos existentes, vaya al directorio CRS home\oui\bin. Ejecute la secuencia de comandos addNode.bat para iniciar Oracle Universal Installer (OUI). 2 OUI se ejecuta en el modo de adición de nodos y se muestra la ventana de bienvenida de OUI. 3 Haga clic en Next (Siguiente). Se muestra la ventana Specify Cluster Nodes for Node Addition (Especificar nodos de clúster para adición de nodos).
10 Ejecute la utilidad racgons desde el subdirectorio bin de la ubicación principal de CRS para configurar el número de puerto de los servicios de notificación de Oracle (ONS) como se indica a continuación: racgons add_config new_node_name:4948 Una vez que haya completado los procedimientos de esta sección y haya añadido nodos en el nivel de software de clúster Oracle, podrá extender correctamente la ubicación principal de CRS desde su ubicación principal de CRS existente a los nodos nuevos.
6 Ejecute la utilidad VIPCA desde el subdirectorio bin de la ubicación principal de Oracle mediante la opción -nodelist con la sintaxis siguiente, que identifica el conjunto completo de nodos que ahora forman parte de la base de datos RAC, empezando por Node1 y terminando por NodeN: vipca -nodelist Node1,Node2,Node3,...NodeN 7 Añada un proceso de escucha sólo al nodo nuevo; para ello, ejecute el asistente para la configuración de red (NetCA).
6 Seleccione la base de datos RAC activa a la que desea añadir una instancia en la ventana List of Cluster Databases (Lista de bases de datos de clúster). 7 Haga clic en Next (Siguiente) para añadir una nueva instancia. El DBCA muestra la ventana Adding an Instance (Adición de una instancia). 8 En la ventana Adding an Instance (Adición de una instancia), introduzca el nombre de la instancia en el campo correspondiente. 9 Seleccione el nombre del nodo nuevo en la lista y haga clic en Next (Siguiente).
Adición de un nodo nuevo a un clúster Oracle 10g RAC