Dell PowerEdge Systems Oracle Database on Microsoft Windows Server x64 Database Setup and Installation Guide Version 1.
Notes and Cautions NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed. ____________________ Information in this publication is subject to change without notice. © 2011 Dell Inc. All rights reserved. Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . Required Documentation for Deploying the Dell|Oracle 11g R2 Database . . . . . . . . . . . . . . . 5 . . . . . . . . . . . 6 . . . . . . . . . . . . . . . . . . . . . . . 6 Terminology Used in this Document Getting Help . Dell Support . . . . . . . . . . . . . . . . . . . . . Oracle Support 2 5 . . . . . . . . . . . . . . . . . . . Installing Oracle 11g R2 Database RAC . . . . . . . . . . . . . . . . . . . . . . . .
3 Installing Oracle 11g R2 Database (Standalone Server) . . . . . . . . . . . Configuring the Public Network . . . . . . 21 . . . . . . . . . . . . 21 Installing Oracle 11g R2 Database Using ASM . . . . . Installing Oracle 11g R2 Grid Infrastructure 21 . . . . . . . . . 23 . . . . . . . . . . . 24 Installing Oracle Database 11g R2 Configuring ASM Disk Group . Creating the Seed Database Using Oracle ASM . . . . . . . . . . . . . 4 Contents 21 . . . . . . . . . . . .
Overview This document applies to Oracle Database 11g R2 running on Microsoft Windows Server 2008 R2 SP1.
Terminology Used in this Document This document uses the terms volume and virtual disk. These terms are synonymous and can be used interchangeably. The term volume is commonly used in a Dell EqualLogic iSCSI storage system environment and virtual disk is commonly used in a Dell PowerVault SAS and iSCSI (Dell PowerVault MD3000/MD32xx and Dell PowerVault MD3000i/MD32xxi/MD36xxi with Dell PowerVault MD1000/MD12xx expansion) storage environment.
Installing Oracle 11g R2 Database RAC This section describes the procedure for installing Oracle 11g R2 Real Application Clusters (RAC). It is recommended that you create a seed database to verify that the cluster works correctly before you deploy it in a production environment. The installation procedure involves: • Installing Oracle Grid Infrastructure for a cluster. • Installing the Oracle Database 11g R2 software.
Installing Oracle 11g R2 Grid Infrastructure for a Cluster To install Oracle 11g R2 grid infrastructure for a cluster: 1 Log in as Administrator. 2 Run the cluster verify script in the Oracle Grid Infrastructure media using the following command: \runcluvfy.bat stage -pre crsinst n node1,node2 -r 11gR2 -verbose Where node1 and node2 are the public host names.
10 In the Select Installation Type window, select Advanced Installation option. 11 Click Next. 12 In the Select Product Languages window, select English, and click Next. 13 Before providing the inputs in the Grid Plug and Play Information window, decide whether to use Grid Naming Service (GNS) or not. If you are not using GNS: NOTE: Configure the Single Client Access Name (SCAN) addresses for client access to the cluster on the domain naming service (DNS).
a b Provide the following data in the Grid Plug and Play Information window: • Cluster Name—Enter a name for your cluster. For example, testcluster. • SCAN Name—Enter a unique name with domain name as the GNS sub-domain. For example, scancluster.clusterdomain.example.com. • SCAN Port—Retain the default port number, 1521. • Configure GNS—Check this option. • GNS sub-domain—Enter the configured GNS sub domain name. For example, clusterdomain.subdomain.com.
15 In the Specify Network Interface Usage window, ensure that the correct interface types are selected for the interface names. To modify an interface type: a From the Interface Type drop-down list, select the required interface type. The available options are Private, Public, and Do not use. b Click Next. 16 In the Storage Option Information window, select Automatic Storage Management (ASM) to configure OCR and Voting Disks on the ASM storage, and click Next.
18 In the Specify ASM Password window, click Use the same passwords for these accounts and complete the password selections and entries. 19 Click Next. 20 In the Failure Isolation Support window, select Use Intelligent Platform Management Interface (IPMI). a Enter the user name as configured IPMI user name. For example, root. b Enter the password as configured. c Click Next. NOTE: For IPMI configuration, see the Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide.
d Log in as administrator. e Run the fix-up script on all the nodes, and then click OK. 23 In the Summary window, click Finish. 24 Complete the instructions in the wizard and click OK. The Installation of Oracle Grid Infrastructure for a Cluster was Successful window is displayed. 25 Click Close. 26 On all nodes, perform the following: a Verify the Oracle Grid Infrastructure installation by typing the following command: olsnodes -n -v This command lists the host names of all nodes in the cluster.
Installing Oracle 11g R2 RAC Database Software 1 Check the prerequisites by typing the following cluster verification command: \runcluvfy stage -pre dbinst fixup -n Node1, Node2 -r 11gR2 -verbose - Where node1 and node2 are the host names of the public IP addresses, n represents the list of nodes, and r represents the Database release. runcluvfy is a cluster verification utility available in the Grid Infrastructure Home.
9 In the Select Database Edition window, select Enterprise Edition, and click Next. 10 In the Specify Installation Location window, select one of the following options and specify path information accordingly: NOTE: If you are planning to configure non-shared oracle home, provide the following information. – Oracle Base—%System drive%:\app\Administrator – Software Location—%System drive%:\app\Administrator\product\11.2.0\dbhome_1 11 Click Next.
17 Run \BIN\selecthome.bat sequentially on all remote nodes. The Finish Option window displays a message stating that the installation of Oracle database was successful. 18 Click Close. Creating Server Pools for Policy-Managed Database Configuration NOTE: Perform the procedure in this section before creating the database. The nodes in a cluster can be organized into a server pool for better resource management.
Creating ASM Disk Group This section contains procedures to create the ASM disk group for the database files and Flash Recovery Area (FRA). To create the ASM disk groups: 1 Start the asmca utility: \bin\asmca 2 In the ASM configuration Assistant window, select the Disk Groups tab. 3 Click Create. 4 Enter the Disk Group Name as databaseDG. 5 Configure the redundancy level to External redundancy. 6 Click Stamp Disks. The asmtool Operation Wizard is displayed.
Creating the Seed Database To create the seed database using Oracle ASM: 1 Log in as Administrator and run: \bin\runcluvfy stage -pre dbcfg -fixup -n Node1 , Node2 -d verbose Where node1 and node2 are the public host names and %ORACLE_HOME% is the Oracle Database Home. If your system is not configured correctly and the cluster verification utility fails, see the Oracle Database on Microsoft Windows Server x64 Troubleshooting Guide for more information.
7 In the Management Option window, select the default values and click Next. 8 In the Database Credential window: a Select the Use the same Administrative password for all the Accounts option. b Complete the password entries and click Next. 9 In the Database File Location window, select the following options: • Storage Type—Automatic Storage Management (ASM). • Storage Location—Use Oracle-Managed Files.
16 In the Summary window, click OK to create database. NOTE: The database creation may take an hour or more to complete. 17 When the database is created, the Database Configuration Assistant window is displayed. 18 If required, click Password Management to assign specific passwords to authorized users. Otherwise, click Exit. A message is displayed indicating that the cluster database is being started on all nodes.
Installing Oracle 11g R2 Database (Standalone Server) This section provides information about completing the initial setup or completing the reinstallation procedures as described in the Oracle Database on Microsoft Windows Server x64 Operating System and Hardware Installation Guide. Configuring the Public Network • Ensure that your public network is functioning and that an IP address and host name are assigned to your system. For example: Configuring %SystemRoot%\system32\drivers\etc\hosts.
4 In the Download Software Updates window, select Use pre-downloaded software updates, and click Browse. 5 Select the location where the downloaded patch is located, and click Next. NOTE: Before proceeding with step 6 make sure that the downloaded patch is listed. 6 In the Apply Software Updates window, select Apply all updates, and click Next. 7 In the Installation Option window, select Install and Configure Grid Infrastructure for a Standalone Server. 8 Click Next.
13 Perform the following steps if any of the prerequisites have failed and must be fixed: a Click Fix & Check Again. b In the Execute Fixup Scripts window, the installer generates a fix-up script. Log in as Administrator and run the fix-up script to resolve the failed prerequisite checks that can be fixed and then click OK. c In the Perform Prerequisite Checks window, ensure that all prerequisite checks are passed. d Click Next. 14 In the Summary window, click Finish.
7 In the Grid Installation Option window, select the type of database installation as Single Instance Database Installation, and click Next. 8 In the Product Languages window, select the Language Option as English, and click Next. 9 In the Select Database Edition window, click Enterprise Edition and click Next.
Creating the Seed Database Using Oracle ASM If you configured your storage using Oracle ASM, to create a seed database with the DBCA: 1 Run the DBCA utility by typing: %ORACLE_HOME%\BIN\dbca 2 In the Welcome window, click Next. 3 In the Operations window, click Create a Database and click Next. 4 In the Database Templates window, click Custom Database and click Next. 5 In the Database Identification window, type a Global Database Name, such as oradb, and click Next.
14 In the Creation Options window, select Create Database, and click Finish. 15 In the confirmation window, click OK to create the database. NOTE: Creating the seed database may take more than an hour. When the database is created, the Database Configuration Assistant window is displayed. 16 If required, click Password Management to assign specific passwords to authorized users. Otherwise, click Exit.
Dell PowerEdge 系统 Microsoft Windows Server x64 上的 Oracle 数据库 数据库设置和 安装指南 1.
注和小心 注:“注”表示可以帮助您更好地使用计算机的重要信息。 小心:“小心”表示如果不遵循说明,就有可能损坏硬件或导致数据 丢失。 ____________________ 本出版物中的信息如有更改,恕不另行通知。 © 2011 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell™、 DELL 徽标、 PowerEdge™ 和 PowerVault™ 是 Dell Inc. 的商标。 Microsoft®、Windows® 和 Windows Server® 是 Microsoft Corporation 在美国和 / 或其它国家 / 地区的商标或注册商标。 Oracle® 是 Oracle Corporation 和 / 或其子公司的注册商标。 本出版物中述及的其它商标和商品名称是指拥有相应商标和商品名称的公司或其产品。 Dell Inc. 对不属于自己的商标和商品名称不拥有任何专有权。 2011 年 4 月 Rev.
目录 1 概览 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 部署 Dell|Oracle Database 11g R2 所需的说明 文件 . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 . . . . . . . . . . . . . . . 32 . . . . . . . . . . . . . . . . . . . . . . . . 32 本说明文件中使用的术语 获得帮助 . Dell 支持 . . . . . . . . . . . . . . . . . . . . . . Oracle 支持 . 2 . . . . . . . . . . . . . . . . . . . . 安装 Oracle 11g R2 Database RAC 开始之前 . 31 32 32 . . . . . 33 . . . . . . . . . . . . . . . . . . . . . . . .
3 安装 Oracle 11g R2 Database (独立服务器) . . . . . . . . . . . 配置公用网络 . . . . . . . . . 49 . . . . . . . . . . . . . . . . . . . . . . 49 使用 ASM 安装 Oracle 11g R2 Database . . . . . . . . 安装 Oracle 11g R2 Grid Infrastructure . . . . . . 49 . . . . . . . . . . . 51 . . . . . . . . . . . . . . . . . 52 安装 Oracle Database 11g R2 配置 ASM 磁盘组 使用 Oracle ASM 创建基础数据库 . 30 目录 49 . . . . . . .
概览 本说明文件适用于运行在 Microsoft Windows Server 2008 R2 SP1 上的 Oracle Database 11g R2。 部署 Dell|Oracle Database 11g R2 所需的说明 文件 用于安装 Dell|Oracle 11g R2 数据库,除《数据库安装》指南外,所需的说 明文件包括: • 《Dell PowerEdge Systems Oracle Database on Microsoft Windows Server x64-Operating System and Hardware Installation Guide》(Dell PowerEdge 系统:Microsoft Windows Server x64 上的 Oracle 数据库 - 操作系统和硬 件安装指南)— 介绍要求的最低硬件和软件版本、如何安装和配置操作 系统、如何验证硬件和软件配置以及如何获取开放源代码文件。 • 《Dell PowerEdge Systems Oracle Database on Microsoft Windows Server x64-Storage
本说明文件中使用的术语 本说明文件使用术语卷和虚拟磁盘。这些术语是同义词并可互换使用。术语 卷通常在 Dell EqualLogic iSCSI 存储系统环境中使用,而虚拟磁盘通常在 Dell PowerVault SAS 和 iSCSI(Dell PowerVault MD3000/MD32xx 和带有 Dell PowerVault MD1000/MD12xx 扩展的 Dell PowerVault MD3000i/ MD32xxi/MD36xxi)存储环境中使用。 获得帮助 Dell 支持 • 有关使用系统的详情,请参阅随系统组件附带的说明文件。 • 有关白皮书、Dell 支持的配置和一般信息,请访问 dell.com/oracle。 • 要获得对硬件和操作系统软件的 Dell 技术支持并下载最新的系统 更新,请访问 support.dell.com。 • 有关 Dell 企业培训服务的信息,请访问 dell.
安装 Oracle 11g R2 Database RAC 本节介绍安装 Oracle 11g R2 Real Application Clusters (RAC) 的过程。建议您创 建一个基础数据库,以便在生产环境下部署群集之前验证群集是否能正常 工作。 安装过程涉及: • 安装群集的 Oracle Grid Infrastructure。 • 安装 Oracle Database 11g R2 软件。 开始之前 设置操作系统、网络和存储设备 在系统上安装 Oracle RAC 软件之前: • 请确保已基于第 31 页上的“部署 Dell|Oracle Database 11g R2 所需的说 明 文件”中列出的说明文件中包含的步骤配置您的操作系统、网络和 存储设备。 • 找到 Oracle 介质套件。 配置所有节点的系统时钟设置 为避免在安装过程中出现故障,请为所有节点配置完全相同的系统时钟 设置。要将节点的系统时钟与 Oracle 11g R2 Cluster Time Synchronization Service (CTSS) 同步,请按如下所示禁用 Windows Time Ser
安装群集的 Oracle 11g R2 Grid Infrastructure 要安装群集的 Oracle 11g R2 Grid Infrastructure,请执行以下步骤: 1 作为 Administrator 登录。 2 使用以下命令运行 Oracle Grid Infrastructure 介质中的 cluster verify 脚本: \runcluvfy.bat stage -pre crsinst -n node1,node2 -r 11gR2 -verbose 其中 node1 和 node2 是公用主机名。如果系统配置正确,屏幕将显示 以下信息: Pre-check for cluster services setup was successful on all the nodes.(已在所有节点上成功完成对 群集服务设置的预检查。) 注:如果系统配置不正确并显示错误信息,请先修复问题,然后重复 runcluvfy.
10 在 Select Installation Type (选择安装类型)窗口中,选择 Advanced Installation (高级安装)选项。 11 单击 Next (下一步)。 12 在 Select Product Languages (选择产品语言)窗口中,选择 English (英语),然后单击 Next (下一步)。 13 在 Grid Plug and Play Information (网格即插即用信息)窗口中提 供输入之前,必须确定是否要使用网格命名服务 (GNS)。 如果不使用 GNS: 注:配置单一客户端访问名称 (SCAN) 地址,以便客户端访问域命名服 务 (DNS) 中的群集。Oracle 建议您将 SCAN 注册到 DNS 服务器中的三个 IP 地址,如《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》(Microsoft Windows Server x64 上的 Oracle 数据 库 - 存储设备和网络指南)中所述。 a 在 Grid Plug and P
如果使用 GNS: 注:配置 GNS 虚拟地址和 GNS 子域代理,如《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》(Microsoft Windows Server x64 上的 Oracle 数据库 - 存储设备和网络指南)中所 述。在公用范围中配置动态主机控制协议 (DHCP) 服务器,以释放 《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》(Microsoft Windows Server x64 上的 Oracle 数据库 - 存储设备和 网络指南)的 IP requirements(IP 要求)章节中提到的 IP 地址。 a 在 Grid Plug and Play Information (网格即插即用信息)窗口中提 供以下数据: • Cluster Name (群集名称)— 输入群集的名称。例如, testcluster。 • SCAN Name (SCAN 名称)— 输入域名
14 在 Cluster Node Information (群集节点信息)窗口中,添加必须通过 Oracle Grid Infrastructure 管理的节点: a 单击 Add (添加)。 b 根据 %SystemRoot%\system32\drivers\etc\hosts 文件条目添加 Public Host Name (公用主机名)信息。 c 根据以下说明输入 Virtual IP Name (虚拟 IP 名称): 如果配置不带 GNS 的群集,请根据 %SystemRoot%\system32\drivers\etc\hosts 文件条目输入值。 如果配置带 GNS 的群集,此值设置为 AUTO(自动)。 d 重复执行步骤 a 到步骤 c 以添加群集中的所有节点。 e 单击 Next (下一步)。 15 在 Specify Network Interface Usage (指定网络接口使用情况)窗口 中,确保为接口名称选定正确的接口类型。修改接口类型: a 从 Interface Type (接口类型)下拉式列表中,选择所需的接口 类型。可用的选项为 Private (专
c 单击 Stamp Disks (标记磁盘)。 将显示 asmtool Operation Wizard(asmtool 操作向导)。 d 选择 Add or Change Label (添加或更改标签),然后单击 Next (下一步)。 e 在 Select Disks (选择磁盘)窗口中,选择用于 asm 标记所需的候 选设备,然后分配名称 OCRVOTDSK。 f 单击 Next (下一步)。 g 在 Stamp Disks (标记磁盘)窗口中单击 Next (下一步)。 h 在 Message ASM (信息 ASM)窗口中单击 Finish (完成)。 i 根据步骤 b 中选择的冗余级别,选择要用于 OCR 和 Voting Disk (投票磁盘)的已标记候选磁盘。 例如,选择 \\ORCLDISKOCRVOTDSK10、 \\ORCLDISKOCRVOTDSK20、\\ORCLDISKOCRVOTDSK30 用于 OCR 和 Voting Disk(投票磁盘)。 j 单击 Next (下一步)。 注:如果您使用的是 ASM 库驱动程序而候选磁盘未列出,请单击 Cha
21 在 Specify Installation Location (指定安装位置)窗口中,输入以下 信息。 • 在 Oracle Base 字段中,输入: %SystemDrive%\app\Administrator • 在 Software Location (软件位置)字段中,输入: %SystemDrive%\app\11.2.
26 在所有节点上,执行以下步骤: a 通过键入以下命令来验证 Oracle Grid Infrastructure 安装: olsnodes -n -v 此命令列出群集中所有节点的主机名。 b 键入以下命令以检查所有网格服务的状态: %SystemDrive%\app\11.2.
3 在 Configure Security Updates (配置安全更新)窗口中,提供电子邮 件地址和 oracle 支持密码。此步骤是可选的。如果您要跳过此步骤, 请取消选中该框,然后单击 Next (下一步)。如果没有提供电子邮件 地址,将显示 Email Address Not Specified (电子邮件地址未指定)警 报窗口。 4 单击 Yes (是)继续。 5 在 Download Software Updates (下载软件更新)窗口中,选择 Skip Software updates (跳过软件更新),然后单击 Next (下一步)。 6 在 Select Installation Option (选择安装选项)窗口中,选择 Install Database Software only (仅安装数据库软件),然后单击 Next (下一步)。 7 在 Node Selection (节点选择)窗口中,选择 Real Application Cluster Database Installation (Real Application Cluster 数据库安装),然后选 择所有节点名称。
13 单击 Next (下一步)后,安装程序将验证目标环境是否符合最低安装和 配置要求。如果符合所有前提条件,安装程序将移至步骤 14。否则, 请按照以下说明执行操作。 a 单击 Fix & Check Again (再次修复并检查)。 b 安装程序将生成一个修复脚本 (必须在所有节点上作为 administrator 用户运行该脚本),以解决一些失败的前提条件 检查。 c 作为 administrator 登录并在所有节点上运行修复脚本,然后单击 OK (确定)。 d 单击 Next (下一步)。 在 Perform Prerequisite Checks (执行前提条件检查)窗口中,确保完成 所有前提条件检查。 14 在 Summary Option (摘要选项)窗口中,将显示 Oracle 主目录磁盘 空间、软件安装位置、数据库版本、 Oracle Base 以及软件位置。 15 单击 Finish (完成)。 16 在 Install Product (安装产品)窗口中,将显示数据库安装进度。 在安装过程结束时,将显示 Finish (完成)窗口。 17 在所有远程节点上按顺序运行 <
创建用于策略管理的数据库配置的服务器池 注:请在创建数据库之前执行本节中的步骤。 群集中的节点可组织为服务器池,以便更好地进行资源管理。每个服务器池 都有以下属性: • 服务器池中必须提供的最小节点数。 • 服务器池中可提供的最大节点数。 • 服务器池与其它服务器池比较的相对优先级。 要创建服务器池,请执行以下步骤: 1 以 Administrator (管理员)身份登录。 2 从网格主目录运行 srvctl 命令以查看默认配置。例如: < 网格主目录 >\bin srvctl config srvpool 3 通过运行以下命令添加服务器池: < 网格主目录 >\bin srvctl add srvpool -g fournodes -l 2 -u 4 -i 2 -n "node1, node2, node3, node4" 其中 -g 为服务器池名称, -l 为最小节点数, -u 为最大节点数, -i 为指定 给服务器池的重要性, -n 是作为服务器池组成部分的节点名称。在本例 中,服务器池名称为 fournodes,最大节点数为四,最小节点数为二,服 务器池的相对优先级为二,而池中节点的名称为
创建 ASM 磁盘组 本节包含的步骤可创建用于数据库文件和快擦写恢复区域 (FRA) 的 ASM 磁 盘组。 创建 ASM 磁盘组: 1 启动 asmca 公用程序: < 网格主目录 >\bin\asmca 2 在 ASM configuration Assistant (ASM 配置助手)窗口中,选择 Disk Groups (磁盘组)选项卡。 3 单击 Create (创建)。 4 输入 databaseDG 作为 Disk Group Name (磁盘组名称)。 5 将冗余级别配置为 External redundancy (外部冗余)。 6 单击 Stamp Disks (标记磁盘)。 将显示 asmtool Operation Wizard (asmtool 操作向导)。 7 选择 Add or Change Label (添加或更改标签),然后单击 Next (下一步)。 8 在 Select Disks (选择磁盘)窗口中,选择用于 asm 标记所需的候选 设备,然后分配名称 DATA。 9 单击 Next (下一步)。 10 在 Stamp Disks (标记磁盘)窗口中单击 Next (下一
创建基础数据库 使用 Oracle ASM 创建基础数据库: 1 作为 Administrator (管理员)登录并运行: <网格主目录>\bin\runcluvfy stage -pre dbcfg -fixup -n Node1 , Node2 -d verbose 其中, node1 和 node2 是公用主机名, %ORACLE 主目录 % 是 Oracle 数据库主目录。 如果系统配置不正确并且群集验证公用程序失败,请参阅 《Oracle Database on Microsoft Windows Server x64 Troubleshooting Guide》 (Microsoft Windows Server x64 上的 Oracle 数据库 - 故障排除指南) 以了解详情。 如果系统配置正确,屏幕将显示以下信息: Pre-check for Database installation successful.
c 单击 Next (下一步)。 • Policy-Managed (策略管理): a 输入 racdb 作为 Global Database Name (全局数据库名称)。 b 选择您为此数据库创建的现有服务器池。例如, fournodes。 c 单击 Next (下一步)。 7 在 Management Option (管理选项)窗口中,选择默认值,然后单击 Next (下一步)。 8 在 Database Credential (数据库证书)窗口中: a 选择 Use the same Administrative password for all the Accounts (对所有帐户使用相同的管理密码)选项。 b 完成密码输入,然后单击 Next (下一步)。 9 在 Database File Location (数据库文件位置)窗口中,选择以下 选项: • Storage Type (存储类型)— 自动存储管理 (ASM)。 • Storage Location (存储位置)— 使用 Oracle 管理的文件。 • Database Area (数据库区域)
13 在 Initialization Parameters (初始化参数)窗口中: a 选择 Custom (自定义)。 b 在 Memory Management (内存管理)区域中,选择 Automatic shared memory management (自动共享内存管理)。 c 在 SGA size (SGA 大小)和 PGA size (PGA 大小)窗口中,指定 相应的值。 d 单击 Next (下一步)。 14 在 Database Storage (数据库存储)窗口中,单击 Next (下一步)。 15 在 Creation Option (创建选项)窗口中,单击 Finish (完成)。 16 在 Summary (摘要)窗口中,单击 OK (确定)以创建数据库。 注:数据库的创建可能需要一个小时或更长时间。 17 创建数据库后,将显示 Database Configuration Assistant (数据库配置 助手)窗口。 18 如果需要,单击 Password Management (密码管理)将特定密码分配 给授权的用户。否则,单击 Exit (退出)。 屏幕上
安装 Oracle 11g R2 Database RAC
安装 Oracle 11g R2 Database (独立服务器) 本节介绍有关如何按照《Oracle Database on Microsoft Windows Server x64 Operating System and Hardware Installation Guide》(Microsoft Windows Server x64 上的 Oracle 数据库 - 操作系统和硬件安装指南)中的说明完成初 始设置或重新安装过程的信息。 配置公用网络 • 请确保您的公用网络运行正常,且已为您的系统分配了 IP 地址和主 机名。例如: 配置 %SystemRoot%\system32\drivers\etc\hosts。 • 请确保您为系统设置了有效的主机名。 使用 ASM 安装 Oracle 11g R2 Database 安装 Oracle 11g R2 Grid Infrastructure 要在支持使用独立数据库安装的 ASM 磁盘组的独立服务器中安装 Oracle 11g R2 Grid Infrastructure,请执行以下步骤: 1 作为 \Administrato
5 选择下载的增补软件所在的位置,然后单击 Next (下一步)。 注:请确保已列出下载的增补软件,再继续执行步骤 6。 6 在 Apply Software Updates (应用软件更新)窗口中,选择 Apply all updates (应用所有更新),然后单击 Next (下一步)。 7 在 Installation Option (安装选项)窗口中,选择 Install and Configure Grid Infrastructure for a Standalone Server (为独立服务器 安装并配置 Grid Infrastructure)。 8 单击 Next (下一步)。 9 在 Product Languages (产品语言)窗口中,选择默认语言并单击 Next (下一步)。 10 在 Create ASM disk Group (创建 ASM 磁盘组)窗口中,输入以下 信息,然后单击 Next (下一步): • Disk Group Name (磁盘组名称)— ASM SP 文件的磁盘组名称。 例如, SPDATA • Redundancy (冗余)— 外部 • Can
13 如果任何前提条件失败并必须修复,请执行以下步骤: a 单击 Fix & Check Again (再次修复并检查)。 b 在 Execute Fixup Scripts (执行修复脚本)窗口中,安装程序将生 成一个修复脚本。 作为 Administrator 用户登录并运行修复脚本以解决可修复的、 失败的前提条件检查,然后单击 OK(确定)。 c 在 Perform Prerequisite Checks (执行前提条件检查)窗口中, 确保已通过所有前提条件检查。 d 单击 Next (下一步)。 14 在 Summary (摘要)窗口中,单击 Finish (完成)。 15 Setup (设置)窗口显示网格安装进度。 16 此时将显示 Installation of Oracle Grid Infrastructure for a Standalone Server was Successful (独立服务器的 Oracle Grid Infrastructure 安装 成功)。 17 单击 Close (关闭)。 此时将在您的系统中安装用于独立服务器的 Oracle Grid Inf
7 在 Grid Installation Option (网格安装选项)窗口中,将数据库安装 类型选择为 Single Instance Database Installation (单一实例数据库 安装),然后单击 Next (下一步)。 8 在 Product Languages (产品语言)窗口中,将 Language Option (语言选项)选择为 English (英语),然后单击 Next (下一步)。 9 在 Select Database Edition (选择数据库版本)窗口中,单击 Enterprise Edition (企业版),然后单击 Next (下一步)。 10 在 Installation Location (安装位置)窗口中,输入以下信息,然后单 击 Next (下一步): • Oracle Base—%System drive%:\app\Administrator • Software Location (软件位置)—%System drive%:\app\Administrator\product\11.2.
使用 Oracle ASM 创建基础数据库 如果您使用 Oracle ASM 配置了存储设备,请执行以下步骤,使用 DBCA 创 建基础数据库: 1 通过键入以下命令运行 DBCA 公用程序: %ORACLE_HOME%\BIN\dbca 2 在 Welcome (欢迎)窗口中,单击 Next (下一步)。 3 在 Operations (操作)窗口中,单击 Create a Database (创建数 据库),然后单击 Next (下一步)。 4 在 Database Templates (数据库模板)窗口中,单击 Custom Database (自定义数据库),然后单击 Next (下一步)。 5 在 Database Identification (数据库识别)窗口中,键入 Global Database Name (全局数据库名称)(如 oradb),然后单击 Next (下一步)。 6 在 Management Options (管理选项)窗口中,单击 Next (下一步)。 7 在 Database Credentials (数据库证书)窗口中,单击 Use the Same Password
10 在 Recovery Configuration (恢复配置)窗口中,选择以下选项,然后 单击 Next (下一步): a 选择 Specify Flash Recovery Area (指定快擦写恢复区域)。 b Flash Recovery Area (快擦写恢复区域)— 单击 Browse (浏览) 并选择您创建的回闪组 (例如, flashbackDG)。 c Flash Recovery Area Size (快擦写恢复区域大小)— 将该值更改为 所需大小。 d 选择 Enable Archiving (启用存档)。 11 在 Database Content (数据库内容)窗口中,单击 Next (下一步)。 12 在 Initialization Parameters (初始化参数)窗口中,选择 Typical (典型),然后单击 Next (下一步)。 13 在 Database Storage (数据库存储)窗口中,单击 Next (下一步)。 14 在 Creation Options (创建选项)窗口中,选择 Create Database (创建数据库),然后单击
Systèmes Dell PowerEdge Oracle Database sous Microsoft Windows Server x64 Guide d'installation et de configuration de la base de données version 1.
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 sont sujettes à modification sans préavis. © 2011 Dell Inc. tous droits réservés.
Table des matières 1 Présentation . Documentation nécessaire au déploiement de la base de données Dell|Oracle 11g R2 . . Obtention d'aide 59 . . . . . . Terminologie utilisée dans le présent document . . . . 60 . . . . . . . . . . . . . . . . . . . . . 60 Support Dell . 60 . . . . . . . . . . . . . . . . . . . . Support Oracle 2 59 . . . . . . . . . . . . . . . . . . . . . 60 . . . . . . . . . . . . . . . . . . . Installation d'Oracle Database 11g R2 RAC . . . . . . . . . . . . . . . . .
3 Installation d'Oracle Database 11g R2 (Serveur autonome) . . . . . . . . . . . . . . Configuration du réseau public . . 79 . . . . . . . . . . . . . 79 Installation d'Oracle Database 11g R2 à l'aide d'ASM . . . . . . . . . . . . . . . . . . . . . . . . 79 . . . . . . . 82 Installation d'Oracle 11g R2 Grid Infrastructure Installation d'Oracle Database 11g R2 Configuration du groupe de disques ASM . . . . . Création de la base de données initiale à l'aide d'Oracle ASM . . . . . . . . . . . . .
Présentation Ce document s'applique à Oracle Database 11g R2 exécuté sous Microsoft Windows Server 2008 R2 SP1.
Terminologie utilisée dans le présent document Ce document utilise les termes volume et disque virtuel, qui sont synonymes et interchangeables. Le terme volume s'utilise généralement dans un environnement de stockage Dell EqualLogic iSCSI, tandis que le terme disque virtuel est plutôt réservé aux environnements de stockage Dell PowerVault SAS et iSCSI (Dell PowerVault MD3000/MD32xx et Dell PowerVault MD3000i/MD32xxi/MD36xxi avec châssis d'extension Dell PowerVault MD1000/MD12xx).
Installation d'Oracle Database 11g R2 RAC Cette section décrit la procédure d'installation d'Oracle 11g R2 Real Application Clusters (RAC). Dell conseille de créer une base de données initiale pour vérifier le fonctionnement du cluster avant de le déployer dans un environnement de production.
Installation d'Oracle 11g R2 Grid Infrastructure pour un cluster Pour installer Oracle 11g R2 Grid Infrastructure pour un cluster : 1 Connectez-vous en tant qu'Administrateur . 2 Exécutez le script de vérification du cluster du support Oracle Grid Infrastructure à l'aide de la commande suivante : \runcluvfy.bat stage -pre crsinst -n node1,node2 -r 11gR2 -verbose où node1 et node2 sont les noms d'hôte public.
6 Dans la fenêtre Apply Software Updates (Appliquer les mises à jour logicielles), sélectionnez Apply all updates (Appliquer toutes les mises à jour). 7 Cliquez sur Next (Suivant). 8 Dans la fenêtre Select Installation Option (Sélection de l'option d'installation), sélectionnez Install and Configure Grid Infrastructure for a Cluster (Installer et configurer Grid Infrastructure pour un cluster). 9 Cliquez sur Next (Suivant).
a b Fournissez les informations suivantes dans la fenêtre Grid Plug and Play Information (Informations Plug and Play de la grille) : • Cluster Name (Nom du cluster) : entrez un nom pour votre cluster. Par exemple, testcluster. • SCAN Name (Nom SCAN) : entrez le nom enregistré dans le serveur DNS, il s'agit d'un nom unique pour la totalité du cluster. Par exemple, scancluster.
b • Configure GNS (Configurer le service GNS) : activez cette option. • GNS sub-domain (Sous-domaine GNS) : entrez le nom du sousdomaine GNS configuré. Par exemple, clusterdomain.subdomain.com. Consultez les configurations de serveur DNS pour la délégation de sous-domaine dans le document Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide (Oracle Database sous Microsoft Windows Server x64 - Guide de stockage et de mise en réseau).
15 Dans la fenêtre Specify Network Interface Usage (Définir l'utilisation des interfaces réseau), vérifiez que les types d'interface appropriés sont sélectionnés pour les noms d'interface. Pour modifier un type d'interface : a Dans la liste déroulante Interface Type (Type d'interface), sélectionnez le type d'interface requis. Les options disponibles sont Private (Privé), Public et Do not use (Ne pas utiliser). b Cliquez sur Next (Suivant).
g Cliquez sur Next (Suivant) dans la fenêtre Stamp Disks (Marquage des disques). h Cliquez sur Finish (Terminer) dans la fenêtre Message ASM. i Sélectionnez les disques candidats marqués que vous souhaitez utiliser pour OCR et Voting Disk (Disque de vote), en fonction du niveau de redondance sélectionné à l'étape b. Par exemple, sélectionnez \\ORCLDISKOCRVOTDSK10, \\ORCLDISKOCRVOTDSK20, \\ORCLDISKOCRVOTDSK30 pour OCR et Voting Disk (Disque de vote). j Cliquez sur Next (Suivant).
21 Dans la fenêtre Specify Installation Location (Spécifier l'emplacement de l'installation), entrez les informations suivantes. • Dans le champ Oracle Base (Base Oracle), entrez : %LecteurSystème%\app\Administrator • Dans le champ Software Location (Emplacement du logiciel), entrez : %LecteurSystème%\app\11.2.0\grid où %LecteurSystème% est le lecteur local de l'utilisateur.
25 Cliquez sur Close (Fermer). 26 Sur tous les nœuds, effectuez les opérations suivantes : a Vérifiez l'installation d'Oracle Grid Infrastructure en entrant la commande suivante : olsnodes -n -v Cette commande répertorie les noms d'hôte de tous les nœuds du cluster. b Entrez la commande suivante pour vérifier l'état de tous les services de la grille : %LecteurSystème%\app\11.2.0\grid\crsctl stat res -t Vérifiez que les services de la grille Oracle qui sont en cours d'exécution s'affichent.
Installation du logiciel Oracle Database 11g R2 RAC 1 Vérifiez les conditions requises en entrant la commande de vérification de cluster suivante : \runcluvfy stage -pre dbinst -fixup -n Node1, Node2 -r 11gR2 -verbose où node1 et node2 correspondent aux noms d'hôte des adresses IP publiques, n représente la liste des nœuds et r représente l'édition de la base de données. runcluvfy est un utilitaire de vérification de cluster disponible dans le répertoire racine de Grid Infrastructure.
6 Dans la fenêtre Select Installation Option (Sélection d'une option d'installation), sélectionnez Install database Software only (Installer uniquement le logiciel de base de données), puis cliquez sur Next (Suivant). 7 Dans la fenêtre Node Selection (Sélection du nœud), sélectionnez Real Application Clusters Database Installation (Installation de Real Application Clusters Database) et sélectionnez tous les noms de nœuds.
c Ouvrez une session en tant qu'utilisateur administrateur, exécutez le script de correction sur tous les nœuds, puis cliquez sur OK. d Cliquez sur Next (Suivant). Dans la fenêtre Perform Prerequisite Checks (Effectuer des vérifications préalables), vérifiez que toutes les vérifications préalables sont terminées.
Pour créer un pool de serveurs : 1 Connectez-vous en tant qu'administrateur. 2 Exécutez la commande srvctl à partir du répertoire racine de la grille pour visualiser la configuration par défaut.
L'assistant asmtool Operation s'affiche. 7 Sélectionnez Add or Change Label (Ajouter ou modifier un label) et cliquez sur Next (Suivant). 8 Dans la fenêtre Select Disks (Sélectionner les disques), sélectionnez le périphérique candidat souhaité pour le marquage asm et attribuez-lui le nom DATA. 9 Cliquez sur Next (Suivant). 10 Cliquez sur Next (Suivant) dans la fenêtre Stamp Disks (Marquage des disques). 11 Cliquez sur Finish (Terminer) dans la fenêtre Message ASM. 12 Sélectionnez les disques membres.
Création de la base de données initiale Pour créer la base de données initiale à l'aide d'Oracle ASM : 1 Connectez-vous en tant qu'Administrateur et exécutez : \bin\runcluvfy stage -pre dbcfg -fixup -n Node1 , Node2 -d verbose où node1 et node2 sont les noms d'hôte public et %ORACLE_HOME% le répertoire racine de la base de données Oracle.
6 Dans la fenêtre Database Identification (Identification de la base de données), vous pouvez sélectionner Configuration Type (Type de configuration) parmi les deux options suivantes : • Admin-Managed (Géré par un administrateur) : a Entrez le Global Database Name (Nom global de la base de données) et le SID Prefix (Préfixe SID) racdb. b Dans la fenêtre Node Selection (Sélection de nœuds), cliquez sur All nodes (Tous les nœuds). c • Cliquez sur Next (Suivant).
10 Dans la fenêtre ASM Credentials (Autorisations ASM), entrez le mot de passe sous Specify ASMSNMP Password (Indiquer le mot de passe ASMSNMP) correspondant à ASM puis cliquez sur OK. 11 Dans la fenêtre Recovery Configuration (Configuration de la récupération) : a Sélectionnez la zone Specify Flash Recovery Area (Définir la zone de récupération flash). b Naviguez vers et sélectionnez le groupe de disques ASM que vous avez créé pour la zone de récupération flash (flashbackDG).
16 Dans la fenêtre Summary (Résumé), cliquez sur OK pour créer une base de données. REMARQUE : la création de la base de données peut prendre une heure ou plus. 17 Une fois la base de données créée, la fenêtre Database Configuration Assistant (Assistant de configuration de base de données) s'affiche. 18 Le cas échéant, cliquez sur Password Management (Gestion des mots de passe) pour attribuer des mots de passe aux utilisateurs autorisés. Sinon, cliquez sur Exit (Quitter).
Installation d'Oracle Database 11g R2 (Serveur autonome) Cette section contient des informations sur la configuration initiale et les procédures de réinstallation décrites dans le document Oracle Database on Microsoft Windows Server x64 Operating System and Hardware Installation Guide (Oracle Database sous Microsoft Windows Server x64 - Guide d'installation du système d'exploitation et du matériel).
4 Dans la fenêtre Download Software Updates (Télécharger les mises à jour logicielles), sélectionnez Use pre-downloaded software updates (Utiliser les mises à jour logicielles pré-téléchargées) et cliquez sur Browse (Parcourir). 5 Sélectionnez le dossier hébergeant le patch téléchargé et cliquez sur Next (Suivant). REMARQUE : avant de passer à l'étape 6, vérifiez que le patch téléchargé figure bien dans le dossier.
12 Dans la fenêtre Installation Location (Emplacement de l'installation), entrez les informations d'emplacement suivantes, puis cliquez sur Next (Suivant) : • Dans le champ Oracle Base (Base Oracle), entrez : %LecteurSystème%:\app\Administrator • Dans le champ Software Location (Emplacement du logiciel), entrez : %LecteurSystème%:\app\Administrator\product\ 11.2.0\grid La fenêtre Perform Prerequisite Checks (Effectuer des vérifications préalables) s'affiche.
Installation d'Oracle Database 11g R2 REMARQUE : dans cette section, il est supposé que la base Oracle est \app\Administrator. Si ce n'est pas le cas, assurez-vous de modifier la base logicielle et les valeurs d'emplacement en conséquence. 1 Localisez le support Oracle Database 11g R2.
11 La fenêtre Perform Prerequisites Checks (Effectuer des vérifications préalables) indique les vérifications préalables minimales requises ayant échoué. Pour exécuter les Fixup Scripts (Scripts de correction) : a Connectez-vous en tant qu'Administrateur. b Exécutez le script de correction. c Cliquez sur OK. 12 Dans la fenêtre Summary (Résumé), cliquez sur Finish (Terminer). L'installation du fichier binaire Oracle Database commence. REMARQUE : l'installation peut prendre plusieurs minutes.
6 Dans la fenêtre Management Options (Options de gestion), cliquez sur Next (Suivant). 7 Dans la fenêtre Database Credentials (Autorisations de la base de données), cliquez sur Use Same Password for All Accounts (Utiliser le même mot de passe pour tous les comptes), entrez et validez le mot de passe, puis cliquez sur Next (Suivant).
14 Dans la fenêtre Creation Options (Options de création), cliquez sur Create Database (Créer la base de données), puis sur Finish (Terminer). 15 Dans la fenêtre de confirmation, cliquez sur OK pour créer la base de données. REMARQUE : La création de la base de données initiale peut durer plus d'une heure. Une fois la base de données créée, la fenêtre Database Configuration Assistant (Assistant de configuration de base de données) s'affiche.
Installation d'Oracle Database 11g R2 (sur un seul nœud)
Dell PowerEdge-Systeme Oracle Database unter Microsoft Windows Server x64 Datenbankeinrichtungsund -installationsanleitung Version 1.
Anmerkungen und Vorsichtshinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie den Computer besser einsetzen können. VORSICHTSHINWEIS: Ein VORSICHTSHINWEIS informiert über potenzielle Gefahrenquellen, die Hardwareschäden oder Datenverlust zur Folge haben können, wenn die Anweisungen nicht befolgt werden. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2011 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . . Erforderliche Dokumentation zum Bereitstellen von Dell|Oracle 11g R2 Database. . . . . . . . . . . . . 91 In diesem Dokument verwendete Terminologie . . . . . 92 . . . . . . . . . . . . . . . . 92 . . . . . . . . . . . . . . . . . . . . 92 Wie Sie Hilfe bekommen . Dell-Support . Oracle-Support 2 91 Installation von Oracle 11g R2 Database RAC . . . . . . . . . . . . Bevor Sie beginnen . 92 . . . . . . . . . . . . . . . . .
3 Installation von Oracle 11g R2 Database (eigenständiger Server) Konfiguration des öffentlichen Netzwerks . . . . 111 . . . . . . 111 Installation von Oracle 11g R2 Database mit ASM Installation der Oracle 11g R2 Grid-Infrastruktur . . . . . . . . . 111 . . . . . . . . . . 111 Installation von Oracle Database 11g R2 . . . . . Konfigurieren der ASM-Datenträgergruppe . . . Erstellen der Startdatenbank mit Oracle ASM 90 Inhalt . .
Übersicht Dieses Dokument bezieht sich auf Oracle Database 11g R2 unter Microsoft Windows Server 2008 R2 SP1.
In diesem Dokument verwendete Terminologie In diesem Dokument werden die Begriffe Volume und virtueller Datenträger benutzt. Diese Begriffe sind synonym und untereinander ersetzbar.
Installation von Oracle 11g R2 Database RAC Dieser Abschnitt beschreibt die Vorgehensweise zur Installation von Oracle 11g R2 Real Application Clusters (RAC). Es wird empfohlen, eine Startdatenbank einzurichten, um zu überprüfen, ob der Cluster korrekt funktioniert, bevor Sie ihn in einer Produktionsumgebung einsetzen.
Installieren der Oracle 11g R2 Grid-Infrastruktur für einen Cluster So installieren Sie die Oracle 11g R2 Grid-Infrastruktur für einen Cluster: 1 Melden Sie sich als \Administrator an. 2 Führen Sie das Skript cluster verify auf dem Oracle Grid Infrastructure-Medium aus, indem Sie folgenden Befehl eingeben: /runcluvfy.bat stage -pre crsinst -n Knoten1,Knoten2 -r 11gR2 -verbose Dabei sind Knoten1 und Knoten2 die öffentlichen Hostnamen.
6 Wählen Sie im Fenster Apply Software Updates (Softwareaktualisierungen anwenden) die Option Apply all updates (Alle Aktualisierungen anwenden). 7 Klicken Sie auf Next (Weiter). 8 Wählen Sie im Fenster Select Installation Option (Installationsoption auswählen) die Option Install and Configure Grid Infrastructure for a Cluster (Grid-Infrastruktur für einen Cluster installieren und konfigurieren). 9 Klicken Sie auf Next (Weiter).
b • SCAN Port (SCAN-Port) – Behalten Sie die StandardPortnummer 1521 bei. • Configure GNS (GNS konfigurieren) – Deaktivieren Sie diese Option. Klicken Sie auf Next (Weiter). Wenn GNS verwendet wird: ANMERKUNG: Konfigurieren Sie die Zuordnung von virtuellen Adressen und Subdomains von GNS wie im Oracle Database unter Microsoft Windows Server x64 Speicher- und Netzwerkhandbuch beschrieben.
14 Fügen Sie im Fenster Cluster Node Information (ClusterknotenInformationen) die Knoten hinzu, die von der Oracle Grid-Infrastruktur verwaltet werden müssen: a Klicken Sie auf Add (Hinzufügen). b Fügen Sie die Informationen für Public Host Name (Öffentlicher Hostname) entsprechend dem Eintrag in der Datei %SystemRoot%\system32\drivers\etc\hosts hinzu.
17 Führen Sie im Fenster Create ASM Disk Group (ASM-Datenträgergruppe erstellen) die folgenden Schritte durch: a Geben Sie einen Namen für die ASM-Datenträgergruppe ein. Beispiel: OCRVOTDSK. b Wählen Sie die Redundanz entsprechend der Anzahl der verfügbaren ASM-Datenträger. Beispiel: c • Wählen Sie High redundancy (Hohe Redundanz), wenn fünf ASM-Datenträger verfügbar sind. • Wählen Sie Normal redundancy (Normale Redundanz), wenn drei ASM-Datenträger verfügbar sind.
j Klicken Sie auf Next (Weiter). ANMERKUNG: Wenn Sie den ASM-Bibliothekstreiber verwenden und die möglichen Datenträger nicht angezeigt werden, klicken Sie auf Change Disk Discover String (Datenträgererkennungs-Zeichenkette ändern) und geben Sie ORCL:* ein. 18 Klicken Sie im Fenster Specify ASM Password (ASM-Kennwort festlegen) auf Use the same passwords for these accounts (Gleiche Kennwörter für diese Konten verwenden) und nehmen Sie die entsprechenden Einträge vor. 19 Klicken Sie auf Next (Weiter).
22 Klicken Sie auf Next (Weiter). a Stellen Sie im Fenster Perform Prerequisite Checks (Vorüberprüfungen durchführen) sicher, dass alle Überprüfungen abgeschlossen sind. b Klicken Sie auf Next (Weiter). Mit dem Klick auf Next überprüft der Installer, ob die Zielumgebung die Mindestanforderungen für Installation und Konfiguration erfüllt. Wenn alle Voraussetzungen erfüllt sind, springt der Installer zu Schritt 23. Andernfalls befolgen Sie die nachstehenden Anweisungen.
c Geben Sie den folgenden Befehl ein, um die Liste der SCAN-IPs anzuzeigen, die vom DHCP-Server geleast wurden: srvctl config scan d Geben Sie den folgenden Befehl ein, um die vom DHCP-Server geleaste Knoten-VIP anzuzeigen: srvctl config vip -n Installation der Oracle 11g R2 RAC DatabaseSoftware 1 Überprüfen Sie die Mindestvoraussetzungen, indem Sie den folgenden Clusterprüfbefehl eingeben: \runcluvfy stage -pre dbinst -fixup -n Knoten1, Knoten2 -r 11gR2 verbose Dat
3 Geben Sie im Fenster Configure Security Updates (Sicherheits-Updates konfigurieren) die E-Mail-Adresse und das Oracle-Support-Kennwort ein. Dieser Schritt ist optional. Wenn Sie diesen Schritt überspringen möchten, deaktivieren Sie das Kontrollkästchen und klicken Sie auf Next (Weiter). Wenn Sie die E-Mail-Adresse nicht eingeben, wird das Fenster Email Address Not Specified (E-Mail-Adresse nicht angegeben) angezeigt. 4 Klicken Sie auf Yes (Ja), um fortzufahren.
12 Im Fenster Perform Prerequisites checks (Vorüberprüfungen durchführen) werden in einer Tabelle etwaige Probleme mit Mindestvoraussetzungen angezeigt, die zunächst behoben werden müssen. 13 Bei einem Klick auf Next (Weiter) überprüft der Installer, ob die Zielumgebung die Mindestanforderungen für Installation und Konfiguration erfüllt. Wenn alle Voraussetzungen erfüllt sind, springt der Installer zu to Schritt 14. Andernfalls befolgen Sie die nachstehenden Anweisungen.
Erstellen von Serverpools zur richtlinienverwalteten Datenbankkonfiguration ANMERKUNG: Führen Sie den in diesem Abschnitt beschriebenen Vorgang durch, bevor Sie die Datenbank erstellen. Die Knoten in einem Cluster lassen sich zu einem Serverpool organisieren, um die Ressourcenverwaltung zu verbessern.
Erstellen der ASM-Datenträgergruppe Dieser Abschnitt enthält Anweisungen zum Erstellen der ASM-Datenträgergruppe für die Datenbankdateien und den Flash-Wiederherstellungsbereich (Flash Recovery Area – FRA). So erstellen Sie die ASM-Datenträgergruppen: 1 Starten Sie das Dienstprogramm asmca: /bin/asmca 2 Wählen Sie im Fenster ASM configuration Assistant (ASMKonfigurationsassistent) die Registerkarte Disk Groups (Datenträgergruppen). 3 Klicken Sie auf Create (Erstellen).
15 Wiederholen Sie Schritt 3 bis Schritt 14, um eine weitere Datenträgergruppe mit dem Namen flashbackDG für den FlashWiederherstellungsbereich zu erstellen. 16 Klicken Sie auf Exit (Beenden), um den ASM Configuration Assistant (ASM-Konfigurationsassistent) zu beenden.
6 Im Fenster Database Identification (Datenbankidentifikation) können Sie unter Configuration Type (Konfigurationstyp) eine der folgenden zwei Optionen wählen: • Admin-Managed (Administratorverwaltung): a Geben Sie racdb als Global Database Name (globaler Datenbankname) und als SID Prefix (SID-Präfix) ein. b Wählen Sie im Fenster Node Selection (Knotenauswahl) die Option All nodes (Alle Knoten). c • Klicken Sie auf Next (Weiter).
10 Geben Sie im Fenster ASM Credentials (ASM-Zugriffsinformationen) unter Specify ASMSNMP Password (ASMSNMP-Kennwort angeben) das ASM-spezifische Kennwort ein und klicken Sie danach auf OK. 11 Führen Sie im Fenster Recovery Configuration (Wiederherstellungsoptionen) folgende Schritte durch: a Klicken Sie auf Specify Flash Recovery Area (FlashWiederherstellungsbereich festlegen). b Wählen Sie die ASM-Datenträgergruppe aus, die Sie für den FlashWiederherstellungsbereich erstellt haben (flashbackDG).
16 Klicken Sie im Fenster Summary (Übersicht) auf OK, um die Datenbank zu erstellen. ANMERKUNG: Die Datenbankerstellung kann eine Stunde oder länger dauern. 17 Nachdem die Datenbank erstellt wurde, wird das Fenster Database Configuration Assistant (Datenbankkonfigurationsassistent) angezeigt. 18 Klicken Sie gegebenenfalls auf Password Management (Kennwortverwaltung), um zugelassenen Benutzern spezifische Kennwörter zuzuweisen. Klicken Sie andernfalls auf Exit (Beenden).
Installation von Oracle 11g R2 Database RAC
Installation von Oracle 11g R2 Database (eigenständiger Server) Dieser Abschnitt enthält Informationen über das Durchführen der Ersteinrichtung bzw. der Neuinstallation wie in der Oracle Database unter Microsoft Windows Server x64 Installationsanleitung für Betriebssystem und Hardware beschrieben. Konfiguration des öffentlichen Netzwerks • Stellen Sie sicher, dass das öffentliche Netzwerk funktioniert und dem System eine IP-Adresse und ein Hostname zugewiesen sind.
4 Wählen Sie im Fenster Download Software Updates (Softwareaktualisierungen herunterladen) die Option Use pre-downloaded software updates (Vorher heruntergeladene Softwareaktualisierungen verwenden) und klicken Sie auf Browse (Durchsuchen). 5 Wählen Sie den Speicherort des heruntergeladenen Patches aus und klicken Sie auf Next (Weiter). ANMERKUNG: Bevor Sie mit Schritt 6 fortfahren, vergewissern Sie sich, dass der heruntergeladene Patch aufgeführt ist.
12 Geben Sie im Fenster Installation Location (Installationsort) die folgenden Informationen ein und klicken Sie auf Next (Weiter): • Geben Sie im Feld Oracle Base (Oracle-Stammpfad) Folgendes ein: %SystemDrive%:\app\Administrator • Geben Sie im Feld Software Location (Software-Speicherort) Folgendes ein: %SystemDrive%:\app\Administrator\product\ 11.2.0\grid Das Fenster Perform Prerequisite Checks (Vorüberprüfungen durchführen) wird angezeigt.
Installation von Oracle Database 11g R2 ANMERKUNG: In diesem Abschnitt wird davon ausgegangen, dass der OracleStammpfad \app\Administrator lautet. Andernfalls müssen Sie die Angaben für die Speicherorte entsprechend ändern. 1 Lokalisieren Sie das Oracle Database 11g R2-Medium.
10 Geben Sie im Fenster Installation Location (Installationsort) die folgenden Informationen ein und klicken Sie auf Next (Weiter): • Oracle Base (Oracle-Stammpfad) – %SystemDrive%:\app\Administrator • Software Location (Software-Speicherort) – %SystemDrive%:\app\Administrator\product\ 11.2.0\dbhome_1 11 Im Fenster Perform Prerequisites checks (Vorüberprüfungen durchführen) werden etwaige Probleme mit Mindestvoraussetzungen angezeigt.
3 Klicken Sie im Fenster Operations (Aktionen) auf Create a Database (Datenbank erstellen) und danach auf Next (Weiter). 4 Klicken Sie im Fenster Database Templates (Datenbankvorlagen) auf Custom Database (Benutzerdefinierte Datenbank) und anschließend auf Next (Weiter). 5 Geben Sie im Fenster Database Identification (Datenbankidentifikation) einen Global Database Name (Globalen Datenbanknamen) wie oradb ein und klicken Sie auf Next (Weiter).
c Flash Recovery Area Size (Größe des FlashWiederherstellungsbereichs) – Ändern Sie den Wert auf die erforderliche Größe. d Wählen Sie Enable Archiving (Archivierung aktivieren). 11 Klicken Sie im Fenster Database Content (Datenbankinhalt) auf Next (Weiter). 12 Wählen Sie im Fenster Initialization Parameters (Initialisierungsparameter) die Option Typical (Typisch) und klicken Sie auf Next (Weiter). 13 Klicken Sie im Fenster Database Storage (Datenbankspeicher) auf Next (Weiter).
Installation von Oracle 11g R2 Database (Einzelknoten)
Dell PowerEdge システム Microsoft Windows Server x64 で使用する Oracle データベース データベースセット アップ & インストールガイド バージョン 1.
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明してい ます。 注意:手順に従わないと、ハードウェアの損傷やデータの損失につながる 可能性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2011 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられてい ます。 本書に使用されている商標:Dell™、DELL ロゴ、PowerEdge™、および PowerVault™ は Dell Inc.
目次 1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dell|Oracle 11g R2 Database の導入に必 要なマニュアル . . . . . . . . . . . . . . . . . . . . 123 . . . . . . . . . . . . . 124 . . . . . . . . . . . . . . . . . . . . . 124 本書で使用されている用語 . 困ったときは . デルサポート . . . . . . . . . . . . . . . . . . . Oracle のサポート . 2 123 . . . . . . . . . . . . . . . . Oracle 11g R2 Database RAC のインストール . . . . . . . . . . 作業を開始する前に . 124 . . . . . . . . 124 125 . . . . . . . . . . . . . . . . .
3 Oracle 11g R2 Database のインスト ール(スタンドアロンサーバー). . パブリックネットワークの設定 . . 143 . . . . . . . . . . 143 ASM を使用した Oracle 11g R2 Database のインストール . . . . . . . . . . . . . . Oracle 11g R2 Grid Infrastructure のインストール . . . . . . . . . . . . . . . 144 . . . . . . . . 144 Oracle Database 11g R2 のインストール . ASM ディスクグループの設定 . . . 146 . . . . . . . . 148 Oracle ASM を使用したシードデ ータベースの作成. . . . . . . . . 122 目次 . . . . . . .
概要 本書の説明は、Microsoft Windows Server 2008 R2 SP1 上で実行する Oracle Database 11g R2 に適用されます。 Dell | Oracle 11g R2 Database の導入に必要な マニュアル Dell|Oracle 11g R2 Database のインストールには、データベースのイ ンストールガイドに加えて、次のマニュアルが必要です。 • 『Dell PowerEdge システム — Microsoft Windows Server x64 で使 用する Oracle データベース — OS のインストールとハードウェアの 取り付けガイド』— 最低限必要なソフトウェアとハードウェアの バージョン、OS のインストールと設定の方法、ハードウェアとソフ トウェアの構成を確認する方法、オープンソースファイルの入手方 法について説明しています。 • 『Dell PowerEdge システム — Microsoft Windows Server x64 で使 用する Oracle データベース — ストレージ & ネットワークガイド』 では、ネット
本書で使用されている用語 本書では、「ボリューム」および「仮想ディスク」という語が使われて います。これらの用語は同義語であり、どちらを使用しても構いま せん。「ボリューム」は Dell EqualLogic iSCSI ストレージシステムの環 境で、「仮想ディスク」は Dell PowerVault SAS および iSCSI (Dell PowerVault MD3000/MD32xx および Dell PowerVault MD3000i/MD32xxi/MD36xxi + Dell PowerVault MD1000/MD12xx 拡張)ストレージの環境で、通常使われる用語です。 困ったときは デルサポート • システムの使い方の詳細については、システムコンポーネントに付 属のマニュアルを参照してください。 • 各種のホワイトペーパー、デルがサポートする設定、一般情報につ いては、dell.com/oracle を参照してください。 • ハードウェアおよび OS ソフトウェアに対するデルのテクニカルサ ポート、およびアップデートのダウンロードについては、 support.dell.
Oracle 11g R2 Database RAC のイン ストール 本項では、Oracle 11g R2 Real Application Clusters(RAC)をインストー ルする手順を説明します。クラスタを実働環境に導入する前に、シード データベースを作成してそのクラスタが正しく動作するかどうか確認す ることをお勧めします。 インストール手順には次の 2 つが含まれています。 • クラスタ用の Oracle Grid Infrastructure のインストール • Oracle Database 11g R2 ソフトウェアのインストール 作業を開始する前に OS、ネットワーク、およびストレージのセットアップ Oracle RAC ソフトウェアをシステムにインストールする前に、以下の手 順を実行してください。 • 123 ページの「Dell | Oracle 11g R2 Database の導入に必要なマ ニュアル」に記されているマニュアルの手順に従って、OS、ネッ トワーク、およびストレージが設定済みであることを確認し ます。 • Oracle メディアキットを用意します。 O
すべてのノードのシステムクロックの設定 インストール中のエラーを避けるために、すべてのノードでシステムク ロックの設定を同一にしてください。ノードのシステムクロックを Oracle 11g R2 クラスタ時刻同期サービス(CTSS)と同期するには、次の 手順に従って Windows タイムサービスを無効にします。 1 スタート → プログラム → 管理ツール → サービス の順にクリックし ます。 2 すべてのクラスタノードで Windows タイムサービスを停止します。 クラスタ用の Oracle 11g R2 Grid Infrastructure のインストール クラスタ用の Oracle 11g R2 グリッドインフラストラクチャをインス トールするには、以下の手順に従います。 1 Administrator としてログインします。 2 次のコマンドを使用して、Oracle Grid Infrastructure メディア内 の cluster verify スクリプトを実行します。 \runcluvfy.
3 次のコマンドを入力して、Oracle Universal Installer を起動し ます。 \Setup.exe メモ:修正プログラム 10637621 を support.oracle.
13 Grid Plug and Play Information(グリッドのプラグアンドプ レイ情報)ウィンドウに情報を入力する前に、Grid Naming Service(グリッドネーミングサービス [GNS])を使用するかどう かを決めます。 GNS を使用しない場合は、次の手順を実行します。 メモ:ドメインネームサービス(DNS)上のクラスタに対するクラ イアントアクセス用のシングルクライアントアクセス名(SCAN)ア ドレスを設定します。 『Microsoft Windows Server x64 で使用する Oracle データベース — ストレージ & ネットワークガイド』に説明されてい るように、Oracle では SCAN を DNS サーバーの 3 つの IP アドレスに 登録することを推奨しています。 a b Grid Plug and Play Information(グリッドのプラグアンドプ レイ情報)ウィンドウに以下の情報を入力します。 • Cluster Name(クラスタ名)— お使いのクラスタの名前を 入力します。たとえば、testcluster と入力します。
a b Grid Plug and Play Information(グリッドのプラグアンドプ レイ情報)ウィンドウに以下のデータを入力します。 • Cluster Name(クラスタ名)— お使いのクラスタの名前を 入力します。たとえば、testcluster と入力します。 • SCAN Name(SCAN 名)— ドメイン名を GNS サブドメイ ンとして、一意の名前を入力します。たとえば、 scancluster.clusterdomain.example.com と入力し ます。 • SCAN Port(SCAN ポート)— デフォルトのポート番号 1521 を保持します。 • Configure GNS(GNS を設定する)— このオプションの チェックを入れます。 • GNS sub-domain(GNS サブドメイン)— 設定済みの GNS サブドメイン名を入力します。たとえば、 clusterdomain.subdomain.
c 次の指示に従い、Virtual IP Name(仮想 IP 名)を入力します。 GNS を使用せずにクラスタを設定する場合は、 %SystemRoot%\system32\drivers\etc\hosts ファイルのエ ントリに従って値を入力します。 GNS を使用してクラスタを設定する場合は、この値は AUTO (自動)に設定されます。 d 図 a から 図 c を繰り返して、クラスタにすべてのノードを追加 します。 e Next(次へ)をクリックします。 15 Specify Network Interface Usage(ネットワークインタフェー スの用途を指定する)ウィンドウで、インタフェース名に対して正 しいインタフェースタイプが選択されていることを確認します。 インタフェースタイプの変更は、次の手順で行います。 a Interface Type(インタフェースタイプ)ドロップダウンリス トから、必要なインタフェースタイプを選択します。使用可能 なオプションは、Private(プライベート)、Public(パブリ ック)、および Do not use(使用しない)です。 b
c Stamp Disks(ディスクにスタンプする)をクリックします。 asmtool Operation(asmtool の操作)ウィザードが表示され ます。 d Add or Change Label(ラベルの追加または変更)を選択し、 Next(次へ)をクリックします。 e Select Disks(ディスクの選択)ウィンドウで、asm スタンプ の対象とする候補デバイスを選択し、OCRVOTDSK という名前 を割り当てます。 f Next(次へ)をクリックします。 g Stamp Disks(ディスクにスタンプする)ウィンドウで Next (次へ)をクリックします。 h Message ASM(メッセージ ASM)ウィンドウで Finish (完了)をクリックします。 i 図 b で選択した冗長性のレベルに従って、OCR と Voting Disk (投票ディスク)に使用するスタンプ済み候補ディスクを選択し ます。 たとえば、OCR と Voting Disk(投票ディスク)に \\ORCLDISKOCRVOTDSK10、\\ORCLDISKOCRVOTDSK20、 \\O
20 Failure Isolation Support(エラーの分離のサポート)ウィンド ウで、Use Intelligent Platform Management Interface (IPMI)(インテリジェントプラットフォーム管理インタフェース [IPMI] を使用する)を選択します。 a ユーザー名を設定済みの IPMI ユーザー名として入力します。た とえば、root です。 b パスワードを設定済みとして入力します。 c Next(次へ)をクリックします。 メモ:IPMI の設定については、『Microsoft Windows Server x64 で使用 する Oracle データベース — ストレージ & ネットワークガイド』を参 照してください。 21 Specify Installation Location(インストール場所の指定)ウィン ドウに次の情報を入力します。 • Oracle Base フィールドに次のように入力します。 %SystemDrive%\app\Administrator • Software Location(ソフトウェアの場所)フィールド
c Fix & Check Again(修正して再度確認する)をクリックし ます。 インストーラは修正スクリプトを生成します。このスクリプト は、失敗した前提条件の確認の一部を解決するために、すべての ノードで Administrator ユーザーとして実行する必要があり ます。 d Administrator としてログインします。 e すべてのノードで修正スクリプトを実行し、OK をクリックし ます。 23 Summary(サマリ)ウィンドウで、Finish(完了)をクリックし ます。 24 ウィザードの手順を完了し、OK をクリックします。 Installation of Oracle Grid Infrastructure for a Cluster was Successful(クラスタ用の Oracle Grid Infrastructure のインストー ルが成功しました)ウィンドウが表示されます。 25 Close(閉じる)をクリックします。 26 すべてのノードで以下の手順を実行します。 a 次のコマンドを入力して Oracle Grid Infrastructure のインス
d 次のコマンドを入力して、DHCP サーバーからリースされたノー ド VIP を表示します。 srvctl config vip -n < ノード名 > Oracle 11g R2 RAC Database ソフトウェアのイ ンストール 1 次のクラスタ検証コマンドを入力して、前提条件を確認します。 \runcluvfy stage -pre dbinst fixup -n Node1, Node2 -r 11gR2 -verbose - node1 と node2 はパブリック IP アドレスのホスト名です。n は ノードのリストを、r はデータベースのリリースを表します。 runcluvfy は、Grid Infrastructure Home で入手可能なクラスタ検証 ユーティリティです。 お使いのシステムが正しく設定されておらず、クラスタ検証ユー ティリティが失敗する場合は、 『Microsoft Windows Server x64 で使 用する Oracle データベース — トラブルシューティングガイド』で トラブルシューティング情報をご覧ください。お使いの
5 Download Software Updates(ソフトウェアアップデートのダ ウンロード)ウィンドウで、Skip Software updates(ソフトウェ アのアップデートを省略する)を選択し、Next(次へ)をクリック します。 6 Select Installation Option(インストールオプションの選択) ウィンドウで Install Database Software only(データベースソ フトウェアのみインストール)を選択し、Next(次へ)をクリック します。 7 Node Selection(ノードの選択)ウィンドウで、Real Application Clusters Database Installation(Real Application Clusters データベースのインストール)を選択し、すべてのノード 名を選択します。 8 Select Product Languages(製品言語の選択)ウィンドウで、 Language Option(言語のオプション)に English(英語)を選 択し、Next(次へ)をクリックします。 9 Select Databa
13 Next(次へ)をクリックすると、Installer(インストーラ)は環境が インストールと構成の最低要件を満たしているかどうかを検証します。 すべての前提条件が満たされている場合、Installer(インストーラ) は 図 14 に進みます。満たされていない前提条件がある場合は、以下 の手順に従います。 a Fix & Check Again(修正して再度確認する)をクリックします。 b インストーラは修正スクリプトを生成します。このスクリプトは、 失敗した前提条件の確認の一部を解決するために、すべてのノー ドで Administrator ユーザーとして実行する必要があります。 c Administrator としてログインし、すべてのノードで修正スク リプトを実行し、OK をクリックします。 d Next(次へ)をクリックします。 Perform Prerequisite Checks(前提条件の確認を行う)ウィンド ウで、前提条件の確認がすべて完了していることを確認します。 14 Summary Option(サマリオプション)ウィンドウに、Oracle ホーム のディスクスペー
ポリシー管理されたデータベースの設定用に サーバープールを作成する方法 メモ:本項の手順は、データベースの作成前に行ってください。 クラスタ内の複数のノードを 1 つのサーバープールにまとめて、リソース 管理の能率を高めることが可能です。各サーバープールには以下のプロパ ティがあります。 • サーバープール内で利用可能にしておく必要のある最少ノード数。 • サーバープール内で利用可能にできる最多ノード数。 • 他のサーバープールと比較した相対的優先度。 サーバープールを作成するには、以下の手順に従います。 1 Administrator としてログインします。 2 Grid ホームから srvctl コマンドを実行して、デフォルト構成を表示 します。たとえば、次のとおりです。 \bin srvctl config srvpool 3 次のコマンドを実行してサーバープールを追加します。 \bin srvctl add srvpool -g fournodes -l 2 -u 4 -i 2 -n "node1, node2, node3, node4" -g
ASM ディスクグループの作成 本項では、データベースファイルとフラッシュリカバリ領域(FRA)用 の ASM ディスクグループを作成する手順を説明します。 ASM ディスクグループの作成は、以下の手順で行います。 1 asmca ユーティリティを起動します。 \bin\asmca 2 ASM Configuration Assistant ウィンドウで、Disk Groups (ディスクグループ)タブを選択します。 3 Create(作成)をクリックします。 4 Disk Group Name(ディスクグループ名)に databaseDG と入力 します。 5 冗長性レベルを External redundancy(外部冗長性)に設定し ます。 6 Stamp Disks(ディスクにスタンプする)をクリックします。 asmtool Operation(asmtool の操作)ウィザードが表示され ます。 7 Add or Change Label(ラベルの追加または変更)を選択し、 Next(次へ)をクリックします。 8 Select Disks(ディスクの選択)ウィンドウで、asm
シードデータベースの作成 Oracle ASM を使用してシードデータベースを作成するには、以下の手 順を実行します。 1 Administrator としてログインし、以下を実行します。 \bin\runcluvfy stage -pre dbcfg -fixup -n Node1 , Node2 -d verbose node1 および node2 はパブリックホスト名で、 %ORACLE_HOME% は Oracle データベースのホームです。 お使いのシステムが正しく設定されておらず、クラスタ検証ユー ティリティが失敗する場合は、 『Microsoft Windows Server x64 で使 用する Oracle データベース — トラブルシューティングガイド』で 詳細をご覧ください。 お使いのシステムが正しく設定されている場合は、次のメッセージ が表示されます。 Pre-check for Database installation was successful.
6 Database Identification(データベース識別情報)ウィンドウで、 Configuration Type(設定のタイプ)を次の 2 つのオプションか ら選択します。 • Admin-Managed(管理者による管理) a Global Database Name(グローバルデータベース名)と SID Prefix(SID 接頭辞)に racdb と入力します。 b Node Selection(ノードの選択)ウィンドウで All nodes (すべてのノード)を選択します。 c Next(次へ)をクリックします。 • Policy-Managed(ポリシー管理) a Global Database Name(グローバルデータベース名)に racdb と入力します。 b このデータベース用に作成した既存のサーバープールを選択し ます。たとえば、fournodes を選択します。 c Next(次へ)をクリックします。 7 Management Option(管理オプション)ウィンドウでデフォルト 値を選択し、Next(次へ)をクリックします。 8 Database
10 ASM Credentials(ASM の資格証明)ウィンドウで、ASM 固有の Specify ASMSNMP Password(ASMSNMP パスワードの指定)に パスワードを入力し、OK をクリックします。 11 Recovery Configuration(リカバリ設定)ウィンドウで、次の手 順を実行します。 a Specify Flash Recovery Area(フラッシュリカバリ領域の指 定)をクリックします。 b フラッシュリカバリのために作成した ASM ディスクグループ (flashbackDG)を参照して選択します。 c flash recovery size(フラッシュリカバリのサイズ)を指定し ます。 d Enable Archiving(アーカイブの有効化)を選択します。 e Next(次へ)をクリックします。 12 Database Content(データベースコンテンツ)ウィンドウで Next(次へ)をクリックします。 13 Initialization Parameters(初期化パラメータ)ウィンドウで、 以下の手順を実行します。 a Cus
16 Summary(サマリ)ウィンドウで OK をクリックして、データ ベースを作成します。 メモ:データベースの作成には 1 時間またはそれ以上かかることが あります。 17 データベースが作成されると、Database Configuration Assistant ウィンドウが表示されます。 18 必要に応じて Password Management(パスワード管理)をク リックして、権限を持つユーザーに特定のパスワードを割り当て ます。その必要がない場合は Exit(終了)をクリックします。 クラスタデータベースがすべてのノードで起動中であることを示す メッセージが表示されます。 142 Oracle 11g R2 Database RAC のインストール
Oracle 11g R2 Database のインス トール(スタンドアロンサー バー) 本項では、『Microsoft Windows Server x64 で使用する Oracle データ ベース — OS のインストールとハードウェアの取り付けガイド』に説明 されている初期セットアップまたは再インストール手順に関する情報を提 供します。 パブリックネットワークの設定 • パブリックネットワークが機能していること、IP アドレスとホスト 名がシステムに割り当てられていることを確認します。たとえば、 次のとおりです。 %SystemRoot%\system32\drivers\etc\hosts の設定 • お使いのシステムに有効なホスト名が設定されていることを確認し ます。 Oracle 11g R2 Database のインストール(シングルノード) 143
ASM を使用した Oracle 11g R2 Database のイ ンストール Oracle 11g R2 Grid Infrastructure のインストール スタンドアロンデータベースをインストールした ASM ディスクグルー プをサポートするスタンドアロンサーバーに Oracle 11g R2 Grid Infrastructure をインストールするには、以下の手順に従います。 1 \Administrator としてログインします。 2 Oracle 11g R2 Grid メディアをマウントします。 3 Oracle Universal Installer を起動します。 \Setup を実行します。 メモ:修正プログラム 10637621 を support.oracle.
10 Create ASM Disk Group(ASM ディスクグループの作成)ウィン ドウに次の情報を入力し、Next(次へ)をクリックします。 • Disk Group Name(ディスクグループ名)— ASM SP ファイル のディスクグループ名。たとえば、SPDATA です。 • Redundancy(冗長性)— External(外部)。 • Candidate Disk(候補ディスク)— ASM SP ファイル用の ASM ライブラリを使用してスタンプされた \\ORCLDISKASM0。 11 ASM Password(ASM パスワード)ウィンドウで、Use same passwords for these accounts and provide the password requirements(これらのアカウントに同じパスワードを使用し、 パスワードの要件を提供する)を選択し、Next(次へ)をクリック します。 12 Installation Location(インストール場所)ウィンドウに以下の位 置情報を入力し、Next(次へ)をクリックします。 • Oracle
c Perform Prerequisite Checks(前提条件の確認を行う)ウィ ンドウで、前提条件の確認がすべて合格していることを確認し ます。 d Next(次へ)をクリックします。 14 Summary(サマリ)ウィンドウで、Finish(完了)をクリックし ます。 15 Setup(セットアップ)ウィンドウにグリッドのインストールの進 行状況が表示されます。 16 Installation of Oracle Grid Infrastructure for a Standalone Server was Successful(スタンドアロンサーバー用の Oracle Grid Infrastructure のインストールが成功しました)ウィンドウが表示さ れます。 17 Close(閉じる)をクリックします。 これで、スタンドアロンサーバー用の Oracle Grid Infrastructure がシ ステムにインストールされました。 Oracle Database 11g R2 のインストール メモ:本項では、Oracle Base が \app\Administrator である
7 Grid Installation Option(グリッドのインストールオプション) ウィンドウで、データベースインストールのタイプとして Single Instance Database Installation(単一インスタンスのデータベー スインストール)を選択し、Next(次へ)をクリックします。 8 Product Languages(製品言語)ウィンドウで、Language Option(言語のオプション)に English(英語)を選択し、 Next(次へ)をクリックします。 9 Select Database Edition(データベースエディションの選択) ウィンドウで Enterprise Edition をクリックし、Next(次へ)を クリックします。 10 Installation Location(インストール場所)ウィンドウに以下の情 報を入力し、Next(次へ)をクリックします。 • Oracle Base—%System drive%:\app\Administrator • Software Location(ソフトウェアの場所)—%System drive%:\ap
ASM ディスクグループの設定 ASM ディスクグループの作成は、138 ページの「ASM ディスクグルー プの作成」を参照してください。 Oracle ASM を使用したシードデータベースの作成 Oracle ASM を使用してストレージを設定した場合は、DBCA を使用して シードデータベースを作成するには、以下の手順に従います。 1 次のように入力して、DBCA ユーティリティを実行します。 %ORACLE_HOME%\BIN\dbca 2 Welcome(ようこそ)ウィンドウで Next(次へ)をクリックし ます。 3 Operations(操作)ウィンドウで Create a Database(データ ベースの作成)をクリックしてから、Next(次へ)をクリックし ます。 4 Database Templates(データベーステンプレート)ウィンドウで Custom Database(カスタムデータベース)をクリックしてから、 Next(次へ)をクリックします。 5 Database Identification(データベース識別情報)ウィンドウで、 oradb のような Global Datab
8 Database File Locations(データベースファイルの位置)ウィン ドウで以下のオプションを選択し、Next(次へ)をクリックし ます。 a Storage Type(ストレージのタイプ)— Automatic Storage Management (ASM)(自動ストレージ管理)。 b Storage Location(ストレージの位置)— Use OracleManaged Files(Oracle Managed Files の使用)。 c Database Area(データベース領域)— データベースファイル 用に作成したグループに移動し、選択します。たとえば、 databaseDG です。 9 ASM Credentials(ASM の資格証明)ウィンドウで、ASM パス ワードを入力し、OK をクリックします。 10 Recovery Configuration(リカバリ構成)ウィンドウで以下のオ プションを選択し、Next(次へ)をクリックします。 a Specify Flash Recovery Area(フラッシュリカバリ領域の指 定)を選択します。 b
15 確認ウィンドウで OK をクリックするとデータベースが作成され ます。 メモ:シードデータベースの作成には 1 時間以上かかる場合があり ます。 データベースが作成されると、Database Configuration Assistant ウィンドウが表示されます。 16 必要に応じて Password Management(パスワード管理)をク リックして、権限を持つユーザーに特定のパスワードを割り当て ます。その必要がない場合は Exit(終了)をクリックします。 150 Oracle 11g R2 Database のインストール(シングルノード)
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 1.
Notas y precauciones NOTA: Una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. PRECAUCIÓN: Un mensaje de PRECAUCIÓN indica la posibilidad de daños en el hardware o la pérdida de datos si no se siguen las instrucciones. ____________________ La información contenida en esta publicación puede modificarse sin previo aviso. © 2011 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general . 155 Documentación necesaria para implantar la base de datos Dell|Oracle 11g R2 . . . . . . . . . . 155 Terminología utilizada en este documento . . . . . . 156 . . . . . . . . . . . . . . . . . . 156 Obtención de ayuda. Asistencia de Dell . . . . . . . . . . . . . . . . . Asistencia de Oracle 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Instalación de la base de datos Oracle 11g R2 RAC . . . . . . . . . . . Antes de comenzar 156 156 . . .
3 Instalación de la base de datos Oracle 11g R2 (servidor independiente) . . . . . . . . . . . . . Configuración de la red pública . . . . . . . 175 . . . . . . . . . . . 175 Instalación de la base de datos Oracle 11g R2 mediante ASM . . . . . . . . . . . . . . . . . . . . . 176 . . . . . . . . 176 . . . . . . . . . 178 Instalación de Oracle 11g R2 Grid Infrastructure . . . . . . . . . . . Instalación de la base de datos Oracle 11g R2 . . . . . . . . . . . . . . 179 . . . . . .
Información general Este documento se aplica a la base de datos Oracle 11g R2 que se ejecuta en Microsoft Windows Server 2008 R2 SP1.
Terminología utilizada en este documento En este documento se utilizan los términos volumen y disco virtual. Dichos términos son sinónimos y pueden utilizarse indistintamente.
Instalación de la base de datos Oracle 11g R2 RAC En esta sección se describe el procedimiento para instalar Oracle 11g R2 Real Application Clusters (RAC). Se recomienda crear una base de datos semilla para verificar que el clúster funciona correctamente antes de implantarlo en un entorno de producción.
Configuración de los ajustes del reloj del sistema para todos los nodos Para evitar que se produzcan errores durante la instalación, configure todos los nodos con ajustes del reloj del sistema idénticos.
4 En la ventana Download Software Updates (Descargar actualizaciones de software), seleccione Use pre-downloaded software updates (Utilizar actualizaciones de software descargadas previamente) y haga clic en Browse (Examinar). 5 Seleccione la ubicación donde se encuentra el parche descargado y haga clic en Next (Siguiente). NOTA: Antes de continuar con el paso 6, asegúrese de que el parche descargado figura en la lista.
a b Introduzca la información siguiente en la ventana Grid Plug and Play Information (Información de Plug and Play de Grid): • Cluster Name (Nombre del clúster): introduzca un nombre para el clúster. Por ejemplo, testcluster. • SCAN Name (Nombre SCAN): introduzca el nombre registrado en el servidor DNS, que es exclusivo para todo el clúster. Por ejemplo, scancluster.
b • GNS sub-domain (Subdominio de GNS): introduzca el nombre de subdominio de GNS configurado. Por ejemplo, clusterdomain.subdomain.com. Consulte las configuraciones de servidor DNS para la delegación de subdominio en el documento Base de datos Oracle en Microsoft Windows Server x64 — Guía de almacenamiento y redes. • GNS VIP address (Dirección VIP de GNS): introduzca la dirección VIP de GNS. Por ejemplo, 192.0.2.2.
16 En la ventana Storage Option Information (Información sobre las opciones de almacenamiento), seleccione Automatic Storage Management (ASM) para configurar los discos OCR y de votación en el almacenamiento ASM y haga clic en Next (Siguiente). 17 En la ventana Create ASM Disk Group (Crear grupo de discos ASM): a Escriba un nombre para el grupo de discos ASM. Por ejemplo, OCRVOTDSK. b Seleccione la redundancia según la disponibilidad de discos ASM.
j Haga clic en Next (Siguiente). NOTA: Si utiliza el controlador de biblioteca ASM y no se indican los discos candidatos, haga clic en Change Disk Discover String (Cambiar cadena de detección de disco) y escriba ORCL:*. 18 En la ventana Specify ASM Password (Especificar contraseña de ASM), haga clic en Use the same passwords for these accounts (Utilizar las mismas contraseñas para estas cuentas) y complete las selecciones y entradas de contraseña. 19 Haga clic en Next (Siguiente).
22 Haga clic en Next (Siguiente). a En la ventana Perform Prerequisite Checks (Ejecutar comprobaciones de requisitos previos), asegúrese de que se hayan completado todas las comprobaciones de requisitos previos. b Haga clic en Next (Siguiente). Al hacer clic en Next (Siguiente), el programa de instalación comprueba que el entorno de destino cumpla los requisitos mínimos de instalación y configuración. Si se cumplen todos los requisitos previos, el programa de instalación va al paso 23.
b Compruebe el estado de todos los servicios de Grid mediante el comando siguiente: %SystemDrive%\app\11.2.0\grid\crsctl stat res -t Asegúrese de que se muestran todos los servicios de Oracle Grid que se están ejecutando. Asegúrese de que todos los servicios estén activados.
2 Ejecute la secuencia de comandos setup desde el soporte multimedia de la base de datos Oracle: \Setup.exe Se inicia Oracle Universal Installer. 3 En la ventana Configure Security Updates (Configurar actualizaciones de seguridad), introduzca la dirección de correo electrónico y la contraseña de asistencia de Oracle. Este paso es opcional. Si desea omitir este paso, desmarque la casilla y haga clic en Next (Siguiente).
10 En la ventana Specify Installation Location (Especificar ubicación de la instalación), seleccione una de las opciones siguientes y especifique la información de ruta pertinente: NOTA: Si tiene previsto configurar una ubicación principal de Oracle no compartida, especifique la información siguiente. – Base Oracle: %System drive%:\app\Administrator – Ubicación del software: %System drive%:\app\Administrator\product\11.2.0\ dbhome_1 11 Haga clic en Next (Siguiente).
16 En la ventana Install Product (Instalar producto) se muestra el progreso de la instalación de la base de datos. Al final del proceso de instalación, se muestra la ventana Finish (Finalizar). 17 Ejecute \BIN\selecthome.bat de forma secuencial en todos los nodos remotos. En la ventana Finish Option (Opción de finalización) aparece un mensaje que indica que la base de datos Oracle se ha instalado correctamente. 18 Haga clic en Close (Cerrar).
3 Añada un bloque de servidores mediante el comando siguiente: \bin srvctl add srvpool -g fournodes -l 2 -u 4 -i 2 -n "node1, node2, node3, node4" donde -g es el nombre del bloque de servidores, -l es el número mínimo de nodos, -u es el número máximo de nodos, -i es la prioridad asignada al bloque de servidores y -n es el nombre de los nodos que forman parte del bloque de servidores.
7 Seleccione Add or Change Label (Agregar o cambiar etiqueta) y haga clic en Next (Siguiente). 8 En la ventana Select Disks (Seleccionar discos), seleccione el dispositivo candidato que desee para el marcado de asm y asigne el nombre DATA. 9 Haga clic en Next (Siguiente). 10 Haga clic en Next (Siguiente) en la ventana Stamp Disks (Marcar discos). 11 Haga clic en Finish (Finalizar) en la ventana Message ASM (Mensaje de ASM). 12 Seleccione los discos miembro.
Si su sistema está configurado correctamente, aparecerá el mensaje siguiente: Pre-check for Database installation was successful (La comprobación previa de la instalación de la base de datos ha sido correcta). 2 Desde %Oracle home%, ejecute la DBCA Utility (utilidad DBCA) e inicie el Oracle Database Configuration Assistant (asistente para la configuración de bases de datos Oracle).
8 En la ventana Database Credentials (Credenciales de la base de datos): a Seleccione la opción Use the same Administrative password for all the Accounts (Utilizar la misma contraseña de administrador para todas las cuentas). b Complete las entradas de contraseña y haga clic en Next (Siguiente). 9 En la ventana Database File Locations (Ubicaciones de archivos de base de datos), seleccione las opciones siguientes: • Storage Type (Tipo de almacenamiento): Automatic Storage Management (ASM).
13 En la ventana Initialization Parameters (Parámetros de inicialización): a Seleccione Custom (Personalizada). b En la sección Memory Management (Administración de memoria), seleccione Automatic shared memory management (Administración automática de memoria compartida). c En las ventanas SGA size (Tamaño de SGA) y PGA size (Tamaño de PGA), especifique los valores apropiados. d Haga clic en Next (Siguiente).
Instalación de la base de datos Oracle 11g R2 RAC
Instalación de la base de datos Oracle 11g R2 (servidor independiente) En esta sección se proporciona información sobre cómo completar los procedimientos de configuración inicial o reinstalación descritos en el documento Base de datos Oracle en Microsoft Windows Server x64 — Guía de instalación del sistema operativo y el hardware. Configuración de la red pública • Asegúrese de que la red pública funciona correctamente y de que se ha asignado una dirección IP y un nombre de host al sistema.
Instalación de la base de datos Oracle 11g R2 mediante ASM Instalación de Oracle 11g R2 Grid Infrastructure Para instalar Oracle 11g R2 Grid Infrastructure en un servidor independiente que admita grupos de discos ASM con instalación de base de datos independiente: 1 Inicie la sesión como \Administrator. 2 Monte el soporte multimedia de Oracle 11g R2 Grid. 3 Inicie Oracle Universal Installer. Ejecute \Setup NOTA: Descargue el parche 10637621 desde support.oracle.
10 En la ventana Create ASM Disk Group (Crear grupo de discos ASM), introduzca la información siguiente y haga clic en Next (Siguiente): • Disk Group Name (Nombre del grupo de discos): nombre del grupo de discos para el archivo SP de ASM. Por ejemplo, SPDATA • Redundancy (Redundancia): externa. • Candidate Disk (Disco candidato): \\ORCLDISKASM0 que se ha marcado mediante la biblioteca de ASM para el archivo SP de ASM.
14 En la ventana Summary (Resumen), haga clic en Finish (Finalizar). 15 La ventana de configuración muestra el progreso de la instalación de Grid. 16 Se abre la ventana Installation of Oracle Grid Infrastructure for a Standalone Server was Successful (La instalación de Oracle Grid Infrastructure para un servidor independiente se ha realizado correctamente). 17 Haga clic en Close (Cerrar). Se ha instalado Oracle Grid Infrastructure para un servidor independiente en su sistema.
9 En la ventana Select Database Edition (Seleccionar edición de la base de datos), haga clic en Enterprise Edition y, a continuación, en Next (Siguiente). 10 En la ventana Installation Location (Ubicación de la instalación), introduzca la información siguiente y haga clic en Next (Siguiente): • Base Oracle: %System drive%:\app\Administrator • Ubicación del software: %System drive%:\app\Administrator\product\11.2.
Creación de la base de datos semilla mediante ASM de Oracle Si ha configurado el almacenamiento mediante ASM de Oracle, para crear una base de datos semilla con el DBCA: 1 Ejecute la utilidad DBCA; para ello, escriba: %ORACLE_HOME%\BIN\dbca 2 En la ventana de bienvenida, haga clic en Next (Siguiente). 3 En la ventana Operations (Operaciones), haga clic en Create a Database (Crear base de datos) y, a continuación, en Next (Siguiente).
10 En la ventana Recovery Configuration (Configuración de la recuperación), seleccione las opciones siguientes y haga clic en Next (Siguiente): a Seleccione Specify Flash Recovery Area (Especificar área de recuperación flash). b Flash Recovery Area (Área de recuperación flash): haga clic en Browse (Examinar) y seleccione el grupo flashback que ha creado. Por ejemplo, flashbackDG. c Flash Recovery Area Size (Tamaño del área de recuperación flash): cambie el valor del tamaño según convenga.
Instalación de la base de datos Oracle 11g R2 (un solo nodo)