Dell™ PowerEdge™ Systems Oracle® Database on Microsoft® Windows Server® x64 Database Setup and Installation Guide Version 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notes NOTE: A NOTE indicates important information that helps you make better use of your computer. ____________________ Information in this document is subject to change without notice. © 2009 Dell Inc. All rights reserved. Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden. Trademarks used in this text: Dell, PowerEdge and the DELL logo are trademarks of Dell Inc.
Contents 1 Overview . Required Documentation for Deploying the Dell|Oracle 11g Database . . . . . . . . . . . . . . 7 . . . . . . . . . . . 8 . . . . . . . . . . . . . . . . . . . . . . . 8 . . . . . . . . . . . . . . . . . . . . . 8 Oracle Support . . . . . . . . . . . . . . . . . . . 8 Before You Begin . . . . . . . . . . . . . . . . . . . 9 . . . . 9 Terminology Used in this Document Getting Help . Dell Support 2 Choosing the Correct Oracle Installation Media 3 7 . . . . . . . .
Installing Oracle ® RAC 11g R1 Using Automatic Storage Management (ASM) . . . . . . . . . . . . . . . . 23 Installing Oracle Clusterware . . . . . . . . . . . . . . 23 Installing Oracle 11g Database . . . . . . . . . . . . . 26 . . . . . . . . . . . . 27 . . 27 Installing Oracle 11g R1 Patchset Installing Patchset for Oracle 11g Clusterware Installing Patchset for Oracle 11g Database . . . . 28 . . . . . 29 . . . . . . . . . . . . . . . . . 30 Downloading the Latest Oracle Patches .
6 Adding a New Node to an Existing Oracle ® 11g RAC Cluster . . . . . . . . . . . . 47 Preparing the Node to be Added to a Cluster . . . . . . 47 . . . . 48 . . . 49 . . . . . . 50 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Adding Nodes at the Oracle Clusterware Layer Adding Nodes at the Oracle RAC Database Layer 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.
Before You Begin This section provides information on basic installation requirements for Oracle® RAC 11g R1. Choosing the Correct Oracle Installation Media To choose the correct Oracle installation media version for your Microsoft® Windows® Server operating system, see Table 2-1. Table 2-1. Operating System Versions of Clusterware / Database / Patchset to be installed Oracle Clusterware version Oracle 11g Database version Patchset version Windows 2008 11.1.0.7 11.1.0.7 N/A Windows 2003 11.1.0.
Before You Begin
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 23 This section provides information about installing the Oracle RAC 11g R1 software.
3 In the Specify Inventory Directory window, accept the default settings (%System drive%\Program Files\Oracle\Inventory) and 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 Specification Prerequisite Checks window, make sure all the checks are completed successfully and then click Next.
c In the Specify Disk Configuration window, select Place OCR (Primary) on this partition and click OK. 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 Configuration Storage window, perform the following steps for the voting disk: a Locate the three 250 MB partitions created using the procedures in the Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide.
c In the Specify Disk Configuration window, select Format partition with CFS. d Ensure that Use partition for data storage is selected. e Use the drop-down menu of the Assign Drive Letter option to assign a drive letter to the partition. f Click OK. 14 In the Cluster Configuration Storage window, click Next. 15 Ignore the warning messages and click OK. 16 In the Summary window, click Install to start the installation procedure.
Installing Oracle 11g Database 1 On node 1, insert the Oracle Clusterware installation media that you chose in Table 2-1, into the CD/DVD drive. The OUI starts and the Welcome window is displayed. If the Welcome window is not displayed: a Click Start and select Run. b In the Run field, type the following and click OK: %CD-ROM drive%:\db\setup.exe where %CD-ROM drive% is the drive letter of your CD/DVD drive. 2 Click Next.
7 In the Product-Specific Prerequisite Checks window, make sure all the checks are completed successfully, and click Next. 8 In the Select Configuration Option window, select Install Database Software Only and click Next. 9 In the Summary window, click Install. 10 In the End of Installation window, perform the procedure as listed in the window. NOTE: You must perform the procedures as listed in the window before proceeding to the next step.
Installing Patchset 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" on page 11.
7 In the End of Installation window, perform all the steps listed in the Summary window. Do not perform the step instructing you to stop the Oracle services — you should have already completed that step before you began installing the patchset as mentioned in "Before You Begin" on page 17. 8 On the End of Installation window, click Exit. 9 Click Yes to exit from the OUI. Installing Patchset for Oracle 11g Database NOTE: Before you install the patchset, ensure that all the Oracle services are stopped.
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 describes the steps to configure the listener, which is required for a remote client connection to a database.
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 "Installing Oracle Clusterware" on page 11. d Click OK.
23 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 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.
2 Click Next. 3 In the Specify Inventory Directory window, accept the default settings (%System drive%\Program Files\Oracle\Inventory) and 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.
c In the Specify Disk Configuration window, select Place OCR (Primary) on this partition and click OK. 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.
Installing Oracle 11g Database 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 On node 1, insert the Oracle Database installation media that you chose in Table 2-1, into the CD/DVD 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%\db\setup.
8 In the Select Configuration Option window, select Install database Software only, and click Next. 9 In the Summary window, click Install. 10 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 11. 11 Execute the following command on remote nodes to active the Oracle data provider for .
2 Select Start→ Programs→ Administrator Tools→ Services. 3 Locate all Oracle services and stop them on both nodes. Installing the Patchset NOTE: You must install the patchset 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.
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 contains procedures to configure the listener, which is required to establish a remote client connection to a database. 1 On node 1 of the cluster, run the netca.bat command from ASM Oracle Home: %SystemDrive%\app\Administrator\product\11.1.0\ asm_1\bin\netca where %SystemDrive% is the user’s local drive. 2 Click OK. 3 In the Real Application Clusters Configuration window, select Cluster configuration and click Next.
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 following message is displayed: Cluster Synchronization Services appears healthy Cluster Ready Services appears healthy Event Manager appears healthy d If the above message is not displayed, type crsctl start crs.
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. b Select Create initialization parameter file (IFILE). c Click Next. 13 When a message is displayed that the Database Configuration Assistant is ready to create and start the ASM instance, click OK. 14 In the ASM Disk Groups window, click Create New.
16 In the ASM Disk Groups window, select only the Disk Group Name that you assigned to the database in step 15 (for example, databaseDG) and click Next. 17 In the Database File Locations window, select Use Oracle-Managed Files and click Next. 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.
27 Click Password Management to assign specific password to authorized users, if required. Otherwise click Exit. A message displays indicating that the cluster database is being started on all nodes. 28 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/ .
Configuring and Deploying Oracle® Database 11g (Single Node) This section provides information about installing the Oracle 11g R1 software on a single node.
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.
b Select the partition and click Edit. c In the Specify Disk Configuration window, select Place Voting Disk on this partition and click OK. 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.
4 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 Oracle 11g R1 Patchset NOTE: This section is applicable only to the Windows Server 2003 operating system. 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. 2 Download the patchset 11.1.0.7 from the Oracle Metalink website at metalink.oracle.com. Search for patch number 6890831 and select Microsoft Windows x64 (64-bit) as the platform or language. 3 Unzip the patchset to %SystemDrive%.
3 In the Specify home details window, select name as OraCR11g_home from the drop down list and click Next. 4 In the Specify Hardware Cluster Installation Mode window, click Next. 5 In the Product-Specific Prerequisite Checks window, click Next. 6 In the Summary window, click Install. 7 In the End of Installation window, perform all the steps listed in the Summary window.
7 In the Summary window, click Install. 8 In the End of Installation window, perform all the steps listed in the Summary window. Do not perform the step instructing you to stop the Oracle services-you should have already completed that step before you began installing the patchset as mentioned in "Before You Begin" on page 39. 9 In the End of Installation window, click Exit. 10 Click Yes to exit from the OUI.
7 In the Listener Configuration Select Protocols window, select TCP in the Selected protocols field and click Next. 8 In the Listener Configuration TCP/IP Protocol window, select Use the standard port number of 1521 and click Next. 9 In the Listener Configuration More Listeners window, select No and click Next. 10 In the Listener Configuration Done window, click Next. 11 In the Welcome window, click Finish.
7 In the Database Identification window, in the Global Database Name field, enter a name such as singledb and click Next. 8 In the Management Options window, click Next. 9 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. 10 In the Storage Options window, select Automatic Storage Management (ASM) and click Next.
17 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. 18 In the Database Content window, click Next. 19 In the Database Services window, configure services (if required) and click Next.
25 Perform the following steps: a Verify that the database instance exists on the node by entering: srvctl status database -d 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
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 Microsoft® 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.
9 Execute the racgons utility from the bin subdirectory of the CRS home to configure the Oracle Notification Services (ONS) port number as follows: racgons add_config new_node_name:4948 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.
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, 16, 27 listener configuring, 19, 30, 41 A Adding Nodes, 48 ASM, 23 LUN, 8 M My Oracle Support website, 8 C Clusterware installing, 23, 35 Clusterware Version 11.1.0.6, 23 O OCFS, 11 creating seed database, 20 installing Oracle using, 11 Oracle Database, 7 D Database Instances, 50 Database Version 11.1.0.
S seed database creating, 20 Single Node, 35 V virtual disk, 8 52 Index
Dell™ PowerEdge™ 系统 Microsoft® Windows Server® x64 上的 Oracle® 数据库 数据库设置和安装指南 版本 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
注 注: “注”表示可以帮助您更好地使用计算机的重要信息。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2009 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell、 PowerEdge 和 DELL 徽标是 Dell Inc. 的商标; Microsoft 和 Windows 是 Microsoft Corporation 在美国和 / 或其它国家和地区的商标或注册商标; Red Hat、Red Hat Enterprise Linux 和 Enterprise Linux 是 Red Hat, Inc. 在美国和 / 或其它国家 和地区的注册商标; Oracle 是 Oracle Corporation 和 / 或其子公司的注册商标。 本说明文件中述及的其它商标和产品名称是指拥有相应商标和产品名称的公司或其制造的 产品。 Dell Inc. 对本公司的商标和产品名称之外的其它商标和产品名称不拥有任何专有权。 2009 年 6 月 Rev.
目录 1 概览 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 部署 Dell|Oracle 11g 数据库需要的文档 . . . . . . . 59 . . . . . . . . . . . . . . . 60 . . . . . . . . . . . . . . . . . . . . . . . . 60 本说明文件中使用的术语 获得帮助 . Dell 支持 . . . . . . . . . . . . . . . . . . . . . . Oracle 支持 . 2 准备工作 60 . . . . . . . . . . . . . . . . . . . . 60 . . . . . . . . . . . . . . . . . . . . . . . . . 61 选择正确的 Oracle 安装介质 3 59 . . . . . . . . . . . . . 使用 Oracle 群集文件系统 (OCFS) 安装 Oracle ® RAC 11g R1 . . . .
4 使用自动存储管理 (ASM) 安装 Oracle ® RAC 11g R1 . . . . . . . . . 安装 Oracle 群集件 . . . . . . . 77 . . . . . . . . . . . . . . . . . . . 77 安装 Oracle 11g 数据库 . . . . . . . . . . . . . . . . . 安装 Oracle 11g R1 增补软件集 . . . . . . . . 82 安装用于 Oracle 11g 数据库的增 补软件集 . . . . . . . . . . . . . . . . . . . . . . 83 . . . . . . . . . . . . 84 . . . . . . . . . . . . . . . . . . . . . . 84 配置侦听程序 创建基础数据库 . . . . . . . . . . . . . . . . . . . . . 配置和部署 Oracle ® Database 11g (单个节点) . . . . . . . . . . . . . .
6 向现有 Oracle ® 11g RAC 群集添加新节点 . . . . . . . 准备要添加到群集的节点 . . . . . . . . . . . . . . . . . . . . . . . . . . 在 Oracle 群集件层添加节点 索引 103 . . . . . . . . . . . . . 在 Oracle RAC 数据库层添加节点 . 添加数据库实例到新节点 103 104 . . . . . . . . . . 105 . . . . . . . . . . . . . . . 106 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
目录
概览 本说明文件适用于: • 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 数据库需要的说明文件包括: • 《Microsoft Windows Server x64 上的 Oracle 数据库:操作系统和硬件 安装指南》— 介绍所需的最低硬件和软件版本、如何安装和配置操作 系统、如何验证硬件和软件配置,以及如何获取开放源代码文件。 • 《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》(Microsoft Windows Server x64 上的 Oracl
本说明文件中使用的术语 • 本说明文件中使用了逻辑单元号码 (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® RAC 11g R1 基本安装要求的信息。 选择正确的 Oracle 安装介质 要选择适用于您的 Microsoft® Windows® Server 操作系统的正确 Oracle 安装 介质版本,请参阅表 2-1。 表 2-1. 要安装的群集件 / 数据库 / 增补软件集版本 操作系统 Oracle 群集件版本 Oracle 11g 数据库版本 增补软件集版本 Windows 2008 11.1.0.7 11.1.0.7 无 Windows 2003 11.1.0.6 11.1.0.6 11.1.0.
准备工作
使用 Oracle 群集文件系统 (OCFS) 安装 Oracle® RAC 11g R1 注:如果您使用 ASM 安装 Oracle,请忽略以下步骤并遵循第 77 页上的 “使用自动存储管理 (ASM) 安装 Oracle® RAC 11g R1”中的步骤进行 操作。 本节介绍有关安装 Oracle RAC 11g R1 软件的信息。其中涉及以下主题: • 第 63 页上的“安装 Oracle 群集件” • 第 67 页上的“安装 Oracle 11g 数据库” • 第 69 页上的“安装 Oracle 11g R1 增补软件集” • 第 72 页上的“配置侦听程序” • 第 73 页上的“创建基础数据库” 安装 Oracle 群集件 1 在节点 1 中,将您在表 2-1 中选择的 Oracle 群集件安装介质插入到 CD/DVD 驱动器中。 此时将启动 Oracle Universal Installer (OUI),显示 Welcome (欢迎) 窗口。 如果未显示 Welcome (欢迎)窗口: a 单击 Start (开始),然后选择 Run (运行)。 b 在 Run (
3 在 Specify Inventory Directory (指定库存目录)窗口中,接受默认设 置 (%System drive%\Program Files\Oracle\Inventory),然后单击 Next (下一步)。 4 在 Specify Home Details (指定主目录详细信息)窗口中,接受默认设 置 (%System drive%\product\11.1.
10 在 Cluster Configuration Storage (群集配置存储)窗口中,对 OCR 磁盘执行以下步骤: a 找到两个 300 MB 的分区,这两个分区是您根据 《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》 (Microsoft Windows Server x64 上的 Oracle 数据库 - 存储和联网 指南)中的步骤创建的。 b 选择第一个分区,然后单击 Edit (编辑)。 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 [
12 在 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 格式化分区)。 d 确保选中 Use partition for data storage (将分区用于数据存储)。 e 使用 Assign Drive Letter (分配驱动器号)选项的下拉式菜单, 为分区分配驱动器号。 f 单击 OK (确定)。 13 在 Cluster Configuration Storage (群集配置存储)窗口中,为快擦写 恢复执行以下
16 在 Summary (摘要)窗口中,单击 Install (安装)以开始安装过程。 随即显示 Install (安装)窗口,显示安装进度条。 屏幕将显示 Configuration Assistant (配置助手)窗口,且 OUI 将运 行一系列配置工具。 最后显示 End of Installation (安装结束)窗口。 注:如果在 Configuration Assistant(配置助手)窗口出现故障,请执行 以下步骤并参阅《Microsoft Windows Server x64 上的 Oracle 数据库: 故障排除指南》。 a 在错误窗口中,单击 OK (确定)。 b 在 Configuration Assistant (配置助手)窗口中,单击 Next (下一步)。 c 请忽略警告信息,然后单击 OK (确定)。 d 单击 Exit (退出)以完成 OUI 会话。 e 在 Exit (退出)窗口中,单击 Yes (是)。 17 如果您使用 ASM 安装 Oracle,请转至第 77 页上的 “使用自动存储管 理 (ASM) 安装 Oracle® RAC 11g R1”
4 在 Destination (目的地)下的 Specify Home Details (指定主目录详 细信息)窗口中,验证以下内容: • 在 Name (名称)字段中, Oracle 数据库主目录名称为 OraDb11g_home1。 • 在 Path (路径)字段中,完整的 Oracle 主目录路径为 %SystemDrive%\app\Administrator\product\ 11.1.0.
安装 Oracle 11g R1 增补软件集 注:本节仅适用于 Windows Server 2003 操作系统。 1 确保系统上只安装了 11.1.0.6 群集件和 11.1.0.6 数据库二进制程序而尚 未创建基础数据库。 2 可从 Oracle Metalink Web 站点 metalink.oracle.com 下载增补软件集 11.1.0.7。搜索编号为 6890831 的增补软件,并选择 Microsoft Windows x64 (64-bit) (Microsoft Windows x64 [64 位 ])作为平台或语言。 3 将增补软件集解压缩到 %SystemDrive%。 安装用于 Oracle 11g 群集件的增补软件集 准备工作 在系统上安装用于 Oracle 11g 群集件的增补软件集 11.1.0.
安装增补软件集 注:必须从安装 RAC 11g R1 软件的节点安装增补软件集软件。 1 启动位于增补软件集文件夹中的 OUI。例如: %SystemDrive%\Oracle_patch\setup.
3 在 Specify Home Details (指定主目录详细信息)窗口中,从 Name (名称)下拉式菜单中选择 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 服务的步骤 — 您 应当在开始安装增补软件集之前已经如 “准备工作”。中所述完成该 步骤。 9 在 End of Installat
配置侦听程序 本节介绍配置侦听程序的步骤,与数据库建立远程客户端连接时需要此 过程。 注:本节中的步骤要求已安装增补软件。 在节点 1 上,执行以下步骤: 1 单击 Start (开始),选择 Run (运行),然后键入: netca 2 单击 OK (确定)。 3 在 Real Application Clusters Configuration (Real Application Clusters 配置)窗口中,选择 Cluster configuration (群集配置),然后单击 Next (下一步)。 4 在 Real Application Clusters, Active Nodes (Real Application Clusters, 活动节点)窗口中,选择 Select all nodes (选择全部节点),然后单击 Next (下一步)。 5 在 Welcome (欢迎)窗口中,选择 Listener Configuration (侦听程序 配置),然后单击 Next (下一步)。 6 在 Listener Configuration, Listener (侦听程序配置,侦听程序) 窗口
创建基础数据库 本节包含使用 OCFS 创建基础数据库以及验证基础数据库的过程。 注:本节中的步骤要求已安装增补软件。 执行以下步骤,使用 OCFS 创建基础数据库: 1 在节点 1 上,单击 Start (开始),然后选择 Run (运行)。 2 在 Run (运行)字段中,键入 dbca,然后单击 OK (确定)。 此时会启动 Database Configuration Assistant (数据库配置助手)。 3 在 Welcome (欢迎)窗口中,选择 Oracle Real Application Clusters database (Oracle Real Application Clusters 数据库),然后单击 Next (下一步)。 4 在 Operations (操作)窗口中,单击 Create a Database (创建数 据库),然后单击 Next (下一步)。 5 在 Node Selection (节点选择)窗口中,单击 Select All (全选), 然后单击 Next (下一步)。 6 在 Database Templates (数据库模板)窗口中,单击 Custom
11 在 Database File Locations (数据库文件位置)窗口中,选择用于存储 数据库文件的位置: a 选择 Use Common Location for All Database Files (对所有数据库 文件使用公用位置)。 b 单击 Browse (浏览)。 c 在 Directory Browse (目录浏览)窗口中,从下拉式菜单中选择在 步骤 12 的子步骤 e 中创建的 CFS 驱动器,该步骤位于第 11 页上 的安装 Oracle 群集件一节。 d 单击 OK (确定)。 12 单击 Next (下一步)。 13 在 Recovery Configuration (恢复配置)窗口中,执行以下步骤: a 选择 Specify Flash Recovery Area (指定快擦写恢复区域)。 b 单击 Browse (浏览)。 c 在 Directory Browse (目录浏览)窗口中,从下拉式菜单中选择在 步骤 13 的子步骤 e 中创建的 CFS 驱动器,该步骤位于第 12 页上 的安装 Oracle 群集件一节。 d 单击 OK (确定)。
16 单击 Next (下一步)。 17 在 Database Content (数据库内容)窗口中,接受默认值,然后单击 Next (下一步)。 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 (创建选项)
使用 Oracle 群集文件系统 (OCFS) 安装 Oracle RAC 11g R1
使用自动存储管理 (ASM) 安装 Oracle® RAC 11g R1 注:如果要使用 Oracle 群集文件系统 (OCFS) 安装 Oracle,请忽略以下步骤 并遵循第 63 页上的“使用 Oracle 群集文件系统 (OCFS) 安装 Oracle® RAC 11g R1”中的步骤进行操作。 本节介绍有关安装 Oracle RAC 11g R1 软件的信息。其中涉及以下主题: • 第 77 页上的“安装 Oracle 群集件” • 第 80 页上的“安装 Oracle 11g 数据库” • 第 82 页上的“安装 Oracle 11g R1 增补软件集” • 第 84 页上的“配置侦听程序” • 第 85 页上的“创建基础数据库” 安装 Oracle 群集件 1 在节点 1 中,将您在表 2-1 中选择的 Oracle 群集件安装介质插入到 CD/DVD 驱动器中。 随即启动 OUI 并显示 Welcome (欢迎)窗口。 如果未显示 Welcome (欢迎)窗口: a 单击 Start (开始),然后选择 Run (运行)。 b 在 Run (运行)字段中,键入以下命令,
3 在 Specify Inventory Directory (指定库存目录)窗口中,接受默认设 置 (%System drive%\Program Files\Oracle\Inventory),然后单击 Next (下一步)。 4 在 Specify Home Details (指定主目录详细信息)窗口中,接受默认设 置 (%System drive%\product\11.1.
10 在 Cluster Configuration Storage (群集配置存储)窗口中,对 OCR 磁盘执行以下步骤: a 找到两个 300 MB 的分区,这两个分区是根据《Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide》 (Microsoft Windows Server x64 上的 Oracle 数据库 - 存储和联网 指南)中的步骤创建的。 b 选择第一个分区,然后单击 Edit (编辑)。 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 [ 镜
14 在 Summary (摘要)窗口中,单击 Install (安装)以开始安装过程。 注:如果在 Configuration Assistant(配置助手)窗口出现故障,请执行 以下步骤并参阅《Microsoft Windows Server x64 上的 Oracle 数据库: 故障排除指南》。 随即显示 Install (安装)窗口,显示安装进度条。 屏幕将显示 Configuration Assistant (配置助手)窗口,且 OUI 将运 行一系列配置工具。 最后显示 End of Installation (安装结束)窗口。 15 单击 Exit (退出)以完成 OUI 会话。 16 在 Exit (退出)窗口中,单击 Yes (是)。 安装 Oracle 11g 数据库 注:如果您使用 OCFS 安装 Oracle,请跳过这些步骤并转至第 63 页上的 “使用 Oracle 群集文件系统 (OCFS) 安装 Oracle® RAC 11g R1”。 1 在节点 1 中,将您在表 2-1 中选择的 Oracle 数据库安装介质插入到 CD/DVD 驱动器中。 随即启动 OUI 并显示 We
4 在 Destination (目的地)下的 Specify Home Details (指定主目录详 细信息)窗口中,验证以下内容: • 在 Name (名称)字段中, Oracle 数据库主目录名称为 OraDb11g_home1。 • 在 Path (路径)字段中,完整的 Oracle 主目录路径为 %SystemDrive%\app\Administrator\product\ 11.1.
安装 Oracle 11g R1 增补软件集 注:本节仅适用于 Windows Server 2003 操作系统。 1 确保系统上只安装了 11.1.0.6 群集件和 11.1.0.6 数据库二进制程序而尚 未创建基础数据库。 2 可从 Oracle Metalink Web 站点 metalink.oracle.com 下载增补软件集 11.1.0.7。搜索编号为 6890831 的增补软件,并选择 Microsoft Windows x64 (64-bit) (Microsoft Windows x64 [64 位 ])作为平台或语言。 3 将增补软件集解压缩到 %SystemDrive%。 安装用于 Oracle 11g 群集件的增补软件集 准备工作 在系统上安装用于 Oracle 11g 群集件的增补软件集 11.1.0.
4 在 Specify Hardware Cluster Installation Mode (指定硬件群集安装 模式)窗口中,单击 Next (下一步)。 5 在 Product-Specific Prerequisite Checks (产品特定先决条件检查) 窗口中,单击 Next (下一步)。 6 在 Summary (摘要)窗口中,单击 Install (安装)。 7 在 End of installation (安装结束)窗口中,执行 Summary (摘要) 窗口中列出的所有步骤。请勿执行指示您停止 Oracle 服务的步骤 — 您 应当在开始安装增补软件集之前已经如第 82 页上的 “准备工作”中所 述完成该步骤。 8 在 End of Installation (安装结束)窗口中,单击 Exit (退出)。 9 单击 Yes (是)以从 OUI 退出。 安装用于 Oracle 11g 数据库的增补软件集 注:安装增补软件集之前,请确保所有 Oracle 服务均已停止。 创建侦听程序和基础数据库之前,请完成以下步骤。 安装增补软件集 注:必须从安装 RAC 11g R1 (11.1.0.
8 在 End of installation (安装结束)窗口中,执行 Summary (摘要) 窗口中列出的所有步骤。请勿执行指示您停止 Oracle 服务的步骤 — 您 应当在开始安装增补软件集之前已经如第 82 页上的 “准备工作”中所 述完成该步骤。 9 在 End of Installation (安装结束)窗口中,单击 Exit (退出)。 10 单击 Yes (是)以从 OUI 退出。 下载最新 Oracle 增补软件 Oracle 可能会提供初次下载增补软件集时未附带的其它增补软件。要下载其 它增补软件,请执行以下步骤: 1 打开 Web 浏览器。 2 浏览至 Oracle Metalink Web 站点 metalink.oracle.com。 3 下载适用于您的安装的所有增补软件。 配置侦听程序 本节包含配置侦听程序的步骤,与数据库建立远程客户端连接时需要此 过程。 1 在群集的节点 1 上,从 ASM Oracle 主目录运行 netca.bat 命令: %SystemDrive%\app\Administrator\product\11.1.
7 在 Listener Configuration Listener Name (侦听程序配置侦听程序名 称)窗口中,选择 Listener (侦听程序)名称字段中的 default setting (默认设置),然后单击 Next (下一步)。 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 (侦听程序配置完成)
3 在 Run (运行)字段中,键入以下命令,然后单击 OK (确定): %SystemDrive%\app\Administrator\product\11.1.
14 在 ASM Disk Groups (ASM 磁盘组)窗口中,单击 Create New (新建)。 15 在 Create Disk Group (创建磁盘组)窗口中,执行以下步骤: a 输入新磁盘组的名称,例如 databaseDG。 b 在 Redundancy (冗余)框中,选择 External (外部)。 c 从列表中选择要包括在 databaseDG 磁盘组中的相应磁盘。 如果您没有看到列出的磁盘并且您没有将磁盘标记为 ASM,请单 击 Stamp Disks(标记磁盘),然后按照以下步骤进行操作: i 单击 Add or change label (添加或更改标签),然后单击 Next (下一步)。 ii 选择要标记为 ASM 磁盘的相应候选设备。 iii 重命名标记前缀,或者留为默认的关键字 DATA,然后单击 Next (下一步)。 iv 在 Stamp Disks (标记磁盘)窗口中,验证是否选择了正确的 磁盘标记为 ASM 磁盘,然后单击 Next (下一步)。 v 单击 Finish (完成)。 d 选择要包括在磁盘组中的相应配置磁盘。 e 单击
18 在 Recovery Configuration (恢复配置)窗口中,执行以下步骤: a 选择 Specify Flash Recovery Area (指定快擦写恢复区域)。 b 单击 Browse (浏览)。 c 选择您在步骤 f 中创建的 flashbackDG 磁盘组,然后单击 OK (确定)。 d 在 Flash Recovery Area Size (快擦写恢复区域大小)文本框中, 键入在步骤 f 中创建的快擦写磁盘组的总大小。 e 选择 Enable Archiving (启用存档)并单击 Next (下一步)。 19 在 Database Content (数据库内容)窗口中,单击 Next (下一步)。 20 在 Database Services (数据库服务)窗口中,配置服务 (如果需要), 然后单击 Next (下一步)。 21 在 Initialization Parameters (初始化参数)窗口中,执行以下步骤: a 选择 Custom (自定义)。 b 对于 Memory Management (内存管理),请选择 Automatic Shar
28 在每个节点上执行以下步骤: a 通过输入以下命令验证节点上是否存在数据库实例: srvctl status database -d b 输入以下命令,在 Oracle 用户配置文件中添加 ORACLE_SID 环境 变量条目: echo "export ORACLE_SID=racdbx" >> /home/oracle/ .bash_profle source /home/oracle/.
使用自动存储管理 (ASM) 安装 Oracle RAC 11g R1
配置和部署 Oracle® Database 11g (单个节点) 本节提供了在单个节点上安装 Oracle 11g R1 软件的相关信息。本节包括以 下主题: • 第 91 页上的“安装 Oracle 群集件” • 第 94 页上的“安装 Oracle 11g 数据库” • 第 95 页上的“安装 Oracle 11g R1 增补软件集” • 第 98 页上的“配置侦听程序” • 第 99 页上的“创建基础数据库” 安装 Oracle 群集件 1 在节点 1 中,将您在表 2-1 中选择的 Oracle 群集件安装介质插入到 CD/DVD 驱动器中。 随即显示 Welcome (欢迎)窗口,同时启动 Oracle 用户界面 (OUI)。 如果未显示 Welcome (欢迎)窗口: a 单击 Start (开始),然后选择 Run (运行)。 b 在 Run (运行)字段中,键入以下命令,然后单击 OK (确定): %CD drive%\crs\setup.
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(配置助手)窗口出现故障,请执行 以下步骤并参阅《
安装 Oracle 11g 数据库 1 在节点 1 中,将您在表 2-1 中选择的 Oracle 群集件安装介质插入到 CD/DVD 驱动器中。 屏幕将显示 Welcome (欢迎)窗口并启动 OUI。 如果未显示 Welcome (欢迎)窗口: a 单击 Start (开始),然后选择 Run (运行)。 b 在 Run (运行)字段中,键入: %CD drive%\db\setup.
8 在 Select Configuration Option (选择配置选项)窗口中,选择 Install database Software only (仅安装数据库软件),然后单击 Next (下一步)。 9 在 Summary (摘要)窗口中,单击 Install (安装)。 10 在 End of Installation (安装结束)窗口中,执行列出的步骤。 注:应先执行窗口中列出的步骤,然后再继续下一步骤。 11 单击 Exit (退出)。 安装 Oracle 11g R1 增补软件集 注:本节仅适用于 Windows Server 2003 操作系统。 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 (指定主目录详细信息)窗口中,从 Name (名称)下拉式列表中选择 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 服务的步骤 — 您 应当在开始安装增补软件集之前已经如第 95 页上的 “准备工作”中所 述完成该步骤。 9 在 End of In
配置侦听程序 本节包含配置侦听程序的步骤,与数据库建立远程客户端连接时需要此 过程。 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.
9 在 Database Credentials (数据库证书)窗口中选择密码选项,键入相 应的密码信息 (如果有必要),然后单击 Next (下一步)。 注:记录新密码,因为稍后您将需要该信息来进行数据库管理。 10 在 Storage Options (存储选项)窗口中,选择 Automatic Storage Management (ASM) (自动存储管理 [ASM]),然后单击 Next (下一步)。 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 (创建磁盘组)窗口中,执行以下步
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 Parameters (初始化参数)窗口中,执行以下步骤: a 选择 Custom (自定义)。 b 对于 Shared Memory Management (共享内存管理),选择 Automa
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 群集添加 新节点 以下各节介绍了如何向 Microsoft® 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.
添加数据库实例到新节点 对每个新节点执行以下步骤以添加新实例: 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 (下一步)。此时 DB
索引 A O ASM, 77 OCFS, 63 安装 Oracle 时使用 , 63 创建基础数据库 , 73 D Dell Enterprise Training and Certification(Dell 企业 培训与认证)网站 , 60 L Oracle Database 10g 部署 , 91 配置 , 91 Oracle Databases and Applications Solutions(Oracle 数据库和应 用程序解决方案)网站 , 60 Oracle 数据库 , 59 LUN, 60 Oracle 网站 , 60 M Z My Oracle Support (我的 Oracle 支持) 网站 , 60 帮助 , 60 Dell 支持 , 60 Oracle 支持 , 60 索引 107
基础数据库 , 73 创建 , 73 群集件 安装 , 77, 91 群集件 11.1.0.6 版 , 77 数据库 11.1.0.6 版 , 80 数据库实例 , 106 添加节点 , 104 硬件要求 , 91 增补软件集 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.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
Remarques REMARQUE : Une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. ____________________ Les informations contenues dans ce document sont sujettes à modification sans préavis. © 2009 Dell Inc. Tous droits réservés. La reproduction de ce document de quelque manière que ce soit sans l'autorisation écrite de Dell Inc. est strictement interdite. Marques mentionnées dans ce document : Dell, PowerEdge et le logo DELL sont des marques de Dell Inc.
Table des matières 1 Présentation . Documentation nécessaire au déploiement de la base de données Dell|Oracle 11g . . . . . . . . 115 . . . 116 Terminologie utilisée dans le présent document Obtention d'aide Support Dell . . . . . . . . . . . . . . . . . . . . 116 . . . . . . . . . . . . . . . . . . . . 116 . . . . . . . . . . . . . . . . . . 117 Support Oracle 2 Avant de commencer 119 . . . . . . . . . . . . . . Choix du support d'installation d'Oracle approprié . 3 115 . . . . . . .
Installation du groupe de correctif d'Oracle Clusterware 11g R1 . . . . . . . . . . . . . Installation du groupe de correctifs pour Oracle 11g Clusterware . . . . . . . . . . . 129 Installation du groupe de correctifs pour Oracle 11g Database . . . . . . . . . . . . 130 Téléchargement des correctifs Oracle les plus récents . . . . . . . . . . . . . Configuration de l'écouteur . . . . . 131 . . . . . . . . . . . . . . 131 Création de la base de données initiale . 4 . . . . . . .
5 Configuration et déploiement d'Oracle Database ® 11g (sur un seul nœud) . . . . 153 Installation d'Oracle Clusterware . . . . . . . . . . . . 153 Installation d'Oracle 11g Database . . . . . . . . . . . 156 Installation du groupe de correctif d'Oracle Clusterware 11g R1 . . . . . . . . . . . . . . 158 Installation du groupe de correctifs pour Oracle 11g Clusterware . . . . . . . . . . . . 158 Installation du groupe de correctifs pour Oracle 11g Database . . . . . . . . . . . . .
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 Microsoft Windows Server x64 - 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.
Support Oracle • • • Pour obtenir des informations sur les formations disponibles concernant le logiciel Oracle et les clusters, ou pour contacter Oracle, rendez-vous sur le site 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
Avant de commencer Cette section fournit des informations sur l'installation du logiciel Oracle® RAC 11g R1. Choix du support d'installation d'Oracle approprié Pour choisir le support d'installation de la version appropriée d'Oracle pour votre système d'exploitation Microsoft® Windows® Server, reportez-vous au tableau 2-1. Tableau 2-1.
Avant de commencer
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)” à la page 137. Cette section fournit des informations sur l'installation du logiciel Oracle RAC 11g R1.
Installation d'Oracle Clusterware 1 Sur le nœud 1, insérez le support d'installation d'Oracle Clusterware, que vous avez choisi dans le tableau 2-1, dans le lecteur de CD/DVD. 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-ROM%:\crs\setup.
6 Dans la fenêtre Specify Cluster Configuration (Définir la configuration du cluster), entrez ce qui suit : • Un autre nom pour le cluster (facultatif). • Les noms d'hôtes des réseaux publics et privés pour les deux nœuds de cluster. Cliquez sur Add (Ajouter) pour spécifier d'autres nœuds. • Dans la fenêtre Add a new node to the existing cluster (Ajouter un nœud au cluster existant), entrez les noms public et privé du nouveau nœud ainsi que son nom d'hôte virtuel, puis cliquez sur OK.
d Sélectionnez la seconde partition et cliquez sur Edit (Modifier). e Dans la fenêtre Specify Disk Configuration (Définir la configuration du disque), sélectionnez Place OCR (Mirror) on this partition (Placer le disque OCR (miroir) sur cette partition), puis cliquez sur OK.
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 procédures 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).
a Dans la fenêtre du message d'erreur, cliquez sur OK. b Dans la fenêtre Configuration Assistant (Assistant de configuration), cliquez sur Next (Suivant). c Ne tenez pas compte du message d'avertissement et cliquez sur OK. d Cliquez sur Exit (Quitter) pour fermer la session OUI. e Dans la fenêtre de fermeture, cliquez sur Yes (Oui). 17 Si vous utilisez ASM pour installer Oracle, passez à la section “Installation d'Oracle® RAC 11g R1 à l'aide d'ASM (Automatic Storage Management)” à la page 137.
4 Dans la fenêtre Specify Home Details (Indiquer l'emplacement racine), sous Destination, vérifiez ce qui suit : • Le répertoire racine de la base de données Oracle, 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.6\db_1 où %LecteurSystème% est le lecteur local de l'utilisateur.
11 Après avoir effectué toutes les étapes indiquées dans la fenêtre de fin d'installation, cliquez sur Exit (Quitter). 12 Exécutez la commande suivante sur les nœuds distants pour activer le fournisseur de données d'Oracle pour .NET, le fournisseur d'Oracle pour OLE DB, les objets d'Oracle pour OLE, les compteurs d'Oracle pour Windows Performance Monitor (Contrôleur de performance Windows) et Oracle Administration Assistant (Assistant Administration Oracle) : \bin\SelectHome.
Installation du groupe de correctifs 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.
7 Dans la fenêtre End of Installation (Fin de l'installation), effectuez toutes les opérations décrites dans la fenêtre Summary (Résumé). N'effectuez pas l'étape 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” à la page 129. 8 Dans la fenêtre End of Installation (Fin de l'installation), cliquez sur Quitter. 9 Cliquez sur Yes (Oui) pour quitter le programme OUI.
7 Dans la fenêtre Summary (Résumé), cliquez sur Install (Installer). 8 Dans la fenêtre End of Installation (Fin de l'installation), effectuez toutes les opérations décrites dans la fenêtre Summary (Résumé). N'effectuez pas l'étape 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”. 9 Dans la fenêtre End of Installation (Fin de l'installation), cliquez sur Exit (Quitter).
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).
15 Cliquez sur Edit Archive Mode Parameters (Modifier les paramètres du mode d'archivage).
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)” à la page 121. Cette section fournit des informations sur l'installation du logiciel Oracle RAC 11g R1.
Installation d'Oracle Clusterware 1 Sur le nœud 1, insérez le support d'installation d'Oracle Clusterware, que vous avez choisi dans le tableau 2-1, dans le lecteur de CD/DVD. 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. b Dans le champ Exécuter, entrez la commande suivante et cliquez sur OK : %Lecteur_CD%\crs\setup.exe où %Lecteur_CD% correspond à la lettre du lecteur de CD/DVD. 2 Cliquez sur Suivant.
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 Si besoin, sélectionnez Public pour le type d'interface (Type interface) publique, Private (privé) pour le type d'interface privée et Do Not Use (Ne pas utiliser) pour les autres types d'interface en procédant comme suit : a Sélectionnez le nom de l'interface, puis 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 de la base de données Oracle 11g 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)” à la page 121. 1 Sur le nœud 1, insérez le support d'installation d'Oracle Database, que vous avez choisi dans le tableau 2-1, dans le lecteur de CD/DVD. Le programme OUI démarre et la fenêtre de bienvenue s'affiche.
5 Cliquez sur Next (Suivant). 6 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). 7 Dans la fenêtre Product-Specific Prerequisite Checks (Vérification des conditions prérequises), cliquez sur Next (Suivant).
Installation du groupe de correctif d'Oracle Clusterware 11g R1 REMARQUE : cette section ne concerne que le système d'exploitation Windows Server 2003. 1 Vérifiez que seuls les fichiers binaires correspondant à Clusterware 11.1.0.6 et Database 11.1.0.6 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 d'Oracle Metalink à l'adresse metalink.oracle.com.
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 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.
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). 9 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).
Création de la base de données initiale Pour créer la base de données initiale à l'aide d'Oracle ASM, procédez comme suit : 1 Vérifiez qu'Oracle Clusterware est en cours d'exécution. a Ouvrez une fenêtre de ligne de commande. Cliquez sur Démarrer, sélectionnez Exécuter, entrez cmd et appuyez sur . b Entrez crsctl check crs.
8 Dans la fenêtre Database Identification (Identification de la base de données), complétez le champ Global Database Name (Nom global de la base de données) en indiquant un nom tel que racdb, puis cliquez sur Next (Suivant). 9 Dans la fenêtre Management Options (Options de gestion), cliquez sur Next (Suivant). 10 Dans la fenêtre Database Credentials (Autorisations de la base de données), sélectionnez une option de mot de passe, entrez les informations appropriées le cas échéant et cliquez sur Next.
Si vos disques ne figurent pas dans la liste et si vous ne les avez pas marqués pour ASM, cliquez sur Stamp Disks (Marquage des disques) et suivez la procédure ci-dessous : i Cliquez sur Add or change label (Ajouter ou modifier un label), puis sur Next (Suivant). ii Sélectionnez le périphérique candidat approprié à marquer comme disque ASM. iii Renommez le préfixe de marquage ou conservez le mot clé par défaut DATA et cliquez sur Next (Suivant).
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. 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.
26 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. 27 Cliquez sur Password Management (Gestion des mots de passe) pour attribuer des mots de passe aux utilisateurs autorisés (le cas échéant). Sinon, cliquez sur Exit (Quitter).
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.
2 Dans la fenêtre de bienvenue, cliquez sur Next (Suivant). 3 Dans la fenêtre Specify Inventory Directory (Spécifier le répertoire de l'inventaire), acceptez les paramètres par défaut (%LecteurSystème%\Program Files\Oracle\Inventory) et 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).
10 Dans la fenêtre Cluster Configuration Storage (Configuration du stockage 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).
14 Dans la fenêtre Summary (Résumé), cliquez sur Install (Installer) pour démarrer l'installation. REMARQUE : si la fenêtre Configuration Assistant (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). La fenêtre Install (Installation) s'affiche et indique la progression de l'installation.
4 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 correctif d'Oracle Clusterware 11g R1 REMARQUE : cette section ne concerne que le système d'exploitation Windows Server 2003. 1 Vérifiez que seuls les fichiers binaires correspondant à Clusterware 11.1.0.6 et Database 11.1.0.6 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 d'Oracle Metalink à l'adresse metalink.oracle.com.
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 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.
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). 9 Dans la fenêtre Listener Configuration, More Listeners (Configuration de l'écouteur, Autres écouteurs), sélectionnez No (Non) et cliquez sur Next (Suivant). 10 Dans la fenêtre Listener Configuration Done (Configuration de l'écouteur effectuée), 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 (Database Configuration Assistant) 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 GDbdd. b Dans la zone Redundancy (Redondance), sélectionnez External (Externe). c Sélectionnez les disques ORCL:ASM1 à inclure dans le groupe.
17 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. 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.
24 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).
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 Microsoft® Windows®. Préparation du nœud à ajouter à un 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 de nœuds à la couche Oracle Clusterware” à la page 168. 2 “Ajout des nœuds à la couche Oracle RAC Database” à la page 169. 3 “Ajout des instances de base de données aux nouveaux nœuds” à la page 170.
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.
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. Pour ce faire, utilisez exclusivement l'Assistant NetCA (Net Configuration Assistant).
7 Cliquez sur Next (Suivant) pour ajouter une nouvelle instance. L'Assistant DBCA affiche la page Adding an Instance (Ajouter une instance). 8 Dans la page Adding an Instance (Ajouter une instance), entrez le nom de l'instance dans le champ approprié, en haut de la page. Sélectionnez le nom du nouveau nœud dans la liste et cliquez sur Next (Suivant). L'Assistant DBCA affiche la page Services.
Ajout d'un nœud à un cluster Oracle 11g RAC
Index A E aide support Dell, 116 support Oracle, 117 écouteur configuration, 131, 146, 161 ajout de nœuds, 168 ASM, 137 B base de données initiale, 133 création, 133 G groupe de correctifs 11.1.0.7 d'Oracle 11g R1, 128-130, 143 H help, 116 C Clusterware installation, 138, 153 version 11.1.0.6, 138 I D L Database version 11.1.0.
O OCFS, 121 création de la base de données initiale, 133 installation d'Oracle à l'aide de, 121 Oracle Database, 115 Oracle Database 10g configuration, 153 déploiement, 153 S site web de formation et de certification pour les entreprises de Dell, 116 site web Oracle, 117 solutions de bases de données et d'applications Oracle site web, 116 U un seul nœud, 153 174 Index
Dell™ PowerEdge™-Systeme Oracle® Database unter Microsoft® Windows Server® x64 Datenbankeinrichtungs- und installationsanleitung Version 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
Anmerkungen ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie das System besser einsetzen können. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2009 Dell Inc. Alle Rechte vorbehalten. Die Vervielfältigung oder Wiedergabe dieser Materialien in jeglicher Weise ist ohne vorherige schriftliche Genehmigung von Dell Inc. streng untersagt. Marken in diesem Text: Dell, PowerEdge und das DELL Logo sind Marken von Dell Inc.
Inhalt 1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . Erforderliche Dokumentation zum Bereitstellen von Dell|Oracle 11g Database . . . . . . . . . . . . . 181 In diesem Dokument verwendete Terminologie . . . . 182 Wie Sie Hilfe bekommen . Dell Support . . . . . . . . . . . . . . . 182 . . . . . . . . . . . . . . . . . . . . 182 . . . . . . . . . . . . . . . . . . 183 Oracle-Support 2 Bevor Sie beginnen . . . . . . . . . . . . . . .
Konfiguration des Listeners . . . . . . . . . . . . . . 198 . . . . . . . . . . . . . 199 Erstellen der Startdatenbank 4 Installation von Oracle ® RAC 11g R1 mit Automatic Storage Management (ASM) . . . . . . . . . . . . . Installation von Oracle Clusterware . . 203 . . . . . . . . . 204 Installation von Oracle 11g Database . . . . . . . . . Installation des Oracle 11g R1-Patchsets . . . . . . . . . . . 209 Installation des Patchsets für Oracle 11g Database . . . . . . . . . . . . . . . . .
5 Konfigurieren und Bereitstellen von Oracle ® Database 11g (Einzelknoten) . . . . . . . . . . . . . . Installation von Oracle Clusterware . . . . . . . . . . . . . . . . Installation von Oracle 11g Database . 219 . . . . . . . . . Installation des Oracle 11g R1-Patchsets . 222 . . . . . . . 224 Installation des Patchsets für Oracle 11g Clusterware . . . . . . . . . . . . . . . . . . . . . 224 Installation des Patchsets für Oracle 11g Database . . . . . . . . . . . . . . . . . . . . . .
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 unter Microsoft Windows Server x64 Fehlerbehebungshandbuch – Beschreibt Maßnahmen zum Lösen von Problemen, die während der Installationsvorgänge in den vorangegangenen Modulen auftreten können. ANMERKUNG: Alle Module enthalten Informationen zur technischen Unterstützung von Dell. In diesem Dokument verwendete Terminologie • In diesem Dokument werden die Begriffe Logische Gerätenummer (LUN) und Virtueller Datenträger verwendet. Diese Begriffe sind synonym und untereinander ersetzbar.
• Informationen zu Schulungen und Zertifizierungen von Dell für Unternehmen erhalten Sie auf der Dell Training Services-Website unter dell.com/training. ANMERKUNG: Diese Schulungen werden eventuell nicht an allen Standorten angeboten. Oracle-Support • • • Informationen über Schulungen für Oracle-Software, Anwendungsclusterware und über die Kontaktaufnahme mit Oracle finden Sie auf der Oracle-Website oracle.com oder in der mit dem System gelieferten Oracle-Dokumentation.
Übersicht
Bevor Sie beginnen Dieser Abschnitt enthält Informationen zu den grundlegenden Installationsanforderungen für Oracle® RAC 11g R1. Auswahl des korrekten OracleInstallationsmediums Die korrekte Version des Oracle-Installationsmediums für Ihr Microsoft® Windows® Server-Betriebssystem können Sie Table 2-1 entnehmen. Table 2-1. Zu installierende Version von Clusterware / Database / Patchset Betriebssystem Oracle ClusterwareVersion Oracle 11g DatabaseVersion Patchset-Version Windows 2008 11.1.0.7 11.1.0.
Bevor Sie beginnen
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 203 beschrieben. In diesem Abschnitt ist die Installation der Software Oracle RAC 10g R2 beschrieben.
Installation von Oracle Clusterware 1 Legen Sie auf Knoten 1 das Oracle Clusterware-Installationsmedium entsprechend Tabelle 2-1 in das CD/DVD-Laufwerk ein. Der Oracle Universal Installer (OUI) wird aufgerufen und das Startfenster wird angezeigt. Wenn das Startfenster 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%:\crs\setup.
6 Geben Sie im Fenster Specifiy Cluster Configuration (Clusterkonfiguration festlegen) Folgendes ein: • Einen alternativen Clusternamen (falls gewünscht) • Hostnamen für das öffentliche und das private Netzwerk für beide Clusterknoten. Klicken Sie auf Add (Hinzufügen), um weitere Knoten festzulegen. • 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.
c Wählen Sie im Fenster Specify Disk Configuration (Datenträgerkonfiguration festlegen) die Option Place OCR (Primary) on this partition (Verwende Partition für OCR [Primär]), und klicken Sie auf OK. d Wählen Sie die zweite Partition aus, und klicken Sie auf Edit (Bearbeiten). e Wählen Sie im Fenster Specify Disk Configuration (Datenträgerkonfiguration festlegen) die Option Place OCR (Mirror) on this partition (Verwende Partition für OCR [Spiegel]), und klicken Sie auf OK.
d Stellen Sie sicher, dass Use partition for data storage (Partition für Datenspeicherung verwenden) ausgewählt ist. e Wählen Sie im Listenmenü der Option Assign Drive Letter (Laufwerkbuchstaben zuweisen) einen Laufwerkbuchstaben für die Partition aus. f Klicken Sie auf OK.
Danach wird das Fenster End of Installation (Installation abgeschlossen) angezeigt. ANMERKUNG: Wenn im Fenster Configuration Assistant (Konfigurationsassistent) ein Fehler auftrifft, führen Sie die nachstehend beschriebenen Schritte durch, und beachten Sie die Hinweise im Oracle Database on Microsoft Windows Server x64 Troubleshooting Guide (Fehlerbehebungshandbuch). a Klicken Sie im Fehlerfenster auf OK. b Klicken Sie im Fenster Configuration Assistant (Konfigurationsassistent) auf Weiter.
3 Wählen Sie im Fenster Select Installation Type (Installationstyp auswählen) die Option Enterprise Edition, und klicken Sie dann auf Weiter. 4 Ü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.
9 Klicken Sie im Fenster Summary (Übersicht) auf Install (Installieren). 10 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. 11 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 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.
4 Klicken Sie im Fenster Specify Hardware Cluster Installation Mode (Installationsmodus für Hardwarecluster festlegen) auf Weiter. 5 Klicken Sie im Fenster Product-Specific Prerequisite Checks (Produktspezifische Vorüberprüfungen) auf Weiter. 6 Klicken Sie im Fenster Oracle Configuration Manager Registration auf Weiter. 7 Klicken Sie im Fenster Summary (Übersicht) auf Install (Installieren).
Konfiguration des Listeners In diesem Abschnitt werden die Schritte zum Konfigurieren des Listeners beschrieben, der benötigt wird, damit entfernte Clients Verbindung zu einer Datenbank aufnehmen können. ANMERKUNG: Die in diesem Abschnitt beschriebene Verfahrensweise setzt voraus, dass der Patch bereits installiert ist. Führen Sie auf Knoten 1 die folgenden Schritte aus: 1 Klicken Sie auf Start, wählen Sie Ausführen, und geben Sie folgenden Befehl ein: netca 2 Klicken Sie auf OK.
10 Wählen Sie im Fenster Listener Configuration, More Listeners (Konfiguration Listener, Weitere Listener) die Option Nein, und klicken Sie auf Weiter. 11 Klicken Sie im Fenster Listener Configuration Done (Konfiguration des Listeners abgeschlossen) auf Weiter. 12 Klicken Sie im Begrüßungsfenster auf Finish (Fertig stellen). Erstellen der Startdatenbank In diesem Abschnitt ist die Vorgehensweise zum Erstellen einer Startdatenbank mit OCFS sowie zum Überprüfen der Startdatenbank beschrieben.
9 Klicken Sie im Fenster Database Credentials (Datenbank-Zugriffsrechte) auf Use the Same Password for All Accounts (Gleiches Kennwort für alle Benutzer verwenden), geben Sie ein neues Kennwort ein und bestätigen Sie es, und klicken Sie dann auf Weiter. ANMERKUNG: Notieren Sie sich das neue Kennwort, da Sie es später zur Verwaltung der Datenbank benötigen.
d Klicken Sie auf OK. e Geben Sie im Textfeld Flash Recovery Area Size (Größe des Wiederherstellungsbereichs) die Gesamtspeichergröße ein, die nach den Anweisungen im Oracle Database on Microsoft Windows Server x64 Storage and Networking Guide für den Wiederherstellungsbereich erstellt wurde. 14 Wählen Sie Enable Archiving (Archivierung aktivieren). 15 Klicken Sie auf Edit Archive Mode Parameters (Archivmodus-Parameter bearbeiten).
23 Akzeptieren Sie im Fenster Creation Options (Erstellungsoptionen) die Vorgaben, und klicken Sie auf Finish (Fertig stellen). 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.
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 187 beschrieben. In diesem Abschnitt ist die Installation der Software Oracle RAC 10g R2 beschrieben.
Installation von Oracle Clusterware 1 Legen Sie auf Knoten 1 das Oracle Clusterware-Installationsmedium entsprechend Tabelle 2-1 in das CD/DVD-Laufwerk ein. Das OUI-Installationsprogramm wird aufgerufen und das Startfenster wird angezeigt. Wenn das Startfenster 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%\crs\setup.
6 Führen Sie im Fenster Specify File Locations (Dateispeicherorte angeben) die folgenden Schritte durch: a Überprüfen Sie den öffentlichen, privaten und virtuellen Hostnamen für den primären Knoten. b Wenn Sie diese Werte ändern wollen, klicken Sie auf Edit (Bearbeiten), geben Sie die gewünschten Werte ein, und klicken Sie auf OK. c Klicken Sie auf Hinzufügen. d Geben Sie den öffentlichen, privaten und virtuellen Hostnamen für den zweiten Knoten ein, und klicken Sie auf OK.
c Wählen Sie im Fenster Specify Disk Configuration (Datenträgerkonfiguration festlegen) die Option Place OCR (Primary) on this partition (Verwende Partition für OCR [Primär]), und klicken Sie auf OK. d Wählen Sie die zweite Partition aus, und klicken Sie auf Edit (Bearbeiten). e Wählen Sie im Fenster Specify Disk Configuration (Datenträgerkonfiguration festlegen) die Option Place OCR (Mirror) on this partition (Verwende Partition für OCR [Mirror]), und klicken Sie auf OK.
14 Klicken Sie im Fenster Summary (Übersicht) auf Install (Installieren), um den Installationsvorgang zu starten. ANMERKUNG: Wenn im Fenster Configuration Assistant (Konfigurationsassistent) ein Fehler auftrifft, führen Sie die nachstehend beschriebenen Schritte durch, und beachten Sie die Hinweise im Oracle Database unter Microsoft Windows Server x64 Fehlerbehebungshandbuch. Im Fenster Install (Installation) wird der Fortschritt der Installation angezeigt.
3 Klicken Sie im Fenster Select Installation Type (Installationstyp auswählen) auf Enterprise Edition und anschließend auf Weiter. 4 Ü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.
11 Führen Sie den folgenden Befehl auf Remote-Knoten aus, um den OracleDatenprovider für .NET, den Oracle-Provider für OLE DB, die OracleObjekte für OLE, Oracle-Zähler für den Windows Performance Monitor und den Oracle-Administrationsassistenten zu aktivieren: \bin\SelectHome.bat 12 Klicken Sie auf Exit (Beenden). Installation des Oracle 11g R1-Patchsets ANMERKUNG: Dieser Abschnitt betrifft nur das Betriebssystem Windows Server 2003.
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 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).
d Wählen Sie die entsprechenden Provisioned-Datenträger (Bereitgestellte Datenträger) für die Datenträgergruppe aus. e Klicken Sie auf OK. Die erste ASM-Datenträgergruppe wird im Cluster erstellt und das Fenster ASM Disk Groups (ASMDatenträgergruppen) wird angezeigt. f Wiederholen Sie diese Schritte zum Erstellen einer Datenträgergruppe für den Wiederherstellungsbereich, und verwenden Sie dabei flashbackDG als Name für die Datenträgergruppe.
21 Führen Sie im Fenster Initialization Parameters (Initialisierungsparameter) die folgenden Schritte aus: a Wählen Sie Custom (Benutzerdefiniert). b Wählen Sie bei Memory Management (Speicherverwaltung) die Option Automatic Shared Memory Management (Automatische gemeinsame Speicherverwaltung). Geben Sie in den Fenstern SGA Size (SGA-Größe) und PGA Size (PGA-Größe) die zutreffenden Informationen ein. c Klicken Sie auf Next (Weiter).
28 Führen Sie auf jedem Knoten die folgenden Schritte aus: 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.
Konfigurieren und Bereitstellen von Oracle® Database 11g (Einzelknoten) Dieser Abschnitt enthält Informationen über das Installieren der Software Oracle 11g R1 auf einem Einzelknoten.
3 Übernehmen Sie im Fenster Specify Inventory Directory (Inventarverzeichnis festlegen) die Vorgabe (%System drive%\Program Files\Oracle\Inventory) und klicken Sie 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 (Clusterkonfigurationsspeicher) 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 Edit (Bearbeiten).
14 Klicken Sie im Fenster Summary (Übersicht) auf Install (Installieren), um den Installationsvorgang zu starten. ANMERKUNG: Wenn im Fenster Configuration Assistant (Konfigurationsassistent) ein Fehler auftrifft, führen Sie die nachstehend beschriebenen Schritte durch, und beachten Sie die Hinweise im Oracle Database on Microsoft Windows Server x64 Troubleshooting Guide (Fehlerbehebungshandbuch). Im Fenster Install (Installation) wird der Fortschritt der Installation angezeigt.
4 Ü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 ANMERKUNG: Dieser Abschnitt betrifft nur das Betriebssystem Windows Server 2003. 1 Vergewissern Sie sich, dass nur Binärdateien der Clusterwareund 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.
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 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.
d Geben Sie im Textfeld Flash Recovery Area Size (Größe des Wiederherstellungsbereichs) die Gesamtgröße der FlashDatenträ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. 19 Konfigurieren Sie im Fenster Database Services (Datenbankdienste) Ihre Dienste (falls erforderlich), und klicken Sie dann 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 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 Microsoft® 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 OUISitzung 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 Begrüßungsseite auf Weiter. in OUI wird die Seite Specify Cluster Nodes for Node Addition (Hinzuzufügende Clusterknoten auswählen) 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.
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. Wenn das Hinzufügen der Instanz abgeschlossen ist, wird im DBCA ein Dialogfeld angezeigt, in dem Sie gefragt werden, ob ein weiterer Vorgang durchgeführt werden soll.
Stichwortverzeichnis A Hinzufügen von Knoten, 234 ASM, 203 L C Clusterware Installieren, 204, 219 Clusterware Version 11.1.0.6, 204 D Database Version 11.1.0.
Oracle Databases and Applications Solutions-Website, 182 Oracle-Website, 183 P Patchset 11.1.0.
Dell™ PowerEdge™ システム Microsoft® Windows Server® x64 で使用する Oracle® データベース データベースセットアップ & インストールガイド バージョン 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
メモ メモ:コンピュータを使いやすくするための重要な情報を説明してい ます。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2009 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書に使用されている商標:Dell、PowerEdge および DELL は Dell Inc. の商標です。 Microsoft および Windows は米国その他の国における Microsoft Corporation の商標または 登録商標です。Red Hat、Red Hat Enterprise Linux および Enterprise Linux は米国その他の 国における Red Hat, Inc. の登録商標です。Oracle は Oracle Corporation および / またはそ の関連会社の登録商標です。 商標または製品の権利を主張する事業体を表すためにその他の商標および社名が使用されて いることがあります。Dell Inc.
目次 1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dell|Oracle 11g Database の導入に必要なマニュアル . . . . . . 247 . . . . . . . . . . . . . . . . . . . . 248 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 本書で使用されている用語 困ったときは . デルサポート . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle のサポート . 2 . . . . . . . . . . . . . . . . . . . . . . . 作業を開始する前に . . . . . . . . . . . . . . . . . . . 正しい Oracle インストールメディアの選択 . 3 247 . . . . . . . . . .
4 ASM(Automatic Storage Management) を使用した Oracle ® RAC 11g R1 のインス トール . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 Oracle Clusterware のインストール . . . . . . . . . . . . . . . . 270 Oracle Database 11g のインストール . . . . . . . . . . . . . . . 273 Oracle 11g R1 パッチセットのインストール . . . . . . . . . . 275 Oracle 11g Database 用のパッチセットのイ ンストール. . . . . . . . . . . . . . . . . . . リスナーの設定 . . . . . . . . . 277 . . . . . . . . . . . . 278 . . . . . . . . . . . . . . . . . . . . . . . . .
6 既存の Oracle ® 11g RAC クラスタ への新しいノードの追加 . . . . . . . クラスタに追加するノードの準備 . . . . . . . . . . . . . . . . . . . . . . . . . Oracle Clusterware 層へのノードの追加 . . . . . . . . . . . . . . Oracle RAC データベース層へのノードの追加 . . . . . . . . . . 新しいノードへのデータベースインスタンスの追加 索引 299 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
目次
概要 本書の説明は次の製品に適用されます。 • 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.
概要
作業を開始する前に 本項では、Oracle® RAC 11g R1 のインストールに関する基本要件を示 します。 正しい Oracle インストールメディアの選択 お使いの Microsoft® Windows® Server OS に適した Oracle インストー ルメディアのバージョンを選択するには、表 2-1 を参照してくだ さい。 表 2-1. インストールするクラスタウェア / データベース / パッチセットのバー ジョン OS Oracle Clusterware のバージョン Oracle Database 11g のバージョン パッチセットの バージョン Windows 2008 11.1.0.7 11.1.0.7 - Windows 2003 11.1.0.6 11.1.0.6 11.1.0.
作業を開始する前に
OCFS(Oracle Cluster File System) を使用した Oracle® RAC 11g R1 の インストール メモ:ASM を使用して Oracle をインストールする場合は、以下の手順を 省略して 269 ページの「ASM(Automatic Storage Management)を使用した Oracle® RAC 11g R1 のインス トール」の手順に従います。 本項では、Oracle RAC 11g R1 ソフトウェアのインストール手順につい て説明します。内容は次のとおりです。 • 254 ページの「Oracle Clusterware のインストール」 • 258 ページの「Oracle Database 11g のインストール」 • 260 ページの「Oracle 11g R1 パッチセットのインストール」 • 263 ページの「リスナーの設定」 • 265 ページの「シードデータベースの作成」 OCFS を使用した Oracle RAC 11g R1 のインストール 253
Oracle Clusterware のインストール 1 ノード 1 で、表 3-1 で選択した Oracle Clusterware インストールメ ディアを CD/DVD ドライブにセットします。 Oracle Universal Installer(OUI)が起動し、Welcome(ようこそ) ウィンドウが表示されます。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドに次のテキストを入力し、 OK をクリックします。 %CD-ROM ドライブ %:\crs\setup.
6 Specify Cluster Configuration(クラスタ構成の指定)ウィンド ウで、以下の情報を入力します。 • 代替クラスタの名前(必要に応じて)。 • 両方のクラスタノード用のパブリックおよびプライベートネット ワークのホスト名。追加ノードを指定するには、Add(追加) をクリックします。 • Add a new node to the existing cluster(既存のクラスタに 新しいノードを追加する)ウィンドウで、パブリック、プライ ベート、および仮想ホスト名を入力し、OK をクリックします。 メモ:ネットワークホスト名にドメイン名の拡張子が含まれていな いことを確認してください。 7 Next(次へ)をクリックします。 Specify Network Interface Usage(ネットワークインタフェース の用途を指定する)ウィンドウが表示され、クラスタ全体のネット ワークインタフェースのリストが表示されます。 8 必要に応じて、次の手順を実行することで、パブリック Interface Type(インタフェースのタイプ)を Public(パブリック)に、プラ
c Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Place OCR (Primary) on this partition(このパーティ ションに OCR(プライマリ)を置く)を選択し、OK をクリック します。 d 2 番目のパーティションを選択し、Edit(編集)をクリックし ます。クします。 e Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Place OCR (Mirror) on this partition(このパーティ ションに OCR(ミラー)を置く)を選択し、OK をクリックし ます。 11 Cluster Configuration Storage(クラスタ構成ストレージ)ウィ ンドウで、投票ディスクについて以下の手順を実行します。 a 『Microsoft Windows Server x64 で使用する Oracle データベー ス — ストレージ & ネットワークガイド』の手順に従って作成し た 3 つの 250 MB パーティションの位置を確認します。 b 最初のパーティショ
e Assign Drive Letter(ドライブ文字の割り当て)オプションの ドロップダウンメニューを使用して、ドライブ文字をパーティ ションに割り当てます。 f OK をクリックします。 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 Dr
a エラーウィンドウで、OK をクリックします。 b Configuration Assistant ウィンドウで、Next(次へ)をク リックします。 c 警告メッセージを無視して OK をクリックします。 d Exit(終了)をクリックして OUI セッションを終了します。 e Exit(終了)ウィンドウで、Yes(はい)をクリックします。 17 ASM を使用して Oracle をインストールする場合は、269 ページの 「ASM(Automatic Storage Management)を使用した Oracle® RAC 11g R1 のインス トール」に進みます。そうでない場合は 253 ページの「OCFS(Oracle Cluster File System)を使用した Oracle® RAC 11g R1 のインストール」に進みます。 Oracle Database 11g のインストール 1 ノード 1 で、表 2-1 で選択した Oracle Clusterware インストールメ ディアを CD/DVD ドライブにセットします。 OUI が起動し、Welcome(よう
4 Specify Home Details(ホームの詳細の指定)ウィンドウの Destination(インストール先)で、以下のことを確認します。 • Name(名前)フィールドで、Oracle データベースのホーム 名が OraDb11g_home1 であること。 • Path(パス)フィールドで、Oracle ホームの完全なパスが次の ようになっていること。 %SystemDrive%\app\Administrator\product\ 11.1.0.
11 End of Installation(インストールの終了)ウィンドウの表示に 従って必要な手順を実行したら、Exit(終了)をクリックします。 12 次のコマンドをリモートノードで実行して、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.bat 13 Exit(終了)ウィンドウで、Yes(はい)をクリックします。 Oracle 11g R1 パッチセットのインストール メモ:本項は Windows Server 2003 にのみ適用されます。 1 お使いのシステムに 11.1.0.6 Clusterware と 11.1.0.
パッチセットのインストール メモ:パッチセットソフトウェアのインストールは、RAC 11g R1 ソフト ウェアをインストールしたノードから行う必要があります。 1 パッチセットのフォルダにある OUI を起動します。例: %SystemDrive%\Oracle_patch\setup.
Oracle 11g Database 用のパッチセットのインストール メモ:パッチセットをインストールする前に、すべての 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.
5 Welcome(ようこそ)ウィンドウで Listener Configuration (リスナーの設定)を選択してから、Next(次へ)をクリックし ます。 6 Listener Configuration, Listener(リスナーの設定 - リスナー) ウィンドウで Add(追加)を選択し、Next(次へ)をクリックし ます。 7 Listener Configuration, Listener Name(リスナーの設定 - リ スナー名)ウィンドウの Listener name(リスナー名)フィール ドで、デフォルト設定をそのまま使用し、Next(次へ)をクリック します。 8 Listener Configuration, Select Protocols(リスナーの設定 - プ ロトコルの選択)ウィンドウの Selected protocols(選択するプロ トコル)フィールドで TCP を選択し、Next(次へ)をクリックし ます。 9 Listener Configuration, TCP/IP Protocol(リスナーの設定 TCP/IP プロトコル)ウィンドウで Use the st
シードデータベースの作成 本項では、OCFS を使用してシードデータベースを作成する手順とシー ドデータベースを確認する手順について説明します。 メモ:本項の手順を実行するには、パッチがすでにインストールされて いる必要があります。 OCFS を使用してシードデータベースを作成するには、次の手順を実行 します。 1 ノード 1 で スタート をクリックし、ファイル名を指定して実行 を 選択します。 2 ファイル名を指定して実行 フィールドに dbca と入力し、OK をク リックします。 Database Configuration Assistant が起動します。 3 Welcome(ようこそ)ウィンドウで Oracle Real Application Clusters database(Oracle Real Application Clusters データベー ス)を選択してから、Next(次へ)をクリックします。 4 Operations(操作)ウィンドウで Create a Database(データ ベースの作成)をクリックしてから、Next(次へ)をクリックし ます。 5 Node Selec
9 Database Credentials(データベース資格証明)ウィンドウで Use the 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(ディレクトリの参照)ウィンドウで
14 Enable Archiving(アーカイブの有効化)を選択します。 15 Edit Archive Mode Parameters(アーカイブモードパラメータの 編集)をクリックします。 a Edit Archive Mode Parameters(アーカイブモードパラメー タの編集)ウィンドウで、Archive Log Destinations(アーカ イブロゴの保存先)の下に表示されているパスが次のようになっ ていることを確認します。 X:/ X は『Microsoft Windows Server x64 で使用する Oracle データ ベース — ストレージ & ネットワークガイド』の手順に従ってフ ラッシュリカバリ領域用に作成した CFS(Cluster File System) ドライブ文字です。 b OK をクリックします。 16 Next(次へ)をクリックします。 17 Database Content(データベースの内容)ウィンドウでデフォル ト値をそのまま使用し、Next(次へ)をクリックします。 18 Database Services(データベースサービス)ウィンドウ
24 Summary(サマリ)ウィンドウで OK をクリックします。 Database Configuration Assistant ウィンドウが表示され、 Oracle ソフトウェアがデータベースを作成します。 メモ:この処理には数分かかることがあります。 25 Database Configuration Assistant ウィンドウで、Yes(はい) をクリックします。 作成が完了すると、Database Configuration Assistant ウィンド ウにデータベース設定情報が提供されます。 26 Database Configuration Assistant ウィンドウ内の情報をメモし ます。情報は将来のデータベース管理に使用します。 27 Exit(終了)をクリックします。 Start Cluster Database(クラスタデータベースの起動)ウィンド ウが表示され、クラスタデータベースが起動します。 268 OCFS を使用した Oracle RAC 11g R1 のインストール
ASM(Automatic Storage Management)を使用した Oracle® RAC 11g R1 のインス トール メモ:OCFS(Oracle Cluster File System)を使用して Oracle をインストール する場合は、以下の手順を省略して 253 ページの「OCFS(Oracle Cluster File System)を使用した Oracle® RAC 11g R1 のインストール」の手順に従い ます。 本項では、Oracle RAC 11g R1 ソフトウェアのインストール手順につい て説明します。内容は次のとおりです。 • 270 ページの「Oracle Clusterware のインストール」 • 273 ページの「Oracle Database 11g のインストール」 • 275 ページの「Oracle 11g R1 パッチセットのインストール」 • 278 ページの「リスナーの設定」 • 280 ページの「シードデータベースの作成」 ASM を使用した Oracle RAC 11g R1 のインストール 269
Oracle Clusterware のインストール 1 ノード 1 で、表 2-1 で選択した Oracle Clusterware インストールメ ディアを CD/DVD ドライブにセットします。 OUI が起動し、Welcome(ようこそ)ウィンドウが表示されます。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドに次のテキストを入力し、 OK をクリックします。 %CD ドライブ %\crs\setup.
6 Specify Cluster Configuration(クラスタ構成の指定)ウィンド ウで、次の手順を実行します。 a プライマリノードのパブリック名、プライベート名、および仮想 ホスト名を確認します。 b これらの値を変更する場合は、Edit(編集)をクリックして新 しい値を入力し、OK をクリックします。 c Add(追加)をクリックします。 d 2 番目のノードのパブリック名、プライベート名、および仮想ホ スト名を入力し、OK をクリックします。 7 Next(次へ)をクリックします。 Specify Network Interface Usage(ネットワークインタフェース の用途を指定する)ウィンドウが表示され、クラスタ全体のネット ワークインタフェースのリストが表示されます。 8 必要に応じて、次の手順を実行することで、パブリック Interface Type(インタフェースのタイプ)を Public(パブリック)に、プラ イベート Interface Type(インタフェースのタイプ)を Private (プライベート)に、その他すべての Interface Types(
d 2 番目のパーティションを選択し、Edit(編集)をクリックし ます。クします。 e Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Place OCR (Mirror) on this partition(このパーティ ションに OCR(ミラー)を置く)を選択し、OK をクリックし ます。 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(このパーティ ションに投票ディスクを置く)を選択し、
Oracle Database 11g のインストール メモ:OCFS を使用して Oracle をインストールする場合は、以下の手順を 省略して 253 ページの「OCFS(Oracle Cluster File System)を使用した Oracle® RAC 11g R1 のインストール」に進みます。 1 ノード 1 で、表 2-1 で選択した Oracle Database インストールメ ディアを CD/DVD ドライブにセットします。 OUI が起動し、Welcome(ようこそ)ウィンドウが表示されます。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドで、次のテキストを入力 します。 %CD ドライブ %\db\setup.
5 Next(次へ)をクリックします。 6 Specify Hardware Cluster Installation Mode(ハードウェアの クラスタインストールモードの指定)ウィンドウで Select All (すべて選択)をクリックしてから、Next(次へ)をクリックし ます。 7 Product-Specific Prerequisite Checks(製品固有の前提条件の チェック)ウィンドウで、Next(次へ)をクリックします。 8 Select Configuration Option(構成オプションの選択)ウィンド ウで Install database Software only(データベースソフトウェ アのみインストール)を選択し、Next(次へ)をクリックします。 9 Summary(サマリ)ウィンドウで、Install(インストール)をク リックします。 10 End of Installation(インストールの終了)ウィンドウで、表示さ れている手順を実行します。 メモ:手順 11 に進む前に、End of Installation(インストールの終了) ウィンドウに表示されてい
Oracle 11g R1 パッチセットのインストール メモ:本項は Windows Server 2003 にのみ適用されます。 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 用のパッチセットのインストール 作業を開始する前に お使いのシステムに Oracle 11g Clusterware 用のパッチセット 11.1.0.
パッチセットのインストール メモ:パッチセットソフトウェアのインストールは、RAC 11g R1 ソフト ウェアをインストールしたノードから行う必要があります。 1 パッチセットのフォルダにある OUI を起動します。例: %SystemDrive%\Oracle_patch\setup.
Oracle 11g Database 用のパッチセットのインストール メモ:パッチセットをインストールする前に、すべての 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(リスナーの設定 - リスナー) ウィンドウで Add(追加)を選択し、Next(次へ)をクリックし ます。 7 Listener Configuration Listener Name(リスナーの設定 - リス ナー名)ウィンドウの Listener name(リスナー名)フィールドで default setting(デフォルト設定)を選択し、Next(次へ)をク リックします。 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 Li
シードデータベースの作成 Oracle ASM を使用してシードデータベースを作成するには、次の手順 を実行します。 1 Oracle Clusterware が実行中であることを確認します。 a コマンドプロンプトウィンドウを開きます。スタート をクリッ クし、ファイル名を指定して実行 を選択して、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 exit と入力することで、cmd ウィンドウを閉じます。 2 ノード 1 で スタート をクリックし、ファイル名を指定して実行 を 選択します。 3 ファイル名を指定して実行 フィールドに
7 Database Templates(データベーステンプレート)ウィンドウで Custom Database(カスタムデータベース)をクリックしてから、 Next(次へ)をクリックします。 8 Database Identification(データベース識別情報)ウィンドウの Global Database Name(グローバルデータベース名)フィール ドに、racdb などの名前を入力し、Next(次へ)をクリックし ます。 9 Management Options(管理オプション)ウィンドウで Next (次へ)をクリックします。 10 Database Credentials(データベース資格証明)ウィンドウでパ スワードオプションを選択し、(要求された場合は)適切なパスワー ド情報を入力し、Next(次へ)をクリックします。 メモ:新しいパスワードをメモしておきます。後でデータベース管 理のためにこの情報が必要になります。 11 Storage Options(記憶域オプション)ウィンドウで、 Automatic Storage Management(ASM)を選択し、 Next(次へ)をクリッ
15 Create Disk Group(ディスクグループの作成)ウィンドウで、 次の手順を実行します。 a 新しいディスクグループの名前(databaseDG など)を入力し ます。 b Redundancy(冗長)ボックスで、External(外付け)を選択 します。 c リストから databaseDG ディスクグループに含める適切なディ スクを選択します。 ディスクがリストになく、まだディスクを ASM 用にスタンプし ていない場合は、Stamp Disks(ディスクにスタンプする)を クリックして、以下の手順を実行します。 i Add or change label(ラベルの追加または変更)をク リックし、Next(次へ)をクリックします。 ii ASM ディスクとしてスタンプする適切な候補デバイスを選 択します。 iii スタンプの接頭辞を変更するか、デフォルトのキーワード DATA をそのまま使用し、Next(次へ)をクリックします。 iv Stamp Disks(ディスクにスタンプする)ウィンドウで、 ASM ディスクとしてスタンプする正しいディスクが選択さ れていることを確
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 で作成したフラッシュディス クグループの合計サイズを入力します。 e Enable Archiving(アーカイブの有効化)を選択し、 Next(次へ)をクリックします。 19 Database Content(データベースコンテンツ)ウィンドウで Next(次へ)をクリックし
25 Creation Options(作成オプション)ウィンドウで Create Database(データベースの作成)を選択してから、Finish(完了) をクリックします。 26 Summary(サマリ)ウィンドウで OK をクリックします。 メモ:この処理には 1 時間またはそれ以上かかることがあります。 作成が完了すると、Database Configuration Assistant ウィンド ウが表示されます。 27 必要に応じて Password Management(パスワード管理)をク リックして、権限を持つユーザーに特定のパスワードを割り当て ます。その必要がない場合は Exit(終了)をクリックします。クラ スタデータベースがすべてのノードで起動中であることを示すメッ セージが表示されます。 28 次の手順を各ノードで実行します。 a 次のように入力して、そのノードにデータベースインスタンスが 存在することを確認します。 srvctl status database -d b 以下のコマンドを入力して、Oracle ユーザープロファイルに ORACLE_SID 環境変数エントリを
Oracle® Database 11g の設定およ び導入(シングルノード) 本項では、シングルノードに Oracle 11g R1 ソフトウェアをインストー ルする手順について説明します。本項では、以下のトピックについて説 明します。 • 285 ページの「Oracle Clusterware のインストール」 • 288 ページの「Oracle Database 11g のインストール」 • 289 ページの「Oracle 11g R1 パッチセットのインストール」 • 293 ページの「リスナーの設定」 • 294 ページの「シードデータベースの作成」 Oracle Clusterware のインストール 1 ノード 1 で、表 2-1 で選択した Oracle Clusterware インストールメ ディアを CD/DVD ドライブにセットします。 Welcome(ようこそ)ウィンドウが表示され、OUI(Oracle User Interface)が起動します。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファ
3 Specify Inventory Directory(インベントリディレクトリの指定) ウィンドウで、デフォルト設定(%System drive%\Program Files\Oracle\Inventory)をそのまま使用し、Next(次へ)をクリッ クします。 4 Specify Home Details(ホームの詳細の指定)ウィンドウで、デフォ ルト設定(%System drive%\product\11.1.
b パーティションを選択し、Edit(編集)をクリックします。 c Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Place OCR (Primary) on this partition(このパーティ ションに OCR(プライマリ)を置く)を選択し、OK をクリック します。 11 Cluster Configure Storage(クラスタ構成ストレージ)ウィンド ウで、投票ディスクについて以下の手順を実行します。 a 『Microsoft Windows Server x64 で使用する Oracle データベー ス — ストレージ & ネットワークガイド』の手順に従って作成し た 250 MB パーティションの位置を確認します。 b パーティションを選択し、Edit(編集)をクリックします。 c Specify Disk Configuration(ディスク構成の指定)ウィンド ウで、Place Voting Disk on this partition(このパーティ ションに投票ディスクを置く)を選択し、OK をクリックし ます。 12
Oracle Database 11g のインストール 1 ノード 1 で、表 2-1 で選択した Oracle Clusterware インストールメ ディアを CD/DVD ドライブにセットします。 Welcome(ようこそ)ウィンドウが表示され、OUI が起動します。 Welcome(ようこそ)ウィンドウが表示されない場合は、次の手順 を実行します。 a スタート をクリックし、ファイル名を指定して実行 を選択し ます。 b ファイル名を指定して実行 フィールドで、次のテキストを入力 します。 %CD ドライブ %\db\setup.
6 Specify Hardware Cluster Installation Mode(ハードウェアの クラスタインストールモードの指定)ウィンドウで Local Installation(ローカルインストール)をクリックしてから、Next (次へ)をクリックします。 7 Product-Specific Prerequisite Checks(製品固有の前提条件の チェック)ウィンドウで、Next(次へ)をクリックします。 8 Select Configuration Option(構成オプションの選択)ウィンド ウで Install database Software only(データベースソフトウェ アのみインストール)を選択し、Next(次へ)をクリックします。 9 Summary(サマリ)ウィンドウで、Install(インストール)をク リックします。 10 End of Installation(インストールの終了)ウィンドウで、表示さ れている手順を実行します。 メモ:次の手順に進む前に、このウィンドウに表示されている手順 を実行する必要があります。 11 Exit(終了)をクリックします。
Oracle 11g Clusterware 用のパッチセットのインストール 作業を開始する前に お使いのシステムに Oracle 11g Clusterware 用のパッチセットをイン ストールする前に、次の手順を実行してください。 1 すべてのノードで nodeapps を停止します。以下を入力します。 %SystemDrive%\%CRS_HOME%\bin> srvctl stop nodeapps -n < ノード名 > %SystemDrive% は Oracle ホームが設定されているドライブで、 %CRS_HOME% は 285 ページの「Oracle Clusterware のインストー ル」で作成したホームディレクトリです。 2 スタート → プログラム → 管理ツール → サービス の順に選択し ます。 3 すべての Oracle サービスの位置を確認し、両方のノードで停止し ます。 パッチセットのインストール メモ:パッチセットソフトウェアのインストールは、RAC 11g R1 ソフト ウェアをインストールしたノードから行う必要があります。 1 パッチセットのフォルダにある OUI
6 Summary(サマリ)ウィンドウで、Install(インストール)をク リックします。 7 End of Installation(インストールの終了)ウィンドウで、 Summary(サマリ)ウィンドウに表示されている手順をすべて実 行します。Oracle サービスの停止を指示する手順を実行しないでく ださい。— 290 ページの「作業を開始する前に」に記載されている ように、その手順はパッチセットのインストールを開始する前に実 行済みのはずです。 8 End of Installation(インストールの終了)ウィンドウで、 Exit(終了)をクリックします。 9 Yes(はい)をクリックして OUI を終了します。 Oracle 11g Database 用のパッチセットのインストール メモ:パッチセットをインストールする前に、すべての Oracle サービス が停止していることを確認してください。 リスナーとシードデータベースを作成する前に、次の手順を完了し ます。 パッチセットのインストール メモ:パッチセットソフトウェアのインストールは、RAC 11g R1 (11.1.0.
5 Product-Specific Prerequisite Checks(製品固有の前提条件の チェック)ウィンドウで、Next(次へ)をクリックします。 6 Oracle Configuration Manager Registration(Oracle 構成マ ネージャの登録)ウィンドウで、Next(次へ)をクリックします。 7 Summary(サマリ)ウィンドウで、Install(インストール)をク リックします。 8 End of Installation(インストールの終了)ウィンドウで、 Summary(サマリ)ウィンドウに表示されている手順をすべて実 行します。Oracle サービスの停止を指示する手順を実行しないでく ださい。— 290 ページの「作業を開始する前に」に記載されている ように、その手順はパッチセットのインストールを開始する前に実 行済みのはずです。 9 End of Installation(インストールの終了)ウィンドウで、Exit (終了)をクリックします。 10 Yes(はい)をクリックして OUI を終了します。 最新の Oracle パッチのダウンロード Ora
リスナーの設定 本項では、リモートクライアントからデータベースに接続するために必 要なリスナーの設定手順について説明します。 1 クラスタのノード 1 で、Oracle ホームから netca.bat コマンドを 実行します。 %SystemDrive%\app\Administrator\product\11.1.
10 Listener Configuration Done(リスナーの設定が終了しました) ウィンドウで Next(次へ)をクリックします。 11 Welcome(ようこそ)ウィンドウで Finish(完了)をクリックし ます。 シードデータベースの作成 Oracle ASM を使用してシードデータベースを作成するには、次の手順 を実行します。 1 Oracle Clusterware が実行中であることを確認します。 a コマンドプロンプトウィンドウを開きます。スタート をクリッ クし、ファイル名を指定して実行 を選択して、cmd と入力し、 を押します。 b crsctl check crs と入力します。 c 画面に次の情報が出力されます。 Cluster Synchronization Services appears healthy Cluster Ready Services appears healthy Event Manager appears healthy (クラスタ同期サービスは正常です。…) d 上記のメッセージが表示されない場合は、crsctl s
5 Operations(操作)ウィンドウで Create a Database(データ ベースの作成)をクリックしてから、Next(次へ)をクリックし ます。 6 Database Templates(データベーステンプレート)ウィンドウで Custom Database(カスタムデータベース)をクリックしてから、 Next(次へ)をクリックします。 7 Database Identification(データベース識別情報)ウィンドウの Global Database Name(グローバルデータベース名)フィール ドに、singledb などの名前を入力し、Next(次へ)をクリックし ます。 8 Management Options(管理オプション)ウィンドウで Next (次へ)をクリックします。 9 Database Credentials(データベース資格証明)ウィンドウでパ スワードオプションを選択し、(要求された場合は)適切なパスワー ド情報を入力し、Next(次へ)をクリックします。 メモ:新しいパスワードをメモしておきます。後でデータベース管 理のためにこの情報が必要になります。 10 S
14 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 をディスクグループ名として使用し、以上の手 順を繰り返して フラッシュリカバリ領域用にディスクグループ を作成します。 15 ASM Disk Groups(ASM ディスクグループ)ウィン
d e Flash Recovery Area Size(フラッシュリカバリ領域のサイ ズ)テキストボックスに、手順 f で作成したフラッシュディスク グループの合計サイズを入力します。 Enable Archiving(アーカイブの有効化)を選択し、Next (次へ)をクリックします。 18 Database Content(データベースコンテンツ)ウィンドウで Next(次へ)をクリックします。 19 Database Services(データベースサービス)ウィンドウで、必要 に応じてサービスの設定を行い、Next(次へ)をクリックします。 20 Initialization Parameters(初期化パラメータ)ウィンドウで、 次の手順を実行します。 a Custom(カスタム)を選択します。 b Shared Memory Management(共有メモリ管理)に Automatic(自動)を選択します。SGA Size(SGA サイズ) ウィンドウと PGA Size(PGA サイズ)ウィンドウに適切な情報 を入力します。 c Next(次へ)をクリックします。 21 Data
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 クラスタ への新しいノードの追加 以下の項は、Microsoft® Windows® 上で Oracle RAC データベースに ノードとインスタンスを追加する方法の説明です。 クラスタに追加するノードの準備 既存のクラスタに追加するノードで、次の手順を実行します。 1 『Deployment CD』を使用して OS のインストールと設定を行い ます。 2 ネットワークとファイバーチャネルストレージサブシステムを設定 します。 クラスタの既存の各ノードから次のコマンドを実行できることを確認し ます。ホスト名 は、新しいノードのパブリックネットワーク名です。 NET USE \\ ホスト名 \C$ 次のように表示された場合は、お客様が各ノードで必要な Administrator 権限をお持ちであることを意味します。 Command completed successfully.
これで、ノードを既存のクラスタに追加する準備が整いました。既存の クラスタにノードを追加する手順の概要は、次のとおりです。 1 300 ページの「Oracle Clusterware 層へのノードの追加」。 2 301 ページの「Oracle RAC データベース層へのノードの追加」。 3 302 ページの「新しいノードへのデータベースインスタンスの追 加」。 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.
5 Oracle ホームの bin サブディレクトリから、次のシンタックスと共 に -nodelist オプションを使用して VIPCA ユーティリティを実行し ます。このシンタックスは、お使いの RAC データベースの一部と なっているノードの全セット(Node1 で始まり、末尾は NodeN) を識別します。 vipca -nodelist Node1,Node2,Node3,...
6 List of Cluster Databases(クラスタデータベースのリスト)ペー ジから、インスタンスを追加するアクティブな RAC データベースを 選択します。 7 Next(次へ)をクリックして新しいインスタンスを追加します。 Adding an Instance(インスタンスの追加)ページが表示され ます。 8 Adding an Instance(インスタンスの追加)ページで、上部の フィールドにインスタンス名を入力します。次にリストから新しい ノード名を選択し、Next(次へ)をクリックすると、Services Page(サービスページ)が表示されます。 9 新しいノードのインスタンスに対するサービス情報を入力し、Next (次へ)をクリックすると、Instance Storage(インスタンス記憶 域)ページが表示されます。 10 Finish(完了)をクリックすると、Summary(サマリ)ダイアロ グが表示されます。 11 Summary(サマリ)ダイアログの情報を確認し、OK をクリックし ます。DBCA によるインスタンスの追加処理の進行状況を示すダイ アログが表示されます。イン
Oracle 11g RAC クラスタへの新しいノードの追加
索引 A ASM, 269 Oracle Database 10g 設定 , 285 導入 , 285 C Oracle Databases and Applications Solutions のウェブサイト , 248 Clusterware バージョン 11.1.0.6, 270 Oracle のウェブサイト , 249 Oracle データベース , 247 D Dell 企業向けトレーニング および資格認証のウェ ブサイト , 248 L LUN, 248 M My Oracle Support のウ ェブサイト , 249 O OCFS, 253 Oracle のインストール , 253 シードデータベースの 作成 , 265 Z 仮想ディスク , 248 クラスタウェア インストール , 270, 285 シードデータベース , 265 作成 , 265 シングルノード , 285 データベースインスタ ンス , 302 データベースバージ ョン 11.1.0.6, 273 ノードの追加 , 300 パッチセット 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.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notas NOTA: Una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. ____________________ La información contenida en este documento puede modificarse sin previo aviso. © 2009 Dell Inc. Todos los derechos reservados. Queda estrictamente prohibida la reproducción de este material en cualquier forma sin la autorización por escrito de Dell Inc. Marcas comerciales utilizadas en este texto: Dell, PowerEdge y el logotipo de DELL son marcas comerciales de Dell Inc.
Contenido 1 Información general . . . . . . . 313 Terminología utilizada en este documento . . . . . . 314 . . . . . . . . . . . . . . . . . . 314 . . . . . . . . . . . . . . . . . 314 . . . . . . . . . . . . . . . 315 Asistencia de Dell Asistencia de Oracle Antes de comenzar . . . . . . . . . . . . . . . . Selección del soporte multimedia de instalación de Oracle correcto . . . . . . . . . . . . . . . . . 3 313 Documentación necesaria para implantar la base de datos Dell|Oracle 11g . .
Instalación del patchset de Oracle 11g R1 . . . . . . Instalación del patchset para el software de clúster Oracle 11g . . . . . . . . . . . . . . . 326 . . . . . . 328 Descarga de los parches de Oracle más recientes . . . . . . . . . . . . . . . . . . . 329 Configuración del proceso de escucha . . . . . . . . 329 . . . . . . . . 330 Instalación del patchset para la base de datos Oracle 11g . . . . . . . . . . Creación de la base de datos semilla .
5 Configuración e implantación de la base de datos Oracle ® 11g (un solo nodo) . . . . . . . . . . . . . . . . . . . . Instalación del software de clúster Oracle . . . . . . . 351 Instalación de la base de datos Oracle 11g . . . . . . . 354 . . . . . . . 355 Instalación del patchset de Oracle 11g R1 Instalación del patchset para el software de clúster Oracle 11g . . . . . . . . . . . . . . . . 355 . . . . . . . 357 Descarga de los parches de Oracle más recientes . . . . . . . . . . . . . .
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 alojamiento de 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, y para saber 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
Antes de comenzar En esta sección se proporciona información sobre los requisitos básicos para la instalación de Oracle® RAC 11g R1. Selección del soporte multimedia de instalación de Oracle correcto Para elegir la versión correcta del soporte multimedia de instalación de Oracle para el sistema operativo Microsoft® Windows® Server, vea la tabla 2-1. Tabla 2-1.
Antes de comenzar
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 335. En esta sección se proporciona información sobre cómo instalar el software Oracle RAC 11g R1.
Instalación del software de clúster Oracle 1 En el nodo 1, inserte el soporte multimedia de instalación del software de clúster Oracle que ha seleccionado en la tabla 2-1 en la unidad de CD/DVD. Se inicia Oracle Universal Installer (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-ROM drive%:\crs\setup.
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. Haga clic en Add (Agregar) para especificar nodos adicionales. • En la ventana Add a new node to the existing cluster (Agregar un nuevo nodo al clúster existente), introduzca los nombres de host público, privado y virtual, y haga clic en OK (Aceptar).
11 En la ventana Cluster Configuration Storage (Almacenamiento de configuración de clúster), realice los pasos siguientes para el disco de votación: a Localice las tres particiones de 250 MB que ha creado 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).
13 En la ventana Cluster Configuration Storage (Almacenamiento de configuración de clúster), realice los pasos siguientes para la recuperación flash: a Localice la partición que ha creado 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 partición y haga clic en Edit (Editar).
d Haga clic en Exit (Salir) para finalizar la sesión de OUI. e En la ventana Exit (Salir), haga clic en Yes (Sí). 17 Si va a instalar Oracle mediante ASM, vaya a “Instalación de Oracle® RAC 11g R1 mediante Automatic Storage Management (ASM)” en la página 335; de lo contrario, vaya a “Instalación de Oracle® RAC 11g R1 mediante Oracle Cluster File System (OCFS)” en la página 319.
De forma predeterminada, OUI elige una de las unidades compartidas CFS para copiar los archivos de la base de datos. Cambie la unidad a %SystemDrive% modificando la letra de unidad en el campo Path (Ruta). NOTA: Anote esta ruta, ya que necesitará esta información más adelante. NOTA: La ruta principal de Oracle seleccionada aquí debe ser distinta de la seleccionada en el procedimiento de instalación del software de clúster Oracle.
Instalación del patchset de Oracle 11g R1 NOTA: Esta sección sólo se aplica al sistema operativo Windows Server 2003. 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.
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 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 el campo Selected protocols (Protocolos seleccionados) de la ventana Listener Configuration, Select Protocols (Configuración del proceso de escucha, Seleccionar protocolos), seleccione TCP 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).
6 En la ventana Database Templates (Plantillas de base de datos), haga clic en Custom Database (Base de datos personalizada) y, a continuación, en Next (Siguiente). 7 En el campo Global Database Name (Nombre de base de datos global) de la ventana Database Identification (Identificación de la base de datos), introduzca un nombre, como por ejemplo racdb, y haga clic en Next (Siguiente).
13 En la ventana Recovery Configuration (Configuración de recuperación), realice los pasos siguientes: a Seleccione Specify Flash Recovery Area (Especificar área de recuperación flash). b Haga clic en Browse (Examinar). c En el menú desplegable de la ventana Directory Browse (Mostrar directorios), seleccione la unidad CFS que se ha creado en el apartado e del paso 13 en la sección Instalación del software de clúster Oracle de la página 12. d Haga clic en OK (Aceptar).
19 En la ventana Initialization Parameters (Parámetros de inicialización), haga clic en Next (Siguiente). 20 En la ventana Security Settings (Configuración de seguridad), seleccione Keep the enhanced 11g default security settings (recommended) (Mantener la configuración de seguridad predeterminada de 11g mejorada [recomendado]) y haga clic en Next (Siguiente).
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 319. En esta sección se proporciona información sobre cómo instalar el software Oracle RAC 11g R1.
2 Haga clic en Next (Siguiente). 3 En la ventana Specify Inventory Directory (Especificar directorio del inventario), acepte los valores predeterminados (%System drive%\Archivos de programa\Oracle\Inventory) y haga clic en Next (Siguiente). 4 En la ventana Specify Home Details (Especificar detalles de la ubicación principal), acepte los valores predeterminados (%System drive%\product\11.1.0\crs) y haga clic en Next (Siguiente).
10 En la ventana Cluster Configuration Storage (Almacenamiento de configuración de clúster), realice los pasos siguientes para el disco OCR: a Localice las dos particiones de 300 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).
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.
4 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.
11 Ejecute el comando siguiente en los nodos remotos para activar el proveedor de datos de Oracle para .NET, el proveedor de Oracle para bases de datos OLE, los objetos de Oracle para OLE, los contadores de Oracle para Windows Performance Monitor (Supervisor de rendimiento de Windows), y Oracle Administration Assistant (Asistente de administración de Oracle): \bin\SelectHome.bat 12 Haga clic en Exit (Salir).
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 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).
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). 5 En la ventana Operations (Operaciones), haga clic en Create a Database (Crear base de datos) y, a continuación, 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).
d Seleccione los discos con aprovisionamiento adecuados que se deben incluir en el grupo de discos. e Haga clic en OK (Aceptar). Se crea el primer grupo de discos ASM en el clúster y se abre la ventana ASM Disk Groups (Grupos de discos ASM). f Repita estos pasos para crear un grupo de discos para el área de recuperación flash utilizando flashbackDG como nombre del grupo de discos.
21 En la ventana Initialization Parameters (Parámetros de inicialización), realice los pasos siguientes: a Seleccione Custom (Personalizada). b En Memory Management (Administración de memoria), seleccione Automatic Shared Memory Management (Administración automática de memoria compartida). En las ventanas SGA Size (Tamaño de SGA) y PGA Size (Tamaño de PGA), especifique la información apropiada. c Haga clic en Next (Siguiente).
28 Realice los pasos siguientes en cada nodo: 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.
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.
3 En la ventana Specify Inventory Directory (Especificar directorio del inventario), acepte los valores predeterminados (%System drive%\Archivos de programa\Oracle\Inventory) y haga clic en Next (Siguiente). 4 En la ventana Specify Home Details (Especificar detalles de la ubicación principal), acepte los valores predeterminados (%System drive%\product\11.1.0\crs) y haga clic en Next (Siguiente). NOTA: Anote la ruta OraCR11g_home (ubicación principal de CRS), ya que necesitará esta información más adelante.
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 la partición 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 partición y haga clic en Edit (Editar).
Instalación de la base de datos Oracle 11g 1 En el nodo 1, inserte el soporte multimedia de instalación del software de clúster Oracle que ha seleccionado en la tabla 2-1 en la unidad de CD/DVD. Aparece la ventana de bienvenida y se inicia OUI. Si no aparece la ventana de bienvenida: a Haga clic en Start (Inicio) y seleccione Run (Ejecutar). b En el campo Run (Ejecutar), escriba: %CD drive%\db\setup.exe donde %CD drive% es la letra de la unidad de CD/DVD. 2 Haga clic en Next (Siguiente).
7 En la ventana Product-Specific Prerequisite Checks (Comprobaciones de requisitos previos específicos del producto), haga clic en Next (Siguiente). 8 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). 9 En la ventana Summary (Resumen), haga clic en Install (Instalar).
2 Haga clic en Start (Inicio)→ Programs (Programas)→ Administrator Tools (Herramientas administrativas)→ Services (Servicios). 3 Localice todos los servicios de Oracle y deténgalos en los dos nodos. 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.
Instalación del patchset 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.
7 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). 8 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).
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). 5 En la ventana Operations (Operaciones), haga clic en Create a Database (Crear base de datos) y, a continuación, en Next (Siguiente).
12 Cuando aparezca un mensaje que indique que el asistente para la configuración de bases de datos está listo para crear e iniciar la instancia de ASM, haga clic en OK (Aceptar). 13 En la ventana ASM Disk Groups (Grupos de discos ASM), haga clic en Create New (Crear nuevo). 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.
17 En la ventana Recovery Configuration (Configuración de recuperación), realice los pasos siguientes: a Seleccione Specify Flash Recovery Area (Especificar área de recuperación flash). b Haga clic en Browse (Examinar). c Seleccione el grupo de discos flashbackDG que ha creado en el paso f y haga clic en OK (Aceptar). 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.
24 Haga clic en Password Management (Administración de contraseñas) para asignar una contraseña específica a usuarios autorizados si es necesario. De lo contrario, haga clic en Exit (Salir). Se muestra un mensaje que indica que la base de datos del clúster se está iniciando en todos los nodos.
Configuración e implantación de la base de datos Oracle 11g
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 Microsoft® 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 366. 2 “Adición de nodos al nivel de base de datos RAC de Oracle” en la página 367. 3 “Adición de instancias de base de datos a nodos nuevos” en la página 368.
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).
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. Seleccione el nombre del nodo nuevo en la lista, haga clic en Next (Siguiente) y el DBCA mostrará la página Services (Servicios).
Adición de un nodo nuevo a un clúster Oracle 11g RAC
Índice A L añadir nodos, 366 LUN, 314 ASM, 335 ayuda, 314 asistencia de Dell, 314 asistencia de Oracle, 315 O OCFS, 319 crear base de datos semilla, 330 instalar Oracle, 319 B base de datos Oracle, 313 base de datos Oracle 10g configurar, 351 implantar, 351 base de datos semilla, 330 crear, 330 base de datos versión 11.1.0.
S software de clúster instalar, 335, 351 software de clúster versión 11.1.0.