Dell™ PowerEdge™ Systems Oracle® Database on Microsoft® Windows Server® x64 Database Setup and Installation Guide Version 1.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notes and Cautions NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed. ____________________ Information in this document is subject to change without notice. © 2008–2009 Dell Inc. All rights reserved. Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Contents 1 Overview . Required Documentation for Deploying the Dell|Oracle 11g Database . . . . . . . . . . . . . . 7 . . . . . . . . . . . 8 . . . . . . . . . . . . . . . . . . . . . . . 8 Terminology Used in this Document Getting Help . Dell Support 8 . . . . . . . . . . . . . . . . . . . . . Oracle Support 2 7 . . . . . . . . . . . . . . . . . . . . . . . . . 9 . . . . . . . . . . . . . . . . . . . Installing Oracle ® RAC 11g R1 Using Oracle Cluster File System (OCFS) . . . . . . . . .
3 Installing Oracle ® RAC 11g R1 Using Automatic Storage Management (ASM) . . . . . . . . . . . . . . . . Installing Oracle Clusterware Version 11.1.0.6 . . . . . Installing Oracle 11g Database Version 11.1.0.6. 28 29 . . . . . . . . . . . 30 Installing Patchset 11.1.0.7 for Oracle 11g Database . . . . . . . . . . . . . . . . 31 Configuring the Listener . . . . . 32 . . . . . . . . . . . . . . . . . 32 Creating the Seed Database . . . . . . . . . . . . . . .
Adding a New Node to an Existing Oracle 11g RAC Cluster . . . . . . . Preparing the Node to be Added to a Cluster . . . . . . Adding Nodes at the Oracle Clusterware Layer . . . . Adding Nodes at the Oracle RAC Database Layer 47 48 . . . 49 . . . . . . 50 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Adding Database Instances to New Nodes .
Contents
Overview This document applies to: • Oracle® Database 11g R1 Enterprise Edition on Microsoft® Windows Server® 2003 R2 SP2 or Windows Server 2008 Enterprise/Standard x64 Edition. • Oracle Database 11g R1 Standard Edition on Windows Server 2003 R2 SP2 or Windows Server 2008 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 Dell PowerVault SAS (Dell MD3000 and Dell MD3000i with MD1000 expansion) storage environment.
Oracle Support • For training information about your Oracle software, application clusterware training, and contacting Oracle, see the Oracle website at oracle.com or the Oracle documentation that shipped with your system. • For information on technical support, downloads, and other technical information, see the My Oracle Support website at metalink.oracle.com. • For information on troubleshooting Oracle 11g systems, see the Oracle Database on Microsoft Windows Server x64 – Troubleshooting Guide.
Overview
Installing Oracle® RAC 11g R1 Using Oracle Cluster File System (OCFS) NOTE: If you are installing Oracle using ASM, ignore the following steps and follow the procedures in "Installing Oracle® RAC 11g R1 Using Automatic Storage Management (ASM)" on page 25 This section provides information about installing the Oracle RAC 11g R1 software. The following topics are covered: • "Installing Oracle Clusterware Version 11.1.0.6" on page 12 • "Installing Oracle Database 11g R1 with Real Application Clusters 11.1.
Installing Oracle Clusterware Version 11.1.0.6 1 On node 1, insert the Oracle Clusterware 11g Release 1 for Microsoft® Windows® media into the optical drive. The Oracle Clusterware - Autorun window displays. If the Oracle Clusterware - Autorun window is not displayed: a Click Start and select Run. b In the Run field, type the following and click OK: %CD-ROM drive%:\autorun\autorun.exe where %CD-ROM drive% is the drive letter of your optical drive.
7 Click Next. The Specify Network Interface Usage window is displayed, showing a list of cluster-wide network interfaces. 8 If required, change the public Interface Type to Public (if shown as Private) by performing the following steps: a Select the Interface Name and click Edit. b Select the correct interface and click OK. 9 In the Specify Network Interface Usage window, click Next.
12 In the Cluster Configuration Storage window, perform the following steps for the database: a Locate the partition created using the procedures in the Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide. b Select the partition and click Edit. c In the Specify Disk Configuration window, select Format partition with CFS. d Ensure that the Use partition for data storage is selected.
16 In the Summary window, click Install to start the installation procedure. The Install window is displayed, showing an installation progression bar. The Configuration Assistant window is displayed and the OUI runs a series of configuration tools. The End of Installation window is displayed. NOTE: If a failure occurs in the Configuration Assistant window, perform the following steps and see the Oracle Database on Microsoft Windows Server x64 Troubleshooting Guide. a In the error window, click OK.
4 In the Select Installation Type window, select Enterprise Edition and click Next. 5 In the Specify Home Details window under Destination, verify the following: • In the Name field, the Oracle database home name is OraDb11g_home1. • In the Path field, the complete Oracle home path is %SystemDrive%\app\Administrator\product\ 11.1.0.6\db_1 where %SystemDrive% is the user’s local drive. By default OUI chooses one of CFS shared drive for copying the database files.
13 Execute the following command on remote nodes to active the Oracle data provider for .NET, Oracle provider for OLE DB, Oracle objects for OLE, Oracle counters for Windows Performance Monitor, and Oracle Administration Assistant: \bin\SelectHome.bat 14 In the Exit Window, click Yes. Installing Oracle 11g R1 Patchset 11.1.0.7 1 Ensure that only 11.1.0.6 Clusterware and 11.1.0.6 Database binaries are installed on your system and that the seed database is not created yet.
Installing the Patchset NOTE: You must install the patchset software from the node where the RAC 11g R1 software was installed. 1 Start the OUI located in the patchset folder. For example: %SystemDrive%\Oracle_patch\setup.exe where %SystemDrive% is the drive on which you unzipped the Oracle patchset. 2 In the Welcome window, click Next. 3 In the Specify home details window, select name as OraCR11g_home from the drop-down menu and click Next.
Installing the Patchset NOTE: You must install the patchset software from the node where the RAC 11g R1 (11.1.0.6) software was installed. 1 Start the OUI located in the unzipped area of the patchset. For example: %SystemDrive%\Oracle_patch\setup.exe where %SystemDrive% is the drive on which you unzipped the Oracle patchset. 2 In the Welcome window, click Next. 3 In the Specify Home Details window, select the name as OraDB11g_home1 from the drop-down menu and click Next.
Configuring the Listener This section describes the steps to configure the listener, which is required for a remote client connection to a database. NOTE: The procedure in this section requires that the patch already be installed. On node 1, perform the following steps: 1 Click Start, select Run, and type: netca 2 Click OK. 3 In the Real Application Clusters Configuration window, select Cluster Configuration and click Next.
Creating the Seed Database This section contains procedures for creating the seed database using OCFS and verifying the seed database. NOTE: The procedure in this section requires that the patch already be installed. Perform the following steps to create the seed database using OCFS: 1 On node 1, click Start and select Run. 2 In the Run field, type dbca and click OK. The Database Configuration Assistant starts. 3 In the Welcome window, select Oracle Real Application Clusters database and click Next.
12 Click Next. 13 In the Recovery Configuration window, perform the following steps: a Select Specify Flash Recovery Area. b Click Browse. c In the Directory Browse window, from the drop-down menu, select the CFS drive created in substep e of step 13 in the Installing Oracle Clusterware Version 11.1.0.6 section on page 12. d Click OK.
In the Creation Options window, accept the default values, and click Finish. 24 In the Summary window, click OK. The Database Configuration Assistant window is displayed, and the Oracle software creates the database. NOTE: This procedure may take several minutes to complete. 25 In the Database Configuration Assistant window, click Yes. When completed, the Database Configuration Assistant window provides database configuration information.
Installing Oracle RAC 11g R1 Using OCFS
Installing Oracle® RAC 11g R1 Using Automatic Storage Management (ASM) NOTE: If you are installing Oracle using Oracle Cluster File System (OCFS), ignore the following steps and follow the procedures in "Installing Oracle® RAC 11g R1 Using Oracle Cluster File System (OCFS)" on page 11. This section provides information about installing the Oracle RAC 11g R1 software. The following topics are covered: • "Installing Oracle Clusterware Version 11.1.0.
3 In the Welcome window, click Next. 4 In the Specify Home Details window, accept the default settings (%System drive%\product\11.1.0\crs) and click Next. NOTE: Record the OraCR11g_home (CRS Home) path because you will need this information later. 5 In the Product-Specific Prerequisite Checks window, click Next. 6 In the Specify Cluster Configuration window, perform the following steps: a Verify the public, private, and virtual host names for the primary node.
d Select the second partition and click Edit. e In the Specify Disk Configuration window, select Place OCR (Mirror) on this partition and click OK. 11 In the Cluster Configure Storage window, perform the following steps for the Voting disk: a Locate the three 250 MB partitions that you created using the procedures in the Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide. b Select the first partition and click Edit.
Installing Oracle 11g Database Version 11.1.0.6 NOTE: If you are installing Oracle using OCFS, skip these steps and go to "Installing Oracle® RAC 11g R1 Using Oracle Cluster File System (OCFS)" on page 11. 1 Insert the Oracle Database 11g Release 1 media into the 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 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 In the End of Installation window, perform the steps that are listed. NOTE: You must perform the steps as listed in the End of Installation window before proceeding to step 12.
Installing Patchset 11.1.0.7 for Oracle 11g Clusterware Before You Begin Before you install patchset 11.1.0.7 for Oracle 11g Clusterware on your system, perform the following steps: 1 Stop nodeapps on all the nodes. Enter the following: %SystemDrive%\%CRS_HOME%\bin> srvctl stop nodeapps -n where %SystemDrive% is the drive on which Oracle home is configured and %CRS_HOME% is the home directory that you created in "Installing Oracle Clusterware Version 11.1.0.6" on page 25.
8 On the End of Installation window, click Exit. 9 Click Yes to exit from the OUI. Installing Patchset 11.1.0.7 for Oracle 11g Database NOTE: Before you install the patchset, ensure that all the Oracle services are stopped. Complete the following procedures before creating a listener and a seed database. Installing the Patchset NOTE: You must install the patchset software from the node where the RAC 11g R1 (11.1.0.6) software was installed. 1 Start the OUI located in the unzipped area of the patchset.
Downloading the Latest Oracle Patches Oracle may provide additional patches that were not included when you first downloaded the patchset. To download additional patches: 1 Open a Web browser. 2 Navigate to the Oracle Metalink website at metalink.oracle.com. 3 Download any patches appropriate for your installation. Configuring the Listener This section contains procedures to configure the listener, which is required to establish a remote client connection to a database.
10 In the Listener Configuration More Listeners window, select No and click Next. 11 In the Listener Configuration Done window, click Next. 12 In the Welcome window, click Finish. Creating the Seed Database Perform the following steps to create the seed database using Oracle ASM: 1 Verify the Oracle Clusterware is running. a Open a command prompt window. Click Start and select Run; type cmd; and press .
10 In the Database Credentials window select a password option, type the appropriate password information (if necessary), and click Next. NOTE: Record your new password because you will need this information later for database administration. 11 In the Storage Options window, select Automatic Storage Management (ASM) and click Next. 12 In the Create ASM Instance window, perform the following steps: a In the SYS password field, type and confirm a new password in the appropriate fields.
18 In the Recovery Configuration window, perform the following steps: a Select Specify Flash Recovery Area. b Click Browse. c Select the flashbackDG disk group that you created in step f and click OK. d In the Flash Recovery Area Size text box type the total size of the flash disk group created in step f. e Select Enable Archiving and click Next. 19 In the Database Content window, click Next. 20 In the Database Services window, configure services (if required) and click Next.
26 Perform the following steps on each node: a Verify that the database instance exists on the node by entering: srvctl status database -d b Enter the following commands to add the ORACLE_SID environment variable entry in the Oracle user profile: echo "export ORACLE_SID=racdbx" >> /home/oracle/ .bash_profle source /home/oracle/.bash_profile where racdbx is the database instance identifier assigned to the node. This example assumes that racdb is the global database name that you defined in DBCA.
Configuring and Deploying Oracle Database 11g (Single Node) This section provides information about installing the Oracle 11g R1 software on a single node. This section covers the following topics: • "Installing Oracle Clusterware Version 11.1.0.6" on page 37 • "Installing Oracle 11g Database Version 11.1.0.6" on page 39 • "Installing Oracle 11g R1 Patchset 11.1.0.
4 In the Specify Home Details window, accept the default settings (%System drive%\product\11.1.0\crs) and click Next. NOTE: Record the OraCR11g_home (CRS Home) path because you will need this information later. 5 In the Product-Specific Prerequisite Checks window, click Next. 6 In the Specify Cluster Configuration window, perform the following steps: a Verify the public, private, and virtual host names for the primary node.
12 Click Next. 13 Ignore the warning messages and click OK. 14 In the Summary window, click Install to start the installation procedure. NOTE: If a failure occurs in the Configuration Assistant window, perform the following steps and see the Oracle Database on Microsoft Windows Server x64 Troubleshooting Guide. The Install window is displayed, showing an installation progression bar. The Configuration Assistant window is displayed and the OUI runs a series of configuration tools.
5 In the Specify Home Details window under Destination, verify the following: • In the Name field, the Oracle database home name is OraDb11g_home1 • In the Path field, the complete Oracle home path is %SystemDrive%\app\Administrator\product\ 11.1.0\db_1 where %SystemDrive% is the user’s local drive. NOTE: Record the path because you will need this information later. NOTE: The Oracle home path must be different from the Oracle home path that you selected in the Oracle Clusterware installation procedure.
Installing Patchset 11.1.0.7 for Oracle 11g Clusterware Before You Begin Before you install patchset 11.1.0.7 for Oracle 11g Clusterware on your system, perform the following steps: 1 Stop nodeapps on all the nodes. Enter the following: %SystemDrive%\%CRS_HOME%\bin> srvctl stop nodeapps -n where %SystemDrive% is the drive on which Oracle home is configured and %CRS_HOME% is the home directory that you created in "Installing Oracle Clusterware Version 11.1.0.6" on page 37.
8 On the End of Installation window, click Exit. 9 Click Yes to exit from the OUI. Installing Patchset 11.1.0.7 for Oracle 11g Database NOTE: Before you install the patchset, ensure that all the Oracle services are stopped. Complete the following procedures before creating a listener and a seed database. Installing the Patchset NOTE: You must install the patchset software from the node where the RAC 11g R1 (11.1.0.6) software was installed. 1 Start the OUI located in the unzipped area of the patchset.
Downloading the Latest Oracle Patches Oracle may provide additional patches that were not included when you first downloaded the patchset. To download additional patches: 1 Open a Web browser. 2 Navigate to the Oracle Metalink website at metalink.oracle.com. 3 Download any patches appropriate for your installation. Configuring the Listener This section contains procedures to configure the listener, which is required to establish a remote client connection to a database.
Creating the Seed Database Perform the following steps to create the seed database using Oracle ASM: 1 Verify the Oracle Clusterware is running. a Open a command prompt window. Click Start and select Run; type cmd; and press . b Type crsctl check crs. c The output you should see: Cluster Synchronization Services appears healthy Cluster Ready Services appears healthy Event Manager appears healthy d If the above is not seen, type crsctl start crs. e Close the cmd window by typing: exit.
11 In the Create ASM Instance window, perform the following steps: a In the SYS password field, type and confirm a new password in the appropriate fields. b Click Next. 12 When a message is displayed that the Database Configuration Assistant is ready to create and start the ASM instance, click OK. 13 In the ASM Disk Groups window, click Create New. 14 In the Create Disk Group window, perform the following steps: a Enter a name for the new disk group, such as databaseDG.
19 In the Database Services window, configure services (if required) and click Next. 20 In the Initialization Parameters window, perform the following steps: a Select Custom. b For Shared Memory Management, select Automatic. In the SGA Size and PGA Size windows, enter the appropriate information. c Click Next. 21 In the Database Storage window, click Next. 22 In the Creation Options window, select Create Database and click Finish. 23 In the Summary window, click OK.
Adding a New Node to an Existing Oracle 11g RAC Cluster The following sections describe how to add nodes and instances to Oracle RAC databases on Windows. 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 CDs. 2 Configure the networking and fiber channel storage subsystem.
Now the node(s) is ready to be added to an existing cluster. The steps to add a node to an existing cluster can be summarized as: 1 "Adding Nodes at the Oracle Clusterware Layer" on page 48. 2 "Adding Nodes at the Oracle RAC Database Layer" on page 49. 3 "Adding Database Instances to New Nodes" on page 50. Adding Nodes at the Oracle Clusterware Layer Perform the following steps: 1 On one of the existing nodes, go to the CRS home\oui\bin directory. Run the addNode.bat script to start the OUI.
After you have completed the procedures in this section for adding nodes at the Oracle Clusterware layer, you have successfully extended the CRS home from your existing CRS home to the new nodes. Adding Nodes at the Oracle RAC Database Layer 1 From the %ORACLE_HOME%\oui\bin, run the addNode.bat script. This starts the OUI in the add node mode and displays the OUI Welcome page. Click Next on the Welcome page and the OUI displays the Specify Cluster Nodes for Node Addition page.
Adding Database Instances to New Nodes Execute the following procedures for each new node to add instances: 1 Choose Start→ Programs→ Oracle - HOME_NAME→ Configuration and Migration Tools→ Database Configuration Assistant. 2 The DBCA displays the Welcome page for RAC. Click Help on any DBCA page for additional information. 3 Select Real Application Clusters database, click Next, and the DBCA displays the Operations page.
Index Numerics L 11g R1 Patchset 11.1.0.7, 17, 29 listener configuring, 20, 32, 43 A Adding Nodes, 48 ASM, 25 LUN, 8 M My Oracle Support website, 9 C Clusterware installing, 25, 37 Clusterware Version 11.1.0.6, 25 O OCFS, 11 creating seed database, 21 installing Oracle using, 11 D Oracle Clusterware Autorun, 12 Database Instances, 50 Oracle Database, 7 Database Version 11.1.0.
P Patchset 11.1.0.
Dell™ PowerEdge™ 系统 Microsoft® Windows Server® x64 上的 Oracle® 数据库 数据库设置和安装指南 1.1 版 w w w. d e l l . c o m | s u p p o r t . d e l l .
注和小心 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心:“小心”表示如果不遵循说明,就有可能损坏硬件或导致数据丢失。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2008-2009 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell 和 DELL 徽标是 Dell Inc. 的商标; Microsoft、Windows 和 Windows Server 是 Microsoft 公司在美国和 / 或其它国家的商标或注册商标; Oracle 是 Oracle 公司和 / 或其附属机构的注册商标。 本说明文件中述及的其它商标和产品名称是指拥有相应商标和产品名称的公司或其制造的 产品。Dell Inc. 对本公司的商标和产品名称之外的其它商标和产品名称不拥有任何专有权。 2009 年 3 月 Rev.
目录 1 概述 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 部署 Dell|Oracle 11g 数据库需要的文档 . . . . . . . 59 . . . . . . . . . . . . . 60 . . . . . . . . . . . . . . . . . . . . . . . . 60 本说明文件中使用的术语: . 获得帮助 . Dell 支持 . . . . . . . . . . . . . . . . . . . . . . Oracle 支持 . 2 59 . . . . . . . . . . . . . . . . . . . . 使用 Oracle 群集文件系统 (OCFS) 安装 Oracle ® RAC 11g R1 . . . . . . . . 安装 Oracle 群集件 11.1.0.6 版 60 60 . . . . 61 . . . . . . . . . . . . . 61 使用 Real Application Clusters 11.
3 使用自动存储管理 (ASM) 安装 Oracle ® RAC 11g R1 . . . . . . . . . 安装 Oracle 群集件 11.1.0.6 版 . . . . . . . 75 . . . . . . . . . . . . . 75 安装 Oracle 11g 数据库 11.1.0.6 版 . . . . . . . . . . . 安装 Oracle 11g R1 增补软件集 11.1.0.7 . . . . . . . . 79 安装用于 Oracle 11g 群集件的增补软件集 11.1.0.7 . . . . . . . . . . . 80 安装用于 Oracle 11g 数据库的增补软件集 11.1.0.7 . . . . . . . . . . . 81 . . . . . . . . . . . . 82 . . . . . . . . . . . . . . . . . . . . . . 82 下载最新 Oracle 增补软件 配置侦听程序 创建基础数据库 . 4 . . . . . . . . . . . . . .
5 向现有 Oracle 11g RAC 群集添加 新节点 . . . . . . 准备要添加到群集的节点 . . . . . . . . . . . . . 99 . . . . . . . . . . . . . . . 99 在 Oracle 群集件层添加节点 在 Oracle RAC 数据库层添加节点 . 添加数据库实例到新节点 索引 100 . . . . . . . . . . . . . . . . . . . . . . . 101 . . . . . . . . . . . . . . . 102 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
目录
概述 本说明文件适用于: • Microsoft® Windows Server® 2003 R2 SP2 或 Windows Server 2008 x64 企业版 / 标准版上的 Oracle® Database 11g R1 企业版。 • Windows Server 2003 R2 SP2 或 Windows Server 2008 x64 标准版上的 Oracle Database 11g R1 标准版。 部署 Dell|Oracle 11g 数据库需要的文档 安装 Dell|Oracle 11g 数据库需要的说明文件包括: • 《Oracle Database on Microsoft Windows Server x64 Operating System and Hardware Installation Guide》(Microsoft Windows Server x64 上的 Oracle 数据库 — 操作系统和硬件安装指南)— 介绍要求的最低硬件和 软件版本、如何安装和配置操作系统、如何验证硬件和软件配置以及 如何获取开放源代码文件。 • 《Oracle Database
本说明文件中使用的术语: • 本说明文件中使用了逻辑单元号码 (LUN) 和虚拟磁盘两个术语。 这两个术语是同义词,可互换使用。术语 LUN 通常在 Dell|EMC 光 纤信道存储系统环境中使用,而虚拟磁盘通常在 Dell PowerVault SAS (Dell MD3000 和带 MD1000 扩展的 Dell MD3000i)存储环境中 使用。 • 本说明文件使用术语 Enterprise Linux,它适用于 Red Hat® Enterprise Linux® 和 Oracle Enterprise Linux,除特别声明之外。 获得帮助 Dell 支持 • 有关使用系统的详情,请参阅系统组件附带的说明文件。 • 有关白皮书、Dell 支持的配置和一般信息,请参阅 Oracle Databases and Applications Solutions(Oracle 数据库和应用程序解决方案)Web 站点 dell.
使用 Oracle 群集文件系统 (OCFS) 安装 Oracle® RAC 11g R1 注: 如果您使用 ASM 安装 Oracle,请忽略以下步骤并遵循第 75 页上的 “使用自动存储管理 (ASM) 安装 Oracle® RAC 11g R1”中的步骤进行操作。 本节介绍有关安装 Oracle RAC 11g R1 软件的信息。其中涉及以下主题: • 第 61 页上的“安装 Oracle 群集件 11.1.0.6 版” • 第 65 页上的“使用 Real Application Clusters 11.1.0.6 安装 Oracle Database 11g R1” • 第 66 页上的“安装 Oracle 11g R1 增补软件集 11.1.0.7” • 第 69 页上的“配置侦听程序” • 第 70 页上的“创建基础数据库” 安装 Oracle 群集件 11.1.0.
3 单击 Next(下一步)。 4 在 Specify Home Details(指定主目录详细信息)窗口中,接受默认 设置 (%System drive%\product\11.1.
11 12 c 在 Specify Disk Configuration(指定磁盘配置)窗口中,选择 Place OCR (Primary) on this partition(在此分区上放置 OCR [ 主磁盘 ]),然后单击 OK(确定)。 d 选择第二个分区,然后单击 Edit(编辑)。 e 在 Specify Disk Configuration(指定磁盘配置)窗口中,选择 Place OCR (Mirror) on this partition(在此分区上放置 OCR [ 镜像 ]),然后单击 OK(确定)。 在 Cluster Configuration Storage(群集配置存储)窗口中,对投票磁 盘执行以下步骤: a 找到三个 250 MB 的分区,这些分区是您根据《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》 (Microsoft Windows Server x64 上的 Oracle 数据库 — 存储和联 网指南)中的步骤创建的。 b 选择第一个分区,然后
13 在 Cluster Configuration Storage(群集配置存储)窗口中,为快擦写 恢复执行以下步骤: a 找到您根据《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》(Microsoft Windows Server x64 上的 Oracle 数据库 — 存储和联网指南)中的步骤创建的分区。 b 选择该分区,然后单击 Edit(编辑)。 c 在 Specify Disk Configuration(指定磁盘配置)窗口中,选择 Format partition with CFS(使用 CFS 格式化分区)。 确保选中 Use partition for data storage(将分区用于数据存储)。 d e 使用 Assign Drive Letter(分配驱动器号)选项的下拉式菜单, 为分区分配驱动器号。 f 单击 OK(确定)。 14 在 Cluster Configuration Storage(群集配置存储)窗口中,单击 Next (下一步)。 15
使用 Real Application Clusters 11.1.0.6 安装 Oracle Database 11g R1 1 在节点 1 上,将用于 Microsoft Windows 的 Oracle Database 11g Release 1 介质插入光盘驱动器。 随即显示 Oracle Database 11g — Autorun(Oracle Database 11g — 自动运行)窗口。如果未显示 Oracle Database 11g — Autorun (Oracle Database 11g — 自动运行)窗口: a 单击 Start(开始),然后选择 Run(运行)。 b 在 Run(运行)字段中,键入以下命令,然后单击 OK(确定): %CD-ROM drive%:\autorun\autorun.
6 单击 Next(下一步)。 7 在 Specify Hardware Cluster Installation Mode(指定硬件群集安装 模式)窗口中,选择 Select All(全选),然后单击 Next(下一步)。 8 在 Product-Specific Prerequisite Checks(产品特定先决条件检查) 窗口中,确保成功完成所有检查,然后单击 Next(下一步)。 9 在 Select Configuration Option(选择配置选项)窗口中,选择 Install database Software only(仅安装数据库软件),然后单击 Next(下一步)。 10 在 Summary(摘要)窗口中,单击 Install(安装)。 11 在 End of Installation(安装结束)窗口中,执行窗口中列出的过程。 注: 必须先执行窗口中列出的过程,然后才能执行下一步骤。 12 完成了在 End of Installation(安装结束)窗口中列出的所需过程后, 单击 Exit(退出)。 13 在远程节点上执行以下命令以激活用于 .
安装用于 Oracle 11g 群集件的增补软件集 11.1.0.7 准备工作 在系统上安装用于 Oracle 11g 群集件的增补软件集 11.1.0.7 之前,请执行以 下步骤: 1 在所有节点上停止 nodeapps。输入以下信息: %SystemDrive%\%CRS_HOME%\bin> srvctl stop nodeapps -n < 节点名称 > 其中 %SystemDrive% 是配置 Oracle 主目录的驱动器, 而 %CRS_HOME% 是您在的第 61 页上的 “安装 Oracle 群集件 11.1.0.
7 在 End of installation(安装结束)窗口中,执行 Summary(摘要) 窗口中列出的所有步骤。请勿执行指示您停止 Oracle 服务的步骤 — 您应当在开始安装增补软件集之前已经如第 67 页上的“准备工作” 中所述完成该步骤。 8 在 End of Installation(安装结束)窗口中,单击 Exit(退出)。 9 单击 Yes(是)以从 OUI 退出。 安装用于 Oracle 11g 数据库的增补软件集 11.1.0.7 注: 安装增补软件集之前,请确保所有 Oracle 服务均已停止。 创建侦听程序和基础数据库之前,请完成以下步骤。 安装增补软件集 注: 必须从安装 RAC 11g R1 (11.1.0.6) 软件的节点安装增补软件集软件。 1 启动解压的增补软件集区域中的 OUI。例如: %SystemDrive%\Oracle_patch\setup.
下载最新 Oracle 增补软件 Oracle 可能会提供初次下载增补软件集时未附带的其它增补软件。要下载其 它增补软件,请执行以下步骤: 1 打开 Web 浏览器。 2 浏览至 Oracle Metalink Web 站点 metalink.oracle.
9 在 Listener Configuration, TCP/IP Protocol(侦听程序配置,TCP/IP 协议)窗口中,选择 Use the standard port number of 1521(使用标准 端口号 1521),然后单击 Next(下一步)。 10 在 Listener Configuration, More Listeners(侦听程序配置,更多 侦听程序)窗口中,选择 No(否),然后单击 Next(下一步)。 11 在 Listener Configuration Done(侦听程序配置完成)窗口中, 单击 Next(下一步)。 12 在 Welcome(欢迎)窗口中,单击 Finish(完成)。 创建基础数据库 本节包含使用 OCFS 创建基础数据库以及验证基础数据库的过程。 注: 本节中的步骤要求已安装增补软件。 执行以下步骤,使用 OCFS 创建基础数据库: 1 在节点 1 上,单击 Start(开始),然后选择 Run(运行)。 2 在 Run(运行)字段中,键入 dbca,然后单击 OK(确定)。 此时会启动 Database Configur
9 在 Database Credentials(数据库证书)窗口中,单击 Use Same Password for All Accounts(对所有帐户使用相同密码),在相应的 字段中键入并确认新密码,然后单击 Next(下一步)。 注: 记录新密码,因为稍后您将需要该信息来进行数据库管理。 10 在 Storage Options(存储选项)窗口中选择 Cluster File System (群集文件系统),然后单击 Next(下一步)。 11 在 Database File Locations(数据库文件位置)窗口中,选择用于存储 数据库文件的位置: a 选择 Use Common Location for All Database Files(对所有数据库 文件使用公用位置)。 b 单击 Browse(浏览)。 c 在 Directory Browse(目录浏览)窗口中,从下拉式菜单中选择在 步骤 12 的子步骤 e 中创建的 CFS 驱动器,该步骤位于第 11 页上 的安装 Oracle 群集件 11.1.0.
15 单击 Edit Archive Mode Parameters(编辑存档模式参数)。 a 在 Edit Archive Mode Parameters(编辑存档模式参数)窗口中, 确保 Archive Log Destinations(存档日志目的地)下列出的路 径如下: X:/ 其中 X 是群集文件系统 (CFS) 驱动器号,它是根据《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》(Microsoft Windows Server x64 上的 Oracle 数据库 — 存储和联网指南)中的步骤为快擦写恢复区域创建的。 b 单击 OK(确定)。 16 单击 Next(下一步)。 17 在 Database Content(数据库内容)窗口中,接受默认值,然后单击 Next(下一步)。 18 在 Database Services(数据库服务)窗口中,单击 Next(下一步)。 19 在 Initialization Parameters(初始化参数)窗口中,单击 Next
25 在 Database Configuration Assistant(数据库配置助手)窗口中,单击 Yes(是)。 完成后,Database Configuration Assistant(数据库配置助手)窗口将 提供数据库配置信息。 26 记录 Database Configuration Assistant(数据库配置助手)窗口中的 信息,以便将来用于管理数据库。 27 单击 Exit(退出)。 随即显示 Start Cluster Database(启动群集数据库)窗口,同时启动群 集数据库。 使用 Oracle 群集文件系统 (OCFS) 安装 Oracle® RAC 11g R1 73
使用 Oracle 群集文件系统 (OCFS) 安装 Oracle® RAC 11g R1
使用自动存储管理 (ASM) 安装 Oracle® RAC 11g R1 注: 如果要使用 Oracle 群集文件系统 (OCFS) 安装 Oracle,请忽略以下步 骤并遵循第 61 页上的“使用 Oracle 群集文件系统 (OCFS) 安装 Oracle® RAC 11g R1”中的步骤进行操作。 本节介绍有关安装 Oracle RAC 11g R1 软件的信息。其中涉及以下主题: • 第 75 页上的“安装 Oracle 群集件 11.1.0.6 版” • 第 78 页上的“安装 Oracle 11g 数据库 11.1.0.6 版” • 第 79 页上的“安装 Oracle 11g R1 增补软件集 11.1.0.7” • 第 82 页上的“配置侦听程序” • 第 83 页上的“创建基础数据库” 安装 Oracle 群集件 11.1.0.
4 在 Specify Home Details(指定主目录详细信息)窗口中,接受默认 设置 (%System drive%\product\11.1.
11 d 选择第二个分区,然后单击 Edit(编辑)。 e 在 Specify Disk Configuration(指定磁盘配置)窗口中,选择 Place OCR (Mirror) on this partition(在此分区上放置 OCR [ 镜像 ]),然后单击 OK(确定)。 在 Cluster Configuration Storage(群集配置存储)窗口中,对投票 磁盘执行以下步骤: a 找到三个 250 MB 的分区,这些分区是根据《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》 (Microsoft Windows Server x64 上的 Oracle 数据库 — 存储和联 网指南)中的步骤创建的。 b 选择第一个分区,然后单击 Edit(编辑)。 c 在 Specify Disk Configuration(指定磁盘配置)窗口中,选择 Place Voting Disk on this partition(在此分区上放置投票磁盘), 然后单击 OK(确定)。
安装 Oracle 11g 数据库 11.1.0.6 版 注: 如果您使用 OCFS 安装 Oracle,请跳过这些步骤并转至第 61 页上的 “使用 Oracle 群集文件系统 (OCFS) 安装 Oracle® RAC 11g R1”。 1 将 Oracle Database 11g Release 1 介质插入光盘驱动器。 此时会启动 OUI 并显示 Welcome(欢迎)窗口。 如果未显示 Welcome(欢迎)窗口: a 单击 Start(开始),然后选择 Run(运行)。 b 在 Run(运行)字段中,键入: %CD drive%\autorun\autorun.
6 单击 Next(下一步)。 7 在 Specify Hardware Cluster Installation Mode(指定硬件群集安装 模式)窗口中,单击 Select All(全选),然后单击 Next(下一步)。 8 在 Product-Specific Prerequisite Checks(产品特定先决条件检查) 窗口中,单击 Next(下一步)。 9 在 Select Configuration Option(选择配置选项)窗口中,选择 Install database Software only(仅安装数据库软件),然后单击 Next(下一步)。 10 在 Summary(摘要)窗口中,单击 Install(安装)。 11 在 End of Installation(安装结束)窗口中,执行列出的步骤。 注: 继续步骤 12 之前, 您必须执行 End of Installation(安装结束) 窗口中列出的步骤。 12 在远程节点上执行以下命令,以激活用于 .
安装用于 Oracle 11g 群集件的增补软件集 11.1.0.7 准备工作 在系统上安装用于 Oracle 11g 群集件的增补软件集 11.1.0.7 之前,请执行以 下步骤: 1 在所有节点上停止 nodeapps。输入以下信息: %SystemDrive%\%CRS_HOME%\bin> srvctl stop nodeapps -n < 节点名称 > 其中 %SystemDrive% 是配置 Oracle 主目录的驱动器, 而 %CRS_HOME% 是您在的第 75 页上的“安装 Oracle 群集件 11.1.0.6 版”中创建的主目录。 2 选择 Start(开始)→ Programs(程序)→ Administrator Tools (管理工具)→ Services(服务)。 3 找到两个节点上的所有 Oracle 服务并停止这些服务。 安装增补软件集 注: 必须从安装 RAC 11g R1 软件的节点安装增补软件集软件。 1 启动位于增补软件集文件夹中的 OUI。例如: %SystemDrive%\Oracle_patch\setup.
7 在 End of installation(安装结束)窗口中,执行 Summary(摘要) 窗口中列出的所有步骤。请勿执行指示您停止 Oracle 服务的步骤 — 您应当在开始安装增补软件集之前已经如第 80 页上的“准备工作” 中所述完成该步骤。 8 在 End of Installation(安装结束)窗口中,单击 Exit(退出)。 9 单击 Yes(是)以从 OUI 退出。 安装用于 Oracle 11g 数据库的增补软件集 11.1.0.7 注: 安装增补软件集之前,请确保所有 Oracle 服务均已停止。 创建侦听程序和基础数据库之前,请完成以下过程。 安装增补软件集 注: 必须从安装 RAC 11g R1 (11.1.0.6) 软件的节点安装增补软件集软件。 1 启动解压的增补软件集区域中的 OUI。例如: %SystemDrive%\Oracle_patch\setup.
下载最新 Oracle 增补软件 Oracle 可能会提供初次下载增补软件集时未附带的其它增补软件。要下载其 它增补软件,请执行以下步骤: 1 打开 Web 浏览器。 2 浏览至 Oracle Metalink Web 站点 metalink.oracle.com。 3 下载适用于您的安装的所有增补软件。 配置侦听程序 本节包含配置侦听程序的步骤,与数据库建立远程客户端连接时需要此 过程。 1 在群集的节点 1 上,从 ASM Oracle 主目录运行 netca.bat 命令: %SystemDrive%\app\Administrator\product\11.1.
9 在 Listener Configuration TCP/IP Protocol(侦听程序配置 TCP/IP 协议)窗口中,选择 Use the standard port number of 1521(使用标 准端口号 1521),然后单击 Next(下一步)。 10 在 Listener Configuration More Listeners(侦听程序配置更多侦听 程序)窗口中,选择 No(否),然后单击 Next(下一步)。 11 在 Listener Configuration Done(侦听程序配置完成)窗口中, 单击 Next(下一步)。 12 在 Welcome(欢迎)窗口中,单击 Finish(完成)。 创建基础数据库 执行以下步骤,使用 Oracle ASM 创建基础数据库: 1 验证 Oracle 群集件是否正在运行。 a 打开命令提示符窗口。单击 Start(开始),选择 Run(运行); 键入 cmd ;然后按 键。 b 键入 crsctl check crs c 系统将显示以下信息: Cluster Synchronization S
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 Database Name(全局数据库名称)字段中,输入数据库名称(如 racdb), 然后单击 Next(下一步)。 9 在 Management Options(管理选项)窗口中,单击 Next (下一步)。 10 在 Database Credent
15 在 Create Disk Group(创建磁盘组)窗口中,执行以下步骤: a 输入新磁盘组的名称,例如 databaseDG。 b 在 Redundancy(冗余)框中,选择 External(外部)。 c 选择要包括在磁盘组中的磁盘 ORCL:ASM1。 d 如果您使用的是 ASM 库驱动程序,且无法访问候选磁盘,请单击 Change Disk Discovery String(更改磁盘搜索字符串)并输入 ORCL:* 作为搜索字符串,然后选择 ORCL:ASM1。 e 单击 OK(确定)。此时将在群集上创建第一个 ASM 磁盘组, 并显示 ASM Disk Groups(ASM 磁盘组)窗口。 f 重复执行这些步骤以创建用于快擦写恢复区域的磁盘组,使用 flashbackDG 作为磁盘组名称。 16 在 ASM Disk Groups(ASM 磁盘组)窗口中,仅选择分配给步骤 15 中 数据库的 Disk Group Name(磁盘组名称)(例如,databaseDG), 然后单击 Next(下一步)。 17 在 Database File Locations(数据
21 在 Initialization Parameters(初始化参数)窗口中,执行以下步骤: a 选择 Custom(自定义)。 b 对于 Shared Memory Management(共享内存管理),选择 Automatic(自动)。在 SGA Size(SGA 大小)和 PGA Size (PGA 大小)窗口中,输入相应的信息。 c 单击 Next(下一步)。 22 在 Database Storage(数据库存储)窗口中,单击 Next(下一步)。 23 在 Creation Options(创建选项)窗口中,选择 Create Database (创建数据库),然后单击 Finish(完成)。 24 在 Summary(摘要)窗口中,单击 OK(确定)。 注: 完成此过程可能需要一个小时或更长时间。 完成后,屏幕将显示 Database Configuration Assistant(数据库配 置助手)窗口。 25 单击 Password Management(密码管理),向授权用户分配特定的 密码(如果需要)。否则,单击 Exit(退出)。屏幕上会显示一则 消息,
配置和部署 Oracle Database 11g (单个节点) 本节提供了在单个节点上安装 Oracle 11g R1 软件的相关信息。本节包括以 下主题: • 第 87 页上的“安装 Oracle 群集件 11.1.0.6 版” • 第 90 页上的“安装 Oracle 11g 数据库 11.1.0.6 版” • 第 91 页上的“安装 Oracle 11g R1 增补软件集 11.1.0.7” • 第 94 页上的“配置侦听程序” • 第 95 页上的“创建基础数据库” 安装 Oracle 群集件 11.1.0.6 版 1 在节点 1 上,将用于 Microsoft Windows 的 Oracle 11g R1 群集件介质插 入光盘驱动器。 随即显示 Welcome(欢迎)窗口,同时启动 Oracle 用户界面 (OUI)。 如果未显示 Welcome(欢迎)窗口: a 单击 Start(开始),然后选择 Run(运行)。 b 在 Run(运行)字段中,键入以下命令,然后单击 OK(确定): %CD drive%\autorun\autorun.
4 在 Specify Home Details(指定主目录详细信息)窗口中,接受默认 设置 (%System drive%\product\11.1.
11 在 Cluster Configuration Storage(群集配置存储)窗口中,对投票磁 盘执行以下步骤: a 找到 250 MB 的分区,这个分区是您根据《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》 (Microsoft Windows Server x64 上的 Oracle 数据库 — 存储和联 网指南)中的步骤创建的。 b 选择该分区,然后单击 Edit(编辑)。 c 在 Specify Disk Configuration(指定磁盘配置)窗口中,选择 Place Voting Disk on this partition(在此分区上放置投票磁盘), 然后单击 OK(确定)。 12 单击 Next(下一步)。 13 请忽略警告信息,并单击 OK(确定)。 14 在 Summary(摘要)窗口中,单击 Install(安装)以开始安装过程。 注: 如果在 Configuration Assistant(配置助手)窗口出现故障,请执 行以下步骤并参阅《Orac
安装 Oracle 11g 数据库 11.1.0.6 版 1 将 Oracle Database 11g Release 1 介质插入光盘驱动器。 屏幕将显示 Welcome(欢迎)窗口并启动 OUI。 如果未显示 Welcome(欢迎)窗口: a 单击 Start(开始),然后选择 Run(运行)。 b 在 Run(运行)字段中,键入: %CD 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(安装结束)窗口中,执行列出的步骤。 注: 应先执行窗口中列出的步骤,然后再继续下一步骤。 12 单击 Exit(退出)。 安装 Oracle 11g R1 增补软件集 11.1.0.7 1 确保系统上只安装了 11.1.0.6 群集件和 11.1.0.6 数据库二进制程序而尚 未创建基础数据库。 2 可从 Oracle Metalink Web 站点 metalink.oracle.com 下载增补软件集 11.1.0.
安装增补软件集 注: 必须从安装 RAC 11g R1 软件的节点安装增补软件集软件。 1 启动位于增补软件集文件夹中的 OUI。例如: %SystemDrive%\Oracle_patch\setup.
3 在 Specify Home Details(指定主目录详细信息)窗口中,从下拉式 列表中选择 OraDB11g_home1 作为名称,然后单击 Next(下一步)。 4 在 Specify Hardware Cluster Installation Mode(指定硬件群集安装 模式)窗口中,单击 Next(下一步)。 5 在 Product-Specific Prerequisite Checks(产品特定先决条件检查) 窗口中,单击 Next(下一步)。 6 在 Oracle Configuration Manager Registration(Oracle 配置管理器 注册)窗口中,单击 Next(下一步)。 7 在 Summary(摘要)窗口中,单击 Install(安装)。 8 在 End of installation(安装结束)窗口中,执行 Summary(摘要) 窗口中列出的所有步骤。请勿执行指示您停止 Oracle 服务的步骤 — 您应当在开始安装增补软件集之前已经如第 91 页上的“准备工作” 中所述完成该步骤。 9 在 End of Installation
配置侦听程序 本节包含配置侦听程序的步骤,与数据库建立远程客户端连接时需要 此过程。 1 在群集的节点 1 上,从 ASM Oracle 主目录运行 netca.bat 命令: %SystemDrive%\app\Administrator\product\11.1.
创建基础数据库 执行以下步骤,使用 Oracle ASM 创建基础数据库: 1 验证 Oracle 群集件是否正在运行。 a 打开命令提示符窗口。单击 Start(开始),选择 Run(运行); 键入 cmd ;然后按 键。 b 键入 crsctl check crs。 c 您应该可以看到以下输出: Cluster Synchronization Services appears healthy(群集同步服务运行正常) Cluster Ready Services appears healthy (群集就绪服务运行正常) Event Manager appears healthy (事件管理器运行正常) d 如果未看到以上输出,请键入 crsctl start crs。 e 通过键入以下命令关闭 cmd 窗口:exit。 2 在节点 1 上,单击 Start(开始),然后选择 Run(运行)。 3 在 Run(运行)字段中,键入以下命令,然后单击 OK(确定): %SystemDrive%\app\Administrator\product\11.1.
8 在 Management Options(管理选项)窗口中,单击 Next(下一步)。 9 在 Database Credentials(数据库证书)窗口中选择密码选项,键入 相应的密码信息(如果有必要),然后单击 Next(下一步)。 注: 记录新密码,因为稍后您将需要该信息来进行数据库管理。 10 在 Storage Options(存储选项)窗口中,选择 Automatic Storage Management (ASM)(自动存储管理 [ASM]),然后单击 Next (下一步)。 11 在 Create ASM Instance(创建 ASM 实例)窗口中,执行以下步骤: 在 SYS password(SYS 密码)字段中,在相应的字段中键入并确认 新密码。 b 单击 Next(下一步)。 12 当屏幕上显示一条信息,表明 Database Configuration Assistant(数据 库配置助手)已准备就绪,可以创建和启动 ASM 实例时,请单击 OK (确定)。 13 在 ASM Disk Groups(ASM 磁盘组)窗口中,单击 Create New (
16 在 Database File Locations(数据库文件位置)窗口中,选择 Use Oracle-Managed Files(使用 Oracle 管理的文件),然后单击 Next (下一步)。 17 在 Recovery Configuration(恢复配置)窗口中,执行以下步骤: a 选择 Specify Flash Recovery Area(指定快擦写恢复区域)。 b 单击 Browse(浏览)。 c 选择您在步骤 f 中创建的 flashbackDG 磁盘组,然后单击 OK (确定)。 d 在 Flash Recovery Area Size(快擦写恢复区域大小)文本框中, 键入在步骤 f 中创建的快擦写磁盘组的总大小。 e 选择 Enable Archiving(启用存档)并单击 Next(下一步)。 18 在 Database Content(数据库内容)窗口中,单击 Next(下一步)。 19 在 Database Services(数据库服务)窗口中,配置服务(如果需要), 然后单击 Next(下一步)。 20 在 Initialization
25 请执行以下步骤: a 通过输入以下命令验证节点上是否存在数据库实例: srvctl status database -d b 输入以下命令,在 Oracle 用户配置文件中添加 ORACLE_SID 环境变量条目: echo "export ORACLE_SID=racdbx" >> /home/oracle/ .bash_profle source /home/oracle/.
向现有 Oracle 11g RAC 群集 添加新节点 以下几节介绍了如何向 Windows 中的 Oracle RAC 数据库添加节点和实例。 准备要添加到群集的节点 在您想要将其添加到现有群集的节点上执行以下步骤: 1 使用部署 CD 安装和配置操作系统。 2 配置网络和光纤信道存储子系统。 请确保可从群集的所有现有节点执行以下命令,其中 host_name 是新节点的 公用网络名称: NET USE \\host_name\C$ 如果操作系统响应如下,您将在每个节点上拥有需要的管理权限: Command completed successfully.
在 Oracle 群集件层添加节点 请执行以下步骤: 1 在一个现有节点上,转至 CRS home\oui\bin 目录。运行 addNode.
在 Oracle RAC 数据库层添加节点 1 从 %ORACLE_HOME%\oui\bin 运行 addNode.
添加数据库实例到新节点 对每个新节点执行以下步骤以添加新实例: 102 1 选择 Start(开始)→ Programs(程序)→ Oracle — HOME_NAME (Oracle 主目录名称)→ Configuration and Migration Tools(配置和 迁移工具)→ Database Configuration Assistant(数据库配置助手)。 2 此时 DBCA 会显示 RAC 的 Welcome(欢迎)页面。单击任意 DBCA 页面上的 Help(帮助)以了解其它信息。 3 选择 Real Application Clusters database(Real Application Clusters 数据库),单击 Next(下一步),此时 DBCA 会显示 Operations (操作)页面。 4 选择 Instance Management(实例管理),单击 Next(下一步), 此时 DBCA 会显示 Instance Management(实例管理)页面。 5 选择 Add instance(添加实例),然后单击 Next(下一步)。此时 DBC
索引 数字數字 O 11g R1 增补软 件集 11.1.0.
Z 帮助 , 60 Dell 支持 , 60 Oracle 支持 , 60 基础数据库 , 70 创建 , 70 群集件 安装 , 75, 87 群集件 11.1.0.6 版 , 75 数据库 11.1.0.6 版 , 78 数据库实例 , 102 添加节点 , 100 虚拟磁盘 , 60 硬件要求 , 87 增补软件集 11.1.0.
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.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
Remarques et précautions REMARQUE : Une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. PRÉCAUTION : Une PRÉCAUTION vous avertit d'un risque de dommage matériel ou de perte de données en cas de non-respect des instructions données. ____________________ Les informations contenues dans ce document sont sujettes à modification sans préavis. © 2008–2009 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 . . . . . . . . . . . . 111 . . . . . . 112 Obtention d'aide . . . . . . . . . . . . . . . . . . . . . . . . 112 Support Dell . . . . . . . . . . . . . . . . . . . . . . . . 112 Terminologie utilisée dans le présent document . Oracle Support 2 111 . . . . . . . . . . . . . . . . . . . . . .
3 Installation d'Oracle ® RAC 11g R1 à l'aide d'ASM (Automatic Storage Management) . . . . . . . Installation d'Oracle Clusterware Version 11.1.0.6 . . . . . . Installation d'Oracle 11g Database Version 11.1.0.6 Installation du groupe de correctifs 11.1.0.7 d'Oracle 11g R1 . . . . . . . . . . . . . . . . . . . . . 135 . . . . . . . . . 137 . . . . . . . 137 Installation du groupe de correctifs 11.1.0.7 pour Oracle 11g Database . . . . . . . . . . . . . . . . 139 . . . . . . . . . 140 . . .
Installation du groupe de correctifs 11.1.0.7 d'Oracle 11g R1 . . . . . . . . . . . . . . . . . . . . . . 152 Installation du groupe de correctifs 11.1.0.7 pour Oracle 11g Database . . . . . . . . . . . . . . . . 154 . . . . . . . . . 155 . . . . . . . . . . . . . . . . . . 155 Configuration de l'écouteur Création de la base de données initiale Ajout d'un nœud à un cluster Oracle 11g RAC existant . . . . . . . . . . . . . . . 156 . . . . . . . . . . . .
Table des matières
Présentation Ce document s'applique aux configurations suivantes : • Oracle Database® 11g R1, édition Enterprise exécuté sous Microsoft® Windows Server® 2003 R2 SP2 ou Windows Server 2008, édition Enterprise ou Standard x64. • Oracle Database 11g R1, édition Standard exécuté sous Windows Server 2003 R2 SP2 ou Windows Server 2008, édition Standard x64.
• Oracle Database on Microsoft Windows Server x64 Troubleshooting Guide (Oracle Database sous Enterprise Linux x86_64 – Guide de dépannage) : ce module explique comment résoudre les erreurs rencontrées lors des procédures d'installation présentées dans les modules précédents. REMARQUE : Tous les modules indiquent comment recevoir une assistance technique auprès de Dell.
Oracle Support • Pour obtenir des informations sur les formations disponibles pour votre logiciel et clusterware Oracle ainsi que les coordonnées d'Oracle, rendez-vous sur le site Web d'Oracle oracle.com ou consultez votre documentation Oracle. • Pour obtenir des informations sur l'assistance technique, les téléchargements et d'autres informations techniques, rendez-vous sur le site Web My Oracle Support à l'adresse metalink.oracle.com.
Présentation
Installation d'Oracle® RAC 11g R1 à l'aide d'OFCS (Oracle Cluster File System) REMARQUE : Si vous utilisez ASM (Automatic Storage Management) pour installer Oracle, ne tenez pas compte de la procédure suivante et suivez les instructions de la section “Installation d'Oracle® RAC 11g R1 à l'aide d'ASM (Automatic Storage Management)”, page 131. Cette section fournit des informations sur l'installation du logiciel Oracle RAC 11g R1.
Installation d'Oracle Clusterware Version 11.1.0.6 1 Sur le nœud 1, insérez le CD Oracle Clusterware 11g Release 1 for Microsoft® Windows®dans le lecteur. La fenêtre Oracle Clusterware – Autorun (Oracle Clusterware – Exécution automatique) s'affiche. Si elle ne s'affiche pas, procédez comme suit : a Cliquez sur Démarrer et sélectionnez Exécuter. b Dans le champ Exécuter, entrez la commande suivante et cliquez sur OK : %Lecteur_CD-ROM%:\autorun\autorun.
7 Cliquez sur Suivant. La fenêtre Specify Network Interface Usage (Définir l'utilisation des interfaces réseau) apparaît dans laquelle est affichée une liste des interfaces réseau du cluster. 8 Le cas échéant, changez le type de l'interface en indiquant Public (si le type indiqué est Private). Pour cela, procédez comme suit : a Sélectionnez le nom de l'interface, puis cliquez sur Edit (Modifier). b Sélectionnez l'interface appropriée et cliquez sur OK.
11 Dans la fenêtre Cluster Configuration Storage (Configuration du stockage du cluster), effectuez la procédure suivante pour le disque de vote : a Recherchez les deux partitions de 250 Mo que vous avez créées en suivant les étapes décrites 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). b Sélectionnez la première partition et cliquez sur Edit (Modifier).
13 Dans la fenêtre Cluster Configuration Storage (Configuration du stockage du cluster), effectuez les procédures suivantes pour la récupération flash : a Recherchez la partition que vous avez créée en suivant les étapes décrites 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). b Sélectionnez la partition et cliquez sur Edit (Modifier).
La fenêtre End of Installation (Fin de l'installation) s'affiche. REMARQUE : Si l'assistant de configuration indique qu'une erreur s'est produite, effectuez la procédure suivante et reportez-vous au document Oracle Database on Microsoft Windows Server x64 Troubleshooting Guide (Oracle Database sous Microsoft Windows Server x64 – Guide de dépannage). 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).
2 Dans la fenêtre Oracle Database 11g – Autorun, cliquez sur Install/ Deinstall Products (Installer/Désinstaller les produits). Le programme d'installation universel d'Oracle (OUI) démarre et l'écran de bienvenue s'affiche. 3 Cliquez sur Suivant. 4 Dans la fenêtre Select Installation Type (Sélection du type d'installation), cliquez sur Enterprise Edition, puis sur Next (Suivant).
9 Dans la fenêtre Select Configuration Option (Sélection d'une option de configuration), sélectionnez Install database Software only (Installer uniquement le logiciel de base de données), puis cliquez sur Next (Suivant). 10 Dans la fenêtre Summary (Résumé), cliquez sur Install (Installer). 11 Dans la fenêtre de fin d'installation, suivez la procédure affichée. REMARQUE : Vous devez effectuer la procédure dans l'ordre indiqué dans la fenêtre avant de passer à l'étape suivante.
Installation du groupe de correctifs 11.1.0.7 pour Oracle 11g Clusterware Avant de commencer Avant d'installer le groupe de correctifs 11.1.0.7 pour Oracle 11g Clusterware sur votre système, effectuez les opérations suivantes : 1 Arrêtez les applications sur tous les nœuds.
6 Dans la fenêtre Summary (Résumé), cliquez sur Install (Installer). 7 Dans la fenêtre de fin de l'installation, effectuez toutes les opérations décrites dans la fenêtre Summary (Résumé). Ne suivez pas l'instruction indiquant d'arrêter les services Oracle. Vous devez normalement l'avoir effectuée avant d'installer le groupe de correctifs comme indiqué à la section “Avant de commencer”, page 123. 8 Dans la fenêtre End of Installation (Fin de l'installation), cliquez sur Quitter.
6 Dans la fenêtre Oracle Configuration Manager Registration (Enregistrement d'Oracle Configuration Manager), cliquez sur Next (Suivant). 7 Dans la fenêtre Summary (Résumé), cliquez sur Install (Installer). 8 Dans la fenêtre de fin de l'installation, effectuez toutes les opérations décrites dans la fenêtre Summary (Résumé). Ne suivez pas l'instruction indiquant d'arrêter les services Oracle.
4 Dans la fenêtre Real Application Clusters, Active Nodes (RAC, nœuds actifs), sélectionnez Select All nodes (Sélectionner tous les nœuds), puis cliquez sur Next (Suivant). 5 Dans la fenêtre de bienvenue, cliquez sur Listener configuration (Configuration de l'écouteur), puis cliquez sur Next (Suivant). 6 Dans la fenêtre Listener Configuration, Listener (Configuration de l'écouteur, Écouteur), sélectionnez Add (Ajouter), puis cliquez sur Next (Suivant).
Création de la base de données initiale Cette section indique comment créer et vérifier la base de données initiale à l'aide d'OCFS. REMARQUE : Pour effectuer la procédure décrite dans cette section, vous devez déjà avoir installé le correctif. Pour créer la base de données initiale à l'aide d'OCFS, procédez comme suit : 1 Sur le nœud 1, cliquez sur Démarrer, puis sur Exécuter. 2 Dans le champ Exécuter, tapez dbca et cliquez sur OK.
10 Dans la fenêtre Storage Options (Options de stockage), sélectionnez Cluster File System (Système de fichiers du cluster), puis cliquez sur Next (Suivant). 11 Dans la fenêtre Database File Locations (Emplacement des fichiers de la base de données), sélectionnez l'emplacement dans lequel les fichiers de la base de données devront être placés : a Sélectionnez Use Common Location for All Database Files (Utiliser un emplacement commun pour tous les fichiers de base de données).
14 Cliquez sur Enable Archiving (Activer l'archivage). 15 Cliquez sur Edit Archive Mode Parameters (Modifier les paramètres du mode d'archivage).
23 Dans la fenêtre Creation Options (Options de création), acceptez les valeurs par défaut et cliquez sur Finish (Terminer). 24 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'affiche et le logiciel Oracle crée la base de données. REMARQUE : Cette procédure peut prendre plusieurs minutes. 25 Dans la fenêtre Database Configuration Assistant (Assistant de configuration de base de données), cliquez sur Yes (Oui).
Installation d'Oracle® RAC 11g R1 à l'aide d'ASM (Automatic Storage Management) REMARQUE : Si vous utilisez OCFS (Oracle Cluster File System) pour installer Oracle, ne tenez pas compte de la procédure suivante et suivez les instructions de la section “Installation d'Oracle® RAC 11g R1 à l'aide d'OFCS (Oracle Cluster File System)”, page 115. Cette section fournit des informations sur l'installation du logiciel Oracle RAC 11g R1.
Installation d'Oracle Clusterware Version 11.1.0.6 1 Sur le nœud 1, insérez le CD Oracle Clusterware dans le lecteur optique. Le programme d'installation universel d'Oracle (OUI) démarre et la fenêtre de bienvenue s'affiche. Si elle ne s'affiche pas : a Cliquez sur Démarrer et sélectionnez Exécuter. b Dans le champ Exécuter, entrez la commande suivante et cliquez sur OK : %Lecteur_CD%\autorun\autorun.exe où %Lecteur_CD% correspond à la lettre du lecteur optique.
7 Cliquez sur Suivant. La fenêtre Specify Network Interface Usage (Définir l'utilisation des interfaces réseau) apparaît dans laquelle est affichée une liste des interfaces réseau du cluster. 8 Dans le menu déroulant Interface Type (Type d'interface), sélectionnez Public pour le type d'interface publique et Private pour le type d'interface privée (si nécessaire). Pour ce faire, sélectionnez Interface Name (Nom d'interface) et cliquez sur Edit (Modifier).
11 Dans la fenêtre Cluster Configuration Storage (Stockage de la configuration du cluster), effectuez les opérations suivantes pour le disque de vote : a Recherchez les trois partitions de 250 Mo que vous avez créées en suivant les étapes décrites 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). b Sélectionnez la première partition et cliquez sur Edit (Modifier).
Installation d'Oracle 11g Database Version 11.1.0.6 REMARQUE : Si vous utilisez OCFS pour installer Oracle, ne tenez pas compte des étapes suivantes et passez à la section “Installation d'Oracle® RAC 11g R1 à l'aide d'OFCS (Oracle Cluster File System)”, page 115. 1 Insérez le CD Oracle Database 11g Release 1 dans le lecteur optique. Le programme OUI démarre et la fenêtre de bienvenue s'affiche. Si elle ne s'affiche pas : a Cliquez sur Démarrer et sélectionnez Exécuter.
6 Cliquez sur Suivant. 7 Dans la fenêtre Specify Hardware Cluster Installation Mode (Définition du 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 11.1.0.7 d'Oracle 11g R1 1 Vérifiez que seuls les fichiers binaires correspondant à Clusterware 11.1.0.6 et Database 11.1.0.6 Database sont installés sur le système, et assurez-vous que la base de données initiale n'a pas encore été créée. 2 Téléchargez le groupe de correctifs 11.1.0.7 à partir du site Web Oracle Metalink à l'adresse metalink.oracle.com. Recherchez le correctif 6890831 et choisissez Microsoft Windows x64 (64 bits) pour la plate-forme ou la langue.
Installation du groupe de correctifs REMARQUE : Vous devez installer le logiciel du groupe de correctifs à partir du nœud sur lequel RAC 11g R1 est installé. 1 Exécutez le programme OUI qui se trouve dans le dossier du groupe de correctifs. Par exemple : %LecteurSystème%\Correctif_Oracle\setup.exe où %LecteurSystème% est le lecteur sur lequel vous avez décompressé le groupe de correctifs Oracle. 2 Dans la fenêtre de bienvenue, cliquez sur Next (Suivant).
Installation du groupe de correctifs 11.1.0.7 pour Oracle 11g Database REMARQUE : Avant d'installer le groupe de correctifs, vérifiez que tous les services Oracle sont arrêtés. Effectuez les opérations suivantes avant de créer un écouteur et la base de données initiale. Installation du groupe de correctifs REMARQUE : Vous devez installer le logiciel du groupe de correctifs à partir du nœud sur lequel RAC 11g R1 (11.1.0.6) est installé.
Téléchargement des correctifs Oracle les plus récents Oracle peut fournir des correctifs supplémentaires qui n'étaient pas inclus lorsque vous avez téléchargé le groupe de correctifs. Pour télécharger des correctifs supplémentaires : 1 Ouvrez un navigateur Web. 2 Accédez au site Web d'Oracle Metalink à l'adresse metalink.oracle.com. 3 Téléchargez tous les correctifs appropriés pour votre installation.
7 Dans la fenêtre Listener Configuration, Listener Name (Configuration de l'écouteur, Nom de l'écouteur), sélectionnez le paramètre par défaut dans le champ Listener name (Nom de l'écouteur) et cliquez sur Next (Suivant). 8 Dans la fenêtre Listener Configuration, Select Protocols (Configuration de l'écouteur, Sélection des protocoles), sélectionnez TCP dans le champ Selected protocols (Protocoles sélectionnés) puis cliquez sur Next (Suivant).
2 Sur le nœud 1, cliquez sur Démarrer, puis sur Exécuter. 3 Dans le champ Exécuter, entrez la commande suivante et cliquez sur OK : %LecteurSystème%\app\Administrator\product\11.1.0\ db_1/dbca La fenêtre Database Configuration Assistant (Assistant de configuration de base de données) s'ouvre. 4 Dans la fenêtre de bienvenue, sélectionnez Oracle Real Application Cluster Database (Base de données Oracle RAC), puis cliquez sur Next (Suivant).
12 Dans la fenêtre Create ASM Instance (Création d'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 Suivant. 13 Lorsqu'un message affiche que l'assistant de configuration de base de données est prêt à créer et à démarrer l'instance ASM, cliquez sur OK.
17 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), puis cliquez sur Next. 18 Dans la fenêtre Recovery Configuration (Configuration de la récupération), procédez comme suit : a Sélectionnez Specify Flash Recovery Area (Définir la zone de récupération flash). b Cliquez sur Browse (Parcourir). c Sélectionnez le groupe de disques flashbackDG créé à l'étape f et cliquez sur OK.
24 Dans la fenêtre Summary (Résumé), cliquez sur OK. REMARQUE : Cette procédure peut prendre plus d'une heure. Une fois l'opération terminée, la fenêtre Database Configuration Assistant (Assistant de configuration de base de données) s'affiche. 25 Cliquez sur Password Management (Gestion du mot de passe) pour attribuer des mots de passe aux utilisateurs autorisés (le cas échéant). Sinon, cliquez sur Exit (Quitter).
Installation d'Oracle RAC 11g R1 à l'aide d'ASM
Configuration et déploiement d'Oracle Database 11g (sur un seul nœud) Cette section fournit des informations sur l'installation du logiciel Oracle 11g R2 sur un seul nœud. Cette section traite des sujets suivants : • “Installation d'Oracle Clusterware Version 11.1.0.6”, page 147 • “Installation d'Oracle 11g Database Version 11.1.0.6”, page 150 • “Installation du groupe de correctifs 11.1.0.
2 Dans la fenêtre Oracle Clusterware, cliquez sur Install/Deinstall Products (Installer/Désinstaller les produits). 3 Dans la fenêtre de bienvenue, cliquez sur Next (Suivant). 4 Dans la fenêtre Specify Home Details (Indiquer l'emplacement racine), acceptez les paramètres par défaut (%LecteurSystème%\product\11.1.0\crs) et cliquez sur Next (Suivant). REMARQUE : Notez le chemin d'OraCR11g_home (racine des services CRS). Il vous servira ultérieurement.
10 Dans la fenêtre Cluster Configuration Storage (Stockage de la configuration du cluster), procédez comme suit pour le disque OCR : a Recherchez la partition de 300 Mo que vous avez créée en suivant les étapes décrites 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). b Sélectionnez la partition et cliquez sur Edit (Modifier).
La fenêtre Install (Installation) s'affiche et indique la progression de l'installation. La fenêtre Configuration Assistant (Assistant de configuration) s'affiche. Le programme d'installation universel d'Oracle (OUI) exécute une série d'outils de configuration. La fenêtre End of Installation (Fin de l'installation) s'affiche. 15 Cliquez sur Exit (Quitter) pour fermer la session OUI. 16 Dans la fenêtre de fermeture, cliquez sur Yes (Oui). Installation d'Oracle 11g Database Version 11.1.0.
5 Dans la fenêtre Specify Home Details (Indiquer l'emplacement racine), sous Destination, vérifiez ce qui suit : • Le répertoire racine d'Oracle database indiqué dans le champ Name (Nom) est OraDb11g_home1 • Le champ Path (Chemin) contient le chemin complet du répertoire racine d'Oracle, à savoir : %LecteurSystème%\app\Administrator\product\ 11.1.0.0\db_1 où %LecteurSystème% est le lecteur local de l'utilisateur. REMARQUE : Notez ce chemin ; il vous servira ultérieurement.
Installation du groupe de correctifs 11.1.0.7 d'Oracle 11g R1 1 Vérifiez que seuls les fichiers binaires correspondant à Clusterware 11.1.0.6 et Database 11.1.0.6 Database sont installés sur le système, et assurez-vous que la base de données initiale n'a pas encore été créée. 2 Téléchargez le groupe de correctifs 11.1.0.7 à partir du site Web Oracle Metalink à l'adresse metalink.oracle.com. Recherchez le correctif 6890831 et choisissez Microsoft Windows x64 (64 bits) pour la plate-forme ou la langue.
Installation du groupe de correctifs REMARQUE : Vous devez installer le logiciel du groupe de correctifs à partir du nœud sur lequel RAC 11g R1 est installé. 1 Exécutez le programme d'installation universel (OUI) d'Oracle qui se trouve dans le dossier du groupe de correctifs. Par exemple : %LecteurSystème%\Correctif_Oracle\setup.exe où %LecteurSystème% est le lecteur sur lequel vous avez décompressé le groupe de correctifs Oracle. 2 Dans la fenêtre de bienvenue, cliquez sur Next (Suivant).
Installation du groupe de correctifs 11.1.0.7 pour Oracle 11g Database REMARQUE : Avant d'installer le groupe de correctifs, vérifiez que tous les services Oracle sont arrêtés. Effectuez les opérations suivantes avant de créer un écouteur et la base de données initiale. Installation du groupe de correctifs REMARQUE : Vous devez installer le logiciel du groupe de correctifs à partir du nœud sur lequel RAC 11g R1 (11.1.0.6) est installé.
Téléchargement des correctifs Oracle les plus récents Oracle peut fournir des correctifs supplémentaires qui n'étaient pas inclus lorsque vous avez téléchargé le groupe de correctifs. Pour télécharger des correctifs supplémentaires : 1 Ouvrez un navigateur Web. 2 Accédez au site Web d'Oracle Metalink à l'adresse metalink.oracle.com. 3 Téléchargez tous les correctifs appropriés pour votre installation.
7 Dans la fenêtre Listener Configuration, Select Protocols (Configuration de l'écouteur, Sélection des protocoles), sélectionnez TCP dans le champ Selected protocols (Protocoles sélectionnés) puis cliquez sur Next (Suivant). 8 Dans la fenêtre Listener Configuration, TCP/IP Protocol (Configuration de l'écouteur, Protocole TCP/IP), sélectionnez Use the standard port number of 1521 (Utiliser le numéro de port standard 1521) et cliquez sur Next (Suivant).
3 Dans le champ Exécuter, entrez la commande suivante et cliquez sur OK : %LecteurSystème%\app\Administrator\product\11.1.0\ db_1/dbca L'assistant de configuration de base de données démarre. 4 Dans la fenêtre de bienvenue, sélectionnez Oracle Real Application Cluster Database (Base de données Oracle RAC), puis cliquez sur Next (Suivant). 5 Dans la fenêtre Operations (Opérations), cliquez sur Create a Database (Créer une base de données), puis sur Next (Suivant).
13 Dans la fenêtre ASM Disk Groups (Groupes de disques ASM), cliquez sur Create New (Créer). 14 Dans la fenêtre Create Disk Group (Création d'un groupe de disques), procédez comme suit : a Entrez un nom pour le nouveau groupe de disques par exemple databaseDG. b Dans la zone Redundancy (Redondance), sélectionnez External (Externe). c Sélectionnez les disques ORCL:ASM1 à inclure dans le groupe.
d Dans la zone de texte Flash Recovery Area Size (Taille de la zone de récupération flash), entrez la taille totale du groupe de disques flash créé à l'étape f. e Sélectionnez Enable Archiving (Activer l'archivage) et cliquez sur Next (Suivant). 18 Dans la fenêtre Database Content (Contenu de la base de données), cliquez sur Next (Suivant). 19 Dans la fenêtre Database Services (Services de base de données), configurez les services, le cas échéant, puis cliquez sur Next (Suivant).
25 Effectuez les opérations suivantes : a Vérifiez que l'instance de la base de données est présente sur le nœud en entrant : srvctl status database -d b Pour ajouter la variable d'environnement ORACLE_SID du profil utilisateur Oracle, entrez les commandes suivantes : echo "export ORACLE_SID=racdbx" >> /home/oracle/ .bash_profle source /home/oracle/.bash_profile où racdbx représente l'identificateur de l'instance de base de données attribué au nœud.
Ajout d'un nœud à un cluster Oracle 11g RAC existant Les sections suivantes décrivent les procédures permettant d'ajouter des nœuds et des instances aux bases de données Oracle RAC sous Windows. 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 des CD de déploiement. 2 Configurez la mise en réseau et le sous-système de stockage Fibre Channel.
Le nœud est maintenant prêt à être ajouté à un cluster existant. Les étapes permettant d'ajouter des nœuds à un cluster existant sont les suivantes : 1 “Ajout des nœuds à la couche Oracle Clusterware”, page 162. 2 “Ajout des nœuds à la couche Oracle RAC Database”, page 163. 3 “Ajout des instances de base de données aux nouveaux nœuds”, page 164. Ajout des nœuds à la couche Oracle Clusterware Effectuez les opérations suivantes : 1 Sur l'un des nœuds existants, accédez au répertoire Racine CRS\oui\bin.
8 Exécutez la commande crssetup.exe en indiquant les noms et les numéros de nœuds disponibles suivants pour ajouter les informations concernant les nouveaux nœuds aux services CRS. Par exemple : crssetup.
4 Lorsque la page End of Node Addition (Fin de l'ajout de nœuds) s'affiche, cliquez sur Exit (Terminer) pour fermer la session OUI. 5 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œud 1 au nœud N : vipca -nodelist Nœud1,Nœud2,Nœud3,...NœudN 6 Ajoutez un écouteur au nouveau nœud.
5 Sélectionnez Add instance (Ajouter une instance) et cliquez sur Next (Suivant). L'assistant DBCA affiche la page List of Cluster Databases (Liste des bases de données du cluster), qui présente les bases de données ainsi que leur état (Active ou Inactive). 6 Dans la page List of Cluster Databases, sélectionnez la base de données RAC active à laquelle vous souhaitez ajouter une instance. 7 Cliquez sur Next (Suivant) pour ajouter une nouvelle instance.
Ajout d'un nœud à un cluster Oracle 11g RAC
Index A E aide, 112 support Dell, 112 support Oracle, 113 écouteur configuration, 125, 140, 155 ajout de nœuds, 162 ASM, 131 G groupe de correctifs 11.1.0.7 d'Oracle 11g R1, 122, 137 B base de données version 11.1.0.6, 135 base de données initiale, 127 création, 127 base de données Oracle, 111 I instance de base de données, 164 L LUN, 112 C Clusterware installation, 132, 147 version 11.1.0.
O R OCFS, 115 création de la base de données initiale, 127 installation d'Oracle à l'aide de, 115 RAC (Real Application Clusters), 120 Oracle Clusterware exécution automatique, 116 service Dell de formation et de certification pour les entreprises, 112 Oracle Database 10g configuration, 147 déploiement, 147 P patchset 11.1.0.
Dell™ PowerEdge™-Systeme Oracle® Database auf Microsoft® Windows Server® x64 Einrichtungs- und Installationsanleitung für die Datenbank Version 1.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
Anmerkungen und Vorsichtshinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie das System besser einsetzen können. VORSICHTSHINWEIS: Hiermit werden Sie auf mögliche Gefahrenquellen hingewiesen, die Hardwareschäden oder Datenverlust zur Folge haben können, wenn die Anweisungen nicht befolgt werden. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2008–2009 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . . . . . Erforderliche Dokumentation zum Bereitstellen von Dell|Oracle 11g Database . . . . . . . . . . . . . . . . . 175 In diesem Dokument verwendete Terminologie . . . . . . . . 176 Wie Sie Hilfe bekommen . Dell Support . . . . . . . . . . . . . . . . . . . 177 . . . . . . . . . . . . . . . . . . . . . . . . 177 . . . . . . . . . . . . . . . . . . . . . .
3 Installation von Oracle ® RAC 11g R1 mit Automatic Storage Management (ASM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 Installation von Oracle 11g Database Version 11.1.0.6 . . . . 199 . . . . . . 201 Installation des Patchsets 11.1.0.7 für Oracle 11g Clusterware . . . . . . . . . . . . . . . . 201 Installation des Patchsets 11.1.0.7 für Oracle 11g Database . . . . . . . . . . . . . . . . . 203 . . . . . . 204 . . . . . . . . . . . . . . . . . . 204 . . . . . . . . . .
5 Hinzufügen eines neuen Knotens in einem bestehenden Oracle 11g RAC-Cluster . . . . . . . . . . . . . . . . Vorbereiten des Knotens auf das Hinzufügen in einem Cluster . . . . . . . . . . . . . . . . Hinzufügen von Knoten in der Oracle Clusterware-Schicht. . . . . . . . . . 225 . . . . . . . . . . . . . . . . 226 Hinzufügen von Knoten in der Oracle RAC Datenbank-Schicht . . . . . . . . . . . . . . . . Hinzufügen von Datenbankinstanzen in den neuen Knoten . . . . . . . . .
Inhalt
Übersicht Dieses Dokument betrifft: • Oracle® Database 11g R1 Enterprise Edition auf Microsoft® Windows Server® 2003 R2 SP2 oder Windows Server 2008 Enterprise/Standard x64 Edition. • Oracle Database 11g R1 Standard Edition auf Windows Server 2003 R2 SP2 oder Windows Server 2008 Standard x64 Edition.
• Oracle Database on Microsoft Windows Server x64 Oracle Database Setup and Installation Guide (Einrichtungs- und Installationsanleitung für Oracle Database) – Enthält Anweisungen zum Installieren und Konfigurieren von Oracle Database 11g R1.
Wie Sie Hilfe bekommen Dell Support • Ausführliche Informationen zur Verwendung des Systems finden Sie in der zusammen mit den Systemkomponenten gelieferten Dokumentation. • Whitepapers, Informationen zu den von Dell unterstützten OracleKonfigurationen und allgemeine Informationen erhalten Sie auf der Oracle Databases and Applications Solutions-Website unter dell.com/oracle.
Übersicht
Installation von Oracle® RAC 11g R1 mit Oracle Cluster File System (OCFS) ANMERKUNG: Wenn Sie Oracle mit ASM installieren, ignorieren Sie die nachstehenden Schritte, und gehen Sie vor, wie in „Installation von Oracle® RAC 11g R1 mit Automatic Storage Management (ASM)“ auf Seite 195 beschrieben. In diesem Abschnitt ist die Installation der Software Oracle RAC 10g R2 beschrieben. Folgende Themen werden behandelt: • „Installation von Oracle Clusterware Version 11.1.0.
Installation von Oracle Clusterware Version 11.1.0.6 1 Legen Sie auf Knoten 1 das Oracle Clusterware 11g Release 1 for Microsoft® Windows®-Medium ein. Das Fenster Oracle Clusterware - Autorun wird angezeigt. Falls das Fenster Oracle Clusterware - Autorun nicht erscheint: 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\autorun.
• Geben Sie im Fenster Add a new node to the existing cluster (Dem bestehenden Cluster einen neuen Knoten hinzufügen) den öffentlichen, privaten und virtuellen Hostnamen ein, und klicken Sie auf OK. ANMERKUNG: Achten Sie darauf, dass die Netzwerk-Hostnamen keine Domänennamenerweiterung aufweisen. 7 Klicken Sie auf Next (Weiter). Das Fenster Specify Network Interface Usage (Nutzung der Netzwerkschnittstelle festlegen) wird angezeigt. Es enthält eine Liste clusterweiter Netzwerkschnittstellen.
11 Führen Sie im Fenster Cluster Configure Storage (Clusterspeicherkonfiguration) für den Voting-Datenträger die folgenden Schritte durch: a Lokalisieren Sie die drei 250-MB-Partitionen, die Sie nach den Anweisungen im Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide (Speicher- und Netzwerkhandbuch) angelegt haben. b Wählen Sie die erste Partition aus, und klicken Sie auf Bearbeiten.
13 Führen Sie im Fenster Cluster Configuration Storage (Clusterspeicherkonfiguration) die folgenden Schritte für die Wiederherstellung durch: a Lokalisieren Sie die Partition, die Sie nach den Anweisungen im Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide (Speicher- und Netzwerkhandbuch) angelegt haben. b Wählen Sie die Partition aus, und klicken Sie auf Bearbeiten.
a Klicken Sie im Fehlerfenster auf OK. b Klicken Sie im Fenster Configuration Assistant (Konfigurationsassistent) auf 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 auf Ja. 17 Wenn Sie Oracle über ASM installieren, machen Sie mit dem Abschnitt „Installation von Oracle® RAC 11g R1 mit Automatic Storage Management (ASM)“ auf Seite 195 weiter.
5 Überprüfen Sie im Fenster Specify Home Details (Stamm-Details festlegen) unter Destination (Ziel), dass die folgenden Einstellungen gegeben sind: • Im Feld Name ist als Stammname der Oracle-Datenbank die Bezeichnung OraDb11g_home1 eingetragen. • Im Feld Pfad ist der folgende vollständige Oracle-Stammpfad eingetragen: %Systemlaufwerk%\app\Administrator\product\ 11.1.0.6\db_1 wobei %Systemlaufwerk% das lokale Laufwerk des Benutzers ist.
10 Klicken Sie im Fenster Summary (Übersicht) auf Install (Installieren). 11 Führen Sie im Fenster End of Installation (Installation abgeschlossen) die dort aufgeführten Maßnahmen durch. ANMERKUNG: Diese Maßnahmen müssen entsprechend den Angaben im Fenster erfolgt sein, bevor Sie mit dem nächsten Schritt fortfahren können. 12 Nachdem Sie die erforderlichen Maßnahmen aus dem Fenster End of Installation (Installation abgeschlossen) durchgeführt haben, klicken Sie auf Exit (Beenden).
Installation des Patchsets 11.1.0.7 für Oracle 11g Clusterware Bevor Sie beginnen Führen Sie die folgenden Schritte durch, bevor Sie das Patchset 11.1.0.7 für Oracle 11g Clusterware auf dem System installieren: 1 Halten Sie die Anwendungen auf allen Knoten an.
5 Klicken Sie im Fenster Product-Specific Prerequisite Checks (Produktspezifische Vorüberprüfungen) auf Weiter. 6 Klicken Sie im Fenster Summary (Übersicht) auf Install (Installieren). 7 Führen Sie im Fenster End of Installation (Installation abgeschlossen) alle im Fenster Summary aufgeführten Maßnahmen durch.
6 Klicken Sie im Fenster Oracle Configuration Manager Registration auf Weiter. 7 Klicken Sie im Fenster Summary (Übersicht) auf Install (Installieren). 8 Führen Sie im Fenster End of Installation (Installation abgeschlossen) alle im Fenster Summary aufgeführten Maßnahmen durch. Führen Sie nicht den Schritt zum Anhalten der Oracle-Dienste aus – dies sollten Sie bereits getan haben, bevor Sie mit der Installation des Patchsets begannen, wie in „Bevor Sie beginnen.” beschrieben.
3 Wählen Sie im Fenster Real Application Clusters, Configuration (Real Application Clusters, Konfiguration) die Option Cluster Configuration (Clusterkonfiguration) aus und klicken Sie auf Weiter. 4 Wählen Sie im Fenster Real Application Clusters, Active Nodes (Real Application Clusters, Aktive Knoten) die Option Select all nodes (Alle Knoten auswählen) aus und klicken Sie auf Weiter. 5 Wählen Sie im Begrüßungsfenster die Option Listener Configuration (Listener-Konfiguration) aus, und klicken Sie auf Weiter.
Erstellen der Startdatenbank In diesem Abschnitt ist die Vorgehensweise zum Erstellen einer Startdatenbank mit OCFS sowie zum Überprüfen der Startdatenbank beschrieben. ANMERKUNG: Die in diesem Abschnitt beschriebene Verfahrensweise setzt voraus, dass der Patch bereits installiert ist. Führen Sie die folgende Schritte aus, um eine Startdatenbank mit OCFS zu erstellen: 1 Klicken Sie auf Knoten 1 auf Start, und wählen Sie Ausführen. 2 Geben Sie im Feld Ausführen den Befehl dbca ein, und klicken Sie auf OK.
10 Wählen Sie im Fenster Storage Options (Speicheroptionen) die Option Cluster File System (Clusterdateisystem) aus, und klicken Sie anschließend auf Weiter. 11 Wählen Sie im Fenster Database File Locations (DatenbankSpeicherorte) die Speicherpfade für die Datenbankdateien: a Wählen Sie Use Common Location for All Database Files (Gemeinsamen Pfad für alle Datenbankdateien verwenden). b Klicken Sie auf Browse (Durchsuchen).
15 Klicken Sie auf Edit Archive Mode Parameters (Archivmodus-Parameter bearbeiten). a Stellen Sie im Fenster Edit Archive Mode Parameters (Archivmodusparameter bearbeiten) sicher, dass der Pfad unter Archive Log Destinations (Archivprotokollziele) wie folgt eingestellt ist: X:/ wobei X der CFS-Laufwerkbuchstabe (Cluster File System) ist, der nach den Anweisungen im Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide für den Wiederherstellungsbereich festgelegt wurde.
24 Klicken Sie im Fenster Summary (Übersicht) auf OK. Das Fenster Database Configuration Assistant (DatenbankKonfigurationsassistent) wird angezeigt und Oracle erstellt die Datenbank. ANMERKUNG: Dieser Vorgang kann mehrere Minuten dauern. 25 Klicken Sie im Fenster Database Configuration Assistant (DatenbankKonfigurationsassistent) auf Ja. Nach dem Beenden zeigt der Datenbank-Konfigurationsassistent die Konfigurationsinformationen zur Datenbank an.
Installation von Oracle® RAC 11g R1 mit Automatic Storage Management (ASM) ANMERKUNG: Wenn Sie Oracle mit Oracle Cluster File System (OCFS) installieren, ignorieren Sie die nachstehenden Schritte, und gehen Sie vor wie in „Installation von Oracle® RAC 11g R1 mit Oracle Cluster File System (OCFS)“ auf Seite 179 beschrieben. In diesem Abschnitt ist die Installation der Software Oracle RAC 10g R2 beschrieben. Folgende Themen werden behandelt: • „Installation von Oracle Clusterware Version 11.1.0.
Installation von Oracle Clusterware Version 11.1.0.6 1 Legen Sie auf Knoten 1 das Medium Oracle Clusterware 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\autorun.exe wobei %CD-Laufwerk% der Laufwerkbuchstabe des optischen Laufwerks ist.
7 Klicken Sie auf Next (Weiter). Das Fenster Specify Network Interface Usage (Nutzung der Netzwerkschnittstelle festlegen) wird angezeigt. Es enthält eine Liste clusterweiter Netzwerkschnittstellen. 8 Konfigurieren Sie mit den Dropdown-Menüs Interface Type (Schnittstellentyp) den öffentlichen Schnittstellentyp als Public (Öffentlich) und den privaten Schnittstellentyp als Private (Privat) (falls erforderlich), indem Sie den Schnittstellennamen auswählen und auf Edit (Bearbeiten) klicken.
11 Führen Sie im Fenster Cluster Configure Storage (Clusterspeicherkonfiguration) für den Voting-Datenträger die folgenden Schritte durch: a Lokalisieren Sie die drei 250-MB-Partitionen, die Sie nach den Anweisungen im Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide (Speicher- und Netzwerkhandbuch) angelegt haben. b Wählen Sie die erste Partition aus, und klicken Sie auf Bearbeiten.
Installation von Oracle 11g Database Version 11.1.0.6 ANMERKUNG: Wenn Sie Oracle mit OCFS installieren, überspringen Sie diese Schritte und machen Sie mit „Installation von Oracle® RAC 11g R1 mit Oracle Cluster File System (OCFS)“ auf Seite 179 weiter. 1 Legen Sie das Medium Oracle Database 11g Release 1 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.
ANMERKUNG: Notieren Sie sich den Pfad, da Sie diese Angabe später benötigen. 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 11g R1-Patchsets 11.1.0.7 1 Vergewissern Sie sich, dass nur Binärdateien der Clusterware- und Datenbankversion 11.1.0.6 auf dem System installiert sind, und dass die Startdatenbank noch nicht erstellt wurde. 2 Laden Sie das Patchset 11.1.0.7 von der Oracle Metalink-Website metalink.oracle.com herunter. Suchen Sie nach der Patchnummer 6890831 und wählen Sie Microsoft Windows x64 (64-bit) als Plattform bzw. Sprache. 3 Entpacken Sie das Patchset auf dem Laufwerk %Systemlaufwerk%.
Installation des Patchsets ANMERKUNG: Sie müssen die Patchset-Software über den Knoten installieren, auf dem die RAC 11g R1-Software installiert wurde. 1 Starten Sie das Installationsprogramm, das sich im Patchset-Ordner befindet. Zum Beispiel: %Systemlaufwerk%\Oracle_patch\setup.exe wobei %Systemlaufwerk% das Laufwerk ist, auf dem Sie das OraclePatchset entpackt haben. 2 Klicken Sie im Begrüßungsfenster auf Weiter.
Installation des Patchsets 11.1.0.7 für Oracle 11g Database ANMERKUNG: Vergewissern Sie sich vor dem Installieren des Patchsets, dass alle Oracle-Dienste angehalten sind. Führen Sie die folgenden Schritte aus, bevor Sie einen Listener und eine Startdatenbank erstellen. Installation des Patchsets ANMERKUNG: Sie müssen die Patchset-Software über den Knoten installieren, auf dem die Software RAC 11g R1 (11.1.0.6) installiert wurde.
Herunterladen der aktuellen Oracle-Patches Oracle stellt möglicherweise weitere Patches bereit, die beim ersten Herunterladen nicht im Patchset enthalten waren. So laden Sie zusätzliche Patches herunter: 1 Öffnen Sie den Webbrowser. 2 Rufen Sie die Oracle Metalink-Website metalink.oracle.com auf. 3 Laden Sie alle für die Installation zutreffenden Patches herunter. Konfiguration des Listeners In diesem Abschnitt werden die Schritte zum Konfigurieren des Listeners beschrieben.
8 Wählen Sie im Fenster Listener Configuration, Select Protocols (Listener-Konfiguration, Protokolle auswählen) die Option TCP, und klicken Sie auf Weiter. 9 Wählen Sie im Fenster Listener Configuration, TCP/IP Protocol (Listener-Konfiguration, TCP/IP-Protokoll) die Option Use the standard port number of 1521 (Standardportnummer 1521 verwenden) aus, und klicken Sie auf Weiter.
3 Geben Sie im Feld Ausführen den nachstehenden Befehl ein und klicken Sie auf OK: %Systemlaufwerk%\app\Administrator\product\11.1.0\ db_1/dbca Der Datenbankkonfigurationsassistent wird gestartet. 4 Wählen Sie im Begrüßungsfenster die Option Oracle Real Application Clusters Database (Oracle Real Application Clusters-Datenbank), und klicken Sie auf Weiter. 5 Klicken Sie im Fenster Operations (Aktionen) auf Create a Database (Datenbank erstellen) und danach auf Weiter.
12 Führen Sie im Fenster Create ASM Instance (ASM-Instanz erstellen) die folgenden Schritte durch: a Geben Sie im Feld SYS password (SYS-Kennwort) ein neues Kennwort ein und bestätigen Sie es im dafür vorgesehenen Feld. b Wählen Sie die Option Create initialization parameter file (IFILE) (Parameterdatei für Initialisierung [IFILE] erstellen). c Klicken Sie auf Next (Weiter).
16 Wählen Sie im Fenster ASM Disk Groups (ASM-Datenträgergruppen) nur den Datenträgergruppennamen aus, den Sie der Datenbank in Schritt 15 (zum Beispiel databaseDG) zugewiesen haben, und klicken Sie auf Weiter. 17 Wählen Sie im Fenster Database File Locations (Datenbank-Speicherorte) die Option Use Oracle-Managed Files (Von Oracle verwaltete Dateien verwenden), und klicken Sie auf Next (Weiter).
23 Klicken Sie im Fenster Creation Options (Erstellungsoptionen) auf Create Database (Datenbank erstellen) und anschließend auf Finish (Fertigstellen). 24 Klicken Sie im Fenster Summary (Übersicht) auf OK. ANMERKUNG: Dieser Vorgang kann eine Stunde oder länger dauern. Nach dem Beenden zeigt der Database Configuration Assistant die Konfigurationsinformationen zur Datenbank an.
Installation von Oracle RAC 11g R1 mit ASM
Konfigurieren und Bereitstellen von Oracle Database 11g (Einzelknoten) Dieser Abschnitt enthält Informationen über das Installieren der Software Oracle 11g R1 auf einem Einzelknoten. Folgende Themen werden behandelt: • „Installation von Oracle Clusterware Version 11.1.0.6“ auf Seite 211 • „Installation von Oracle 11g Database Version 11.1.0.6“ auf Seite 214 • „Installation des Oracle 11g R1-Patchsets 11.1.0.
2 Klicken Sie im Fenster Oracle Clusterware auf Install/Deinstall Products (Produkte installieren/deinstallieren). 3 Klicken Sie im Begrüßungsfenster auf Weiter. 4 Akzeptieren Sie im Fenster Specify Home Details (Stamm-Details festlegen) die Vorgaben (%Systemlaufwerk%\product\11.1.0\crs) und klicken Sie auf Weiter. ANMERKUNG: Notieren Sie sich den Pfad OraCR11g_home (CRS Home), da Sie diese Angabe später benötigen.
10 Führen Sie im Fenster Cluster Configuration Storage (Clusterspeicherkonfiguration) für den OCR-Datenträger die folgenden Schritte durch: a Lokalisieren Sie die 300-MB-Partition, die Sie nach den Anweisungen im Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide (Speicher- und Netzwerkhandbuch) angelegt haben. b Wählen Sie die Partition aus, und klicken Sie auf Bearbeiten.
Im Fenster Install (Installation) wird der Fortschritt der Installation angezeigt. Anschließend erscheint das Fenster Configuration Assistant (Konfigurationsassistent) und das OUI-Installationsprogramm startet eine Reihe von Konfigurationsprogrammen. Danach wird das Fenster End of Installation (Installation abgeschlossen) angezeigt. 15 Klicken Sie auf Exit (Beenden), um die OUI-Sitzung zu beenden. 16 Klicken Sie im Fenster Exit auf Ja. Installation von Oracle 11g Database Version 11.1.0.
5 Überprüfen Sie im Fenster Specify Home Details (Stamm-Details festlegen) unter Destination (Ziel), dass die folgenden Einstellungen gegeben sind: • Im Feld Name ist als Stammname der Oracle-Datenbank die Bezeichnung OraDb11g_home1 eingetragen. • Im Feld Pfad ist der folgende vollständige Oracle-Heimatpfad eingetragen: %Systemlaufwerk%\app\Administrator\product\ 11.1.0\db_1 wobei %Systemlaufwerk% das lokale Laufwerk des Benutzers ist.
Installation des Oracle 11g R1-Patchsets 11.1.0.7 1 Vergewissern Sie sich, dass nur Binärdateien der Clusterware- und Datenbankversion 11.1.0.6 auf dem System installiert sind, und dass die Startdatenbank noch nicht erstellt wurde. 2 Laden Sie das Patchset 11.1.0.7 von der Oracle Metalink-Website metalink.oracle.com herunter. Suchen Sie nach der Patchnummer 6890831 und wählen Sie Microsoft Windows x64 (64-bit) als Plattform bzw. Sprache. 3 Entpacken Sie das Patchset auf dem Laufwerk %Systemlaufwerk%.
Installation des Patchsets ANMERKUNG: Sie müssen die Patchset-Software über den Knoten installieren, auf dem die RAC 11g R1-Software installiert wurde. 1 Starten Sie das Installationsprogramm, das sich im Patchset-Ordner befindet. Zum Beispiel: %Systemlaufwerk%\Oracle_patch\setup.exe wobei %Systemlaufwerk% das Laufwerk ist, auf dem Sie das OraclePatchset entpackt haben. 2 Klicken Sie im Begrüßungsfenster auf Weiter.
Installation des Patchsets 11.1.0.7 für Oracle 11g Database ANMERKUNG: Vergewissern Sie sich vor dem Installieren des Patchsets, dass alle Oracle-Dienste angehalten sind. Führen Sie die folgenden Schritte aus, bevor Sie einen Listener und eine Startdatenbank erstellen. Installation des Patchsets ANMERKUNG: Sie müssen die Patchset-Software über den Knoten installieren, auf dem die Software RAC 11g R1 (11.1.0.6) installiert wurde.
Herunterladen der aktuellen Oracle-Patches Oracle stellt möglicherweise weitere Patches bereit, die beim ersten Herunterladen nicht im Patchset enthalten waren. So laden Sie zusätzliche Patches herunter: 1 Öffnen Sie den Webbrowser. 2 Rufen Sie die Oracle Metalink-Website metalink.oracle.com auf. 3 Laden Sie alle für die Installation zutreffenden Patches herunter. Konfiguration des Listeners In diesem Abschnitt werden die Schritte zum Konfigurieren des Listeners beschrieben.
8 Wählen Sie im Fenster Listener Configuration, TCP/IP Protocol (Listener-Konfiguration, TCP/IP-Protokoll) die Option Use the standard port number of 1521 (Standardportnummer 1521 verwenden) aus, und klicken Sie auf Weiter. 9 Wählen Sie im Fenster Listener Configuration, More Listeners (Konfiguration Listener, Weitere Listener) die Option Nein, und klicken Sie auf Weiter. 10 Klicken Sie im Fenster Listener Configuration Done (Konfiguration des Listeners abgeschlossen) auf Weiter.
4 Wählen Sie im Begrüßungsfenster die Option Oracle Real Application Clusters Database (Oracle Real Application Clusters-Datenbank), und klicken Sie auf Weiter. 5 Klicken Sie im Fenster Operations (Aktionen) auf Create a Database (Datenbank erstellen) und danach auf Weiter. 6 Klicken Sie im Fenster Database Templates (Datenbankvorlagen) auf Custom Database (Benutzerdefinierte Datenbank) und danach auf Weiter.
14 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 Schließen Sie die Datenträger ORCL:ASM1 in die Datenträgergruppe ein.
c Wählen Sie die Datenträgergruppe flashbackDG, die Sie in Schritt f erstellt haben, und klicken Sie auf OK. d Geben Sie im Textfeld Flash Recovery Area Size (Größe des Wiederherstellungsbereichs) die Gesamtgröße der Flash-Datenträgergruppe ein, die Sie in Schritt f erstellt haben. e Wählen Sie Enable Archiving und klicken Sie auf Weiter. 18 Klicken Sie im Fenster Database Content (Datenbankinhalt) auf Weiter.
25 Führen Sie folgende Schritte durch: a Überprüfen Sie, dass die Datenbankinstanz auf dem Knoten vorhanden ist, indem Sie eingeben: srvctl status database -d b Geben Sie die folgenden Befehle ein, um dem Oracle-Benutzerprofil die Umgebungsvariable ORACLE_SID hinzuzufügen: echo "export ORACLE_SID=racdbx" >> /home/oracle/ .bash_profle source /home/oracle/.bash_profile wobei racdbx dem Bezeichner der Datenbankinstanz auf dem Knoten entspricht.
Hinzufügen eines neuen Knotens in einem bestehenden Oracle 11g RAC-Cluster In den folgenden Abschnitten ist beschrieben, wie Knoten und Instanzen in Oracle RAC-Datenbanken unter Windows hinzugefügt werden. Vorbereiten des Knotens auf das Hinzufügen in einem Cluster Führen Sie die folgenden Schritte auf dem bzw. den Knoten durch, die Sie einem bestehenden Cluster hinzufügen wollen: 1 Installieren und konfigurieren Sie das Betriebssystem mit den DeploymentCDs.
Sie verfügen über die erforderlichen Administratorrechte auf allen Knoten, wenn das Betriebssystem jeweils antwortet: Command completed successfully. ANMERKUNG: Wenn Sie ASM verwenden, achten Sie darauf, dass die neuen Knoten die gleichen Zugriffsrechte für die ASM-Datenträger erhalten wie die bereits vorhandenen Knoten. ANMERKUNG: Falls Sie Oracle Cluster-Dateisysteme verwenden, stellen Sie sicher, dass die neuen Knoten genau wie die bereits vorhandenen Knoten auf das Cluster-Dateisystem zugreifen können.
4 Wenn alle Überprüfungen erfolgreich verlaufen, wird in OUI die Seite Node Addition Summary (Knoten hinzufügen: Zusammenfassung) angezeigt. 5 Klicken Sie auf Weiter; in OUI wird die Seite Cluster Node Addition Progress (Knoten hinzufügen: Status) angezeigt. 6 Klicken Sie nach Abschluss des Vorgangs auf Exit (Beenden), um die OUI-Sitzung zu beenden. Wenn in OUI die Seite End of Node Addition (Knoten hinzufügen: Fertig) angezeigt wird, klicken Sie auf Exit (Beenden), um die OUI-Sitzung zu beenden.
Hinzufügen von Knoten in der Oracle RAC Datenbank-Schicht 1 Führen Sie von %ORACLE_HOME%\oui\bin das Skript addNode.bat aus. Damit wird der OUI im Knoten-hinzufügen-Modus gestartet, und die OUI-Begrüßungsseite wird angezeigt. Klicken Sie auf der Startseite auf Weiter. Die Seite Specify Cluster Nodes for Node Addition (Hinzuzufügende Clusterknoten auswählen) wird angezeigt.
Hinzufügen von Datenbankinstanzen in den neuen Knoten Führen Sie die folgenden Vorgänge für jeden neuen Knoten durch, um Instanzen hinzuzufügen: 1 Wählen Sie Start → Programme → Oracle - HOME_NAME → Configuration and Migration Tools (Konfigurations- und Migrationsprogramme) → Database Configuration Assistant (Datenbankkonfigurationassistent). 2 Im DBCA wird die RAC-Begrüßungsseite angezeigt. Auf allen DBCASeiten können Sie auf Help (Hilfe) klicken, um zusätzliche Informationen anzuzeigen.
9 Geben Sie die Dienste-Informationen für die Instanz des neuen Knotens ein und klicken Sie auf Weiter; im DBCA wird die Seite Instance Storage (Instanzspeicher) angezeigt. 10 Klicken Sie auf Finish (Fertig stellen); im DBCA wird das Dialogfeld Summary (Übersicht) angezeigt. 11 Überprüfen Sie die Informationen im Dialogfeld Summary (Übersicht), und klicken Sie auf OK. In einem Dialogfeld wird der Fortschritt beim Hinzufügen der Instanz angezeigt.
Stichwortverzeichnis Nummern E 11g R1Patchset 11.1.0.7, 186, 201 Einzelknoten, 211 A ASM, 195 C H Hilfe, 177 Dell Support, 177 Oracle Support, 177 Hinzufügen von Knoten, 226 Clusterware Installieren, 196, 211 L Clusterware Version 11.1.0.6, 196 Listener Konfigurieren, 189, 204, 219 LUN, 176 D Database Version 11.1.0.
O R OCFS, 179 Erstellen der Startdatenbank, 191 Installieren von Oracle mit, 179 Real Application Clusters, 184 Oracle Clusterware Autorun, 180 S Oracle Database, 175 Startdatenbank, 191 Erstellen, 191 Oracle Database 10g Bereitstellen, 211 Konfigurieren, 211 V Oracle Databases and Applications Solutions-Website, 177 Oracle-Website, 177 P Patchset 11.1.0.
Dell™ PowerEdge™ システム Microsoft® Windows Server® x64 上で 使用する Oracle® データベース データベースセットアップ & インストールガイド バージョン 1.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明しています。 注意:手順に従わない場合は、ハードウェアの損傷やデータの損失の可能 性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2008 ~ 2009 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書に使用されている商標:Dell および DELL ロゴは Dell Inc. の商標です。Microsoft、 Windows および Windows Server は米国その他の国における Microsoft Corporation の 商標または登録商標です。Oracle は Oracle Corporation および / またはその関連会社の 登録商標です。 商標または製品の権利を主張する事業体を表すためにその他の商標および社名が使用されて いることがあります。Dell Inc.
目次 1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dell|Oracle 11g Database の 導入に必要なマニュアル . . . . . . . . . . . . . . . . . . 240 . . . . . . . . . . . . . . . . . . . . . . . . 240 デルサポート . . . . . . . . . . . . . . . . . . . . . . Oracle のサポート . 2 239 . . . . . . . . . . . . . . . . 本書で使用されている用語 . 困ったときは . 239 . . . . . . . . . . . . . . . . . . . OCFS(Oracle Cluster File System) を使用した Oracle ® RAC 11g R1 の インストール . . . . . . . . . . . . . . . . . .
3 ASM(Automatic Storage Management) を使用した Oracle ® RAC 11g R1 の イ ン ス トー ル . . . . . . . . . . . . . . . . . . . . . . . 259 Oracle Clusterware バージョン 11.1.0.6 のインストール . . . . . . . . . . . . . . . . . . . Oracle 11g Database バージョン 11.1.0.6 のインストール . . . . . Oracle 11g R1 パッチセット 11.1.0.7 のインストール . . . . . . . . . . . . . . . . 263 . . . . . . . . . . . . . . . . . 265 Oracle 11g Clusterware 用のパッチセット 11.1.0.7 のインストール . . . . . . . . . . . Oracle 11g Database 用のパッチセット 11.1.0.7 のインストール . . . . . . . . .
Oracle 11g R1 パッチセット 11.1.0.7 の インストール . . . . . . . . . . . . . . . . . . . . . . . . . Oracle 11g Clusterware 用のパッチセッ ト 11.1.0.7 のインストール . . . . . . . . . . . . . . . 280 Oracle 11g Database 用のパッチセット 11.1.0.7 のインストール. . . . . . . . . . . . . . . . . 282 . . . . . . . . 283 . . . . . . . . . . . . . . . . . . . . . . . 283 最新の Oracle パッチのダウンロード リスナーの設定 シードデータベースの作成 . 5 . . . . . . . . . . . . . . . . 既存の Oracle 11g RAC クラスタへの新しいノードの追加 クラスタに追加するノードの準備 . 284 . . . . . . . 289 . . . . . .
目次
概要 本書の説明は次の製品に適用されます。 • Microsoft® Windows Server® 2003 R2 SP2 または Windows Server 2008 Enterprise/Standard x64 Edition で使用する Oracle® Database 11g R1 Enterprise Edition • Windows Server 2003 R2 SP2 または Windows Server 2008 Standard x64 Edition で使用する Oracle Database 11g R1 Standard Edition Dell|Oracle 11g Database の導入に必要なマ ニュアル Dell|Oracle 11g Database のインストールに必要なマニュアルは、以下 のとおりです。 • 『Microsoft Windows Server x64 で使用する Oracle データベース — OS のインストールとハードウェアの取り付けガイド』— 最低限必要 なソフトウェアとハードウェアのバージョン、OS のインストールと 設定の方法、
• 『Microsoft Windows Server x64 で使用する Oracle データベース — トラブルシューティングガイド』— 前の分冊で説明されているインス トール手順中に発生するエラーの解決方法について説明しています。 メモ:各分冊のいずれにも、デルのテクニカルサポートを利用する方法 が記されています。 本書で使用されている用語 • 本書では、「論理ユニット番号」(LUN)および「仮想ディスク」と いう語が使われています。これらの用語は同義語であり、どちらを 使用しても構いません。「LUN」は Dell/EMC ファイバーチャネルス トレージシステムの環境で、「仮想ディスク」は Dell PowerVault SAS(Dell MD3000 および Dell MD3000i + MD1000 拡張)ストレー ジの環境で、通常使われる用語です。 • 本書で使われている Enterprise Linux という用語は、特に説明のな い限り Red Hat® Enterprise Linux® と Oracle Enterprise Linux の両 方に適用されます。 困ったときは デ
Oracle のサポート • Oracle ソフトウェア、アプリケーションクラスタウェアのトレーニ ング、および Oracle へのお問い合わせの方法については、Oracle の ウェブサイト oracle.com またはシステムに付属の Oracle のマニュ アルを参照してください。 • テクニカルサポート、ダウンロード、その他の技術情報については、 My Oracle Support ウェブサイト metalink.oracle.
概要
OCFS(Oracle Cluster File System) を使用した Oracle® RAC 11g R1 の インストール メモ:ASM を使用して Oracle をインストールする場合は、以下の手順を 省略して 259 ページの「ASM(Automatic Storage Management)を使用した Oracle® RAC 11g R1 のインストール」の手順に従います。 本項では、Oracle RAC 11g R1 ソフトウェアのインストール手順につい て説明します。内容は次のとおりです。 • 244 ページの「Oracle Clusterware バージョン 11.1.0.6 のインス トール」 • 248 ページの「Oracle Database 11g R1 with Real Application Clusters 11.1.0.6 のインストール」 • 250 ページの「Oracle 11g R1 パッチセット 11.1.0.
Oracle Clusterware バージョン 11.1.0.6 のイン ストール 1 ノード 1 でオプティカルドライブに Oracle Clusterware 11g Release 1 for Microsoft® Windows® メディアをセットします。 Oracle Clusterware - Autorun(Oracle Clusterware - 自動実行) ウィンドウが表示されます。Oracle Clusterware - Autorun (Oracle Clusterware - 自動実行)ウィンドウが表示されない場合は、 以下の手順を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドに次のテキストを入力し、 OK をクリックします。 %CD-ROM drive%:\autorun\autorun.
6 Specify Cluster Configuration(クラスタ構成の指定)ウィンド ウで、以下の情報を入力します。 • 代替クラスタの名前(必要に応じて)。 • 両方のクラスタノード用のパブリックおよびプライベートネット ワークのホスト名。追加ノードを指定するには、Add(追加) をクリックします。 • Add a new node to the existing cluster(既存のクラスタに 新しいノードを追加する)ウィンドウで、パブリック、プライ ベート、および仮想ホスト名を入力し、OK をクリックします。 メモ:ネットワークホスト名にドメイン名の拡張子が含まれていな いことを確認してください。 7 Next(次へ)をクリックします。 Specify Network Interface Usage(ネットワークインタフェース の用途を指定する)ウィンドウが表示され、クラスタ全体のネット ワークインタフェースのリストが表示されます。 8 必要に応じて、次の手順を実行することで、パブリックの Interface Type(インタフェースの種類)を Public に (Private
d 2 番目のパーティションを選択し、Edit(編集)をクリックし ます。クします。 e Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Place OCR (Mirror) on this partition(このパーティ ションに OCR(ミラー)を置く)を選択し、OK をクリックし ます。 11 Cluster Configuration Storage(クラスタ構成ストレージ) ウィンドウで、投票ディスクについて以下の手順を実行します。 a 『Microsoft Windows Server x64 で使用する Oracle データベー ス — ストレージ & ネットワークガイド』の手順に従って作成し た 3 つの 250 MB パーティションの位置を確認します。 b 最初のパーティションを選択し、Edit(編集)をクリックします。 c Specify Disk Configuration(ディスク構成の指定)ウィン ドウで、Place Voting Disk on this partition(このパー ティションに投票ディスクを置く)を選
13 Cluster Configuration Storage(クラスタ構成ストレージ)ウィ ンドウで、フラッシュリカバリについて以下の手順を実行します。 a 『Microsoft Windows Server x64 で使用する Oracle データベー ス — ストレージ & ネットワークガイド』の手順に従って作成し たパーティションの位置を確認します。 b パーティションを選択し、Edit(編集)をクリックします。 c Specify Disk Configuration(ディスク構成の指定)ウィン ドウで、Format partition with CFS(パーティションを CFS でフォーマット)を選択します。 d Use partition for data storage(パーティションをデータス トレージに使用する)が選択されていることを確認します。 e Assign Drive Letter(ドライブ文字の割り当て)オプション のドロップダウンメニューを使用して、ドライブ文字をパーティ ションに割り当てます。 f OK をクリックします。 14 Cluster Co
a エラーウィンドウで、OK をクリックします。 b Configuration Assistant ウィンドウで、Next(次へ) をクリックします。 c 警告メッセージを無視して OK をクリックします。 d Exit(終了)をクリックして OUI セッションを終了します。 e Exit(終了)ウィンドウで、Yes(はい)をクリックします。 17 ASM を使用して Oracle をインストールする場合は、259 ページの 「ASM(Automatic Storage Management)を使用した Oracle® RAC 11g R1 のインストール」に進みます。そうでない場合は 243 ページの「OCFS(Oracle Cluster File System)を使用した Oracle® RAC 11g R1 のインストール」に進みます。 Oracle Database 11g R1 with Real Application Clusters 11.1.0.
3 Next(次へ)をクリックします。 4 Select Installation Type(インストールタイプの選択)ウィンド ウで Enterprise Edition を選択し、Next(次へ)をクリックし ます。 5 Specify Home Details(ホームの詳細の指定)ウィンドウの Destination(インストール先)で、以下のことを確認します。 • Name(名前)フィールドで、Oracle データベースのホーム名 が OraDb11g_home1 であること。 • Path(パス)フィールドで、Oracle ホームの完全なパスが次の ようになっていること。 %SystemDrive%\app\Administrator\product\ 11.1.0.
10 Summary(サマリ)ウィンドウで、Install(インストール)をク リックします。 11 End of Installation(インストールの終了)ウィンドウで、ウィン ドウに表示されている手順を実行します。 メモ:次の手順に進む前に、このウィンドウに表示されている手順 を実行する必要があります。 12 End of Installation(インストールの終了)ウィンドウの表示に 従って必要な手順を実行したら、Exit(終了)をクリックします。 13 次のコマンドをリモートノードで実行して、Oracle Data Provider for .NET、Oracle Provider for OLE DB、Oracle Objects for OLE、 Oracle Counters for Windows Performance Monitor、および Oracle Administration Assistant をアクティブにします。 \bin\SelectHome.
Oracle 11g Clusterware 用のパッチセット 11.1.0.7 のインストール 作業を開始する前に お使いのシステムに Oracle 11g Clusterware 用のパッチセット 11.1.0.7 をインストールする前に、次の手順を実行してください。 1 すべてのノードで nodeapps を停止します。以下を入力します。 %SystemDrive%\%CRS_HOME%\bin> srvctl stop nodeapps -n < ノード名 > %SystemDrive% は Oracle ホームが設定されているドライブで、 %CRS_HOME% は 244 ページの「Oracle Clusterware バージョン 11.1.0.
5 Product-Specific Prerequisite Checks(製品固有の前提条件の チェック)ウィンドウで、Next(次へ)をクリックします。 6 Summary(サマリ)ウィンドウで、Install(インストール)をク リックします。 7 End of Installation(インストールの終了)ウィンドウで、 Summary(サマリ)ウィンドウに表示されている手順をすべて実 行します。Oracle サービスの停止を指示する手順を実行しないでく ださい。— 251 ページの「作業を開始する前に」に記載されている ように、その手順はパッチセットのインストールを開始する前に実 行済みのはずです。 8 End of Installation(インストールの終了)ウィンドウで、 Exit(終了)をクリックします。 9 Yes(はい)をクリックして OUI を終了します。 Oracle 11g Database 用のパッチセット 11.1.0.
4 Specify Hardware Cluster Installation Mode(ハードウェアの クラスタインストールモードの指定)ウィンドウで、Next(次へ) をクリックします。 5 Product-Specific Prerequisite Checks(製品固有の前提条件の チェック)ウィンドウで、Next(次へ)をクリックします。 6 Oracle Configuration Manager Registration(Oracle 構成マ ネージャの登録)ウィンドウで、Next(次へ)をクリックします。 7 Summary(サマリ)ウィンドウで、Install(インストール)をク リックします。 8 End of Installation(インストールの終了)ウィンドウで、 Summary(サマリ)ウィンドウに表示されている手順をすべて実 行します。Oracle サービスの停止を指示する手順を実行しないでく ださい。— 「作業を開始する前に」に記載されているように、その 手順はパッチセットのインストールを開始する前に実行済みのはず です。 9 End of Installation(インスト
リスナーの設定 本項では、リモートクライアントからデータベースに接続するために必 要なリスナーの設定手順について説明します。 メモ:本項の手順を実行するには、パッチがすでにインストールされて いる必要があります。 ノード 1 で、以下の手順を実行します。 1 スタート をクリックし、ファイル名を指定して実行 を選択して、 次のテキストを入力します。 netca 2 OK をクリックします。 3 Real Application Clusters の Configuration(構成)ウィン ドウで、Cluster Configuration(クラスタの構成)を選択し、 Next(次へ)をクリックします。 4 Real Application Clusters, Active Nodes(Real Application Clusters - アクティブノード)ウィンドウで、Select all nodes (すべてのノードを選択する)を選択し、Next(次へ)をクリック します。 5 Welcome(ようこそ)ウィンドウで Listener Configuration (リスナーの設定)を選択してから、Nex
9 Listener Configuration, TCP/IP Protocol(リスナーの設定 TCP/IP プロトコル)ウィンドウで Use the standard port number of 1521(標準ポート番号 1521 を使用)を選択し、Next(次へ) をクリックします。 10 Listener Configuration, More Listeners(リスナーの設定 リスナーの追加)ウィンドウで、No(いいえ)を選択し、Next (次へ)をクリックします。 11 Listener Configuration Done(リスナーの設定が終了しました) ウィンドウで Next(次へ)をクリックします。 12 Welcome(ようこそ)ウィンドウで Finish(完了)をクリックし ます。 シードデータベースの作成 本項では、OCFS を使用してシードデータベースを作成する手順とシー ドデータベースを確認する手順について説明します。 メモ:本項の手順を実行するには、パッチがすでにインストールされて いる必要があります。 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 Sto
13 Recovery Configuration(リカバリ構成)ウィンドウで、以下の 手順を実行します。 a Specify Flash Recovery Area(フラッシュリカバリ領域の 指定)を選択します。 b Browse(参照)をクリックします。 c Directory Browse(ディレクトリの参照)ウィンドウで、 12 ページの Oracle Clusterware バージョン 11.1.0.
18 Database Services(データベースサービス)ウィンドウで Next (次へ)をクリックします。 19 Initialization Parameters(初期化パラメータ)ウィンドウで Next(次へ)をクリックします。 20 Security Settings(セキュリティの設定)ウィンドウで、Keep the enhanced 11g default security settings (recommended) (強化された 11g デフォルトセキュリティ設定をそのまま使用する (推奨))を選択し、Next(次へ)をクリックします。 21 Automatic Maintenance Tasks(自動メンテナンスタスク) ウィンドウで Enable automatic maintenance tasks(自動メ ンテナンスタスクを有効にする)を選択し、Next(次へ)をク リックします。 22 Database Storage(データベース記憶域)ウィンドウで Next (次へ)をクリックします。 23 Creation Options(作成オプション)ウィンドウでデフォルト 値をその
ASM(Automatic Storage Management)を使用した Oracle® RAC 11g R1 の インストール メモ:OCFS(Oracle Cluster File System)を使用して Oracle をインストー ルする場合は、以下の手順を省略して 243 ページの「OCFS(Oracle Cluster File System)を使用した Oracle® RAC 11g R1 のインストール」の手順に従 います。 本項では、Oracle RAC 11g R1 ソフトウェアのインストール手順につい て説明します。内容は次のとおりです。 • 260 ページの「Oracle Clusterware バージョン 11.1.0.6 のインス トール」 • 263 ページの「Oracle 11g Database バージョン 11.1.0.6 のインス トール」 • 265 ページの「Oracle 11g R1 パッチセット 11.1.0.
Oracle Clusterware バージョン 11.1.0.6 のイン ストール 1 ノード 1 で、オプティカルドライブに Oracle Clusterware メディア をセットします。 OUI が起動し、Welcome(ようこそ)ウィンドウが表示されます。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドに次のテキストを入力し、 OK をクリックします。 %CD ドライブ %\autorun\autorun.
c Add(追加)をクリックします。 d 2 番目のノードのパブリック名、プライベート名、および仮想ホ スト名を入力し、OK をクリックします。 7 Next(次へ)をクリックします。 Specify Network Interface Usage(ネットワークインタフェース の用途を指定する)ウィンドウが表示され、クラスタ全体のネット ワークインタフェースのリストが表示されます。 8 Interface Type(インタフェースのタイプ)ドロップダウンメ ニューで、(必要に応じて)Interface Name(インタフェース名) を選択し、Edit(編集)をクリックすることで、パブリックの Interface Type(インタフェースのタイプ)を Public、プライ ベートの Interface Type(インタフェースのタイプ)を Private に設定します。正しい Interface Type(インタフェースのタイプ) を選択し、OK をクリックします。 9 Next(次へ)をクリックします。 10 Cluster Configuration Storage(クラスタ構成ストレージ) ウィン
11 Cluster Configure Storage(クラスタ構成ストレージ)ウィンド ウで、投票ディスクについて以下の手順を実行します。 a 『Microsoft Windows Server x64 で使用する Oracle データ ベース — ストレージ & ネットワークガイド』の手順に従って 作成した 3 つの 250 MB パーティションの位置を確認します。 b 最初のパーティションを選択し、Edit(編集)をクリックします。 c Specify Disk Configuration(ディスク構成の指定)ウィ ンドウで、Place Voting Disk on this partition(このパー ティションに投票ディスクを置く)を選択し、OK をクリック します。 d 残りの投票ディスクパーティションで 手順 b と 手順 c を繰り返 します。 12 Next(次へ)をクリックします。 13 警告メッセージを無視して OK をクリックします。 14 Summary(サマリ)ウィンドウで Install(インストール)をク リックしてインストール手順を開始します。 メモ:Co
Oracle 11g Database バージョン 11.1.0.6 のイン ストール メモ:OCFS を使用して Oracle をインストールする場合は、以下の手 順を省略して 243 ページの「OCFS(Oracle Cluster File System)を使用した Oracle® RAC 11g R1 のインストール」に進みます。 1 オプティカルドライブに Oracle Database 11g Release 1 メディアを セットします。 OUI が起動し、Welcome(ようこそ)ウィンドウが表示されます。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドで、次のテキストを入力 します。 %CD ドライブ %\autorun\autorun.
メモ:パスをメモしておきます。後でこの情報が必要になります。 メモ:Oracle ホームのパスは、Oracle Clusterware インストール中 に選択した Oracle ホームのパスとは異なっている必要があります。 Oracle Database 11g R1 Enterprise x64 Edition と Clusterware を同じホー ムディレクトリにインストールすることはできません。 6 Next(次へ)をクリックします。 7 Specify Hardware Cluster Installation Mode(ハードウェア のクラスタインストールモードの指定)ウィンドウで Select All (すべて選択)をクリックしてから、Next(次へ)をクリックし ます。 8 Product-Specific Prerequisite Checks(製品固有の前提条件の チェック)ウィンドウで、Next(次へ)をクリックします。 9 Select Configuration Option(構成オプションの選択)ウィンド ウで Install database Software only(デー
Oracle 11g R1 パッチセット 11.1.0.7 の インストール 1 お使いのシステムに 11.1.0.6 Clusterware と 11.1.0.6 データベース バイナリのみがインストールされており、シードデータベースがま だ作成されていないことを確認します。 2 Oracle Metalink のウェブサイト metalink.oracle.com からパッ チセット 11.1.0.7 をダウンロードします。パッチ番号 6890831 を検索し、プラットフォームまたは言語として Microsoft Windows x64 (64-bit) を選択します。 3 パッチセットを %SystemDrive% に解凍します。 Oracle 11g Clusterware 用のパッチセット 11.1.0.7 のインストール 作業を開始する前に お使いのシステムに Oracle 11g Clusterware 用のパッチセット 11.1.0.
パッチセットのインストール メモ:パッチセットソフトウェアのインストールは、RAC 11g R1 ソフ トウェアをインストールしたノードから行う必要があります。 1 パッチセットのフォルダにある OUI を起動します。例: %SystemDrive%\Oracle_patch\setup.
Oracle 11g Database 用のパッチセット 11.1.0.7 のインストール メモ:パッチセットをインストールする前に、すべての Oracle サービス が停止していることを確認してください。 リスナーとシードデータベースを作成する前に、次の手順を完了します。 パッチセットのインストール メモ:パッチセットソフトウェアのインストールは、RAC 11g R1(11.1.0.6) ソフトウェアをインストールしたノードから行う必要があります。 1 パッチセットを解凍した領域にある OUI を起動します。例: %SystemDrive%\Oracle_patch\setup.
最新の Oracle パッチのダウンロード Oracle は、パッチセットを最初にダウンロードした時には含まれてい なかった追加のパッチを提供する場合があります。追加のパッチをダウ ンロードするには、次の手順を実行します。 1 ウェブブラウザを開きます。 2 Oracle Metalink のウェブサイト metalink.oracle.com にアクセス します。 3 実行するインストールに適切なパッチをダウンロードします。 リスナーの設定 本項では、リモートクライアントからデータベースに接続するために必 要なリスナーの設定手順について説明します。 1 クラスタのノード 1 で、Oracle ホームから netca.bat コマンドを 実行します。 %SystemDrive%\app\Administrator\product\11.1.
8 Listener Configuration Select Protocols(リスナーの設定 プロトコルの選択)ウィンドウの Selected protocols(選択するプ ロトコル)フィールドで TCP を選択し、Next(次へ)をクリックし ます。 9 Listener Configuration TCP/IP Protocol(リスナーの設定 TCP/IP プロトコル)ウィンドウで Use the standard port number of 1521(標準ポート番号 1521 を使用)を選択し、 Next(次へ)をクリックします。 10 Listener Configuration, More Listeners(リスナーの設定 - リス ナーの追加)ウィンドウで、No(いいえ)を選択し、Next(次へ) をクリックします。 11 Listener Configuration Done(リスナーの設定が終了しました) ウィンドウで Next(次へ)をクリックします。 12 Welcome(ようこそ)ウィンドウで Finish(完了)をクリックし ます。 シードデータベースの作成 Oracl
2 ノード 1 で スタート をクリックし、ファイル名を指定して実行 を選択します。 3 ファイル名を指定して実行 フィールドに次のテキストを入力し、 OK をクリックします。 %SystemDrive%\app\Administrator\product\11.1.
12 Create ASM Instance(ASM インスタンスの作成)ウィンドウで、 以下の手順を実行します。 a SYS password(SYS パスワード)フィールドで、新しいそれ ぞれ適切なフィールドに新しいパスワードの入力と確認の入力を 行います。 b Create initialization parameter file (IFILE)(初期化パラ メータファイル(IFILE)の作成)を選択します。 c Next(次へ)をクリックします。 13 Database Configuration Assistant が ASM インスタンスを作 成して起動する準備ができたことを示すメッセージが表示されたら、 OK をクリックします。 14 ASM Disk Groups(ASM ディスクグループ)ウィンドウで、 Create New(新規作成)をクリックします。 15 Create Disk Group(ディスクグループの作成)ウィンドウで、 次の手順を実行します。 a 新しいディスクグループの名前(databaseDG など)を入力し ます。 b Redundancy(冗長)ボ
16 ASM Disk Groups(ASM ディスクグループ)ウィンドウで、 手順 15 でデータベースに割り当てたディスクグループ名(たと えば databaseDG)のみを選択し、Next(次へ)をクリックし ます。 17 Database File Locations(データベースファイルの位置)ウィ ンドウで、Use Oracle-Managed Files(Oracle Managed Files の 使用)を選択し、Next(次へ)をクリックします。 18 Recovery Configuration(リカバリ構成)ウィンドウで、以下の 手順を実行します。 a Specify Flash Recovery Area(フラッシュリカバリ領域の 指定)を選択します。 b Browse(参照)をクリックします。 c 手順 f で作成した flashbackDG ディスクグループを選択し、 OK をクリックします。 d Flash Recovery Area Size(フラッシュリカバリ領域のサ イズ)テキストボックスに、手順 f で作成したフラッシュディ スクグループの合計サイズを入力し
22 Database Storage(データベース記憶域)ウィンドウで Next (次へ)をクリックします。 23 Creation Options(作成オプション)ウィンドウで Create Database(データベースの作成)を選択してから、Finish(完了) をクリックします。 24 Summary(サマリ)ウィンドウで OK をクリックします。 メモ:この処理には 1 時間またはそれ以上かかることがあります。 作成が完了すると、Database Configuration Assistant ウィンド ウが表示されます。 25 必要に応じて Password Management(パスワード管理) をクリックして、権限を持つユーザーに特定のパスワードを割り 当てます。その必要がない場合は Exit(終了)をクリックします。 クラスタデータベースがすべてのノードで起動中であることを示す メッセージが表示されます。 26 次の手順を各ノードで実行します。 a 次のように入力して、そのノードにデータベースインスタンスが 存在することを確認します。 srvctl status database -d
ASM を使用した Oracle© RAC 11g R1 のインストール
Oracle Database 11g の設定お よび導入(シングルノード) 本項では、シングルノードに Oracle 11g R1 ソフトウェアをインストー ルする手順について説明します。本項では、以下のトピックについて説 明します。 • 276 ページの「Oracle Clusterware バージョン 11.1.0.6 のインス トール」 • 278 ページの「Oracle 11g Database バージョン 11.1.0.6 のインス トール」 • 280 ページの「Oracle 11g R1 パッチセット 11.1.0.
Oracle Clusterware バージョン 11.1.0.6 のイン ストール 1 ノード 1 でオプティカルドライブに Oracle 11g R1 Clusterware for Microsoft Windows メディアをセットします。 Welcome(ようこそ)ウィンドウが表示され、OUI(Oracle User Interface)が起動します。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドに次のテキストを入力し、 OK をクリックします。 %CD ドライブ %\autorun\autorun.
7 Next(次へ)をクリックします。 Specify Network Interface Usage(ネットワークインタフェース の用途を指定する)ウィンドウが表示され、クラスタ全体のネット ワークインタフェースのリストが表示されます。 8 Interface Type(インタフェースのタイプ)ドロップダウンメ ニューで、(必要に応じて)Interface Name(インタフェース名) を選択し、Edit(編集)をクリックすることで、パブリックの Interface Type(インタフェースのタイプ)を Public、プライ ベートの Interface Type(インタフェースのタイプ)を Private に設定します。正しい Interface Type(インタフェースのタイプ) を選択し、OK をクリックします。 9 Next(次へ)をクリックします。 10 Cluster Configuration Storage(クラスタ構成ストレージ) ウィンドウで、OCR ディスクについて以下の手順を実行します。 a 『Microsoft Windows Server x64 で使用する Oracle データ
14 Summary(サマリ)ウィンドウで Install(インストール)をク リックしてインストール手順を開始します。 メモ:Configuration Assistant ウィンドウでエラーが発生した場合は、 以下の手順を実行して『Microsoft Windows Server x64 で使用する Oracle データベース — トラブルシューティングガイド』を参照し てください。 Install(インストール)ウィンドウにインストールの進行状況が表 示されます。 Configuration Assistants ウィンドウが表示され、OUI が一連の 設定ツールを実行します。 End of Installation(インストールの終了)ウィンドウが表示さ れます。 15 Exit(終了)をクリックして OUI セッションを終了します。 16 Exit(終了)ウィンドウで、Yes(はい)をクリックします。 Oracle 11g Database バージョン 11.1.0.
4 Select Installation Type(インストールタイプの選択)ウィンド ウで Enterprise Edition をクリックしてから、Next(次へ)をク リックします。 5 Specify Home Details(ホームの詳細の指定)ウィンドウの Destination(インストール先)で、以下のことを確認します。 • Name(名前)フィールドで、Oracle データベースのホー ム名が OraDb11g_home1 であること。 • Path(パス)フィールドで、Oracle ホームの完全なパスが次 のようになっていること。 %SystemDrive%\app\Administrator\product\ 11.1.
Oracle 11g R1 パッチセット 11.1.0.7 の インストール 1 お使いのシステムに 11.1.0.6 Clusterware と 11.1.0.6 データベー スバイナリのみがインストールされており、シードデータベースが まだ作成されていないことを確認します。 2 Oracle Metalink のウェブサイト metalink.oracle.com からパッ チセット 11.1.0.7 をダウンロードします。パッチ番号 6890831 を検索し、プラットフォームまたは言語として Microsoft Windows x64 (64-bit) を選択します。 3 パッチセットを %SystemDrive% に解凍します。 Oracle 11g Clusterware 用のパッチセット 11.1.0.7 のインストール 作業を開始する前に お使いのシステムに Oracle 11g Clusterware 用のパッチセット 11.1.0.
パッチセットのインストール メモ:パッチセットソフトウェアのインストールは、RAC 11g R1 ソフ トウェアをインストールしたノードから行う必要があります。 1 パッチセットのフォルダにある OUI を起動します。例: %SystemDrive%\Oracle_patch\setup.
Oracle 11g Database 用のパッチセット 11.1.0.7 のインストール メモ:パッチセットをインストールする前に、すべての Oracle サービス が停止していることを確認してください。 リスナーとシードデータベースを作成する前に、次の手順を完了します。 パッチセットのインストール メモ:パッチセットソフトウェアのインストールは、RAC 11g R1(11.1.0.6) ソフトウェアをインストールしたノードから行う必要があります。 1 パッチセットを解凍した領域にある OUI を起動します。例: %SystemDrive%\Oracle_patch\setup.
9 End of Installation(インストールの終了)ウィンドウで、 Exit(終了)をクリックします。 10 Yes(はい)をクリックして OUI を終了します。 最新の Oracle パッチのダウンロード Oracle は、パッチセットを最初にダウンロードした時には含まれてい なかった追加のパッチを提供する場合があります。追加のパッチをダウ ンロードするには、次の手順を実行します。 1 ウェブブラウザを開きます。 2 Oracle Metalink のウェブサイト metalink.oracle.com にアクセス します。 3 実行するインストールに適切なパッチをダウンロードします。 リスナーの設定 本項では、リモートクライアントからデータベースに接続するために必 要なリスナーの設定手順について説明します。 1 クラスタのノード 1 で、Oracle ホームから netca.bat コマンドを 実行します。 %SystemDrive%\app\Administrator\product\11.1.
6 Listener Configuration Listener Name(リスナーの設定 - リス ナー名)ウィンドウの Listener name(リスナー名)フィールドで default setting(デフォルト設定)を選択し、Next(次へ)をク リックします。 7 Listener Configuration Select Protocols(リスナーの設定 プロトコルの選択)ウィンドウの Selected protocols(選択する プロトコル)フィールドで TCP を選択し、Next(次へ)をクリッ クします。 8 Listener Configuration TCP/IP Protocol(リスナーの設定 TCP/IP プロトコル)ウィンドウで Use the standard port number of 1521(標準ポート番号 1521 を使用)を選択し、 Next(次へ)をクリックします。 9 Listener Configuration, More Listeners(リスナーの設定 リスナーの追加)ウィンドウで、No(いいえ)を選択し、 Next(次へ)をクリックします。 1
d 上記のメッセージが表示されない場合は、crsctl start crs と入力します。 e exit と入力することで、cmd ウィンドウを閉じます。 2 ノード 1 で スタート をクリックし、ファイル名を指定して実行 を 選択します。 3 ファイル名を指定して実行 フィールドに次のテキストを入力し、 OK をクリックします。 %SystemDrive%\app\Administrator\product\11.1.
11 Create ASM Instance(ASM インスタンスの作成)ウィンドウで、 以下の手順を実行します。 a SYS password(SYS パスワード)フィールドで、新しいそれ ぞれ適切なフィールドに新しいパスワードの入力と確認の入力 を行います。 b Next(次へ)をクリックします。 12 Database Configuration Assistant が ASM インスタンスを作成 して起動する準備ができたことを示すメッセージが表示されたら、 OK をクリックします。 13 ASM Disk Groups(ASM ディスクグループ)ウィンドウで、 Create New(新規作成)をクリックします。 14 Create Disk Group(ディスクグループの作成)ウィンドウで、 次の手順を実行します。 286 a 新しいディスクグループの名前(databaseDG など)を入力し ます。 b Redundancy(冗長)ボックスで、External(外付け)を選択 します。 c ディスクグループに含めるディスク ORCL:ASM1 を選択します。 d ASM ラ
15 ASM Disk Groups(ASM ディスクグループ)ウィンドウで、前の 手順でデータベースに割り当てたディスクグループ名(たとえば databaseDG)のみを選択し、Next(次へ)をクリックします。 16 Database File Locations(データベースファイルの位置)ウィン ドウで、Use Oracle-Managed Files(Oracle Managed Files の使用)を選択し、Next(次へ)をクリックします。 17 Recovery Configuration(リカバリ構成)ウィンドウで、以下の 手順を実行します。 a Specify Flash Recovery Area(フラッシュリカバリ領域の 指定)を選択します。 b Browse(参照)をクリックします。 c 手順 f で作成した flashbackDG ディスクグループを選択し、 OK をクリックします。 d Flash Recovery Area Size(フラッシュリカバリ領域のサ イズ)テキストボックスに、手順 f で作成したフラッシュディ スクグループの合計サイズを入力します。
21 Database Storage(データベース記憶域)ウィンドウで Next (次へ)をクリックします。 22 Creation Options(作成オプション)ウィンドウで Create Database(データベースの作成)を選択してから、Finish(完了) をクリックします。 23 Summary(サマリ)ウィンドウで OK をクリックします。 メモ:この処理には 1 時間またはそれ以上かかることがあります。 作成が完了すると、Database Configuration Assistant ウィンド ウが表示されます。 24 必要に応じて Password Management(パスワード管理)をク リックして、権限を持つユーザーに特定のパスワードを割り当て ます。その必要がない場合は Exit(終了)をクリックします。クラ スタデータベースがすべてのノードで起動中であることを示すメッ セージが表示されます。 25 以下の手順を実行します。 a 次のように入力して、そのノードにデータベースインスタンスが 存在することを確認します。 srvctl status database -d b
既存の Oracle 11g RAC クラスタ への新しいノードの追加 以下の項は、Windows 上で Oracle RAC データベースにノードとイン スタンスを追加する方法の説明です。 クラスタに追加するノードの準備 既存のクラスタに追加するノードで、次の手順を実行します。 1 『Deployment CD』を使用して OS のインストールと設定を行います。 2 ネットワークとファイバーチャネルストレージサブシステムを設定 します。 クラスタの既存の各ノードから次のコマンドを実行できることを確認し ます。ホスト名 は、新しいノードのパブリックネットワーク名です。 NET USE \\ ホスト名 \C$ 次のように表示された場合は、お客様が各ノードで必要な Administrator 権限をお持ちであることを意味します。 Command completed successfully.
これで、ノードを既存のクラスタに追加する準備が整いました。 既存のクラスタにノードを追加する手順の概要は、次のとおりです。 1 290 ページの「Oracle Clusterware 層へのノードの追加」。 2 291 ページの「Oracle RAC データベース層へのノードの追加」。 3 292 ページの「新しいノードへのデータベースインスタンスの追加」。 Oracle Clusterware 層へのノードの追加 以下の手順を実行します。 1 いずれかの既存のノードで、CRS home\oui\bin ディレクトリに移 動します。addNode.
8 次に利用できるノード名とノード番号を使用して crssetup.exe コマ ンドを実行することで、新しいノードの CRS 情報を追加します。例: crssetup.exe add -nn publicnode3,3 -pn pvtnode3,3 –vn vipnode3,3 9 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.
4 OUI に End of Node Addition(ノードの追加の終了)ページが 表示されたら、Exit(終了)をクリックして OUI セッションを終了 します。 5 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(インスタンスの追加)ページで、上部の フィールドにインスタンス名を入力します。次にリストから新しい ノード名を選択し、Next(次へ)をクリックすると、Services Page(サービスページ)が表示されます。 9 新しいノードのインスタンスに対するサービス情報を入力し、 Next(次へ)をクリックすると、Instance Storage(インスタ ンス記憶域
既存の Oracle 11g RAC クラスタへの新しいノードの追加
索引 数字 M 11g R1 パッチセット 11.1.0.7, 250, 265 My Oracle Support の ウェブサイト , 241 A O ASM, 259 C OCFS, 243 Oracle のインストール , 243 シードデータベースの 作成 , 255 Clusterware バージョン 11.1.0.
か の 仮想ディスク , 240 ノードの追加 , 290 く は クラスタウェア インストール , 260, 276 パッチセット 11.1.0.7, 251, 252 し へ シードデー タベース , 255 作成 , 255 ヘルプ , 240 Oracle サポート , 241 デルサポート , 240 シングルノード , 275 り て データベースイン スタンス , 292 データベースバージョン 11.1.0.
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.1 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notas y precauciones NOTA: Una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. PRECAUCIÓN: Un mensaje de PRECAUCIÓN indica la posibilidad de daños en el hardware o la pérdida de datos si no se siguen las instrucciones. ____________________ La información contenida en este documento puede modificarse sin previo aviso. © 2008–2009 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general 303 Documentación necesaria para implantar la base de datos Dell|Oracle 11g . . . . . . . . . . . . . . . 303 Terminología utilizada en este documento . . . . . . . . . . 304 . . . . . . . . . . . . . . . . . . . . . . 304 Obtención de ayuda Asistencia de Dell . . . . . . . . . . . . . . . . . . . . Asistencia de Oracle 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Instalación de Oracle ® RAC 11g R1 mediante Automatic Storage Management (ASM) . . . . . . . . . . . . Instalación del software de clúster Oracle versión 11.1.0.6 . . . . . . . . Instalación de la base de datos Oracle 11g versión 11.1.0.6 . . . . . . . . . . . . . . . . . . . . . . 326 . . . . . . . . . . . . . . . . 329 Instalación del patchset 11.1.0.7 de Oracle 11g R1 . . . . . . 331 . . . . . . . . . 331 . . . . . . . . . . . . 333 Instalación del patchset 11.1.0.
Instalación del patchset 11.1.0.7 de Oracle 11g R1 . . . . . . 346 . . . . . . . . . 346 . . . . . . . . . . . . 347 Instalación del patchset 11.1.0.7 para el software de clúster Oracle 11g Instalación del patchset 11.1.0.7 para la base de datos Oracle 11g . . . 348 . . . . . . . . . . . 349 . . . . . . . . . . . . 350 . . . . . . . . . . . . . 355 Preparación del nodo que se va a añadir a un clúster . . . . . . . . . . . . . . . .
Contenido
Información general Este documento se aplica a: • Base de datos Oracle® 11g R1 Enterprise Edition en Microsoft® Windows Server® 2003 R2 SP2 o Windows Server 2008 Enterprise/Standard x64 Edition. • Base de datos Oracle 11g R1 Standard Edition en Windows Server 2003 R2 SP2 o Windows Server 2008 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 Dell PowerVault (Dell MD3000 y Dell MD3000i con expansión MD1000).
Asistencia de Oracle • Para obtener información de formación sobre el software Oracle y el software de clúster de aplicaciones, así como sobre cómo ponerse en contacto con Oracle, visite la página web de Oracle (oracle.com) o consulte la documentación de Oracle que se incluye con el sistema. • Para obtener información sobre asistencia técnica, descargas y otras cuestiones técnicas, visite la página web My Oracle Support en metalink.oracle.com.
Información general
Instalación de Oracle® RAC 11g R1 mediante Oracle Cluster File System (OCFS) NOTA: Si va a instalar Oracle mediante ASM, omita los pasos siguientes y siga los procedimientos que se describen en “Instalación de Oracle® RAC 11g R1 mediante Automatic Storage Management (ASM)” en la página 325. En esta sección se proporciona información sobre cómo instalar el software Oracle RAC 11g R1. Se tratan los temas siguientes: • “Instalación del software de clúster Oracle versión 11.1.0.
Instalación del software de clúster Oracle versión 11.1.0.6 1 En el nodo 1, inserte el soporte multimedia Oracle Clusterware 11g Release 1 for Microsoft® Windows® (Software de clúster Oracle 11g versión 1 para Microsoft® Windows®) en la unidad óptica. Aparece la ventana Oracle Clusterware – Autorun (Software de clúster Oracle – Ejecución automática).
5 En la ventana Product Specification Prerequisite Checks (Comprobaciones de requisitos previos específicos del producto), asegúrese de que todas las comprobaciones se completen correctamente y haga clic en Next (Siguiente). 6 En la ventana Specify Cluster Configuration (Especificar configuración de clúster), escriba lo siguiente: • Un nombre de clúster alternativo (si lo desea). • Los nombres de host de la red pública y privada para los dos nodos del clúster.
c En la ventana Specify Disk Configuration (Especificar configuración de disco), seleccione Place OCR (Primary) on this partition (Colocar OCR [principal] en esta partición) y haga clic en OK (Aceptar). 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).
d Asegúrese de que la opción Use partition for data storage (Utilizar partición para almacenamiento de datos) está seleccionada. e Utilice el menú desplegable de la opción Assign Drive Letter (Asignar letra de unidad) para asignar una letra de unidad a la partición. f Haga clic en OK (Aceptar).
Aparece la ventana End of Installation (Fin de la instalación). NOTA: Si se produce un error en la ventana del asistente de configuración, realice los pasos siguientes y consulte el documento Base de datos Oracle en Microsoft Windows Server x64 — Guía de solución de problemas. 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).
2 En la ventana Oracle Database 11g – Autorun (Base de datos Oracle 11g – Ejecución automática), haga clic en Install/Deinstall Products (Instalar/ desinstalar productos). Con esta acción se inicia OUI y aparece la ventana de bienvenida. 3 Haga clic en Next (Siguiente). 4 En la ventana Select Installation Type (Seleccionar tipo de instalación), seleccione Enterprise Edition y haga clic en Next (Siguiente).
8 En la ventana Product-Specific Prerequisite Checks (Comprobaciones de requisitos previos específicos del producto), asegúrese de que todas las comprobaciones se completen correctamente y haga clic en Next (Siguiente). 9 En la ventana Select Configuration Option (Seleccionar opción de configuración), seleccione Install Database Software Only (Instalar sólo software de base de datos) y haga clic en Next (Siguiente). 10 En la ventana Summary (Resumen), haga clic en Install (Instalar).
Instalación del patchset 11.1.0.7 de Oracle 11g R1 1 Asegúrese de que sólo se hayan instalado en el sistema los binarios de base de datos 11.1.0.6 y el software de clúster 11.1.0.6 y de que la base de datos semilla no se haya creado todavía. 2 Descargue el patchset 11.1.0.7 desde la página web de Oracle Metalink (metalink.oracle.com). Busque el parche número 6890831 y seleccione Microsoft Windows x64 (64-bit) como plataforma o idioma. 3 Descomprima el patchset en %SystemDrive%. Instalación del patchset 11.
Instalación del patchset NOTA: Debe instalar el software del patchset desde el nodo en el que se ha instalado el software RAC 11g R1. 1 Inicie OUI desde 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 11.1.0.7 para la base de datos Oracle 11g NOTA: Antes de instalar el patchset, asegúrese de que todos los servicios de Oracle estén detenidos. Realice los procedimientos siguientes antes de crear un proceso de escucha y una base de datos semilla. Instalación del patchset NOTA: Debe instalar el software del patchset desde el nodo en el que se ha instalado el software RAC 11g R1 (11.1.0.6). 1 Inicie OUI, que se encuentra en el área descomprimida del patchset.
8 En la ventana End of installation (Fin de la instalación), realice todos los pasos que se enumeran en la ventana Summary (Resumen). No realice el paso en el que se le solicita que detenga los servicios de Oracle. Ya debería haber completado este paso antes de empezar la instalación del patchset, como se indica en “Antes de comenzar”. 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.
4 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). 5 En la ventana de bienvenida, seleccione Listener Configuration (Configuración del proceso de escucha) y haga clic en Next (Siguiente). 6 En la ventana Listener Configuration, Listener (Configuración del proceso de escucha, Proceso de escucha), seleccione Add (Añadir) y haga clic en Next (Siguiente).
Creación de la base de datos semilla En esta sección se describen los procedimientos necesarios para crear la base de datos semilla mediante OCFS y verificarla. NOTA: Para el procedimiento descrito en esta sección es necesario que el parche ya esté instalado. Para crear la base de datos semilla mediante OCFS, realice los pasos siguientes: 1 En el nodo 1, haga clic en Start (Inicio) y seleccione Run (Ejecutar). 2 En el campo Run (Ejecutar), escriba dbca y haga clic en OK (Aceptar).
10 En la ventana Storage Options (Opciones de almacenamiento), seleccione Cluster File System (Sistema de archivos de clúster) y haga clic en Next (Siguiente). 11 En la ventana Database File Locations (Ubicaciones de archivos de base de datos), seleccione la ubicación para almacenar los archivos de la base de datos: a Seleccione Use Common Location for All Database Files (Utilizar ubicación común para todos los archivos de base de datos). b Haga clic en Browse (Examinar).
14 Haga clic en Enable Archiving (Habilitar archivado). 15 Haga clic en Edit Archive Mode Parameters (Editar parámetros del modo de archivo).
23 En la ventana Creation Options (Opciones de creación), acepte los valores predeterminados y haga clic en Finish (Finalizar). 24 En la ventana Summary (Resumen), haga clic en OK (Aceptar). Aparece la ventana del asistente para la configuración de bases de datos, y el software Oracle crea la base de datos. NOTA: Este procedimiento puede tardar varios minutos en completarse. 25 En la ventana del asistente para la configuración de bases de datos, haga clic en Yes (Sí).
Instalación de Oracle RAC 11g R1 mediante OCFS
Instalación de Oracle® RAC 11g R1 mediante Automatic Storage Management (ASM) NOTA: Si va a instalar Oracle mediante OCFS (Oracle Cluster File System), omita los pasos siguientes y siga los procedimientos que se describen en “Instalación de Oracle® RAC 11g R1 mediante Oracle Cluster File System (OCFS)” en la página 307. En esta sección se proporciona información sobre cómo instalar el software Oracle RAC 11g R1. Se tratan los temas siguientes: • “Instalación del software de clúster Oracle versión 11.1.0.
Instalación del software de clúster Oracle versión 11.1.0.6 1 En el nodo 1, inserte el soporte multimedia del software de clúster Oracle en la unidad óptica. Se inicia OUI y se abre la ventana de bienvenida. Si no aparece la ventana de bienvenida: a Haga clic en Start (Inicio) y seleccione Run (Ejecutar). b En el campo Run (Ejecutar), escriba lo siguiente y haga clic en OK (Aceptar): %CD drive%\autorun\autorun.exe donde %CD drive% es la letra de la unidad óptica.
c Haga clic en Add (Añadir). 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) con una lista de las interfaces de red de todo el clúster.
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 mediante los procedimientos descritos en el documento Base de datos Oracle en Microsoft Windows Server x64 — Guía de almacenamiento y redes. b Seleccione la primera partición y haga clic en Edit (Editar).
Instalación de la base de datos Oracle 11g versión 11.1.0.6 NOTA: Si va a instalar Oracle mediante OCFS, omita los pasos siguientes y vaya a “Instalación de Oracle® RAC 11g R1 mediante Oracle Cluster File System (OCFS)” en la página 307. 1 Inserte el soporte multimedia Oracle Database 11g Release 1 (Base de datos Oracle 11g versión 1) en la unidad óptica. Se inicia OUI y se abre la ventana de bienvenida. Si no aparece la ventana de bienvenida: a Haga clic en Start (Inicio) y seleccione Run (Ejecutar).
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 11.1.0.7 de Oracle 11g R1 1 Asegúrese de que sólo se hayan instalado en el sistema los binarios de base de datos 11.1.0.6 y el software de clúster 11.1.0.6 y de que la base de datos semilla no se haya creado todavía. 2 Descargue el patchset 11.1.0.7 desde la página web de Oracle Metalink (metalink.oracle.com). Busque el parche número 6890831 y seleccione Microsoft Windows x64 (64-bit) como plataforma o idioma. 3 Descomprima el patchset en %SystemDrive%. Instalación del patchset 11.
Instalación del patchset NOTA: Debe instalar el software del patchset desde el nodo en el que se ha instalado el software RAC 11g R1. 1 Inicie OUI desde 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 11.1.0.7 para la base de datos Oracle 11g NOTA: Antes de instalar el patchset, asegúrese de que todos los servicios de Oracle estén detenidos. Realice los procedimientos siguientes antes de crear un proceso de escucha y una base de datos semilla. Instalación del patchset NOTA: Debe instalar el software del patchset desde el nodo en el que se ha instalado el software RAC 11g R1 (11.1.0.6). 1 Inicie OUI, que se encuentra en el área descomprimida del patchset.
Descarga de los parches de Oracle más recientes Oracle puede proporcionar parches adicionales que no estaban incluidos cuando descargó por primera vez el patchset. Para descargar parches adicionales: 1 Abra un explorador web. 2 Vaya a la página web de Oracle Metalink (metalink.oracle.com). 3 Descargue los parches apropiados para su instalación.
8 En la ventana Listener Configuration, Select Protocols (Configuración del proceso de escucha, Seleccionar protocolos), seleccione TCP en el campo Selected Protocols (Protocolos seleccionados) y haga clic en Next (Siguiente). 9 En la ventana Listener Configuration, TCP/IP Protocol (Configuración del proceso de escucha, Protocolo TCP/IP), seleccione Use the standard port number of 1521 (Utilizar el puerto estándar 1521) y haga clic en Next (Siguiente).
2 En el nodo 1, haga clic en Start (Inicio) y seleccione Run (Ejecutar). 3 En el campo Run (Ejecutar), escriba lo siguiente y haga clic en OK (Aceptar): %SystemDrive%\app\Administrator\product\11.1.0\ db_1/dbca Se inicia el asistente para la configuración de bases de datos (DBCA). 4 En la ventana de bienvenida, seleccione Oracle Real Application Clusters database (Base de datos Oracle Real Application Clusters) y haga clic en Next (Siguiente).
12 En la ventana Create ASM Instance (Crear instancia de ASM), realice los pasos siguientes: a En el campo SYS password (Contraseña SYS), escriba y confirme una contraseña nueva en los campos pertinentes. b Seleccione Create initialization parameter file (IFILE) (Crear archivo de parámetros de inicialización [IFILE]). c Haga clic en Next (Siguiente).
16 En la ventana ASM Disk Groups (Grupos de discos ASM), seleccione únicamente el nombre del grupo de discos que ha asignado a la base de datos en el paso 15 (por ejemplo, databaseDG) y haga clic en Next (Siguiente). 17 En la ventana Database File Locations (Ubicaciones de archivos de base de datos), seleccione Use Oracle-Managed Files (Utilizar archivos administrados por Oracle) y haga clic en Next (Siguiente).
22 En la ventana Database Storage (Almacenamiento de base de datos), haga clic en Next (Siguiente). 23 En la ventana Creation Options (Opciones de creación), seleccione Create Database (Crear base de datos) y haga clic en Finish (Finalizar). 24 En la ventana Summary (Resumen), haga clic en OK (Aceptar). NOTA: Este procedimiento puede tardar una hora o más en completarse. Una vez finalizado el proceso, se abre la ventana del asistente para la configuración de bases de datos.
Instalación de Oracle RAC 11g R1 mediante ASM
Configuración e implantación de la base de datos Oracle 11g (un solo nodo) En esta sección se proporciona información sobre cómo instalar el software Oracle 11g R1 en un solo nodo. Esta sección consta de los temas siguientes: • “Instalación del software de clúster Oracle versión 11.1.0.6” en la página 342 • “Instalación de la base de datos Oracle 11g versión 11.1.0.6” en la página 344 • “Instalación del patchset 11.1.0.
Instalación del software de clúster Oracle versión 11.1.0.6 1 En el nodo 1, inserte el soporte multimedia Oracle 11g R1 Clusterware for Microsoft Windows (Software de clúster Oracle 11g R1 para Microsoft Windows) en la unidad óptica. Aparece la ventana de bienvenida y se inicia la interfaz de usuario de Oracle. Si no aparece la ventana de bienvenida: a Haga clic en Start (Inicio) y seleccione Run (Ejecutar).
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 En los menús desplegables de Interface Type (Tipo de interfaz), configure el tipo de interfaz público como Public (Público) y el tipo de interfaz privado como Private (Privado), si es necesario. Para ello, seleccione Interface Name (Nombre de interfaz) y haga clic en Edit (Editar).
14 En la ventana Summary (Resumen), haga clic en Install (Instalar) para iniciar el procedimiento de instalación. NOTA: Si se produce un error en la ventana del asistente de configuración, realice los pasos siguientes y consulte el documento Base de datos Oracle en Microsoft Windows Server x64 — Guía de solución de problemas. Aparece la ventana de instalación, donde se muestra una barra de progreso de la instalación.
5 En la ventana Specify Home Details (Especificar detalles de la ubicación principal) bajo Destination (Destino), verifique lo siguiente: • En el campo Name (Nombre), el nombre de la ruta principal de la base de datos Oracle es OraDb11g_home1. • En el campo Path (Ruta), la ruta principal completa de Oracle es: %SystemDrive%\app\Administrator\product\ 11.1.0\db_1 donde %SystemDrive% es la unidad local del usuario. NOTA: Anote esta ruta, ya que necesitará esta información más adelante.
Instalación del patchset 11.1.0.7 de Oracle 11g R1 1 Asegúrese de que sólo se hayan instalado en el sistema los binarios de base de datos 11.1.0.6 y el software de clúster 11.1.0.6 y de que la base de datos semilla no se haya creado todavía. 2 Descargue el patchset 11.1.0.7 desde la página web de Oracle Metalink (metalink.oracle.com). Busque el parche número 6890831 y seleccione Microsoft Windows x64 (64-bit) como plataforma o idioma. 3 Descomprima el patchset en %SystemDrive%. Instalación del patchset 11.
3 En la ventana Specify home details (Especificar detalles de la ubicación principal), seleccione OraCr11g_home como nombre en la lista desplegable y haga clic en Next (Siguiente). 4 En la ventana Specify Hardware Cluster Installation Mode (Especificar el modo de instalación del clúster de hardware), haga clic en Next (Siguiente). 5 En la ventana Product-Specific Prerequisite Checks (Comprobaciones de requisitos previos específicos del producto), haga clic en Next (Siguiente).
3 En la ventana Specify Home Details (Especificar detalles de la ubicación principal), seleccione el nombre como OraDB11g_home1 en la lista desplegable y haga clic en Next (Siguiente). 4 En la ventana Specify Hardware Cluster Installation Mode (Especificar el modo de instalación del clúster de hardware), haga clic en Next (Siguiente). 5 En la ventana Product-Specific Prerequisite Checks (Comprobaciones de requisitos previos específicos del producto), haga clic en Next (Siguiente).
Configuración del proceso de escucha En esta sección se describen los procedimientos para configurar el proceso de escucha, que es necesario para establecer una conexión remota de un cliente a una base de datos. 1 En el nodo 1 del clúster, ejecute el comando netca.bat desde la ubicación principal de ASM de Oracle: %SystemDrive%\app\Administrator\product\11.1.0\ asm_1\bin\netca donde %SystemDrive% es la unidad local del usuario. 2 Haga clic en OK (Aceptar).
9 En la ventana Listener Configuration, More Listeners (Configuración del proceso de escucha, ¿Más procesos de escucha?), seleccione No y haga clic en Next (Siguiente). 10 En la ventana Listener Configuration Done (Configuración del proceso de escucha finalizada), haga clic en Next (Siguiente). 11 En la ventana de bienvenida, haga clic en Finish (Finalizar).
4 En la ventana de bienvenida, seleccione Oracle Real Application Clusters database (Base de datos Oracle Real Application Clusters) y haga clic en Next (Siguiente). 5 En la ventana Operations (Operaciones), haga clic en Create a Database (Crear base de datos) y, a continuación, 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).
14 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 Seleccione los discos ORCL:ASM1 que desea incluir en el grupo de discos.
d En el cuadro de texto Flash Recovery Area Size (Tamaño del área de recuperación flash), especifique el tamaño total del grupo de discos flash creado en el paso f. e Seleccione Enable Archiving (Habilitar archivado) y haga clic en Next (Siguiente). 18 En la ventana Database Content (Contenido de la base de datos), haga clic en Next (Siguiente). 19 En la ventana Database Services (Servicios de la base de datos), configure los servicios (si es necesario) y haga clic en Next (Siguiente).
25 Realice los pasos siguientes: a Verifique que la instancia de base de datos existe en cada nodo; para ello, escriba: srvctl status database -d b Escriba los comandos siguientes para añadir la entrada de la variable de entorno ORACLE_SID al perfil de usuario Oracle: echo "export ORACLE_SID=racdbx" >> /home/oracle/ .bash_profle source /home/oracle/.bash_profile donde racdbx corresponde al identificador de la instancia de base de datos asignado al nodo.
Adición de un nodo nuevo a un clúster Oracle 11g RAC En las secciones siguientes se describe cómo añadir nodos e instancias a bases de datos Oracle RAC en Windows. Preparación del nodo que se va a añadir 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 CD de implantación. 2 Configure la red y el subsistema de almacenamiento Fibre Channel.
Ahora ya se pueden añadir los nodos a un clúster. Los pasos que deben llevarse a cabo para añadir un nodo a un clúster pueden resumirse del modo siguiente: 1 “Adición de nodos al nivel de software de clúster Oracle” en la página 356. 2 “Adición de nodos al nivel de base de datos RAC de Oracle” en la página 357. 3 “Adición de instancias de base de datos a nodos nuevos” en la página 358.
8 Ejecute el comando crssetup.exe con los siguientes nombres y números de nodo disponibles para añadir información de CRS para los nodos nuevos. Por ejemplo: crssetup.
5 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 6 Añada un proceso de escucha sólo al nodo nuevo; para ello, ejecute el asistente para la configuración de red (NetCA).
6 Desde la página List of Cluster Databases (Lista de bases de datos de clúster), seleccione la base de datos RAC activa a la que desea añadir una instancia. 7 Haga clic en Next (Siguiente) para añadir una nueva instancia. El DBCA muestra la página Adding an Instance (Adición de una instancia). 8 En la página Adding an Instance (Adición de una instancia), especifique el nombre de la instancia en el campo de la parte superior de la página.
Adición de un nodo nuevo a un clúster Oracle 11g RAC
Índice A L adición de nodos, 356 LUN, 304 ASM, 325 ayuda, 304 asistencia de Dell, 304 asistencia de Oracle, 305 O B Oracle Clusterware Autorun, 308 base de datos Oracle, 303 base de datos Oracle 10g configurar, 341 implantar, 341 OCFS, 307 crear base de datos semilla, 320 instalar Oracle, 307 P base de datos semilla, 320 crear, 320 página web de formación y certificación Dell para empresas, 304 base de datos versión 11.1.0.
R Real Application Clusters, 312 S software de clúster instalar, 326, 342 software de clúster versión 11.1.0.