Dell™ PowerEdge™ Systems Oracle® Database on Enterprise Linux® x86_64 Database Setup and Installation Guide Version 1.
Notes and Cautions NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed. ____________________ Information in this document is subject to change without notice. © 2010 Dell Inc. All rights reserved. Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Required Documentation for Deploying the Dell|Oracle 11g R2 Database . . . . . . . . . . . . . . . . . 5 . . . . . . . . . . . . . . . 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Terminology Used in this Document Getting Help . Dell Support . . . . . . . . . . . . . . . . . . . . . . . . . Oracle Support 2 5 . . . . . . . . . . . . . . . . . . . . . . . Installing Oracle 11g R2 Database RAC .
3 Installing Oracle 11g R2 Database (Single Node) . . . . . . . . . . . . . . . . Configuring the Public Network . . . . . . . . . . . . . . . . . Configuring the Database Storage. . . . . . . . . . . . . . . . Configuring the Database Storage Using the ext3 File System . . . . . . . . . . . . Configuring the Database Storage Disks for ASM . . 23 . . . . . . . . . . . . . . . . . 24 . . . . . . . . . . . . . 25 . . . . . . . . . 26 . . . . . . . . . . . . . 26 . . . . . . . . . . . . . . . .
Overview This document applies to Oracle® Database 11g R2 on Red Hat® Enterprise Linux® or Oracle Enterprise Linux 5.3 AS x86_64.
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 storage including PowerVault MD3000i and PowerVault MD3000i with PowerVault MD1000 expansion.
Installing Oracle 11g R2 Database RAC This section describes the steps required to install Oracle® 11g R2 Real Application Clusters (RAC), which involves installing Oracle Grid Infrastructure for a cluster and the Oracle Database 11g R2 software. It is recommended that you create a seed database to verify that the cluster works correctly before you deploy it in a production environment.
Installing Oracle 11g R2 Grid Infrastructure for a Cluster 1 Log in as root. 2 Start the X Window System by typing: start x 3 Open a terminal window and type: xhost + 4 Mount the Oracle Grid Infrastructure media. 5 Log in as Grid user. 6 Run the cluster verify script in the Oracle Grid Infrastructure media using the following command: /runcluvfy.sh stage -pre crsinst -n node1,node2 -r 11gR2 -verbose Where node1 and node2 are the public host names.
11 Before providing the inputs in the Grid Plug and Play information window, you must decide whether to use Grid Naming Service (GNS) or not. If you are not using GNS: NOTE: Configure the Single Client Access Name (SCAN) addresses for client access to the cluster on the domain naming service (DNS). Oracle recommends that you register the SCAN to three IP addresses in the DNS server as described in the Oracle Database on Enterprise Linux x86_64 Storage and Networking Guide.
b • SCAN Port — Retain the default port number, 1521. • Configure GNS — Check this option. • GNS sub-domain — Enter the configured GNS sub domain name. For example, clusterdomain.example.com. See the DNS server configurations for the sub-domain delegation in the Oracle Database on Enterprise Linux x86_64 Storage and Networking Guide. • GNS VIP address — Enter the GNS VIP address. For example, 192.0.2.2.
13 In the Specify Network Interface Usage window, ensure that the correct interface types are selected for the interface names. To modify an interface type: a From the Interface Type drop-down list, select the required interface type. The available options are Private, Public, and Do not use. b Click Next. 14 In the Storage Option Information window, select Automatic Storage Management (ASM) to configure OCR and Voting Disks on the ASM storage, and click Next.
18 In the Privileged Operating System Groups window, select the following options and click Next: • ASM Database Administrator — asmdba group. • ASM Instance Administration Operator — asmoper group. • ASM Instance Administrator — asmadmin group. 19 In the Specify Installation Location window, enter the following information and click Next: • In the Oracle Base field, enter: /opt/app/grid • In the Software Location field, enter: /opt/app/11.2.
22 In the Summary window, click Finish. 23 At the end of the installation process, the Execute Configuration scripts wizard is displayed. Complete the instructions in the wizard and click OK. NOTE: Run orainstRoot.sh and root.sh sequentially on all nodes as a root user, starting with the primary node. For example, run root.sh sequentially on node 1, node 2 and so on. 24 The Installation of Oracle Grid Infrastructure for a Cluster was Successful window is displayed. Click Close.
Configuring Shared Oracle Home for Database Binary Using ACFS 1 Log in as root user and type: xhost + 2 Log in as Grid user and run the asmca utility: $/bin/asmca 3 In the ASMCA window, select Disk Groups tab, click Create, and perform the following steps: a Enter a name of the disk group. For example, ORAHOME. b Select the external redundancy, and then select the ASM stamped disk that you want to use for the shared database home. c Click OK.
Installing Oracle 11g R2 RAC Database Software 1 Log in as root user and type: xhost + 2 Mount the Oracle Database 11G R2 media.
8 In the Node Selection window, select Real Application Cluster Database Installation, and select all the node names. Perform the following steps: a Click SSH Connectivity. b In the OS Username field, enter the Oracle Database Owner user name. In the OS Password field, enter password. c Click Test to test the SSH Connectivity between the selected nodes. If any errors are reported, select Setup and specify the correct setup options. d Click Next.
12 In the Privileged Operating System Groups window, select Database Administrator Group as dba and Database Operator Group as dba. Click Next. 13 The Perform Prerequisites checks window displays any minimum required prerequisite checks that have failed and must be fixed in a table: a Click Fix & Check Again. b The installer generates a fix-up script that must be run as a root user on all the nodes to resolve some of the failed prerequisite checks.
Creating Server Pools for Policy Managed Database Configuration NOTE: The procedure in this section must be performed before creating the database. The nodes in a cluster can be organized into a server pool for better resource management. Each server pool has the following properties: • The minimum number of nodes that must be available in the server pool. • The maximum number of nodes that can be available in the server pool. • The relative priority of a server pool compared to the other server pools.
Creating ASM Disk Group This section contains procedures to create the ASM disk group for the database files and Flash Recovery Area (FRA). To create the ASM disk groups: 1 Log in as Grid user. 2 Start the asmca utility: $/bin/asmca 3 In the ASM configuration Assistant window, select the Disk Groups tab. 4 Click Create. 5 Enter the Disk Group Name as databaseDG. 6 Configure the redundancy level to External redundancy. 7 Select the member disks.
2 From Oracle home, run the DBCA Utility, and start the Oracle Database configuration Assistant. 3 In the Welcome window, select the Oracle Database Real Application Cluster Database, and click Next. 4 In the Operations window, select Create Database, and click Next. 5 In the Database Templates window, select Custom Database, and click Next.
10 In the Recovery Configuration window: a Click Specify Flash Recovery Area. b Browse and select the ASM Disk Group that you created for Flash recovery (flashbackDG). c Specify the flash recovery size. d Select Enable Archiving. e Click Next. 11 In the Database Content window, click Next. 12 In the Initialization Parameters window: a Select Custom. b In the Memory Management section, select Automatic shared memory management.
Installing Oracle 11g R2 Database RAC
Installing Oracle 11g R2 Database (Single Node) This section provides information about completing the initial setup or completing the reinstallation procedures as described in the Oracle® Database on Enterprise Linux x86_64 Operating System and Hardware Installation Guide. Configuring the Public Network Ensure that your public network is functioning and that an IP address and host name are assigned to your system. For example: Configuring /etc/hosts.
4 Verify the new partition by running the following command: cat /proc/partitions If you do not detect the new partition, type: sfdisk -R /dev/sdb sfdisk -R /dev/sdc 5 Run the following command: mke2fs -j /dev/sdb1 mke2fs -j /dev/sdc1 6 Edit the /etc/fstab file for the newly created file system by adding entries such as: /dev/sdb1 /opt/oracle/oradata ext3 defaults 1 2 /dev/sdc1 /opt/oracle/recovery ext3 defaults 1 2 7 Run the following command: chown -R oracle.
Configuring Disks for ASM Using the ORACLEASM Library Driver 1 Open a terminal window and log in as root.
Installing Oracle 11g R2 Standalone Database Using the ext3 File System Installing Oracle Database 11g R2 NOTE: This section assumes that your Oracle Base is /opt/oracle. If not, ensure that you change the software base and location values accordingly. Perform the following steps to install Oracle 11g R2: 1 Log in as root. 2 As the user root, mount the Oracle Database 11g R2 media. 3 Start the X Window System by typing: startx 4 Open a terminal window and type: xhost + 5 Log in as oracle.
11 In the Select database Edition window, click Enterprise Edition and click Next. 12 In the Installation Location window, enter the following information and click Next: • Oracle Base — /opt/app/oracle • Software Location — /opt/app/oracle/product/11.2.0/dbhome_1 13 In the Specify Inventory directory and credentials window, ensure that the full path of the inventory directory is: /opt/oracle/oraInventory In the Specify Operating System group name window, retain the default value, oinstall. Click Next.
Configuring the Listener 1 Log in as root user. 2 Start the X Window system by typing: startx 3 In a terminal window, type xhost +. 4 Log in as Oracle user and run the NETCA utility by using the below command: $/bin/netca 5 Accept the default settings and click Next on all the screens to complete the listener configuration.
9 In the Database File Locations window, select the following information and click Next: • Storage Type — File System • Storage Location — Use Common Location for all Database files • Database Area — Browse to the location created for database files. For example, /opt/oracle/oradata. 10 In the Recovery Configuration window select the following options and click Next: a Select Specify Flash Recovery Area.
Installing Oracle 11g R2 Database Using ASM Installing Oracle 11g R2 Grid Infrastructure On a stand-alone server supporting ASM disk groups with stand-alone database installation, perform the following steps to install Oracle 11g R2 Grid Infrastructure: 1 Login as root user. 2 Mount the Oracle 11g R2 Grid media. 3 Start the X Window system by typing: Startx 4 Open a terminal window and type: xhost + 5 Log in as Grid user. 6 Start the Oracle Universal Installer.
11 In the Operating System Groups window, make the following selections and click Next: • ASM Database Administrator — asmdba group. • ASM Instance Administration Operator — asmoper group. • ASM Instance Administrator — asmadmin group. 12 In the Installation Location window, enter the following location information and click Next: • In the Oracle Base field, type: /opt/app/grid • In the Software Location field, type: /opt/app/11.2.
Installing Oracle Database 11g R2 NOTE: This section assumes that your Oracle Base is /opt/oracle. If not, ensure that you change the software base and location values accordingly. Perform the following steps to install Oracle 11g R2: 1 Log in as root. 2 As the user root, mount the Oracle Database 11g R2 media. 3 Start the X Window System by typing: startx 4 Open a terminal window and type: xhost + 5 Log in as oracle. 6 Start the Oracle Universal Installer.
12 In the Installation Location window, enter the following information and click Next: • Oracle Base — /opt/app/oracle • Software Location — /opt/app/oracle/product/11.2.0/dbhome_1 13 In the Privileged Operating System Groups window, use the default dba for all two groups and click Next. 14 The Perform Prerequisites checks window displays the minimum required prerequisites checks that have failed. The Fixup Scripts window provides the fix-up script: a Log in as root user. b Run the fix-up script.
4 Click Create. 5 Enter the following information and click OK to create and mount the disks: • Disk Group Name — databaseDG • Redundancy Level — External • Member disks — ORCL:ASM2, where ASM2 is the disk device assigned for database files 6 Follow the step 4 and step 5 to create another disk group named flashbackDG for FRA using ORCL:ASM3. 7 Click Exit to exit the ASM Configuration Assistant.
9 In the ASM Credentials window, enter the ASM Password, and click OK. 10 In the Recovery Configuration window, select the following options, and click Next: a Select Specify Flash Recovery Area. b Flash Recovery Area — Click Browse and select the flashback group that you created, For example, flashbackDG. c Flash Recovery Area Size — Change the value to the required size. d Select Enable Archiving. 11 In the Database Content window, click Next.
Installing Oracle 11g R2 Database (Single Node)
Dell™ PowerEdge™ 系统 Enterprise Linux® x86_64 上的 Oracle® 数据库 数据库设置和安装指南 1.
注和小心 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心: “小心”表示如果不遵循说明,就有可能损坏硬件或导致数据丢失。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2010 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell、PowerEdge 和 DELL 徽标是 Dell Inc. 的商标; Red Hat、Red Hat Enterprise Linux 和 Enterprise Linux 是 Red Hat, Inc. 在美国和 / 或其它国家和地区的注册 商标; Oracle 是 Oracle Corporation 和 / 或其子公司的注册商标。 本说明文件中述及的其它商标和产品名称是指拥有相应商标和产品名称的公司或其制造 的产品。Dell Inc. 对其它公司的商标和产品名称不拥有任何所有权。 2010 年 1 月 Rev.
目录 1 概览 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 部署 Dell|Oracle 11g R2 Database 所需的文档 . . . . . . . . 41 . . . . . . . . . . . . . . . . . . 41 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 本说明文件中使用的术语 获得帮助 Dell 支持 . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle 支持 2 . . . . . . . . . . . . . . . . . . . . . . . . 安装 Oracle 11g R2 Database RAC . 准备工作 41 42 42 . . . . . . . . 43 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 安装 Oracle 11g R2 Database (单个节点) . . . . . . . . . . . . . 配置公用网络 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 配置数据库存储 . . . . . . . . . . . . . . . . . . . . . . . . . 使用 ext3 文件系统配置数据库存储 . 配置用于 ASM 的数据库存储磁盘 . 59 . . . . . . . . . . 59 . . . . . . . . . . . 60 . . . . . 61 使用 ext3 文件系统安装 Oracle 11g R2 独立数据库 . . . . . 62 . . . . . . . . . . . . . . . 62 . . . . . . . . . . . . . . . . . . . . . . . 64 配置侦听程序 使用 ext3 文件系统创建基础数据库 .
概览 本文档适用于 Red Hat® Enterprise Linux® 上的 Oracle® Database 11g R2 或 Oracle Enterprise Linux 5.
获得帮助 Dell 支持 • 有关使用系统的详情,请参阅系统组件附带的说明文件。 • 有关白皮书、Dell 支持的配置和一般信息,请访问 dell.com/oracle。 • 要获得对硬件和操作系统软件的 Dell 技术支持并下载最新的系统 更新,请执行以下操作之一: • – 请访问 support.dell.com。 – 请与 Dell 技术支持部联络。 有关 Dell 企业培训与认证的信息,请访问 dell.com/training。 注: 此培训服务并非在所有地区都提供。 Oracle 支持 • • 42 有关 Oracle 软件、应用程序群集件的培训信息以及与 Oracle 联络 的信息,请访问 oracle.com 或参阅系统附带的 Oracle 说明文件。 有关技术支持、下载和其它技术信息的详情,请访问 metalink.oracle.
安装 Oracle 11g R2 Database RAC 本章介绍安装 Oracle® 11g R2 Real Application Clusters (RAC)(其中包括安 装群集的 Oracle Grid Infrastructure 和 Oracle Database 11g R2 软件)所需的 步骤。建议您创建一个基础数据库,以便在生产环境下部署群集之前验证群 集是否能正常工作。 准备工作 设置操作系统、网络和存储设备 在系统上安装 Oracle RAC 软件之前: • 请确保已基于第 41 页上的“部署 Dell|Oracle 11g R2 Database 所需的 文档”中列出的说明文件中包含的步骤配置您的操作系统、网络和存 储设备。 • 找到 Oracle 介质套件。 配置所有节点的系统时钟设置 为避免在安装过程中出现故障,请为所有节点配置完全相同的系统时钟 设置。 将节点系统时钟与 Oracle 11g R2 中内置的群集时间同步服务 (CTSS) 同步。 要启用 CTSS,请禁用操作系统网络时间协议 (OS NTP) 服务: 1 service ntpd stop 2 chk
安装群集的 Oracle 11g R2 Grid Infrastructure 1 作为 root 登录。 2 通过键入以下命令启动 X Window 系统: start x 3 打开终端窗口,然后键入: xhost + 4 装入 Oracle Grid Infrastructure 介质。 5 作为 Grid 用户登录。 6 使用以下命令运行 Oracle Grid Infrastructure 介质中的 cluster verify 脚本: /runcluvfy.sh stage -pre crsinst -n node1,node2 -r 11gR2 -verbose 其中 node1 和 node2 是公用主机名。如果系统配置正确,屏幕将显示以 下信息: Pre-check for cluster services setup was successful on all the nodes. (已在所有节点上成功完成对群集服务设置的预检查。) 注: 如果系统配置不正确并显示错误信息,请对问题进行故障排除, 然后重复 runcluvfy.
11 在 Grid Plug and Play information(网格即插即用信息)窗口中提供输 入之前,必须确定是否要使用网格命名服务 (GNS)。 如果不使用 GNS: 注: 配置单一客户端访问名称 (SCAN) 地址,以便客户端访问域命名 服务 (DNS) 中的群集。Oracle 建议您将 SCAN 注册到 DNS 服务器中的 三个 IP 地址,如《Enterprise Linux x86_64 上的 Oracle 数据库:存储设 备和网络指南》中所述。 a b 在 Grid Plug and Play Information(网格即插即用信息)窗口中 提供以下输入: • Cluster Name(群集名称)— 输入群集的名称。例如, testcluster。 • SCAN Name(SCAN 名称)— 输入在整个群集中唯一的 DNS 服务器中注册的名称。例如,scancluster。有关如何配置 SCAN 名称的详情,请参阅《Enterprise Linux x86_64 上的 Oracle 数据库:存储设备和网络指南》。 • SCAN Port(SCAN 端口)— 保留默认
b 12 • Configure GNS(配置 GNS)— 选中此选项。 • GNS sub-domain(GNS 子域)— 输入配置的 GNS 子域名。 例如,clusterdomain.example.com。请参阅 DNS 服务器配置 以了解《Enterprise Linux x86_64 上的 Oracle 数据库:存储设 备和网络指南》中的子域代理。 • GNS VIP address(GNS VIP 地址)— 输入 GNS VIP 地址。 例如,192.0.2.
13 在 Specify Network Interface Usage(指定网络接口使用情况) 窗口中,确保为接口名称选定正确的接口类型。修改接口类型: a 从 Interface Type(接口类型)下拉式列表中,选择所需的接 口类型。 可用的选项为 Private(专用)、Public(公用)和 Do not use (不使用)。 b 单击 Next(下一步)。 14 在 Storage Option Information(存储设备选项信息)窗口中, 选择 Automatic Storage Management (ASM)(自动存储管理 [ASM]) 以配置 ASM 存储设备中的 OCR 和 Voting Disks(投票磁盘),然后 单击 Next(下一步)。 15 在 Create ASM Disk Group(创建 ASM 磁盘组)窗口中: a 提供 ASM 磁盘组的名称。例如,OCRVOTDSK。 b 根据 ASM 磁盘可用性选择冗余。 例如: c • 如果有五个可用的 ASM 磁盘,请选择 High redundancy (高冗余)。 • 如果有三个可用的
16 在 Specify ASM Password(指定 ASM 密码)窗口中,请单击 Use the same passwords for these accounts(以下帐户使用相同的密码) 并完成密码选择和输入。单击 Next(下一步)。 17 在 Failure Isolation Support(故障隔离支持)窗口中,选择 Use Intelligent Platform Management Interface (IPMI)(使用智能 平台管理接口 [IPMI])。 a 输入用户名作为配置的 IPMI 用户名。例如,bmcuser。 b 按照配置输入密码。 c 单击 Next(下一步)。 注: 有关 IPMI 配置,请参阅《Enterprise Linux x86_64 上的 Oracle 数据库:存储设备和网络指南》。 18 在 Privileged Operating System Groups(带权限的操作系统组) 窗口中,选择以下选项,然后单击 Next(下一步): • • • 19 20 48 ASM Database Administrator(ASM 数
21 Perform Prerequisite Checks(执行前提条件检查)窗口将在表中 显示失败并且必须修复的任何最低所需前提条件检查。确保满足 前提条件: a 单击 Fix & Check Again(再次修复并检查)。 b 安装程序将生成一个修复脚本(必须在所有节点上作为 root 用户运行该脚本),以解决失败的前提条件检查。 作为 root 用户登录并在所有节点上运行修复脚本,然后单击 OK(确定)。 在 Perform Prerequisite Checks(执行前提条件检查)窗口中, 确保完成所有前提条件检查。 c 单击 Next(下一步)。 22 在 Summary(摘要)窗口中,单击 Finish(完成)。 23 在安装过程结束时,将显示 Execute Configuration scripts(执行配 置脚本)向导。按照向导中的说明完成操作,然后单击 OK(确定)。 注: 在所有节点上作为 root 用户顺序运行 orainstRoot.sh 和 root.sh, 从主节点开始。例如,在节点 1、节点 2 等等上顺序运行 root.
为使用 ACFS 的数据库二进制程序配置共享的 Oracle 主目录 1 作为 root 用户登录并键入: xhost + 2 作为 Grid 用户登录并运行 asmca 公用程序: $/bin/asmca 3 在 ASMCA 窗口中,选择 Disk Groups(磁盘组)选项卡,单击 Create(创建),然后执行以下步骤: 4 50 a 输入磁盘组的名称。例如,ORAHOME。 b 选择 external redundancy(外部冗余),然后选择要用于共享数据 库主目录的 ASM stamped disk(ASM 标记磁盘)。 c 单击 OK(确定)。 d 右键单击为共享的 oracle 主目录创建的磁盘组,然后选择 Create ACFS for Database Home(为数据库主目录创建 ACFS)。 此时将显示 Create ACFS Hosted Database Home Volume(创建托管 ACFS 的数据库主目录卷)选项。单击 Create(创建)。 a 输入卷名称。例如,ORAHOME。 b 输入数据库主目录安装点的名称
安装 Oracle 11g R2 RAC Database 软件 1 作为 root 用户登录并键入: xhost + 2 安装 Oracle Database 11G R2 介质。 3 作为 root 用户注销,然后通过键入以下命令作为 Oracle 用户 登录: su - oracle 4 通过键入以下群集验证命令检查前提条件: /bin/cluvfy stage -pre dbinst -fixup -n Node1, Node2 -r 11gR2 -osdba dba -verbose 其中 node1 和 node2 是公用 IP 地址的主机名,n 表示节点列表, 而 r 表示数据库发行版本。cluvfy 是 Grid Infrastructure Home (Grid Infrastructure 主目录)中提供的群集验证公用程序。 如果系统配置不正确并且群集验证公用程序失败,请参阅《Enterprise Linux x86_64 上的 Oracle 数据库:故障排除指南》以了解故障排除 信息。 如果系统配置正确,屏幕将显示以下信息: Pre-check for
8 9 在 Node Selection(节点选择)窗口中,选择 Real Application Cluster Database Installation(Real Application Cluster 数据库安装),然后选 择所有节点名称。请执行以下步骤: a 单击 SSH Connectivity(SSH 连接)。 b 在 OS Username (操作系统用户名)字段中,输入 Oracle Database Owner (Oracle 数据库所有者)用户名。在 OS Password (操作系统密码)字段中,输入密码。 c 单击 Test(检测)以检测选定节点之间的 SSH 连接。如果报告任 何错误,请选择 Setup(设置)并指定正确的设置选项。 d 单击 Next(下一步)。 在 Select Product Languages(选择产品语言)窗口中,将 Language Option(语言选项)选择为 English(英语),然后单击 Next (下一步)。 10 在 Select Database Edition(选择数据库版本)窗口中,选择 Enterprise
13 Perform Prerequisites checks(执行前提条件检查)窗口将在表中显 示失败并且必须修复的任何最低所需前提条件检查。 a 单击 Fix & Check Again(再次修复并检查)。 b 安装程序将生成一个修复脚本(必须在所有节点上作为 root 用户 运行该脚本),以解决一些失败的前提条件检查。 作为 root 用户登录并在所有节点上运行修复脚本,然后单击 OK (确定)。 c 单击 Next(下一步)。 在 Perform Prerequisite Checks(执行前提条件检查)窗口中,确保完 成所有前提条件检查。 14 在 Summary Option(摘要选项)窗口中,将显示 Oracle 主目录磁 盘空间、软件安装位置、数据库版本以及 OSDBA 组。单击 Finish (完成)。 15 在 Install Product(安装产品)窗口中,将显示数据库安装进度。 在安装过程结束时,将显示 Execute Configuration Scripts(执行配 置脚本)窗口。作为 root 用户登录并在所有节点上顺序运行 root.
3 通过运行以下命令添加服务器池。 [grid@node1 bin]$./srvctl add srvpool -g fournodes -l 2 -u 4 -i 2 -n node1, node2, node3, node4 其中 -g 为服务器池名称,-l 为最小节点数,-u 为最大节点数,-i 为 指定给服务器池的重要性,-n 是作为服务器池组成部分的节点名称。 在本例中,服务器池名称为 fournodes,最大节点数为四,最小节点 数为二,服务器池的相对优先级为二,而池中节点的名称为 node 1、 node 2、node 3 和 node 4。 4 通过运行以下命令验证服务器池配置: [grid@node1 bin]$.
创建基础数据库 使用 Oracle ASM 创建基础数据库: 1 作为 Oracle 用户登录并输入: /bin/cluvfy stage -pre dbcfg -fixup -n Node1, Node2 -d $ORACLE_HOME -verbose 其中,node1 和 node2 是公用主机名,而 $ORACLE_HOME 是 Oracle 数据库主目录。 如果系统配置不正确并且群集验证公用程序失败,请参阅《Enterprise Linux x86_64 上的 Oracle 数据库:故障排除指南》以了解详情。 如果系统配置正确,将显示以下信息: Pre-check for Database installation was successful.
策略管理: a 输入 racdb 作为 Global Database Name(全局数据库名称)。 b 选择您为此数据库创建的现有服务器池。例如,fournodes。 c 单击 Next(下一步)。 7 在 Management Option(管理选项)窗口中,选择默认值,然后单击 Next(下一步)。 8 在 Database Credential(数据库证书)窗口中: 9 a 选择 Use the same Administrative password for all the Accounts (对所有帐户使用相同的管理密码)选项。 b 完成密码输入,然后单击 Next(下一步)。 在 Database File Location(数据库文件位置)窗口中,选择以下 选项: • • • 10 11 56 Storage Type(存储类型)— 自动存储管理 (ASM)。 Storage Location(存储位置)— 使用 Oracle 管理的文件。 Database Area(数据库区域)— 浏览并选择您创建用于存储数据 库文件 (databaseDG) 的磁盘组
12 在 Initialization Parameters(初始化参数)窗口中: a 选择 Custom(自定义)。 b 在 Memory Management(内存管理)区域中,选择 Automatic shared memory management(自动共享内存管理)。 c 在 SGA size(SGA 大小)和 PGA size(PGA 大小)窗口中, 指定相应的值。 d 单击 Next(下一步)。 13 在 Database Storage(数据库存储)窗口中,单击 Next(下一步)。 14 在 Creation Option(创建选项)窗口中,单击 Finish(完成)。 15 在 Summary(摘要)窗口中,单击 OK(确定)以创建数据库。 注: 完成此过程可能需要一个小时或更长时间。 16 创建数据库后,将显示 Database Configuration Assistant(数据库配置 助手)窗口。 17 如果需要,单击 Password Management(密码管理)将特定密码分配 给授权的用户。否则,单击 Exit(退出)。 屏幕上会显示一条消
安装 Oracle 11g R2 Database RAC
安装 Oracle 11g R2 Database (单个节点) 本章介绍有关按照《Enterprise Linux x86_64 上的 Oracle® 数据库:操作系 统和硬件安装指南》中的说明完成初始设置或重新安装过程的信息。 配置公用网络 请确保您的公用网络运行正常,且已为您的系统分配了 IP 地址和主机名。 例如:配置 /etc/hosts。 请确保您为系统设置了有效的主机名称。 配置数据库存储 您可以使用以下方法配置数据库存储磁盘: • 使用 ext3 文件系统 • 使用 Oracle 自动存储管理 (ASM) 使用 ext3 文件系统配置数据库存储 如果您具有附加存储设备,请执行以下步骤: 1 作为 root 登录。 2 运行以下命令: cd /opt/oracle 3 运行以下命令: mkdir oradata recovery 使用 fdisk 公用程序创建用于存储数据库文件的分区。例如:sdb1 (如果存储设备为 sdb) 使用 fdisk 公用程序创建用于存储恢复文件的分区。例如:sdc1 (如果存储设备为 sdc) 安装 Oracle 11g R2 Databas
4 通过运行以下命令验证新分区: cat /proc/partitions 如果没有检测到新分区,请键入: sfdisk -R /dev/sdb sfdisk -R /dev/sdc 5 运行以下命令: mke2fs -j /dev/sdb1 mke2fs -j /dev/sdc1 6 通过添加如下条目编辑新建文件系统的 /etc/fstab 文件: /dev/sdb1 /opt/oracle/oradata ext3 defaults 1 2 /dev/sdc1 /opt/oracle/recovery ext3 defaults 1 2 7 运行以下命令: chown -R oracle.
使用 ORACLEASM 库驱动程序配置 ASM 磁盘 1 打开终端窗口,然后作为 root 登录。 2 请执行以下步骤: a 键入以下命令并按 键: service oracleasm configure b 输入以下输入信息: Default user to own the driver interface [ ]: grid (拥有驱动程序接口的默认用户 [ ]:grid) Default group to own the driver interface [ ]: asmadmin (拥有驱动程序接口的默认组 [ ]:asmadmin) Start Oracle ASM library driver on boot (y/n) [n]: y (引导时启动 Oracle ASM 库驱动程序 (y/n) [n]: y) Fix permissions of Oracle ASM disks on boot (y/n) [y]: y (引导时修复 Oracle ASM 磁盘的权限 (y/n) [y]: y) 3 在终端窗口中,运行以下命令: service oracleasm
使用 ext3 文件系统安装 Oracle 11g R2 独立 数据库 安装 Oracle Database 11g R2 注: 本节假设您的 Oracle Base 为 /opt/oracle。如果不是,请确保相应更改 软件库和位置值。 要安装 Oracle 11g R2,请执行以下步骤: 1 作为 root 登录。 2 以用户 root 身份,装入 Oracle Database 11g R2 介质。 3 通过键入以下命令启动 X Window 系统: startx 4 打开终端窗口,然后键入: xhost + 5 作为用户 oracle 登录。 6 启动 Oracle Universal Installer。 在终端窗口中,键入以下命令并按 键: /runInstaller 7 在 Configure Security Updates(配置安全更新)窗口中,提供电子邮 件地址和 oracle 支持密码。如果您不想配置此信息,请忽略此步骤, 然后单击 Next(下一步)。 如果没有提供电子邮件地址,则会显示弹出窗口通知 Email Address
11 在 Select database Edition(选择数据库版本)窗口中,单击 Enterprise Edition(企业版),然后单击 Next(下一步)。 12 在 Installation Location(安装位置)窗口中,输入以下信息, 然后单击 Next(下一步): 13 • Oracle Base — /opt/app/oracle • Software Location(软件位置)— /opt/app/oracle/product/11.2.
配置侦听程序 1 作为 root 用户登录。 2 通过键入以下命令启动 X Window 系统: startx 3 在终端窗口中,键入 xhost +。 4 作为 Oracle 用户登录,然后通过以下命令运行 NETCA 公用程序: $/bin/netca 5 接受所有屏幕的默认设置并单击 Next(下一步),完成侦听程序 配置。 使用 ext3 文件系统创建基础数据库 执行以下步骤,使用数据库配置助手 (DBCA) 来创建一个基础数据库: 64 1 作为用户 oracle 登录。 2 通过键入以下命令运行 DBCA 公用程序: $/bin/dbca 3 在 Welcome(欢迎)窗口中,单击 Next(下一步)。 4 在 Operations(操作)窗口中,单击 Create a Database(创建数 据库),然后单击 Next(下一步)。 5 在 Database Templates(数据库模板)窗口中,单击 Custom Database (自定义数据库),然后单击 Next(下一步)。 6 在 Dat
9 在 Database File Locations(数据库文件位置)窗口中,选择以下 信息,然后单击 Next(下一步): • • • 10 Storage Type(存储类型)— 文件系统 Storage Location(存储位置)— 对所有数据库文件使用 Common Location(公用位置) Database Area(数据库区域)— 浏览创建用于数据库文件的 位置。例如,/opt/oracle/oradata 在 Recovery Configuration(恢复配置)窗口中,选择以下选项, 然后单击 Next(下一步): a 选择 Specify Flash Recovery Area(指定快擦写恢复区域)。 b Flash Recovery Area(快擦写恢复区域)— 单击 Browse(浏览) 并选择您在第 59 页上的“使用 ext3 文件系统配置数据库存储” 中创建的回闪组。例如,/opt/oracle/recovery。 c Flash Recovery Area Size(快擦写恢复区域大小)— 将该值更改为 所需大小。 d 选择 Enable Arch
使用 ASM 安装 Oracle 11g R2 Database 安装 Oracle 11g R2 Grid Infrastructure 在支持使用独立数据库安装的 ASM 磁盘组的独立服务器中,执行以下步 骤以安装 Oracle 11g R2 Grid Infrastructure: 1 作为 root 用户登录。 2 安装 Oracle 11g R2 Grid 介质。 3 通过键入以下命令启动 X Window 系统: Startx 4 打开终端窗口,然后键入: xhost + 5 作为 Grid 用户登录。 6 启动 Oracle Universal Installer。 在终端窗口中,键入以下命令并按 键: /runInstaller 7 在 Installation Option(安装选项)窗口: 选择 Install and configure Grid Infrastructure for a standalone server(安装并配置用于独立服务 器的 Grid Infrastructure)。单击 Next(下一步)。 8
10 在 ASM Password(ASM 密码)窗口中,选择 Use Same Passwords for these accounts and provide the password requirements(对这些帐户使 用相同的密码并提供密码要求),然后单击 Next(下一步)。 11 在 Operating System Groups(操作系统组)窗口中,进行以下选择, 然后单击 Next(下一步): 12 • ASM Database Administrator(ASM 数据库管理员)— asmdba 组。 • ASM Instance Administration Operator(ASM 实例管理操 作人员)— asmoper 组。 • ASM Instance Administrator(ASM 实例管理员)— asmadmin 组。 在 Installation Location(安装位置)窗口中,输入以下位置信息, 然后单击 Next(下一步): • 在 Oracle Base 字段中,键入: /opt/app/grid • 在 Software Locat
15 在 Summary(摘要)窗口中,单击 Finish(完成)。 16 在安装过程结束时,将显示 Execute Configuration scripts(执行配置 脚本)向导。按照向导中的说明进行操作,然后单击 OK(确定)。 17 此时将显示 Installation of Oracle Grid Infrastructure for a Standalone Server was Successful(独立服务器的 Oracle Grid Infrastructure 安装 成功)。 单击 Close(关闭)。 此时将在您的系统中安装用于独立服务器的 Oracle Grid Infrastructure。 安装 Oracle Database 11g R2 注: 本节假设您的 Oracle Base 为 /opt/oracle。如果不是,请确保相应更改 软件库和位置值。 要安装 Oracle 11g R2,请执行以下步骤: 1 作为 root 登录。 2 以用户 root 身份,装入 Oracle Database 11g R2 介质。 3 通过键入以下命令启动 X Win
9 在 Grid Option(网格选项)窗口中,将数据库安装类型选择为 Single Instance Database Installation(单一实例数据库安装), 然后单击 Next(下一步)。 10 在 Product Languages(产品语言)窗口中,将 Language Option (语言选项)选择为 English(英语),然后单击 Next(下一步)。 11 在 Select Database Edition(选择数据库版本)窗口中,单击 Enterprise Edition(企业版),然后单击 Next(下一步)。 12 在 Installation Location(安装位置)窗口中,输入以下信息, 然后单击 Next(下一步): • Oracle Base — /opt/app/oracle • Software Location(软件位置)— /opt/app/oracle/product/11.2.
配置 ASM 磁盘组 本节包含创建用于数据库文件和 FRA 的 ASM 磁盘组的过程。 执行以下步骤以创建 ASM 磁盘组: 1 作为 Grid 用户登录。 2 通过键入以下命令启动 asmca 公用程序: $/bin/asmca 3 在 ASM Configuration Assistant(ASM 配置助手)窗口中, 选择 Disk Groups(磁盘组)选项卡。 4 单击 Create(创建)。 5 输入以下信息,然后单击 OK(确定)以创建并安装磁盘: • • • Disk Group Name(磁盘组名称)— databaseDG Redundancy Level(冗余级别)— 外部 Member disks(成员磁盘)— ORCL:ASM2,其中 ASM2 是为数据 库文件分配的磁盘设备 6 按照步骤 4 和步骤 5 进行操作,以使用 ORCL:ASM3 对 FRA 创建名为 flashbackDG 的另一个磁盘组。 7 单击 Exit(退出)以退出 ASM Configuration Assistant(ASM 配置 助手)。 使用 Oracl
6 在 Management Options(管理选项)窗口中,单击 Next (下一步)。 7 在 Database Credentials(数据库证书)窗口中,单击 Use the Same Password for All Accounts(对所有帐户使用相同密码),完成密码 输入,然后单击 Next(下一步)。 8 在 Database File Locations(数据库文件位置)窗口中,选择以下 选项,然后单击 Next(下一步): a Storage Type(存储类型)— 自动存储管理 (ASM)。 b Storage Location(存储位置)— 使用 Oracle 管理的文件 。 c Database Area(数据库区域)— 浏览并选择创建用于数据库文件 的组。例如,databaseDG。 9 在 ASM Credentials(ASM 证书)窗口中,输入 ASM 密码,然后 单击 OK(确定)。 10 在 Recovery Configuration(恢复配置)窗口中,选择以下选项, 然后单击 Next(下一步): a 选择 Specify Flash
安装 Oracle 11g R2 Database(单个节点)
Systèmes Dell™ PowerEdge™ Oracle Database® sous Enterprise Linux® x86_64 Guide d'installation et de configuration de la base de données Version 1.
Remarques et précautions REMARQUE : une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. PRÉCAUTION : une PRÉCAUTION vous avertit d'un risque de dommage matériel ou de perte de données en cas de non-respect des instructions données. ____________________ Les informations contenues dans ce document sont sujettes à modification sans préavis. © 2010 Dell Inc. Tous droits réservés.
Table des matières 1 Présentation . . . . . . . . . . . . . . . . . . . . . . . . . . Documentation nécessaire au déploiement de la base de données Dell|Oracle 11g R2 . . . . . . . . . . . Terminologie utilisée dans le présent document Obtention d'aide Support Dell 77 . . . . . . . 78 . . . . . . . . . . . . . . . . . . . . . . . . 78 . . . . . . . . . . . . . . . . . . . . . . . . 78 Support Oracle 2 77 . . . . . . . . . . . . . . . . . . . . . . Installation d'Oracle Database 11g R2 RAC .
3 Installation d'Oracle Database 11g R2 (sur un seul nœud) . . . . . . . . . . . . . . . Configuration du réseau public . . . . . . . . . . . . . . . . . . . . . . Configuration du stockage de la base de données . . . . . . . Configuration du stockage de la base de données à l'aide du système de fichiers ext3 . . . . . . . . Configuration des disques de stockage de base de données pour ASM . . . . . . . . . . . . . . . . . .
Présentation Ce document s'applique à Oracle® Database 11g R2 sous Red Hat® Enterprise Linux® ou Oracle Enterprise Linux 5.3 AS x86_64.
Terminologie utilisée dans le présent document • Les termes LUN (numéro d'unité logique) et disque virtuel sont des synonymes et interchangeables. Le terme LUN est généralement utilisé pour les environnements de systèmes de stockage Fibre Channel Dell/EMC, alors que le terme disque virtuel est plutôt réservé aux environnements de stockage Dell™ PowerVault™ SAS (PowerVault MD3000i et PowerVault MD3000i avec boîtier d'extension PowerVault MD1000).
Installation d'Oracle Database 11g R2 RAC Cette section indique comment installer Oracle® 11g R2 Real Application Clusters (RAC). La procédure requise inclut l'installation d'Oracle Grid Infrastructure pour un cluster et du logiciel Oracle Database 11g R2. Dell conseille de créer une base de données initiale pour vérifier le fonctionnement du cluster avant de le déployer dans un environnement de production.
Installation d'Oracle 11g R2 Grid Infrastructure pour un cluster 1 Ouvrez une session en tant que root. 2 Démarrez le système X Window en entrant : start x 3 Ouvrez une fenêtre de terminal et entrez : xhost + 4 Montez le CD d'Oracle Grid Infrastructure. 5 Ouvrez une session en tant qu'utilisateur Grid. 6 Exécutez le script de vérification du cluster du CD Oracle Grid Infrastructure à l'aide de la commande suivante : /runcluvfy.
9 Dans la fenêtre Select Installation Type (Sélection du type d'installation), sélectionnez Advanced Installation (Installation avancée), puis cliquez sur Next (Suivant). 10 Dans la fenêtre Select Product Languages (Sélection des langues du produit), sélectionnez English (Anglais), puis cliquez sur Next (Suivant).
Si vous utilisez le service GNS : REMARQUE : configurez l'adresse virtuelle GNS et la délégation de sousdomaine GNS tel que décrit dans le document Oracle Database on Enterprise Linux x86_64 Storage and Networking Guide (Oracle Database sous Enterprise Linux x86_64 – Guide de stockage et de mise en réseau).
12 Dans la fenêtre Cluster Node Information (Informations sur les nœuds du cluster), ajoutez les nœuds devant être gérés par Oracle Grid Infrastructure : a Cliquez sur Add (Ajouter). b Ajoutez des informations relatives au nom d'hôte public en fonction du fichier /etc/hosts. c Entrez le nom IP virtuel en suivant les instructions suivantes : Si vous configurez le cluster sans le service GNS, entrez la valeur en fonction du fichier /etc/hosts.
14 Dans la fenêtre Storage Option Information (Informations sur les options de stockage), sélectionnez Automatic Storage Management (ASM) (Gestion de stockage automatique) pour configurer les disques OCR et de vote sur le stockage ASM, puis cliquez sur Next (Suivant). 15 Dans la fenêtre Create ASM Disk Group (Créer un groupe de disques ASM) : a Fournissez un nom pour le groupe de disques ASM. Par exemple, OCRVOTDSK. b Sélectionnez la redondance en fonction de la disponibilité des disques ASM.
17 Dans la fenêtre Failure Isolation Support (Échec de la prise en charge de l'isolement), sélectionnez Use Intelligent Platform Management Interface (IPMI) [Utiliser l'interface de gestion de plate-forme intelligente (IMPI)]. a Entrez le nom d'utilisateur en tant que nom d'utilisateur IPMI configuré. Par exemple, bmcuser. b Entrez le mot de passe tel que configuré. c Cliquez sur Next (Suivant).
20 Entrez la chaîne suivante dans la fenêtre Create Inventory (Créer un inventaire) → champ Inventory Directory (Répertoire de l'inventaire), puis cliquez sur Next (Suivant). /opt/app/oraInventory 21 La fenêtre Perform Prerequisites Checks (Effectuer des vérifications préalables) indique les vérifications préalables minimales requises ayant échoué et devant être corrigées dans un tableau.
25 Sur tous les nœuds, effectuez les opérations suivantes : a Vérifiez l'installation d'Oracle Grid Infrastructure en entrant la commande suivante : olsnodes -n -v Cette commande répertorie les noms d'hôte de tous les nœuds du cluster. b Entrez la commande suivante pour vérifier l'état de tous les services de la grille : /opt/app/11.2.0/grid/bin/crsctl stat res -t Vérifiez que les services de la grille Oracle qui sont en cours d'exécution s'affichent. Vérifiez que tous les services sont en ligne.
Configuration du répertoire racine Oracle partagé pour le fichier binaire de base de données à l'aide d'ACFS 1 Ouvrez une session en tant qu'utilisateur root, puis entrez : xhost + 2 Ouvrez une session en tant qu'utilisateur Grid et exécutez l'utilitaire asmca : $/bin/asmca 3 Dans la fenêtre ASMCA, sélectionnez l'onglet Disk Groups (Groupes de disques), cliquez sur Create (Créer) et effectuez les étapes suivantes : a Entrez un nom pour le groupe de disques. Par exemple, ORAHOME.
d Entrez le nom du propriétaire du répertoire racine de la base de données. Par exemple, oracle. e Entrez le nom du groupe propriétaire du répertoire racine de la base de données. Par exemple, oinstall. f Cliquez sur OK. g Ouvrez une session en tant qu'utilisateur root et exécutez le script acfs_script.sh mentionné dans la fenêtre RUN ACFS Script (Exécuter le script ACFS). Le volume ACFS est automatiquement monté sur le point de montage spécifié à l'étape b pour tous les nœuds.
Si votre système n'est pas configuré correctement et que l'utilitaire de vérification de cluster échoue, consultez le document Oracle Database on Enterprise Linux x86_64 Troubleshooting Guide (Oracle Database sous Enterprise Linux x86_64 – Guide de dépannage) pour obtenir des informations de dépannage. Si le système est configuré correctement, le message suivant s'affiche : Pre-check for database installation was successful (La vérification préalable pour l'installation de la base de données a abouti).
c Cliquez sur Test pour tester la connectivité SSH entre les nœuds sélectionnés. Si des erreurs sont signalées, sélectionnez Setup (Configuration) et spécifiez les options de configuration appropriées. d Cliquez sur Next (Suivant). 9 Dans la fenêtre Select Product Languages (Sélectionner les langues du produit), sélectionnez English (Anglais) pour Language Option (Option langue), puis cliquez sur Next (Suivant).
13 La fenêtre Perform Prerequisites checks (Effectuer des vérifications préalables) indique les vérifications préalables minimales requises ayant échoué et devant être corrigées dans un tableau : a Cliquez sur Fix & Check Again (Corriger et vérifier de nouveau). b Le programme d'installation génère un script de correction qui doit être exécuté en tant qu'utilisateur root sur tous les nœuds, afin de résoudre certaines vérifications préalables ayant échoué.
Création de pools de serveurs pour une configuration de base de données gérée par des stratégies REMARQUE : la procédure expliquée dans cette section doit être effectuée avant la création de la base de données. Les nœuds d'un cluster peuvent être organisés sous forme de pool de serveurs pour une gestion des ressources optimisée. Chaque pool de serveurs dispose des propriétés suivantes : • Nombre minimum de nœuds devant être disponibles dans le pool de serveurs.
Création d'un groupe de disques ASM La section indique les procédures de création du groupe de disques ASM pour les fichiers de base de données et la zone de récupération flash. Pour créer des groupes de disques ASM : 1 Ouvrez une session en tant qu'utilisateur Grid. 2 Démarrez l'utilitaire asmca : $/bin/asmca 3 Dans la fenêtre ASM Configuration Assistant (Assistant de configuration ASM), sélectionnez l'onglet Disk Groups (Groupes de disques). 4 Cliquez sur Create (Créer).
Création de la base de données initiale Pour créer la base de données initiale à l'aide d'Oracle ASM : 1 Ouvrez une session en tant qu'utilisateur Oracle, puis entrez : /bin/ cluvfy stage -pre dbcfg -fixup -n Nœud1, Nœud2 -d $ORACLE_HOME -verbose où nœud1 et nœud2 sont les noms d'hôte public et $ORACLE_HOME le répertoire racine de la base de données Oracle.
6 Dans la fenêtre Database Identification (Identification de la base de données), vous pouvez sélectionner le type de configuration parmi les deux options suivantes : Admin-Managed (Géré par un administrateur) : a Entrez le nom global de la base de données et le préfixe SID (racdb). b Dans la fenêtre Node Selection (Sélection de nœuds), cliquez sur All nodes (Tous les nœuds). c Cliquez sur Next (Suivant). Policy-Managed (Géré par une stratégie) : a Entrez le nom global de la base de données (racdb).
10 Dans la fenêtre Recovery Configuration (Configuration de la récupération) : a Sélectionnez la zone Specify Flash Recovery Area (Définir la zone de récupération flash). b Naviguez vers et sélectionnez le groupe de disques ASM que vous avez créé pour la zone de récupération flash (flashbackDG). c Indiquez la taille de la zone de récupération flash. d Cliquez sur Enable Archiving (Activer l'archivage). e Cliquez sur Next (Suivant).
Installation d'Oracle Database 11g R2 RAC
Installation d'Oracle Database 11g R2 (sur un seul nœud) Cette section contient des informations sur la configuration initiale et les procédures de réinstallation décrites dans le document Oracle® Database on Enterprise Linux x86_64 Operating System and Hardware Installation Guide (Oracle® Database sous Enterprise Linux x86_64 – Guide d'installation du système d'exploitation et du matériel).
3 Exécutez la commande suivante : mkdir oradata recovery À l'aide de l'utilitaire fdisk, créez une partition pour le stockage des fichiers de la base de données. Par exemple : sdb1, si le périphérique de stockage est sdb. À l'aide de l'utilitaire fdisk, créez une partition pour le stockage des fichiers de récupération. Par exemple : sdc1, si le périphérique de stockage est sdc.
Configuration des disques de stockage de base de données pour ASM La procédure suivante explique comment configurer les disques de stockage de base de données pour ASM à l'aide du pilote de bibliothèque ORACLEASM : L'exemple suivant suppose que vous disposez de trois périphériques de stockage (sdb, sdc et sdd), un destiné au groupe de disques pour le fichier SP ASM, un autre aux fichiers de base de données et le dernier à la zone de récupération flash. 1 Ouvrez une session en tant que root.
5 Vérifiez que les disques ASM sont créés et marqués pour l'utilisation d'ASM. Dans la fenêtre de terminal, exécutez la commande suivante : service oracleasm listdisks Les disques créés à l'étape 3 sont répertoriés dans la fenêtre de terminal. Par exemple : ASM1, ASM2, ASM3 Installation d'Oracle Database 11g R2 (version autonome) à l'aide du système de fichiers ext3 Installation d'Oracle Database 11g R2 REMARQUE : dans cette section, il est supposé que la base Oracle est /opt/oracle.
7 Dans la fenêtre Configure Security Updates (Configurer les mises à jour de sécurité), fournissez l'adresse e-mail et le mot de passe du support Oracle. Si vous ne souhaitez pas configurer ces informations, ignorez cette étape et cliquez sur Next (Suivant). Si vous ne fournissez pas d'adresse e-mail, une fenêtre contextuelle s'ouvre et affiche le message Email Address Not Specified (Adresse e-mail non spécifiée). Cliquez sur Yes (Oui) pour continuer.
14 Dans la fenêtre Privileged Operating System Groups (Groupes de système d'exploitation privilégiés), utilisez la valeur par défaut, dba, pour les deux groupes, puis cliquez sur Next (Suivant). 15 La fenêtre Perform Prerequisites checks (Effectuer des vérifications préalables) indique les vérifications préalables minimales requises ayant échoué. La fenêtre Fixup Scripts (Scripts de correction) fournit le script correspondant : a Ouvrez une session en tant qu'utilisateur root.
Création de la base de données initiale à l'aide du système de fichiers ext3 Procédez comme suit pour créer une base de données initiale avec l'assistant de configuration de base de données (DBCA) d'Oracle : 1 Ouvrez une session en tant qu'utilisateur oracle. 2 Exécutez l'utilitaire DBCA en entrant : $/bin/dbca 3 Dans la fenêtre de bienvenue, cliquez sur Next (Suivant). 4 Dans la fenêtre Operations (Opérations), cliquez sur Create a Database (Créer une base de données), puis sur Next (Suivant).
10 Dans la fenêtre Recovery Configuration (Configuration de la récupération), sélectionnez les options suivantes, puis cliquez sur Next (Suivant) : a Sélectionnez Specify Flash Recovery Area (Définir la zone de récupération flash). b Flash Recovery Area (Zone de récupération flash) : cliquez sur Browse (Parcourir) et sélectionnez le groupe de récupération flashback créé à la section “Configuration du stockage de la base de données à l'aide du système de fichiers ext3” à la page 99.
Installation d'Oracle Database 11g R2 à l'aide d'ASM Installation d'Oracle 11g R2 Grid Infrastructure Sur un serveur autonome prenant en charge des groupes de disques ASM avec une installation de base de données autonome, effectuez les étapes suivantes pour installer Oracle 11g R2 Grid Infrastructure : 1 Ouvrez une session en tant qu'utilisateur root. 2 Montez le CD Oracle 11g R2 Grid.
9 Dans la fenêtre Create ASM disk Group (Créer un groupe de disques ASM), entrez les informations suivantes, puis cliquez sur Next (Suivant) : • Group Name (Nom du groupe) : nom du groupe de disques pour le fichier SP ASM. Par exemple, SPDATA • Redundancy (Redondance) : externe • Candidate Disk (Disque candidat) : ORCL:ASM1 a été marqué à l'aide de la bibliothèque ASM pour le fichier SP ASM.
14 La fenêtre Perform Prerequisite Checks (Effectuer des vérifications préalables) indique si des vérifications préalables ont échoué et doivent être corrigées. Effectuez les opérations suivantes : a Cliquez sur Fix & Check Again (Corriger et vérifier de nouveau). b Dans la fenêtre Execute Fixup Scripts (Exécuter les scripts de correction), le programme d'installation génère un script de correction.
4 Ouvrez une fenêtre de terminal et entrez : xhost + 5 Ouvrez une session en tant qu'utilisateur oracle. 6 Démarrez le programme Oracle Universal Installer. Dans la fenêtre de terminal, entrez la commande suivante, puis appuyez sur : /runInstaller 7 Dans la fenêtre Configure Security Updates (Configurer les mises à jour de sécurité), fournissez l'adresse e-mail et le mot de passe du support Oracle.
13 Dans la fenêtre Privileged Operating System Groups (Groupes de système d'exploitation privilégiés), utilisez la valeur par défaut, dba, pour les deux groupes, puis cliquez sur Next (Suivant). 14 La fenêtre Perform Prerequisites checks (Effectuer des vérifications préalables) indique les vérifications préalables minimales requises ayant échoué. La fenêtre Fixup Scripts (Scripts de correction) fournit le script correspondant : a Ouvrez une session en tant qu'utilisateur root.
5 Entrez les informations suivantes et cliquez sur OK pour créer et monter les disques : • Disk Group Name (Nom du groupe de disques) : databaseDG • Redundancy Level (Niveau de redondance) : externe • Member disks (Disques membres) : ORCL:ASM2, où ASM2 correspond au périphérique de disque affecté aux fichiers de base de données 6 Suivez l'étape 4 et l'étape 5 pour créer un autre groupe de disques nommé flashbackDG pour la zone de récupération flash à l'aide de ORCL:ASM3.
7 Dans la fenêtre Database Credentials (Autorisations de la base de données), cliquez sur Use Same Password for All Accounts (Utiliser le même mot de passe pour tous les comptes), entrez et validez le mot de passe, puis cliquez sur Next (Suivant).
12 Dans la fenêtre Initialization Parameters (Paramètres d'initialisation), sélectionnez Typical (Standard), puis cliquez sur Next (Suivant). 13 Dans la fenêtre Database Storage (Stockage de la base de données), cliquez sur Next (Suivant). 14 Dans la fenêtre Creation Options (Options de création), cliquez sur Create Database (Créer la base de données), puis sur Finish (Terminer). 15 Dans la fenêtre de confirmation, cliquez sur OK pour créer la base de données.
Dell™ PowerEdge™-Systeme Oracle® Database unter Enterprise Linux® x86_64 Datenbankeinrichtungsund -installationsanleitung Version 1.
Anmerkungen und Vorsichtshinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie das System besser einsetzen können. VORSICHTSHINWEIS: Ein VORSICHTSHINWEIS macht aufmerksam auf mögliche Beschädigung der Hardware oder Verlust von Daten bei Nichtbefolgung von Anweisungen. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2010 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . . . . . Erforderliche Dokumentation zum Bereitstellen von Dell|Oracle 11g R2 Database. . . . . . . . . . . . . . . . 119 In diesem Dokument verwendete Terminologie . . . . . . . . 120 . . . . . . . . . . . . . . . . . . . 120 . . . . . . . . . . . . . . . . . . . . . . . . 120 Wie Sie Hilfe bekommen . Dell Support Oracle-Support 2 119 . . . . . . . . . . . . . . . . . . . . . . Installation von Oracle 11g R2 Database RAC . .
Erstellen von Serverpools zur richtlinienverwalteten Datenbankkonfiguration . . . . . . . . . . . . . . . . . . . . 134 . . . . . . . . . . . . 135 . . . . . . . . . . . . . . . . . 136 Erstellen der ASM-Datenträgergruppe Erstellen der Startdatenbank 3 Installation von Oracle 11g R2 Database (Einzelknoten) . . . . . . . . . . . . . . . . . . . . . Konfiguration des öffentlichen Netzwerks Konfigurieren des Datenbankspeichers . 139 . . . . . . . . . . . 139 . . . . . . . . . 139 . . . . . . . .
Übersicht Dieses Dokument betrifft Oracle® Database 11g R2 unter Red Hat® Enterprise Linux® oder Oracle Enterprise Linux 5.3 AS x86_64.
In diesem Dokument verwendete Terminologie • • In diesem Dokument werden die Begriffe Logische Gerätenummer (LUN) und Virtueller Datenträger verwendet. Diese Begriffe sind synonym und untereinander ersetzbar. Der Begriff LUN wird üblicherweise im Zusammenhang mit Dell|EMC Fibre-Channel-Speichersystemumgebungen und der Begriff virtueller Datenträger bei Dell™ PowerVault™ SAS-Speicherumgebungen (Dell PowerVault MD3000i und Dell PowerVault MD3000i mit PowerVault MD1000-Erweiterung) verwendet.
Installation von Oracle 11g R2 Database RAC In diesem Abschnitt sind die Schritte zum Installieren von Oracle® 11g R2 Real Application Clusters (RAC) beschrieben; dies umfasst das Installieren von Oracle Grid Infrastructure für einen Cluster und der Oracle Database 11g R2-Software. Es wird empfohlen, eine Startdatenbank einzurichten, um zu überprüfen, ob der Cluster korrekt funktioniert, bevor Sie ihn in einer Produktionsumgebung einsetzen.
Installieren von Oracle 11g R2 Grid Infrastructure für einen Cluster 1 Melden Sie sich als root beim System an. 2 Starten Sie das X Window-System, indem Sie eingeben: start x 3 Öffnen Sie ein Terminalfenster und geben Sie ein: xhost + 4 Mounten Sie das Oracle Grid Infrastructure-Medium. 5 Melden Sie sich als Grid-Benutzer an. 6 Führen Sie das Skript cluster verify auf dem Oracle Grid Infrastructure-Medium aus, indem Sie folgenden Befehl eingeben: /runcluvfy.
9 Wählen Sie im Fenster Select Installation Type (Installationstyp auswählen) die Option Advanced Installation (Erweiterte Installation) und klicken Sie auf Weiter. 10 Wählen Sie im Fenster Select Product Languages (Produktsprachen wählen) die Option English (Englisch) und klicken Sie auf Weiter. 11 Bevor Sie die Eingaben im Fenster Grid Plug and Play information (Grid Plug and Play-Informationen) machen, müssen Sie entscheiden, ob Sie den Grid Naming Service (GNS) einsetzen wollen oder nicht.
Wenn Sie GNS verwenden: ANMERKUNG: Konfigurieren Sie die Zuordnung von virtuellen Adressen und Subdomains von GNS wie beschrieben im Oracle Database unter Enterprise Linux x86_64 Speicher- und Netzwerkhandbuch. Konfigurieren Sie im öffentlichen Bereich einen DHCP-Server (Dynamic Host Control Protocol) zur Vergabe von IP-Adressen, wie beschrieben im Abschnitt IP requirements (IP-Anforderungen) im Oracle Database unter Enterprise Linux x86_64 Speicher- und Netzwerkhandbuch.
12 Fügen Sie im Fenster Cluster Node Information (ClusterknotenInformationen) die Knoten hinzu, die von Oracle Grid Infrastructure verwaltet werden müssen: a Klicken Sie auf Hinzufügen. b Fügen Sie die Informationen für Public Host Name (Öffentlicher Hostname) entsprechend dem Eintrag in /etc/hosts hinzu. c Tragen Sie Virtual IP Name (Virtueller IP-Name) nach den folgenden Anweisungen ein: Wenn Sie den Cluster ohne GNS konfigurieren, geben Sie den Wert entsprechend dem Eintrag in /etc/hosts ein.
13 Überprüfen Sie im Fenster Specify Network Interface Usage (Nutzung der Netzwerkschnittstelle festlegen), ob für die Schnittstellennahmen die korrekten Typen ausgewählt sind. So ändern Sie einen Schnittstellentyp: a Wählen Sie in der Dropdown-Liste Interface Type (Schnittstellentyp) den entsprechenden Schnittstellentyp aus. Die verfügbaren Optionen sind Private (Privat), Public (Öffentlich) und Do not use (Nicht verwenden). b Klicken Sie auf Weiter.
16 Klicken Sie im Fenster Specify ASM Password (ASM-Kennwort festlegen) auf Use the same passwords for these accounts (Gleiche Kennwörter für diese Accounts verwenden) und nehmen Sie die entsprechenden Einträge vor. Klicken Sie auf Weiter. 17 Wählen Sie im Fenster Failure Isolation Support (Unterstützung für Ausfall-Isolierung) die Option Use Intelligent Platform Management Interface (IPMI) (Intelligent Platform Management Interface [IPMI] verwenden).
21 Im Fenster Perform Prerequisite Checks (Vorüberprüfungen durchführen) werden in einer Tabelle etwaige Probleme mit Mindestvoraussetzungen angezeigt, die zunächst behoben werden müssen. So stellen Sie sicher, dass die Voraussetzungen erfüllt sind: a Klicken Sie auf Fix & Check Again (Reparieren und neu überprüfen). b Das Installationsprogramm erzeugt ein Reparatur-Skript, das vom Benutzer root auf allen Knoten ausgeführt werden muss, um die Probleme mit den Voraussetzungen zu beheben.
b Geben Sie den folgenden Befehl ein, um den Status alle Grid-Dienste zu überprüfen: /opt/app/11.2.0/grid/bin/crsctl stat res -t Überprüfen Sie, dass alle aktiven Oracle Grid-Dienste angezeigt werden. Stellen Sie sicher, dass alle Dienste online sind.
4 Die Option Create ACFS Hosted Database Home Volume (ACFS-Datenbankstammvolume erstellen) wird angezeigt. Klicken Sie auf Erstellen. 130 a Geben Sie einen Namen für das Volume ein. Zum Beispiel: ORA-HOME. b Geben Sie einen Namen für den Bereitstellungspunkt des Datenbankstammpfads ein. Zum Beispiel: /opt/app/oracle/acfsorahome. c Geben Sie einen Wert für Database Home size (Größe des Datenbankstammverzeichnisses). Die Mindestgröße beträgt 20 GB.
Installation der Oracle 11g R2 RACDatenbanksoftware 1 Melden Sie sich als root an und geben Sie ein: xhost + 2 Mounten Sie das Oracle Database 11g R2-Medium.
6 Geben Sie im Fenster Configure Security Updates (Sicherheits-Updates konfigurieren) die E-Mail-Adresse und das Oracle-Support-Kennwort ein. Dieser Schritt ist optional. Wenn Sie diesen Schritt überspringen wollen, deaktivieren Sie das Kontrollkästchen und klicken Sie auf Weiter. Wenn Sie die E-Mail-Adresse nicht eingeben, wird das Fenster Email Address Not Specified (E-Mail-Adresse nicht angegeben) angezeigt. Klicken Sie auf Yes (Ja), um fortzufahren.
11 Wählen Sie im Fenster Specify Installation Location (Installationsort festlegen) eine der folgenden Optionen und legen Sie die PfadInformationen entsprechend fest: • • Wenn Sie einen nicht freigegebenen Oracle-Stammpfad konfigurieren wollen, geben Sie die folgenden Informationen ein und klicken Sie auf Weiter. • Oracle-Stammpfad – /opt/app/oracle • Software-Speicherort – /opt/app/oracle/product/11.2.
14 Im Fenster Summary Option (Optionsübersicht) werden der OracleStammpfad, der Software-Installationsort, die Datenbank-Edition und die OSDBA-Gruppe angezeigt. Klicken Sie auf Fertigstellen. 15 Im Fenster Install Product (Produkt installieren) wird der DatenbankInstallationsfortschritt angezeigt. Am Ende des Installationsvorgangs wird das Fenster Execute Configuration Scripts (Konfigurationsskripts ausführen) angezeigt. Melden Sie sich als root an und führen Sie das Skript root.
3 Fügen Sie einen Serverpool hinzu, indem Sie den folgenden Befehl ausführen. [grid@node1 bin]$./srvctl add srvpool -g fournodes -l 2 -u 4 -i 2 -n Knoten1, Knoten2, Knoten3, Knoten4 Dabei ist -g der Serverpool-Name, -l ist die Mindestanzahl der Knoten, -u ist die maximale Anzahl der Knoten, -i ist die Priorität des Serverpools und -n sind die Knotennamen im Serverpool.
7 Wählen Sie die Mitgliedsdatenträger aus. Wählen Sie ORCL:ASM1, wobei ASM1 das Gerät zum Speichern der Datenbankdateien ist. 8 Klicken Sie auf OK, um die Datenträger zu erstellen und zu mounten. 9 Wiederholen Sie Schritt 4 bis Schritt 8, um eine weitere Datenträgergruppe mit dem Namen flashbackDG für den Wiederherstellungsbereich zu erstellen. 10 Klicken Sie auf Exit (Beenden), um den ASM configuration assistant zu beenden.
5 Wählen Sie im Fenster Database Templates (Datenbankvorlagen) die Option Custom Database (Benutzerdefinierte Datenbank) und klicken Sie dann auf Weiter. 6 Im Fenster Database Identification (Datenbank-Identifikation) können Sie beim Configuration Type (Konfigurationstyp) eine der folgenden zwei Optionen wählen: Admin-Managed (Administratorverwaltung): a Geben Sie den Global Database Name (globalen Datenbanknamen) und den SID Prefix (SID-Präfix) als racdb ein.
10 Führen Sie im Fenster Recovery Configuration (Wiederherstellungsoptionen) folgende Schritte durch: a Klicken Sie auf Specify Flash Recovery Area (Flash-Wiederherstellungsbereich festlegen). b Wählen Sie die ASM-Datenträgergruppe aus, die Sie für den Wiederherstellungsbereich erstellt haben (flashbackDG). c Geben Sie die Größe des Wiederherstellungsbereichs an. d Wählen Sie Enable Archiving (Archivierung aktivieren). e Klicken Sie auf Weiter.
Installation von Oracle 11g R2 Database (Einzelknoten) Dieser Abschnitt enthält Informationen über das Durchführen der Ersteinrichtung oder der Neuinstallation wie im Oracle® Database unter Enterprise Linux x86_64 Installationshandbuch für Betriebssystem und Hardware beschrieben. Konfiguration des öffentlichen Netzwerks Stellen Sie sicher, dass das öffentliche Netzwerk funktioniert und dem System eine IP-Adresse und ein Hostname zugewiesen sind. Zum Beispiel: Konfigurieren von /etc/hosts.
3 Führen Sie den folgenden Befehl aus: mkdir oradata recovery Erstellen Sie mit dem Dienstprogramm fdisk eine Partition zum Speichern der Datenbankdateien. Zum Beispiel: sdb1, falls das Speichergerät die Bezeichnung sdb hat. Erstellen Sie mit dem Dienstprogramm fdisk eine Partition zum Speichern der Wiederherstellungsdateien. Zum Beispiel: sdc1, falls das Speichergerät die Bezeichnung sdc hat.
Konfiguration der Datenbankspeicherlaufwerke für ASM In der folgenden Anleitung ist beschrieben, wie die Datenbankspeicherlaufwerke für ASM mit dem ORACLEASM-Bibliothekstreiber konfiguriert werden: Im folgenden Beispiel wird davon ausgegangen, dass Sie über drei Speichergeräte verfügen (sdb, sdc und sdd), eines zum Erstellen einer Datenträgergruppe für die ASM SP-Datei, eines für die Datenbankdateien und das letzte für den Wiederherstellungsbereich (Flash Recovery Area).
5 Überprüfen Sie, ob die ASM-Datenträger erstellt wurden und für ASM-Verwendung gekennzeichnet sind. Führen Sie im Terminalfenster den folgenden Befehl aus: service oracleasm listdisks Die in Schritt 3 erstellten Datenträger werden im Terminalfenster aufgelistet. Zum Beispiel: ASM1, ASM2, ASM3 Installation von Oracle 11g R2 Standalone Database mit dem ext3-Dateisystem Installation von Oracle Database 11g R2 ANMERKUNG: In diesem Abschnitt wird davon ausgegangen, dass der OracleStammpfad /opt/oracle lautet.
7 Geben Sie im Fenster Configure Security Updates (Sicherheits-Updates konfigurieren) die E-Mail-Adresse und das Oracle-Support-Kennwort ein. Wenn Sie diese Informationen nicht konfigurieren wollen, übergehen Sie diesen Schritt und klicken Sie auf Weiter. Wenn Sie die E-Mail-Adresse nicht eingeben, wird ein Popup-Fenster mit dem Inhalt Email Address Not Specified (E-Mail-Adresse nicht angegeben) angezeigt. Klicken Sie auf Yes (Ja), um fortzufahren.
15 Im Fenster Perform Prerequisites checks (Vorüberprüfungen durchführen) werden etwaige Probleme mit Mindestvoraussetzungen angezeigt. Im Fenster Fixup Scripts (Reparatur-Skripts) wird das Reparatur-Skript bereitgestellt: a Melden Sie sich als Benutzer root an. b Führen Sie das Reparatur-Skript aus. c Klicken Sie auf OK. 16 Klicken Sie im Fenster Summary (Übersicht) auf Finish (Fertig stellen). Die Oracle Database-Softwareinstallation beginnt. ANMERKUNG: Dieser Vorgang kann einige Minuten dauern.
Erstellen der Startdatenbank mit dem ext3-Dateisystem Führen Sie folgende Schritte aus, um mit dem DatenbankKonfigurationsassistenten (DBCA) eine Startdatenbank zu erstellen: 1 Melden Sie sich als Benutzer oracle an. 2 Führen Sie das Dienstprogramm DBCA aus, indem Sie eingeben: $/bin/dbca 3 Klicken Sie im Begrüßungsfenster auf Weiter. 4 Klicken Sie im Fenster Operations (Aktionen) auf Create a Database (Datenbank erstellen) und danach auf Weiter.
10 Wählen Sie im Fenster Recovery Configuration (Wiederherstellungskonfiguration) die folgenden Optionen und klicken Sie auf Weiter: a Wählen Sie den Bereich Specify Flash Recovery (Flash-Wiederherstellung festlegen). b Flash Recovery Area (Wiederherstellungsbereich) – Klicken Sie auf Browse (Durchsuchen) und wählen Sie die Wiederherstellungsgruppe, die Sie in „Konfiguration des Datenbankspeichers mit dem ext3-Dateisystem“ auf Seite 139erstellt haben. Zum Beispiel: /opt/oracle/recovery.
Installation von Oracle 11g R2 Database mit ASM Installation von Oracle 11g R2 Grid Infrastructure Gehen Sie auf einem eigenständigen Server mit Unterstützung für ASMDatenträgergruppen mit eigenständiger Datenbankinstallation wie folgt vor, um Oracle 11g R2 Grid Infrastructure zu installieren: 1 Melden Sie sich als Benutzer root an. 2 Mounten Sie das Oracle 11g R2 Grid-Medium.
10 Wählen Sie im Fenster ASM Password (ASM-Kennwort) die Option Use Same Passwords for these accounts and provide the password requirements (Gleiche Kennwörter für diese Accounts verwenden und Kennwörter bereitstellen) und klicken Sie auf Weiter. 11 Wählen Sie im Fenster Operating System Groups (Betriebssystemgruppen) die folgenden Optionen und klicken Sie auf Weiter: • ASM Database Administrator (ASM-Datenbankadministrator) – asmdba-Gruppe.
15 Klicken Sie im Fenster Summary (Übersicht) auf Finish (Fertig stellen). 16 Am Ende des Installationsvorgangs wird der Assistent Execute Configuration scripts (Konfigurationsskripts ausführen) angezeigt. Befolgen Sie die Anweisungen im Assistenten und klicken Sie dann auf OK. 17 Das Fenster Installation of Oracle Grid Infrastructure for a Standalone Server was Successful (Installation von Oracle Grid Infrastructure für einen eigenständigen Server war erfolgreich) wird angezeigt. Klicken Sie auf Schließen.
7 Geben Sie im Fenster Configure Security Updates (Sicherheits-Updates konfigurieren) die E-Mail-Adresse und das Oracle-Support-Kennwort ein. Wenn Sie diese Informationen nicht konfigurieren wollen, übergehen Sie diesen Schritt und klicken Sie auf Weiter. Wenn Sie die E-Mail-Adresse nicht eingeben, wird ein Popup-Fenster mit dem Inhalt Email Address Not Specified (E-Mail-Adresse nicht angegeben) angezeigt. Klicken Sie auf Yes (Ja), um fortzufahren.
15 Klicken Sie im Fenster Summary (Übersicht) auf Finish (Fertig stellen). Die Oracle Database-Softwareinstallation beginnt. ANMERKUNG: Der Installationsvorgang kann mehrere Minuten dauern. 16 Öffnen Sie nach Aufforderung ein Terminalfenster und führen Sie root.sh als Benutzer root aus. 17 Im Fenster Finish Option (Optionen fertig stellen) wird mitgeteilt, dass die Installation der Oracle-Datenbank erfolgreich war. Klicken Sie auf Schließen. Die Installation wird abgeschlossen.
6 Befolgen Sie Schritt 4 und Schritt 5, um eine weitere Datenträgergruppe mit dem Namen flashbackDG für den Wiederherstellungsbereich mit ORCL:ASM3 zu erstellen. 7 Klicken Sie auf Exit (Beenden), um den ASM Configuration Assistant (ASM-Konfigurationsassistenten) zu beenden.
8 Wählen Sie im Fenster Database File Locations (Datenbank-Dateispeicherorte) die folgenden Optionen und klicken Sie auf Weiter: a Storage Type (Speichertyp) – Automatic Storage Management (ASM). b Storage Location (Speicherort) – Von Oracle verwaltete Dateien verwenden. c Database Area (Datenbankbereich) – Wählen Sie die Gruppe, die für die Datenbankdateien erstellt wurde. Zum Beispiel: databaseDG. 9 Geben Sie im Fenster ASM Credentials (ASM-Zugriffsrechte) das ASMKennwort ein und klicken Sie auf OK.
15 Klicken Sie im Fenster Confirmation (Bestätigung) auf OK, um die Datenbank zu erstellen. ANMERKUNG: Die Erstellung der Startdatenbank kann mehr als eine Stunde dauern. Nachdem die Datenbank erstellt wurde, wird das Fenster Database Configuration Assistant (Datenbankkonfigurationsassistent) angezeigt. 16 Klicken Sie gegebenenfalls auf Password Management (Kennwortverwaltung), um zugelassenen Benutzern spezifische Kennwörter zuzuweisen. Klicken Sie andernfalls auf Exit (Beenden).
Dell™ PowerEdge™ システム Enterprise Linux® x86_64 で使用する Oracle® データベース データベー スセットアップ & イン ストールガイドバー ジョン 1.
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明しています。 注意:手順に従わない場合は、ハードウェアの損傷やデータの損失の可能 性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2010 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書に使用されている商標:Dell、PowerEdge および DELL ロゴは Dell Inc. の商標です。 Red Hat、Red Hat Enterprise Linux および Enterprise Linux は米国その他の国における Red Hat, Inc. の登録商標です。Oracle は Oracle Corporation および / またはその関連会 社の登録商標です。 商標または製品の権利を主張する事業体を表すためにその他の商標および社名が使用され ていることがあります。それらの商標や会社名は、一切 Dell Inc.
目次 1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dell|Oracle 11g R2 Database の導入に 必要なマニュアル . . . . . . . . . . . . . . . . . . . . . . . 159 . . . . . . . . . . . . . . . . . 160 . . . . . . . . . . . . . . . . . . . . . . . . . 160 本書で使用されている用語 困ったときは デルサポート . . . . . . . . . . . . . . . . . . . . . . . Oracle のサポート 2 159 . . . . . . . . . . . . . . . . . . . . Oracle 11g R2 Database RAC の インストール . . . . . . . . . . . . . . 作業を開始する前に . . . . . . . . . . . . . . . . .
3 Oracle 11g R2 Database の インストール(シングルノード). . . . . . . パブリックネットワークの設定 . . . . . . . . . . . . . . 181 データベースストレージの設定 . . . . . . . . . . . . . . 181 ext3 ファイルシステムを使用した データベースストレージの設定 . ASM 用のデータベースストレー ジディスクの設定. . . . . . . . . . . . . . . . . . . 181 . . . . . . . . . . . 183 ORACLEASM ライブラリドライバを 使用してディスクを ASM 用に設定する方法 . . . . 183 . . . . . 184 . . . . . . . 184 . . . . . . . . . . . . . . . . . . . . 186 ext3 ファイルシステムを使用した Oracle 11g R2 スタンドアロンデータベースのインストール .
概要 本書の説明は、Red Hat® Enterprise Linux® または Oracle Enterprise Linux 5.
本書で使用されている用語 • 本書では、「LUN」および「仮想ディスク」という語が使われてい ます。これらの用語は同義語であり、どちらを使用しても構いま せん。「LUN」は Dell/EMC ファイバーチャネルストレージシステム の環境で、「仮想ディスク」は Dell™ PowerVault™ SAS ストレージ (PowerVault MD3000i および PowerVault MD3000i + PowerVault MD1000 拡張)ストレージの環境で、通常使われる用語です。 • 本書で使われている Enterprise Linux という用語は、特に説明のな い限り Red Hat Enterprise Linux と Oracle Enterprise Linux の両方 に適用されます。 困ったときは デルサポート • システムの使い方の詳細については、システムコンポーネントに付 属のマニュアルを参照してください。 • 各種のホワイトペーパー、デルがサポートする設定、一般情報につ いては、dell.
Oracle 11g R2 Database RAC のイ ンストール 本項では Oracle® 11g R2 Real Application Clusters(RAC)のインス トール手順について説明します。これには、クラスタ用の Oracle Grid Infrastructure、および Oracle Database 11g R2 ソフトウェアのインス トールが含まれます。クラスタを実働環境に導入する前に、シードデー タベースを作成してそのクラスタが正しく動作するかどうか確認するこ とをお勧めします。 作業を開始する前に OS、ネットワーク、およびストレージのセットアップ Oracle RAC ソフトウェアをシステムにインストールする前に、以下の手 順を実行してください。 • 159 ページの「Dell|Oracle 11g R2 Database の導入に必要なマ ニュアル」に記されているマニュアルの手順に従って、OS、ネッ トワーク、およびストレージが設定済みであることを確認します。 • Oracle メディアキットを用意します。 すべてのノードのシステムクロックの設定 インストール中
クラスタ用の Oracle 11g R2 Grid Infrastructure のインストール 1 root としてログインします。 2 次のように入力して、X Window システムを起動します。 start x 3 ターミナルウィンドウを開き、次のように入力します。 xhost + 4 Oracle Grid Infrastructure メディアをマウントします。 5 Grid ユーザーとしてログインします。 6 次のコマンドを使用して、Oracle Grid Infrastructure メディア内の cluster verify スクリプトを実行します。 /runcluvfy.sh stage -pre crsinst -n node1,node2 -r 11gR2 -verbose node1 および node2 はパブリックホスト名です。お使いのシステ ムが正しく設定されると、次のメッセージが表示されます。 Pre-check for cluster services setup was successful on all the nodes.
10 Select Product Languages(製品言語の選択)ウィンドウで、 English(英語)を選択し、Next(次へ)をクリックします。 11 Grid Plug and Play information(グリッドのプラグアンドプレ イ情報)ウィンドウに情報を入力する前に、Grid Naming Service (グリッドネーミングサービス [GNS])を使用するかどうかを決める 必要があります。 GNS を使用しない場合は、次の手順を実行します。 メモ:ドメインネームサービス(DNS)上のクラスタに対するク ライアントアクセス用のシングルクライアントアクセス名(SCAN) アドレスを設定します。 『Enterprise Linux x86_64 で使用する Oracle データベース — ストレージ & ネットワークガイド』に説明されて いるように、Oracle では SCAN を DNS サーバーの 3 つの IP アドレ スに登録することを推奨しています。 a b Grid Plug and Play Information(グリッドのプラグアンドプ レイ情報)ウィンドウに以下
a b Grid Plug and Play Information(グリッドのプラグアンド プレイ情報)ウィンドウに以下のデータを入力します。 • Cluster Name(クラスタ名)— お使いのクラスタの名前 を入力します。たとえば、testcluster と入力します。 • SCAN Name(SCAN 名)— ドメイン名を GNS サブド メインとして、一意の名前を入力します。たとえば、 scancluster.clusterdomain.example.com と入力 します。 • SCAN Port(SCAN ポート)— デフォルトのポート番号 1521 を保持します。 • Configure GNS(GNS を設定する)— このオプションの チェックを入れます。 • GNS sub-domain(GNS サブドメイン)— 設定済みの GNS サブドメイン名を入力します。たとえば、 clusterdomain.example.
c 次の指示に従い、Virtual IP Name(仮想 IP 名)を入力します。 GNS を使用せずにクラスタを設定する場合は、/etc/hosts ファ イルのエントリに従って値を入力します。 GNS を使用してクラスタを設定する場合は、この値は AUTO (自動)に設定されます。 d 手順 a から 手順 c を繰り返して、クラスタにすべてのノードを 追加します。 e ウィンドウ下の SSH connectivity(SSH 接続)ボタンをクリッ クします。 f OS Username(OS のユーザー名)フィールドに Oracle Grid Infrastructure Owner(Oracle Grid Infrastructure の所有者)名を入力します。たとえば、grid と入力します。 OS Password(OS のパスワード)フィールドに、同じユー ザーのパスワードを入力します。 g ウィンドウ下の Test(テスト)をクリックして、選択した ノード間の SSH 接続をテストします。接続に問題がある場合は、 Setup(セットアップ)オプションを使用して正しく設定し ま
14 Storage Option Information(ストレージオプションの情報) ウィンドウで Automatic Storage Management (ASM)(自動 ストレージ管理)を選択し、ASM ストレージ上で OCR と Voting Disks(投票ディスク)を設定し、Next(次へ)をクリックします。 15 Create ASM Disk Group(ASM ディスクグループの作成)ウィン ドウで、次の手順を実行します。 a ASM ディスクグループの名前を入力します。たとえば、 OCRVOTDSK と入力します。 b ASM ディスクの可用性に応じて冗長性を選択します。 たとえば、次のとおりです。 c • ASM ディスクが 5 台利用できる場合は、 High redundancy(高冗長性)を選択します。 • ASM ディスクが 3 台利用できる場合は、 Normal redundancy(通常の冗長性)を選択します。 • ASM ディスクが 1 台利用できる場合は、 External redundancy(外部冗長性)を選択します。 手順 b で選択した冗長
a ユーザー名を設定済みの IPMI ユーザー名として入力します。 たとえば、bmcuser と入力します。 b パスワードを設定済みとして入力します。 c Next(次へ)をクリックします。 メモ:IPMI の設定については、『Enterprise Linux x86_64 で使用する Oracle データベース — ストレージ & ネットワークガイド』を参照 してください。 18 Privileged Operating System Groups(特権が必要な OS グ ループ)ウィンドウで以下のオプションを選択し、Next(次へ) をクリックします。 • ASM Database Administrator (ASM データベース Administrator)— asmdba グループ。 • ASM Instance Administration Operator (ASM インスタンス管理オペレータ)— asmoper グループ。 • ASM Instance Administrator (ASM インスタンス Administrator)— asmadmin グループ。 19 Spec
21 Perform Prerequisite Checks(前提条件の確認を行う)ウィンド ウの表内に、最低限必要な前提条件の確認のうち、失敗して修正が 必要なものが表示されます。前提条件が満たされていることを確認 するには、以下の手順を実行します。 a Fix & Check Again(修正して再度確認する)をクリックし ます。 b インストーラは修正スクリプトを生成します。このスクリプ トは、失敗した前提条件の確認を解決するために、すべての ノードで root ユーザーとして実行する必要があります。 root ユーザーとしてログインし、すべてのノードで修正スクリ プトを実行し、OK をクリックします。 Perform Prerequisite Checks(前提条件の確認を行う)ウィ ンドウで、前提条件の確認がすべて完了していることを確認し ます。 c Next(次へ)をクリックします。 22 Summary(サマリ)ウィンドウで、Finish(完了)をクリックし ます。 23 インストール処理の最後に、Execute Configuration scripts (構成スクリプトの実行)ウ
b 次のコマンドを入力して、すべてのグリッドサービスのステータ スを確認します。 /opt/app/11.2.
4 Create ACFS Hosted Database Home Volume(ACFS がホスト されたデータベースホームのボリュームを作成する)オプションが 表示されます。Create(作成)をクリックします。 170 a ボリュームの名前を入力します。たとえば、ORAHOME と入力し ます。 b データベースホームのマウントポイントの名前を入力します。 たとえば、/opt/app/oracle/acfsorahome と入力します。 c Database Home size(データベースホームのサイズ)を入力 します。最大サイズは 20 GB です。 d Database Home Owner(データベースホームの所有者) の名前を入力します。たとえば、oracle と入力します。 e Database Home Owner group(データベースホームの所 有者グループ)の名前を入力します。たとえば、oinstall と入力します。 f OK をクリックします。 g root ユーザーとしてログインし、RUN ACFS Script (ACFS スクリプトの実行)
Oracle 11g R2 RAC Database ソフトウェアのイ ンストール 1 root ユーザーとしてログインし、次のように入力します。 xhost + 2 Oracle Database 11G R2 メディアをマウントします。 3 root ユーザーとしてログアウトし、次のように入力して Oracle ユーザーとしてログインします。 su - oracle 4 次のクラスタ検証コマンドを入力して、前提条件を確認します。 /bin/cluvfy stage -pre dbinst -fixup -n Node1, Node2 -r 11gR2 -osdba dba -verbose node1 と node2 はパブリック IP アドレスのホスト名です。 n はノードのリストを、r はデータベースのリリースを表します。 cluvfy は、Grid Infrastructure Home で入手可能なクラスタ検証 ユーティリティです。 お使いのシステムが正しく設定されておらず、クラスタ検証ユー ティリティが失敗する場合は、 『Enterprise Linux x86_64 で使
6 Configure Security Updates ウィンドウに電子メールアドレ スと oracle サポートのパスワードを入力します。この手順はオプ ションです。この手順を省略する場合は、ボックスのチェックを 外し、Next(次へ)をクリックします。 電子メールアドレスを入力しないと、Email Address Not Specified(電子メールアドレスが指定されていません)アラー トウィンドウが表示されます。Yes(はい)をクリックして続行 します。 7 Select Installation Option(インストールオプションの選択) ウィンドウで Install Database Software only(データベースソ フトウェアのみインストール)を選択し、Next(次へ)をクリック します。 8 Node Selection(ノードの選択)ウィンドウで、Real Application Cluster Database Installation(Real Application Cluster データベースのインストール)を選択し、すべてのノード名 を選択します。以下の手順を実行しま
11 Specify Installation Location(インストール場所の指定)ウィ ンドウで以下のいずれかのオプションを選択し、それに従ってパス 情報を指定します。 • 非共有の oracle ホームを設定する予定の場合は、次の情報を入 力して Next(次へ)をクリックします。 • Oracle Base — /opt/app/oracle • • Software Location(ソフトウェアの場所)— /opt/app/oracle/product/11.2.0/dbhome_1 ACFS を使用して共有のホームを設定する予定の場合は、次の情 報を入力して Next(次へ)をクリックします。 • Oracle Base — /opt/app/oracle • Software Location(ソフトウェアの場所)— /opt/app/oracle/acfsorahome/product/11.2.
14 Summary Option(サマリオプション)ウィンドウに、Oracle ホームのディスクスペース、ソフトウェアのインストール場所、 データベースのエディション、および OSDBA グループが表示さ れます。Finish(完了)をクリックします。 15 Install Product(製品のインストール)ウィンドウにデータベー スのインストールの進行状況が表示されます。 インストール処理の最後に、Execute Configuration Scripts (構成スクリプトの実行)ウィンドウが表示されます。root ユー ザーとしてログインし、すべてのノードで順に root.
3 次のコマンドを実行してサーバープールを追加します。 [grid@node1 bin]$./srvctl add srvpool -g fournodes -l 2 -u 4 -i 2 -n node1, node2, node3, node4 -g はサーバープール名、-l は最少ノード数、-u は最多ノード 数、- i はサーバープールに与える重要度、-n はサーバープールを 構成するノードの名前です。この例では、サーバープール名は fournodes、最多ノード数は four(4)、最少ノード数は two(2)、 サーバープールの相対的優先度は two(2)、プール内のノードの 名前は node 1、node 2、node 3、node 4 です。 4 次のコマンドを実行してサーバープールの構成を確認します。 [grid@node1 bin]$.
8 OK をクリックしてディスクを作成し、マウントします。 9 手順 4 から 手順 8 を繰り返して、FRA 用に flashbackDG という 別のディスクグループを作成します。 10 Exit(終了)をクリックして ASM Configuration Assistant を終 了します。 シードデータベースの作成 Oracle ASM を使用してシードデータベースを作成するには、以下の手 順を実行します。 1 Oracle ユーザーとしてログインし、次のように入力します。 /bin/cluvfy stage -pre dbcfg -fixup -n Node1 , Node2 -d $ORACLE_HOME -verbose node1 および node2 はパブリックホスト名で、$ORACLE_HOME は Oracle データベースのホームです。 お使いのシステムが正しく設定されておらず、クラスタ検証ユー ティリティが失敗する場合は、 『Enterprise Linux x86_64 で使用する Oracle データベース — トラブルシューティングガイド』で詳細をご 覧く
4 Operations(操作)ウィンドウで Create a Database(データ ベースの作成)を選択してから、Next(次へ)をクリックします。 5 Database Templates(データベーステンプレート)ウィンドウで Custom Database(カスタムデータベース)を選択してから、 Next(次へ)をクリックします。 6 Database Identification(データベース識別情報)ウィンドウで、 Configuration Type(設定のタイプ)を次の 2 つのオプションか ら選択します。 Admin-Managed(管理者による管理) a b c Global Database Name(グローバルデータベース名) と SID Prefix(SID 接頭辞)に racdb と入力します。 Node Selection(ノードの選択)ウィンドウで All nodes (すべてのノード)を選択します。 Next(次へ)をクリックします。 Policy-Managed(ポリシー管理) a Global Database Name(グローバルデータベース名) に racd
9 Database File Location(データベースファイルの位置)ウィン ドウで、以下のオプションを選択します。 • Storage Type(ストレージのタイプ)— Automatic Storage Management (ASM)(自動ストレージ管理)。 • Storage Location(ストレージの位置)— Use OracleManaged Files(Oracle Managed Files の使用)。 • Database Area(データベース領域)— データベースファイル の格納のために作成したディスクグループ(databaseDG)を参 照して選択します。 10 Recovery Configuration(リカバリ設定)ウィンドウで、次の手 順を実行します。 a Specify Flash Recovery Area(フラッシュリカバリ領 域の指定)をクリックします。 b フラッシュリカバリのために作成した ASM ディスクグループ (flashbackDG)を参照して選択します。 c flash recovery size(フラッシュリカバリのサイ
13 Database Storage(データベースストレージ)ウィンドウで Next(次へ)をクリックします。 14 Creation Option(作成オプション)ウィンドウで、Finish (完了)をクリックします。 15 Summary(サマリ)ウィンドウで OK をクリックして、データ ベースを作成します。 メモ:この処理には 1 時間またはそれ以上かかることがあります。 16 データベースが作成されると、Database Configuration Assistant ウィンドウが表示されます。 17 必要に応じて Password Management(パスワード管理)をク リックして、権限を持つユーザーに特定のパスワードを割り当て ます。その必要がない場合は Exit(終了)をクリックします。 クラスタデータベースがすべてのノードで起動中であることを示す メッセージが表示されます。 Oracle 11g R2 Database RAC のインストール 179
Oracle 11g R2 Database RAC のインストール
Oracle 11g R2 Database のインス トール(シングルノード) 本項では、『Enterprise Linux x86_64 で使用する Oracle® データ ベース — OS のインストールとハードウェアの取り付けガイド』に説 明されている初期セットアップまたは再インストール手順に関する情 報を提供します。 パブリックネットワークの設定 パブリックネットワークが機能していること、IP アドレスとホスト名が システムに割り当てられていることを確認します。例:Configuring /etc/hosts お使いのシステムに有効なホスト名が設定されていることを確認し ます。 データベースストレージの設定 データストレージディスクの設定は、次のいずれかの方法で行うこと ができます。 • ext3 ファイルシステムを使用する方法 • Oracle Automatic Storage Management(ASM)を使用する方法 ext3 ファイルシステムを使用したデータベースストレージの設定 ストレージデバイスを追加した場合は、以下の手順を実行します。 1 root としてログインします
3 次のコマンドを実行します。 mkdir oradata recovery fdisk ユーティリティを使用して、データベースファイルを格納す る場所にパーティションを作成します。例:sdb1(お使いのスト レージデバイスが sdb の場合) fdisk ユーティリティを使用して、リカバリファイルを格納する場 所にパーティションを作成します。例:sdc1(お使いのストレージ デバイスが sdc の場合) 4 次のコマンドを実行して、新しいパーティションを確認します。 cat /proc/partitions 新しいパーティションが見つからない場合は、次のように入力し ます。 sfdisk -R /dev/sdb sfdisk -R /dev/sdc 5 次のコマンドを実行します。 mke2fs -j /dev/sdb1 mke2fs -j /dev/sdc1 6 次のような項目を追加することで、新しく作成したファイルシステ ム用の /etc/fstab ファイルを編集します。 /dev/sdb1 /opt/oracle/oradata ext3 defaults 1 2 /dev/sdc1 /opt/ora
ASM 用のデータベースストレージディスクの設定 ORACLEASM ライブラリドライバを使用して ASM 用のデータベース ストレージディスクを設定する手順を以下に説明します。 次の例では、ASM SP ファイルのディスクグループ作成用、データベース ファイル用、フラッシュリカバリ領域(FRA)用に各 1 台、計 3 台のスト レージデバイス(sdb、sdc、sdd)があることを前提とします。 1 root としてログインします。 2 fdisk または parted を使用して、3 台のストレージデバイス (sdb、sdc、sdd)にディスク全体を占める 1 つのパーティ ションを作成します。 ORACLEASM ライブラリドライバを使用してディスクを ASM 用に 設定する方法 1 ターミナルウィンドウを開き、root としてログインします。 2 以下の手順を実行します。 a 次のテキストを入力し、 キーを押します。 service oracleasm configure b 以下を入力します。 Default user to own the driver interface(ドラ
4 ASM ディスクを追加で作成する必要がある場合は、それぞれに手 順 3 を繰り返します。 5 ASM ディスクが作成され、ASM 使用のマークが付いていることを 確認します。 ターミナルウィンドウで次のコマンドを実行します。 service oracleasm listdisks 手順 3 で作成したディスクがターミナルウィンドウに表示されます。 例:ASM1, ASM2, ASM3 ext3 ファイルシステムを使用した Oracle 11g R2 スタンドアロンデータベースのイン ストール Oracle Database 11g R2 のインストール メモ:本項では、Oracle Base が /opt/oracle であることを前提としてい ます。そうでない場合は、ソフトウェアベースと場所の値を正しく変更し てください。 Oracle 11g R2 をインストールするには、次の手順を実行します。 1 root としてログインします。 2 ユーザー root として、Oracle Database 11g R2 メディアをマウン トします。 3 次のように入力して、X Window システムを起動しま
7 Configure Security Updates(セキュリティ更新の設定)ウィン ドウに電子メールアドレスと oracle サポートのパスワードを入力し ます。この情報を設定しない場合は、この手順を省略して Next (次へ)をクリックします。 電子メールアドレスを入力しないと、Email Address Not Specified(電子メールアドレスが指定されていません)という ポップアップウィンドウが表示されます。Yes(はい)をクリック して続行します。 8 Select Installation Method(インストール方法の選択)ウィンド ウで Install Database Software only(データベースソフトウェ アのみインストール)を選択し、Next(次へ)をクリックします。 9 Grid Option(グリッドのオプション)ウィンドウで、データ ベースインストールのタイプとして Single Instance Database Installation(単一インスタンスのデータベースインストール) を選択し、Next(次へ)をクリックします。 10 Product La
14 Privileged Operating System Groups(特権が必要な OS グルー プ)ウィンドウで、2 つのグループにデフォルトの dba を使用し、 Next(次へ)をクリックします。 15 Perform Prerequisites checks(前提条件の確認を行う)ウィン ドウに、最低限必要な前提条件の確認のうち、失敗したものが表示 されます。Fixup Scripts(Fixup スクリプト)ウィンドウに fix-up スクリプトが表示されます。 a root ユーザーとしてログインします。 b fix-up スクリプトを実行します。 c OK をクリックします。 16 Summary(サマリ)ウィンドウで、Finish(完了)をクリックし ます。 Oracle データベースバイナリのインストールが開始します。 メモ:この処理には数分間かかることがあります。 17 確認のメッセージが表示されたら、ターミナルウィンドウを開き、 root ユーザーとして root.
ext3 ファイルシステムを使用したシードデータベースの作成 DBCA(Database Configuration Assistant)で以下の手順を実行して、 シードデータベースを作成します。 1 oracle としてログインします。 2 次のように入力して、DBCA ユーティリティを実行します。 $/bin/dbca 3 Welcome(ようこそ)ウィンドウで Next(次へ)をクリックし ます。 4 Operations(操作)ウィンドウで Create a Database(データ ベースの作成)をクリックしてから、Next(次へ)をクリックし ます。 5 Database Templates(データベーステンプレート)ウィンドウで Custom Database(カスタムデータベース)をクリックしてから、 Next(次へ)をクリックします。 6 Database Identification(データベース識別情報)ウィンドウで、 Global Database Name(グローバルデータベース名)と SID Prefix(SID 接頭辞)フィールドに、作成するデータベース
10 Recovery Configuration(リカバリ構成)ウィンドウで以下のオ プションを選択し、Next(次へ)をクリックします。 a Specify Flash Recovery Area(フラッシュリカバリ領域の 指定)を選択します。 b Flash Recovery Area(フラッシュリカバリ領域)— Browse(参照)をクリックし、181 ページの「ext3 ファイ ルシステムを使用したデータベースストレージの設定」で作 成したフラッシュバックグループを選択します。たとえば、 /opt/oracle/recovery です。 c Flash Recovery Area Size(フラッシュリカバリ領域のサ イズ)— 値を必要なサイズに変更します。 d Enable Archiving(アーカイブの有効化)を選択します。 11 Database Content(データベースコンテンツ)ウィンドウで Next(次へ)をクリックします。 12 Initialization Parameters(初期化パラメータ)ウィンドウで Next(次へ)をクリックします。 13 Datab
ASM を使用した Oracle 11g R2 Database のイ ンストール Oracle 11g R2 Grid Infrastructure のインストール スタンドアロンデータベースをインストールした ASM ディスクグ ループをサポートするスタンドアロンサーバーで、以下の手順を実 行して Oracle 11g R2 Grid Infrastructure をインストールします。 1 root ユーザーとしてログインします。 2 Oracle 11g R2 Grid メディアをマウントします。 3 次のように入力して、X Window システムを起動します。 Startx 4 ターミナルウィンドウを開き、次のように入力します。 xhost + 5 Grid ユーザーとしてログインします。 6 Oracle Universal Installer を起動します。 ターミナルウィンドウで次のテキストを入力し、 を押し ます。 /runInstaller 7 Installation Option(インストールオプション)ウィンドウで Install and c
10 ASM Password(ASM パスワード)ウィンドウで、Use Same Passwords for these accounts and provide the password requirements(これらのアカウントに同じパスワードを使用し、 パスワードの要件を提供する)を選択し、Next(次へ)をクリッ クします。 11 Operating System Groups(OS グループ)ウィンドウで以下の 選択を行い、Next(次へ)をクリックします。 • ASM Database Administrator (ASM データベース Administrator)— asmdba グループ。 • ASM Instance Administration Operator (ASM インスタンス管理オペレータ)— asmoper グループ。 • ASM Instance Administrator (ASM インスタンス Administrator)— asmadmin グループ。 12 Installation Location(インストール場所)ウィンドウに以下の位 置情報を入力し、Next
c Perform Prerequisite Checks(前提条件の確認を行う)ウィ ンドウで、前提条件の確認がすべて合格していることを確認し ます。Next(次へ)をクリックします。 15 Summary(サマリ)ウィンドウで、Finish(完了)をクリックし ます。 16 インストール処理の最後に、Execute Configuration scripts (構成スクリプトの実行)ウィザードが表示されます。ウィザードの 手順に従い、OK をクリックします。 17 Installation of Oracle Grid Infrastructure for a Standalone Server was Successful(スタンドアロンサーバー用の Oracle Grid Infrastructure のインストールが成功しました)ウィンドウが表示さ れます。 Close(閉じる)をクリックします。 これで、スタンドアロンサーバー用の Oracle Grid Infrastructure がシ ステムにインストールされました。 Oracle Database 11g R2 のインストール メモ:
6 Oracle Universal Installer を起動します。 ターミナルウィンドウで次のテキストを入力し、 を押し ます。 /runInstaller 7 Configure Security Updates(セキュリティ更新の設定)ウィ ンドウに電子メールアドレスと oracle サポートのパスワードを入力 します。この情報を設定しない場合は、この手順を省略して Next (次へ)をクリックします。 電子メールアドレスを入力しないと、Email Address Not Specified(電子メールアドレスが指定されていません)という ポップアップウィンドウが表示されます。Yes(はい)をクリッ クして続行します。 8 Select Installation Method(インストール方法の選択)ウィンド ウで Install Database Software only(データベースソフトウェ アのみインストール)を選択し、Next(次へ)をクリックします。 9 Grid Option(グリッドのオプション)ウィンドウで、データ ベースインストールのタ
13 Privileged Operating System Groups(特権が必要な OS グ ループ)ウィンドウで、2 つのグループ両方にデフォルトの dba を使用し、Next(次へ)をクリックします。 14 Perform Prerequisites checks(前提条件の確認を行う)ウィン ドウに、最低限必要な前提条件の確認のうち、失敗したものが表示 されます。Fixup Scripts(Fixup スクリプト)ウィンドウに fix-up スクリプトが表示されます。 a root ユーザーとしてログインします。 b fix-up スクリプトを実行します。 c OK をクリックします。 15 Summary(サマリ)ウィンドウで、Finish(完了)をクリックし ます。 Oracle データベースバイナリのインストールが開始します。 メモ:インストール処理には数分かかることがあります。 16 確認のメッセージが表示されたら、ターミナルウィンドウを開き、 root ユーザーとして root.
5 以下の情報を入力し、OK をクリックしてディスクを作成し、 マウントします。 • Disk Group Name(ディスクグループ名)— databaseDG • Redundancy(冗長性)— External(外部) • Member disks(メンバーディスク)— ORCL:ASM2。ここで ASM2 はデータベースファイルに割り当てられたディスクデバイ スです。 6 ORCL:ASM3 を使用して、手順 4 と 手順 5 に従って、FRA 用に flashbackDG という名前の別のディスクグループを作成します。 7 Exit(終了)をクリックして ASM Configuration Assistant を終了します。 Oracle ASM を使用したシードデータベースの作成 Oracle ASM を使用してストレージを設定した場合は、DBCA を使用し、 次の手順を実行してシードデータベースを作成します。 1 Oracle ユーザーとしてログインし、次のように入力して DBCA ユーティリティを実行します。 $/bin/dbca 2 Welcome(
7 Database Credentials(データベース資格証明)ウィンドウで、 Use the Same Password for All Accounts(すべてのアカウン トに対して同じパスワードを使用)をクリックして、パスワードの 入力を完了してから、Next(次へ)をクリックします。 8 Database File Locations(データベースファイルの位置)ウィ ンドウで以下のオプションを選択し、Next(次へ)をクリックし ます。 a Storage Type(ストレージのタイプ)— Automatic Storage Management (ASM)(自動ストレージ管理)。 b Storage Location(ストレージの位置)— Use OracleManaged Files(Oracle Managed Files の使用)。 c Database Area(データベース領域)— データベースファイ ル用に作成したグループに移動し、選択します。たとえば、 databaseDG です。 9 ASM Credentials(ASM の資格証明)ウィンドウで、ASM パス ワ
13 Database Storage(データベースストレージ)ウィンドウで Next(次へ)をクリックします。 14 Creation Options(作成オプション)ウィンドウで Create Database(データベースの作成)を選択してから、Finish(完了) をクリックします。 15 Confirmation(確認)ウィンドウで OK をクリックするとデータ ベースが作成されます。 メモ:シードデータベースの作成には 1 時間以上かかる場合があり ます。 データベースが作成されると、Database Configuration Assistant ウィンドウが表示されます。 16 必要に応じて Password Management(パスワード管理) をクリックして、権限を持つユーザーに特定のパスワードを割り 当てます。その必要がない場合は Exit(終了)をクリックします。 196 Oracle 11g R2 Database のインストール(シングルノード)
Sistemas Dell™ PowerEdge™ Base de datos Oracle® en Enterprise Linux® x86_64 Guía de configuración e instalación de la base de datos Versión 1.
Notas y precauciones NOTA: Una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. PRECAUCIÓN: Un mensaje de PRECAUCIÓN indica la posibilidad de daños en el hardware o la pérdida de datos si no se siguen las instrucciones. ____________________ La información contenida en este documento puede modificarse sin previo aviso. © 2010 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general . 201 Documentación necesaria para implantar la base de datos Dell|Oracle 11g R2 . . . . . . . . . . . . . . 201 Terminología utilizada en este documento . . . . . . . . . . 202 . . . . . . . . . . . . . . . . . . . . . . 202 Obtención de ayuda. Asistencia de Dell . . . . . . . . . . . . . . . . . . . . . Asistencia de Oracle 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Instalación de la base de datos Oracle 11g R2 RAC . . . .
Creación de bloques de servidores para la configuración de bases de datos gestionada por políticas . . . . . . . . . 3 . 217 Creación de un grupo de discos ASM . . . . . . . . . . . . . 218 Creación de la base de datos semilla . . . . . . . . . . . . . 219 Instalación de la base de datos Oracle 11g R2 (un solo nodo) . . Configuración de la red pública . . . . . . . . . . . . . . . . . . . . . . . . .
Información general Este documento se aplica a la base de datos Oracle® 11g R2 en Red Hat® Enterprise Linux® u Oracle Enterprise Linux 5.3 AS x86_64.
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™, incluidos PowerVault MD3000i y PowerVault MD3000i con alojamiento de expansión PowerVault MD1000.
Instalación de la base de datos Oracle 11g R2 RAC En esta sección se describen los pasos necesarios para instalar Oracle® 11g R2 Real Application Clusters (RAC), lo que implica la instalación de Oracle Grid Infrastructure para un clúster y del software de base de datos Oracle 11g R2. Se recomienda crear una base de datos semilla para verificar que el clúster funciona correctamente antes de implantarlo en un entorno de producción.
Instalación de Oracle 11g R2 Grid Infrastructure para un clúster 1 Inicie la sesión como root. 2 Inicie el sistema X Window escribiendo: start x 3 Abra una ventana de terminal y escriba: xhost + 4 Monte el soporte multimedia Oracle Grid Infrastructure. 5 Inicie la sesión como usuario grid. 6 Ejecute la secuencia de comandos de verificación del clúster del soporte multimedia Oracle Grid Infrastructure mediante el comando siguiente: /runcluvfy.
9 En la ventana Select Installation Type (Seleccionar tipo de instalación), seleccione la opción Advanced Installation (Instalación avanzada) y haga clic en Next (Siguiente). 10 En la ventana Select Product Languages (Seleccionar idiomas del producto), seleccione English (Inglés) y haga clic en Next (Siguiente). 11 Antes de introducir la información en la ventana Grid Plug and Play information (Información de Plug and Play de Grid), debe decidir si va a utilizar el servicio de nombres de Grid (GNS) o no.
Si va a utilizar GNS: NOTA: Configure la dirección virtual de GNS y la delegación de subdominio de GNS como se describe en el documento Base de datos Oracle en Enterprise Linux x86_64 – Guía de almacenamiento y redes. Configure un servidor de protocolo de control dinámico de host (DHCP) en el rango público para obtener temporalmente una dirección IP, como se indica en la sección sobre requisitos de IP del documento Base de datos Oracle en Enterprise Linux x86_64 – Guía de almacenamiento y redes.
12 En la ventana Cluster Node Information (Información sobre los nodos del clúster), añada los nodos que desea administrar mediante Oracle Grid Infrastructure: a Haga clic en Add (Agregar). b Añada información sobre el nombre de host público de acuerdo con la entrada del archivo /etc/hosts. c Introduzca el nombre de IP virtual según las instrucciones siguientes: Si va a configurar el clúster sin GNS, introduzca el valor de acuerdo con la entrada del archivo /etc/hosts.
14 En la ventana Storage Option Information (Información sobre las opciones de almacenamiento), seleccione Automatic Storage Management (ASM) para configurar los discos OCR y de votación en el almacenamiento ASM y haga clic en Next (Siguiente). 15 En la ventana Create ASM Disk Group (Crear grupo de discos ASM): a Escriba un nombre para el grupo de discos ASM. Por ejemplo, OCRVOTDSK. b Seleccione la redundancia según la disponibilidad de discos ASM.
17 En la ventana Failure Isolation Support (Compatibilidad con aislamiento de fallos), seleccione Use Intelligent Platform Management Interface (IPMI) (Utilizar Intelligent Platform Management Interface [IPMI]). a Introduzca el nombre de usuario como el nombre de usuario de IPMI configurado. Por ejemplo, bmcuser. b Introduzca la contraseña configurada. c Haga clic en Next (Siguiente).
21 En la ventana Perform Prerequisite Checks (Ejecutar comprobaciones de requisitos previos) se muestra una tabla con todas las comprobaciones de requisitos previos mínimos necesarios que han fallado y que deben corregirse. Para asegurarse de que se cumplen los requisitos previos: a Haga clic en Fix & Check Again (Corregir y comprobar de nuevo).
25 Realice lo siguiente en todos los nodos: a Compruebe la instalación de Oracle Grid Infrastructure mediante el comando siguiente: olsnodes -n -v Este comando enumera los nombres de host de todos los nodos del clúster. b Compruebe el estado de todos los servicios de Grid mediante el comando siguiente: /opt/app/11.2.0/grid/bin/crsctl stat res -t Asegúrese de que se muestran todos los servicios de Oracle Grid que se están ejecutando. Asegúrese de que todos los servicios estén activados.
Configuración de la ubicación principal de Oracle compartida para los binarios de la base de datos mediante ACFS 1 Inicie la sesión como usuario root y escriba: xhost + 2 Inicie la sesión como usuario grid y ejecute la utilidad asmca: $/bin/asmca 3 En la ventana ASMCA, seleccione la ficha Disk Groups (Grupos de discos), haga clic en Create (Crear) y realice los pasos siguientes: a Escriba un nombre para el grupo de discos. Por ejemplo, ORAHOME.
d Introduzca el nombre del propietario de la ubicación principal de la base de datos. Por ejemplo, oracle. e Introduzca el nombre del grupo del propietario de la ubicación principal de la base de datos. Por ejemplo, oinstall. f Haga clic en OK (Aceptar). g Inicie la sesión como usuario root y ejecute la secuencia de comandos acfs_script.sh indicada en la ventana RUN ACFS Script (Ejecutar secuencia de comandos ACFS).
Si su sistema no está configurado correctamente y la utilidad de verificación del clúster falla, consulte el documento Base de datos Oracle en Enterprise Linux x86_64 – Guía de solución de problemas para obtener información sobre solución de problemas.
c Haga clic en Test (Probar) para probar la conectividad de SSH entre los nodos seleccionados. Si se notifica algún error, seleccione Setup (Configuración) y especifique las opciones de configuración correctas. d Haga clic en Next (Siguiente). 9 En la ventana Select Product Languages (Seleccionar idiomas del producto), seleccione English (Inglés) como Language Option (Opción de idioma) y haga clic en Next (Siguiente).
13 En la ventana Perform Prerequisite Checks (Ejecutar comprobaciones de requisitos previos) se muestra una tabla con todas las comprobaciones de requisitos previos mínimos necesarios que han fallado y que deben corregirse: a Haga clic en Fix & Check Again (Corregir y comprobar de nuevo). b El programa de instalación genera una secuencia de comandos de corrección que debe ejecutarse como usuario root en todos los nodos para resolver algunas de las comprobaciones de requisitos previos que han fallado.
Creación de bloques de servidores para la configuración de bases de datos gestionada por políticas NOTA: El procedimiento descrito en esta sección debe realizarse antes de crear la base de datos. Es posible organizar los nodos de un clúster en forma de bloque de servidores para facilitar la gestión de los recursos. Cada bloque de servidores tiene las propiedades siguientes: • El número mínimo de nodos que deben estar disponibles en el bloque de servidores.
Creación de un grupo de discos ASM En esta sección se describen los procedimientos necesarios para crear el grupo de discos ASM para los archivos de base de datos y el área de recuperación flash (FRA). Para crear los grupos de discos ASM: 1 Inicie la sesión como usuario grid. 2 Inicie la utilidad asmca: $/bin/asmca 3 En la ventana ASM Configuration Assistant (Asistente para la configuración de ASM), seleccione la ficha Disk Groups (Grupos de discos). 4 Haga clic en Create (Crear).
Creación de la base de datos semilla Para crear la base de datos semilla mediante ASM de Oracle: 1 Inicie la sesión como usuario oracle e introduzca: /bin/cluvfy stage -pre dbcfg -fixup -n Node1, Node2 -d $ORACLE_HOME -verbose Donde node1 y node2 son los nombres de host públicos y $ORACLE_HOME es la ubicación principal de la base de datos Oracle.
6 En la ventana Database Identification (Identificación de la base de datos), puede establecer Configuration Type (Tipo de configuración) en una de las dos opciones siguientes: Admin-Managed (Gestionada por el administrador): a En los campos Global Database Name (Nombre de base de datos global) y SID Prefix (Prefijo SID), introduzca racdb. b En la ventana Node Selection (Selección de nodos), seleccione All nodes (Todos los nodos). c Haga clic en Next (Siguiente).
10 En la ventana Recovery Configuration (Configuración de la recuperación): a Haga clic en Specify Flash Recovery Area (Especificar área de recuperación flash). b Vaya al grupo de discos ASM que ha creado para la recuperación flash (flashbackDG) y selecciónelo. c Especifique el tamaño de recuperación flash. d Haga clic en Enable Archiving (Habilitar archivado). e Haga clic en Next (Siguiente). 11 En la ventana Database Content (Contenido de la base de datos), haga clic en Next (Siguiente).
Instalación de la base de datos Oracle 11g R2 RAC
Instalación de la base de datos Oracle 11g R2 (un solo nodo) En esta sección se proporciona información sobre cómo completar la configuración inicial o los procedimientos de reinstalación descritos en el documento Base de datos Oracle® en Enterprise Linux x86_64 – Guía de instalación del sistema operativo y el hardware. Configuración de la red pública Asegúrese de que la red pública funciona correctamente y de que se ha asignado una dirección IP y un nombre de host al sistema.
3 Ejecute el comando siguiente: mkdir oradata recovery Emplee la utilidad fdisk para crear una partición en la que almacenar los archivos de la base de datos. Por ejemplo, sdb1 si el dispositivo de almacenamiento es sdb. Emplee la utilidad fdisk para crear una partición en la que almacenar los archivos de recuperación. Por ejemplo, sdc1 si el dispositivo de almacenamiento es sdc.
Configuración de los discos de almacenamiento de la base de datos para ASM En el procedimiento siguiente se describe cómo configurar los discos de almacenamiento de la base de datos para ASM mediante el controlador de biblioteca ORACLEASM: En el ejemplo siguiente se presupone que tiene tres dispositivos de almacenamiento (sdb, sdc y sdd) disponibles: uno para crear un grupo de discos para el archivo SP de ASM, otro para los archivos de base de datos y otro para el área de recuperación flash (FRA), respectiv
5 Compruebe que los discos ASM se hayan creado y se hayan marcado para el uso de ASM. En la ventana de terminal, ejecute el comando siguiente: service oracleasm listdisks Los discos que ha creado en el paso 3 se enumeran en la ventana de terminal. Por ejemplo: ASM1, ASM2, ASM3 Instalación de la base de datos Oracle 11g R2 independiente mediante el sistema de archivos ext3 Instalación de la base de datos Oracle 11g R2 NOTA: En esta sección se presupone que la base Oracle es /opt/oracle.
7 En la ventana Configure Security Updates (Configurar actualizaciones de seguridad), introduzca la dirección de correo electrónico y la contraseña de la asistencia de Oracle. Si no desea configurar esta información, omita este paso y haga clic en Next (Siguiente). Si no introduce la dirección de correo electrónico, se abrirá una ventana emergente con el mensaje Email Address Not Specified (Dirección de correo electrónico no especificada). Haga clic en Yes (Sí) para continuar.
14 En la ventana Privileged Operating System Groups (Grupos del sistema operativo con privilegios), utilice el valor predeterminado dba para ambos grupos y haga clic en Next (Siguiente). 15 En la ventana Perform Prerequisites checks (Ejecutar comprobaciones de requisitos previos) se muestran las comprobaciones de requisitos previos mínimos necesarios que han fallado.
Creación de la base de datos semilla mediante el sistema de archivos ext3 Realice los pasos siguientes para crear una base de datos semilla con el asistente para la configuración de bases de datos (DBCA): 1 Inicie la sesión como oracle. 2 Ejecute la utilidad DBCA; para ello, escriba: $/bin/dbca 3 En la ventana de bienvenida, haga clic en Next (Siguiente). 4 En la ventana Operations (Operaciones), haga clic en Create a Database (Crear base de datos) y, a continuación, en Next (Siguiente).
10 En la ventana Recovery Configuration (Configuración de la recuperación), seleccione las opciones siguientes y haga clic en Next (Siguiente): a Seleccione Specify Flash Recovery Area (Especificar área de recuperación flash). b Flash Recovery Area (Área de recuperación flash): haga clic en Browse (Examinar) y seleccione el grupo flashback que ha creado en “Configuración del almacenamiento de base de datos mediante el sistema de archivos ext3” en la página 223. Por ejemplo, /opt/oracle/recovery.
Instalación de la base de datos Oracle 11g R2 mediante ASM Instalación de Oracle 11g R2 Grid Infrastructure En un servidor independiente que admita grupos de discos ASM con instalación de base de datos independiente, realice los pasos siguientes para instalar Oracle 11g R2 Grid Infrastructure: 1 Inicie la sesión como usuario root. 2 Monte el soporte multimedia de Oracle 11g R2 Grid.
10 En la ventana ASM Password (Contraseña de ASM), seleccione Use Same Passwords for these accounts (Utilizar las mismas contraseñas para estas cuentas), especifique la información de contraseña que se le solicite y haga clic en Next (Siguiente). 11 En la ventana Operating System Groups (Grupos del sistema operativo), realice las selecciones siguientes y haga clic en Next (Siguiente): • ASM Database Administrator (Administrador de la base de datos de ASM): grupo asmdba.
c En la ventana Perform Prerequisite Checks (Ejecutar comprobaciones de requisitos previos), asegúrese de que se hayan superado todas las comprobaciones de requisitos previos. Haga clic en Next (Siguiente). 15 En la ventana Summary (Resumen), haga clic en Finish (Finalizar). 16 Al final del proceso de instalación, se muestra el asistente Execute Configuration scripts (Ejecutar secuencias de comandos de configuración). Siga las instrucciones del asistente y haga clic en OK (Aceptar).
6 Inicie Oracle Universal Installer. En la ventana de terminal, escriba lo siguiente y pulse : /runInstaller 7 En la ventana Configure Security Updates (Configurar actualizaciones de seguridad), introduzca la dirección de correo electrónico y la contraseña de asistencia de Oracle. Si no desea configurar esta información, omita este paso y haga clic en Next (Siguiente).
14 En la ventana Perform Prerequisites checks (Ejecutar comprobaciones de requisitos previos) se muestran las comprobaciones de requisitos previos mínimos necesarios que han fallado. En la ventana Fixup Scripts (Secuencias de comandos de corrección) se proporciona la secuencia de comandos de corrección: a Inicie la sesión como usuario root. b Ejecute la secuencia de comandos de corrección. c Haga clic en OK (Aceptar). 15 En la ventana Summary (Resumen), haga clic en Finish (Finalizar).
5 Introduzca la información siguiente y haga clic en OK (Aceptar) para crear y montar los discos: • Disk Group Name (Nombre del grupo de discos): databaseDG. • Redundancy Level (Nivel de redundancia): External (Externa). • Member disks (Discos miembro): ORCL:ASM2, donde ASM2 es el dispositivo de disco asignado para los archivos de base datos. 6 Realice el paso 4 y el paso 5 para crear otro grupo de discos denominado flashbackDG para FRA mediante ORCL:ASM3.
7 En la ventana Database Credentials (Credenciales de la base de datos), haga clic en Use the Same Password for All Accounts (Utilizar la misma contraseña para todas las cuentas), complete las entradas de contraseña y, a continuación, haga clic en Next (Siguiente). 8 En la ventana Database File Locations (Ubicaciones de archivos de base de datos), seleccione las opciones siguientes y haga clic en Next (Siguiente): a Storage Type (Tipo de almacenamiento): Automatic Storage Management (ASM).
12 En la ventana Initialization Parameters (Parámetros de inicialización), seleccione Typical (Típica) y haga clic en Next (Siguiente). 13 En la ventana Database Storage (Almacenamiento de base de datos), haga clic en Next (Siguiente). 14 En la ventana Creation Options (Opciones de creación), seleccione Create Database (Crear base de datos) y haga clic en Finish (Finalizar). 15 En la ventana Confirmation (Confirmación), haga clic en OK (Aceptar) para crear la base de datos.