Oracle Database 10g Extended Memory 64 Technology (EM64T) Enterprise Edition Linux Deployment Guide Version 2.0 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notes and Notices NOTE: A NOTE indicates important information that helps you make better use of your computer. NOTICE: A NOTICE indicates either potential damage to hardware or loss of data and tells you how to avoid the problem. ____________________ Information in this document is subject to change without notice. © 2006 Dell Inc. All rights reserved. Reproduction in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Contents Oracle RAC 10g Deployment Service . . . . . . . . . . . . . . . . . . . . . . . Software and Hardware Requirements License Agreements . . . Important Documentation. Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing and Configuring Red Hat Enterprise Linux . . . . . . . . . . . . . . . . . . . . .
Adding and Removing Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Reinstalling the Software Additional Information . . . . . . . . . . . . . . . . . . . . . . . 42 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
This document provides information about installing, configuring, reinstalling, and using Oracle Database 10g Enterprise Edition with Real Application Clusters (Oracle RAC) software on your Dell | Oracle supported configuration. Use this document in conjunction with the Dell Deployment CD to install your software. If you install your operating system using only the operating system CDs, the steps in this document may not be applicable.
• Download the Dell Deployment CD images from the Dell | Oracle Tested and Validated Configurations website at www.dell.com/10g, and create working Dell Deployment CDs from the CD images. Table 1-1 lists basic software requirements for Dell’s Supported Configurations for Oracle. Table 1-2 through Table 1-3 list the hardware requirements. For detailed information on the minimum software versions for drivers and applications, see "Supported Software Versions" on page 41. Table 1-1.
Table 1-3. Minimum Hardware Requirements—Single Node Hardware Component Dell PowerEdge system Configuration 3-GHz Intel Xeon processor 1 GB of RAM Two 36-GB hard drives (RAID 1) connected to a PERC controller Two NIC ports Dell | EMC Fibre Channel storage system (optional) See dell.com/10g for information on supported configurations Dell | EMC Fibre Channel switch (optional) Eight ports License Agreements NOTE: Your Dell configuration includes a 30-day trial license of Oracle software.
Installing and Configuring Red Hat Enterprise Linux NOTICE: To ensure that the operating system is installed correctly, disconnect all external storage from the system before you install the operating system. This section describes the installation of the Red Hat Enterprise Linux AS operating system and the configuration of the operating system for Oracle Database deployment. Installing Red Hat Enterprise Linux Using the Deployment CDs 1 Disconnect all external storage from the system.
The contents of the CD are copied to the /usr/lib/dell/dell-deploy-cd directory. When the copy procedure is completed, type umount /dev/cdrom and remove the CD from the CD drive. 3 Type cd /dell-oracle-deployment/scripts/standard to navigate to the directory containing the scripts installed from the Dell Deployment CD. NOTE: Scripts discover and validate installed component versions and, when required, update components to supported levels. 4 Type ./005-oraclesetup.
Figure 1-1. Hardware Connections for a Fibre Channel Cluster client systems Gb Ethernet switches (private network) LAN/WAN PowerEdge systems (Oracle database) Dell | EMC Fibre Channel switches (SAN) Dell | EMC Fibre Channel storage systems CAT 5e/6 (integrated NIC) CAT 5e/6 (copper gigabit NIC) fiber optic cables additional fiber optic cables Table 1-4.
Table 1-4.
• The Fibre Channel storage must be configured with the following: – A minimum of three LUNs created and assigned to the cluster – A minimum LUN size of 5 GB Configuring Networking and Storage for Oracle RAC 10g This section provides information on setting up a Fibre Channel or SCSI cluster running a seed database and includes the following procedures: • Configuring the public and private networks • Securing your system • Verifying the storage configuration • Configuring shared storage for Clust
Configuring the Public Network NOTE: Ensure that your public IP address is a valid, routable IP address. If you have not already done so, configure the public network by performing the following steps on each node: 1 Log in as root.
3 For high availability, edit the /etc/modprobe.conf file and set the option for link monitoring. The default value for miimon is 0, which disables link monitoring. Change the value to 100 milliseconds initially, and adjust it as needed to improve performance. Type: options bonding miimon=100 mode=1 4 In the /etc/sysconfig/network-scripts/ directory, create or edit the ifcfg-bond0 configuration file. For example, using sample network parameters, the file would appear as follows: DEVICE=bond0 IPADDR=192.168.
9 On each node, modify the /etc/hosts file by adding the following lines. NOTE: The examples in this and the following step are for a two-node configuration; add lines for each additional cluster node. 127.0.0.1 localhost.
4 On each node, type: more /proc/partitions The node detects and displays the LUNs or logical disks, as well as the partitions created on those external devices. NOTE: The listed devices vary depending on how your storage is configured. A list of the LUNs or logical disks that are detected by the node is displayed, as well as the partitions that have been created on those external devices. PowerPath pseudo devices appear in the list, such as /dev/emcpowera, /dev/emcpowerb, and /dev/emcpowerc.
b Type udevstart to create the raw devices. c Type service rawdevices restart to restart the Raw Devices Service. Configuring Shared Storage for the Database Using ASM This section provides procedures for configuring the shared storage using Automatic Storage Management (ASM). NOTE: Before you configure the ASM Library Driver, disable SELinux. To temporarily disable SELinux, perform the following steps: 1 Log in as user root.
2 Type udevstart to create the RAW devices. 3 Type service rawdevices restart to restart the RAW Devices Service. 4 To add an additional ASM disk (for example, ASM3), edit the /etc/udev/scripts/raw-dev.sh file on all cluster nodes and add the appropriate bold entries as shown below: MAKEDEV raw mv /dev/raw/raw1 /dev/raw/votingdisk mv /dev/raw/raw2 /dev/raw/ocr.dbf mv /dev/raw/raw3 /dev/raw/spfile+ASM.
6 Ensure that the remaining nodes are able to access the ASM disks that you created in step 3. On each remaining node, open a terminal, type the following, and press : service oracleasm scandisks Installing Oracle RAC 10g This section describes the steps required to install Oracle RAC 10g, which involves installing CRS and installing the Oracle Database 10g software.
7 Type the following commands to start the Oracle Universal Installer: unset ORACLE_HOME /runInstaller The following message appears: Was ’rootpre.sh’ been run by root? [y/n] (n) 8 Type y to proceed. 9 In the Welcome window, click Next. 10 In the Specify Home Details window, change the Oracle home path to /crs/oracle/product/10.2.0/crs and click Next.
15 In the Specify Voting Disk Location window, perform the following steps: a In the OCR Configuration box, select External Redundancy. b In the Specify OCR Location field, type: /dev/raw/votingdisk c Click Next. 16 In the Summary window, click Install. The Oracle Clusterware is installed on your system. When completed, the Execute Configuration scripts window appears. 17 Follow the instructions in the window and then click OK. NOTE: If root.
4 As user oracle, type: /runInstaller The Oracle Universal Installer starts. 5 In the Welcome window, click Next. 6 In the Select Installation Type window, select Enterprise Edition and click Next. 7 In the Specify Home Details window in the Path field, verify that the complete Oracle home path is /opt/oracle/product/10.2.0/db_1 and click Next. NOTE: The Oracle home name in this step must be different from the Oracle home name that you identified during the CRS installation.
9 On the Listener Configuration, Listener Name window, type LISTENER in the Listener Name field and click Next. 10 On the Listener Configuration, Select Protocols window, select TCP and click Next. 11 On the Listener Configuration, TCP/IP Protocol window, select Use the standard port number of 1521 and click Next. 12 On the Listener Configuration, More Listeners? window, select No and click Next. 13 On the Listener Configuration Done window, click Next. 14 Click Finish.
c In the Server Parameter Filename field, type: /dev/raw/spfile+ASM.ora d Click Next. 12 When a message appears indicating that DBCA is ready to create and start the ASM instance, click OK. 13 Under ASM Disk Groups, click Create New. 14 In the Create Disk Group window, perform the following steps: a Enter a name for the disk group to be created, such as databaseDG, select External Redundancy, and then select the disks to include in the disk group.
24 Click Password Management to assign specific passwords to authorized users (if required). Otherwise, click Exit. A message appears indicating that the cluster database is being started on all nodes. 25 Perform the following steps on each node: a Type srvctl status database -d to determine which database instance exists on that node.
Starting CRS Resources Fails Without Waiting for a Timeout 1 On node 1, log in as user oracle. 2 Create a directory for the patches and utilities at/ opt/oracle/patches. 3 Log in to your Oracle Metalink account. 4 Open a Web browser and navigate to the Oracle Support website at www.metalink.oracle.com. 5 Perform a simple search for patch 4698419 with x86-64 as the platform. 6 Download the patch to your /opt/oracle/patches directory. 7 Unzip and extract the installation files. a Open a terminal window.
7 Unzip and extract the installation files. a Open a terminal window. b Type the following and press : unzip p4516865_10201_Linux-x86-64.zip. cd 4516865 8 Follow the instructions located in the Readme.txt file included with the patch to apply the patch. Securing Your System To prevent unauthorized users from accessing your system, Dell recommends that you disable rsh after you install the Oracle software.
Configuring Database Storage Configuring Database Storage Using ex3 File System If you have additional storage, perform the following steps: 1 Log in as root. 2 Type: cd /opt/oracle 3 Type: mkdir oradata recovery 4 Using fdisk, create a partition where you want to store your database files (for example, sdb1 if your storage device is sdb). 5 Using fdisk, create a partition where you want to store your recovery files (for example, sdc1 if your storage device is sdc).
Configuring ASM Storage Using the RAW Device Interface 1 Edit the /etc/sysconfig/rawdevices file and add the following lines: /dev/raw/ASM1 /dev/sdb1 /dev/raw/ASM2 /dev/sdc1 2 Type service rawdevices restart to restart the RAW Devices Service. Configuring Database Storage Using the Oracle ASM Library Driver This section provides procedures for configuring the storage using Automatic Storage Management (ASM). NOTE: Before you configure the ASM Library Driver, disable SELinux.
7 Repeat step 4 through step 6 for any additional ASM disks that you need to create. 8 Verify that the ASM disks have been created and marked for ASM usage. In the terminal window, type the following and press : service oracleasm listdisks The disks you created in step 6 are listed in the terminal window. For example: ASM1 ASM2 Installing Oracle Database 10g Perform the following steps to install Oracle 10g: 1 Log in as root. 2 As user root, mount the Oracle Database 10g CD.
17 Log in as root. 18 Type: /opt/oracle/product/10.2.0/db_1/bin/localconfig add The installation procedure is completed. Configuring the Listener 1 Log in as root. 2 Type startx to start the X Window System. 3 Open a terminal window and type: xhost + 4 Log in as oracle. 5 Type netca to start the Oracle Net Configuration Assistant. 6 Accept the default settings and click Next on all screens to complete the listener configuration.
14 In the Database Storage window, click Next. 15 In the Creation Options window, click Create Database and click Finish. 16 In the Confirmation window, click OK to create the database. NOTE: The creation of the seed database may take more than an hour to complete. When the database creation procedure is completed, the Password Management window appears. 17 Click Exit. 18 Type export ORACLE_SID=dbname, where dbname is the global identifier name that you defined for the database in DBCA.
If you are using the RAW device interface, select /dev/raw/ASM1. If you are using the ASM library driver and you cannot access the candidate disks, click Change Disk Discovery String and type ORCL:* as the string, and then select ASM1. A window appears indicating that disk group creation is in progress. If you are using the ASM library driver and the candidate disks are not listed, click Change Disk Discover String and enter ORCL:* as the string. 13 Under Available Disk Groups, click Create New.
Adding and Removing Nodes This section describes the steps to add a node to an existing cluster and the steps to remove a node from a cluster. To add a node to an existing cluster: • Add the node to the network layer. • Configure the shared storage. • Add the node to the clusterware, database, and database instance layers. To remove a node from an existing cluster, reverse the process by removing the node from the database instance, the database, and the clusterware layers.
To permanently disable SELinux: 1 Open your grub.conf file. 2 Locate the kernel command line and add the following option: selinux=0 For example: kernel /vmlinuz-2.6.9-22.0.1ELsmp ro root=LABEL=/ apic rhgb quiet selinux=0 3 Reboot your system. 4 Open a terminal window and log in as root. 5 Copy the /etc/sysconfig/rawdevices file from one of the existing nodes to the same location on the new node.
Adding a New Node to the Clusterware Layer 1 Log in as oracle. 2 From the /crs/oracle/product/10.2.0/crs/oui/bin directory on one of the existing nodes, type addNode.sh to start the Oracle Universal Installer. 3 In the Welcome window, click Next. 4 In the Specify Cluster Nodes to Add to Installation window, enter the public and private node names for the new node and click Next. If all the network and storage verification checks pass, the Cluster Node Addition Summary window appears. 5 Click Install.
Reconfiguring the Listener This section describes the steps to configure the listener, which is required for remote client connection to a database. On one node only, perform the following steps: 1 Log in as root. 2 Type startx to start the X Window System. 3 Open a terminal window and type: xhost + 4 As user oracle, type netca to start the Net Configuration Assistant. 5 Select Cluster Configuration and click Next. 6 In the TOPSNodes window, click Select All Nodes and click Next.
8 In the Instance Naming and Node Selection window, enter the instance name at the top of the window, select the new node name, and click Next. 9 In the Instance Storage window, click Finish. 10 In the Summary window click OK to add the database instance. A progress bar appears, followed by a message asking if you want to extend ASM to the new node(s). 11 Click Yes. The following message appears: Do you want to perform another operation? 12 Click No.
9 Verify the information about the instance deletion operation and click OK. A progress bar appears while DBCA removes the instance and its Oracle Net configuration. When the operation is complete, a dialog asks whether you want to perform another operation. 10 Click No to exit. 11 Type srvctl config database -d to verify that the node was removed. 12 Type netca. 13 In the Cluster Configuration window, click Next.
Removing the Node from the Clusterware Layer 1 On the node that you are deleting, as user root, disable CRS by typing the following command: /crs/oracle/product/10.2.0/crs/install/rootdelete.sh remote nosharedvar 2 On one of the remaining nodes, as user root, type the following command: /crs/oracle/product/10.2.0/crs/install/rootdeletenode.sh , To determine the node number of any node, type the following command: /crs/oracle/product/10.2.
Additional Information Supported Software Versions Table 1-6 lists the supported software at the time of release. For the latest supported hardware and software, see the Dell and Oracle website at dell.com/10g and download the Oracle Database 10g EM64T Version 2.0 Solution Deliverable List for the latest supported versions. Table 1-6. Supported Software Versions Software Component Supported Versions Red Hat Enterprise Linux AS EM64T (version 4) Quarterly Update 2 2.6.9-22.0.
Table 1-7. Integrated NICs System Integrated NICs PowerEdge 1850 Intel PRO/1000 (2) PowerEdge 2800 Intel PRO/1000 (2) PowerEdge 2850 Intel PRO/1000 (2) PowerEdge 6800 Broadcom NetXtreme Gigabit (2) PowerEdge 6850 Broadcom NetXtreme Gigabit (2) 2 Verify that a Broadcom NetXtreme Gigabit or Intel PRO/1000 family NIC is connected with a Cat 5e cable to the Gigabit Ethernet switch. This is your private NIC. 3 Determine which driver module your private NIC uses.
Table 1-8. Troubleshooting Category Problem / Symptom Cause Recommended Corrective Action The Oracle System Global Area (SGA) exceeds the recommended size. • Ensure that the SGA size does not exceed 65% of total system RAM. • Type free at a command prompt to determine total RAM and reduce the values of db_cache_size and shared_pool_size parameters in the Oracle parameter file accordingly. The Enterprise The Enterprise Manager agent goes Manager repository down or fails. is not populated.
Table 1-8. Troubleshooting (continued) Category Problem / Symptom Cause OCFS The system hangs or The Red Hat Linux displays a kernel system by default panic message. has a daily cron job routine set up to perform updatedb on certain file systems in /etc/cron.daily and /etc/updatedb.conf. OCFS does not support updatedb on its file systems. Recommended Corrective Action 1 Edit the /etc/cron.d/slocate.conf file and add ocfs to the excluded file system list.
Table 1-8. Troubleshooting (continued) Category Problem / Symptom Cause Recommended Corrective Action NETCA NETCA cannot configure remote nodes or a RAW device validation error occurs while running DBCA. The /etc/hosts.equiv Verify that the /etc/hosts.equiv file on each node contains file either does not the correct public and virtual IP address. Try to rsh to exist or does not other public names and VIP addresses as oracle user. include the assigned public or virtual IP addresses.
Table 1-8. Troubleshooting (continued) Category Problem / Symptom Cause CRS When you run root.sh following reinstallation, CRS fails to start. The OCR file and voting disk have not been cleared and contain old information. CRS CRS 46 Recommended Corrective Action 1 Clear the OCR and voting disks by typing the following lines: dd if=/dev/zero of=/dev/raw/ocr.dbf dd if=/dev/zero of= /dev/raw/votingdisk 2 Attempt to start the service again by rebooting the node or by running root.
Table 1-8. Troubleshooting (continued) Category Problem / Symptom Cause CRS Node continually reboots. The node does not have access to the quorum disk on the shared storage. Recommended Corrective Action 1 Start Linux in single user mode. 2 Type: /etc/inet.d/init.crs disable 3 Verify that the quorum disk is available and the private interconnect is alive. If it is not available, check hardware connections and ensure that OCFS volumes are mounted. 4 Reboot and type /etc/inet.d/init.
Table 1-8. Troubleshooting (continued) Category Problem / Symptom Cause Recommended Corrective Action Software installation When connecting to the database as a user other than oracle, you receive the error messages ORA01034: ORACLE not available and Linux Error 13: Permission denied. Required permissions are not set on the remote node.
Table 1-8. Troubleshooting (continued) Category Problem / Symptom Cause Recommended Corrective Action ASM Library When you type Driver service oracleasm start, the procedure fails. SELinux is enabled. Disable SELinux by following the steps in the section "Configuring Shared Storage for Clusterware." Operating System On Dell™ PowerEdge™ 6800 and 6850 systems, systems running Red Hat Enterprise Linux (version 4) EM64T Quarterly Update 2, the reboot command is inoperative.
Oracle Support For training information on your Oracle software and application clusterware, see the Oracle website at www.oracle.com or see your Oracle documentation for information on contacting Oracle. Technical support, downloads, and other technical information are available at the Oracle MetaLink website at metalink.oracle.com. Obtaining and Using Open Source Files The software contained on the Dell Deployment CD is an aggregate of third-party programs as well as Dell programs.
Index A adding and removing nodes, 34 additional configuration options adding and removing nodes, 34 additional information, 41 determining the private network interface, 41 ASM configuring database storage, 28 B bonding, 13 C cluster Fibre Channel hardware connections, example, 10 cluster setup Fibre Channel, 9 configuring database storage (single node), 28 database storage (single node) using ASM, 28 database storage (single node) using ex3, 28 configuring (continued) Oracle Database 10g (single node),
Index hardware and software configurations Fibre Channel, 11 I installing CRS, 19 Oracle Database 10g, 21 Oracle Database 10g (single node), 30 Oracle RAC 10g, 19 Red Hat Enterprise Linux, 8 using Dell Deployment CD, 8 integrated NICs, 42 L license agreements, 7 O Oracle Database 10g installing, 21 installing (single node), 30 single node configuration, 27 Oracle RAC 10g configuration, 12 CRS configuration, 16 installing, 19 shared storage configuration, 17 P passwords setting, 27 private network c
Oracle Database 10g 64 位扩展内存技术 (EM64T) 企业版 Linux 部署指南 2.0 版 w w w. d e l l . c o m | s u p p o r t . d e l l .
注和注意 注:注表示可以帮助您更好地使用计算机的重要信息。 注意:注意表示可能会损坏硬件或导致数据丢失,并告诉您如何避免此类问题。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2006 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式进行复制。 本文中使用的商标:Dell、 DELL 徽标、 Dell OpenManage 和 PowerEdge 是 Dell Inc. 的商标; EMC、 PowerPath 和 Navisphere 是 EMC Corporation 的注册商标; Intel 和 Xeon 是 Intel Corporation 的注册商标; Red Hat 是 Red Hat, Inc. 的注册商标。 本文件中述及的其它商标和产品名称是指拥有相应商标和名称的公司或其制造的产品。 Dell Inc.
目录 Oracle RAC 10g 部署服务 软件和硬件要求 . . . . . . . . . . . . . . . . . . . . . . . . . 57 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 59 59 59 许可协议 . . . 重要说明文件 开始之前 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 安装和配置 Red Hat Enterprise Linux . . . . . . . . . . . . . . . . . . . 使用 Deployment CD 安装 Red Hat Enterprise Linux 配置 Red Hat Enterprise Linux . . . . .
添加和删除节点 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 86 87 88 88 89 90 90 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 93 94 故障排除 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 获得帮助 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 将新节点添加到网络层 . . . . 在新节点上配置共享存储 . . .
本说明文件提供有关在 Dell | Oracle 支持的配置上安装、配置、重新安装和使用 Oracle Database 10g 企业版及 Real Application Clusters (Oracle RAC) 软件的信息。 请将本说明文件与 Dell Deployment CD 配合使用来安装软件。如果您仅使用操作系统 CD 来安装操作 系统,则本说明文件中的步骤可能不适用。 包括以下内容: • 软件和硬件要求 • 安装和配置 Red Hat® Enterprise Linux • 验证群集硬件与软件配置 • 为 Oracle RAC 配置网络和存储 • 安装 Oracle RAC • 配置和部署 Oracle 数据库 10g (单个节点) • 添加和删除节点 • 重新安装软件 • 附加信息 • 故障排除 • 获得帮助 • 获取和使用开放源代码文件 有关 Dell 支持的 Oracle 配置的详情,请参阅 “经 Dell | Oracle 测试和验证的配置”网站 www.dell.
表 1-1. 软件要求 软件组件 配置 Red Hat Enterprise Linux AS EM64T (第 4 版) 季度更新 2 Oracle Database 10g 10.2 版 • 企业版,包括用于群集的 RAC 选件 • 用于单个节点配置的企业版 EMC® PowerPath® (仅限光纤信道群集) 4.5 版 注:视用户数量、使用的应用程序、批处理进程以及其它因素而定,您可能需要一个超出最低硬件要求 的系统才能获得所需的性能。 注:所有群集节点的硬件配置必须相同。 表 1-2.
表 1-3. 最低硬件要求 — 单个节点 (续) 硬件组件 配置 Dell | EMC 光纤信道存储系统 (可选) 有关所支持的配置的信息,请访问 dell.com/10g Dell | EMC 光纤信道交换机 (可选) 八个端口 许可协议 注:您的 Dell 配置包含 30 天的 Oracle 软件试用许可。如果您没有此产品的许可证,请与 Dell 销售代表联系。 重要说明文件 有关特定硬件组件的详情,请参阅随系统附带的说明文件。 有关 Oracle 产品信息,请参阅 Oracle CD 套件中的 《如何开始》指南。 开始之前 在安装 Red Hat Enterprise Linux 操作系统之前,请从 Red Hat Network 网站 rhn.redhat.com 下载 Red Hat Enterprise Linux 季度更新 ISO 映像,并将这些映像写入 CD。 要下载 ISO 映像,请执行以下步骤: 1 浏览至 Red Hat Network 网站 rhn.redhat.
安装和配置 Red Hat Enterprise Linux 注意:为确保正确地安装操作系统,在安装操作系统之前,应断开系统与所有外部存储设备的连接。 本节将向您介绍 Red Hat Enterprise Linux AS 操作系统的安装以及操作系统的配置以进行 Oracle 数据 库部署。 使用 Deployment CD 安装 Red Hat Enterprise Linux 1 从系统中断开所有外部存储设备的连接。 2 找到您的 Dell Deployment CD 以及 Red Hat Enterprise Linux AS EM64T CD。 3 将 Dell Deployment CD 1 插入 CD 驱动器,然后重新引导系统。 计算机会引导至 Dell Deployment CD。 4 出现提示时,键入 4 并按 键以选择 Red Hat Enterprise Linux 4 AS for Oracle Database (x86_64)。 注:完成此过程可能需要几分钟。 系统提示您创建空白公用程序分区时,请键入 yes。 5 根据提示将每张 Red Hat
3 键入 cd /dell-oracle-deployment/scripts/standard,浏览至含有从 Dell Deployment CD 所安装脚本的目录。 注:脚本将查找并验证安装的组件版本,并根据需要将组件更新为支持的级别。 4 键入 ./005-oraclesetup.py,配置 Red Hat Enterprise Linux 以便安装 Oracle。 5 键入 source /root/.bash_profile 以启动环境变量。 6 键入 ./010-hwCheck.py,验证 CPU、 RAM 和磁盘大小是否符合 Oracle 数据库的最低安装要 求。 如果脚本报告参数错误,请更新硬件配置然后再次运行脚本。 7 键入 ./330-rpms_san_qlogic.
图 1-1. 光纤信道群集的硬件连接 客户机系统 千兆位以太网交换机 (专用网络) LAN/WAN PowerEdge 系统 (Oracle 数据库) Dell | EMC 光纤信道交换机 (SAN) Dell | EMC 光纤信道 存储系统 CAT 5e/6 (集成 NIC) CAT 5e/6 (铜质千兆位 NIC) 光缆 附加光缆 表 1-4.
表 1-4.
为 Oracle RAC 10g 配置网络和存储 本节介绍对运行基础 (seed) 数据库的光纤信道群集或 SCSI 群集进行设置的信息,其中包括以下过程: • 配置公共和专用网络 • 保护系统 • 验证存储配置 • 为群集就绪服务 (CRS) 和 Oracle 数据库配置共享存储 Oracle RAC 10g 是一项复杂的数据库配置,要求按顺序执行以下一系列过程。要想用最少的时间配置 网络和存储,请按顺序执行以下过程。 配置公共和专用网络 本节将向您介绍配置公共和专用群集网络的步骤。 注:每个节点都需要一个唯一的公共和专用 IP 地址,以及一个附加公共 IP 地址,该附加公共 IP 地址作 为客户端连接和连接故障转移的虚拟 IP 地址。虚拟 IP 地址必须与公共 IP 属于同一个子网。所有公共 IP 地址,包括虚拟 IP 地址,都应该向 DNS 注册并且可路由。 根据可用的 NIC 端口的数目,按照表 1-5 中所示配置接口。 表 1-5.
配置公共网络 注:确保公共 IP 地址是有效且可路由的 IP 地址。 如果您尚未配置公共网络,请在每个节点上执行以下步骤进行配置: 1 作为 root 用户登录。 2 编辑网络设备文件 /etc/sysconfig/network-scripts/ifcfg-eth#,其中 # 是网络设备号,并按以下方 式配置文件: DEVICE=eth0 ONBOOT=yes IPADDR=< 公共 IP 地址 > NETMASK=< 子网掩码 > BOOTPROTO=static HWADDR= SLAVE=no 3 编辑 /etc/sysconfig/network 文件,如果需要,用完全限定的公共节点名称替换 localhost.localdomain。 例如,节点 1 对应的行应该如下所示: HOSTNAME=node1.domain.
4 在 /etc/sysconfig/network-scripts/ 目录中,创建或编辑 ifcfg-bond0 配置文件。 例如,使用样本网络参数时,该文件会显示如下: DEVICE=bond0 IPADDR=192.168.0.1 NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.
< 公共 IP node1> < 公共主机名 node1> < 公共 IP node2> < 公共主机名 node2 > < 虚拟 IP node1> < 虚拟主机名 node1> < 虚拟 IP node2> < 虚拟主机名 node2> 10 在每个节点上,通过列出所有公共 IP 地址或主机名来创建或修改 /etc/hosts.
• 光纤信道 LUN 显示为 SCSI 设备,每个群集节点均配置了相同数量的 LUN。 例如,如果对节点进行配置,使 SCSI 驱动器或 RAID 容器连接到具有三个逻辑磁盘的光纤信 道存储设备,则 sda 可以识别节点的 RAID 容器或内部驱动器,而 emcpowera、 emcpowerb 和 emcpowerc 可以识别 LUN (或 PowerPath 虚拟设备)。 如果外部存储设备未出现在 /proc/partitions 文件中,请重新引导该节点。 为群集件配置共享存储 本节介绍为 Oracle 群集件配置共享存储的说明。 使用原始设备接口配置共享存储 1 在第一个节点上,使用 fdisk 在外部存储设备上创建三个分区: 键入 fdisk /dev/emcpowerx 并创建三个 150 MB 的分区,其中一个分区用于群集库,一个 用于投票磁盘,另外一个用于 Oracle 系统参数文件。 2 键入以下命令,验证这些新分区: more /proc/partitions 如果 /proc/partitions 文件中出现这些新分区,则键入: sfdisk -R /dev/< 设备名称 >
要永久禁用 SELinux,请执行以下步骤: 1 打开 grub.conf 文件。 2 找到内核命令行,并添加以下选项: selinux=0 例如: kernel /vmlinuz-2.6.9-22.0.
使用 ASM 库驱动程序配置存储 1 作为 root 用户登录。 2 打开终端窗口,并在所有节点上执行以下步骤: a 键入 service oracleasm configure b 为所有群集节点键入以下输入: Default user to own the driver interface (拥有驱动程序接口的默认用户) [ ]: oracle Default group to own the driver interface (拥有驱动程序接口的默认组) [ ]: dba Start Oracle ASM library driver on boot (引导时启动 Oracle ASM 库驱动程序) (y/n) [n]: y Fix permissions of Oracle ASM disks on boot (引导时修复 Oracle ASM 磁盘的权限) (y/n) [y]: y 3 在节点 1 上的终端窗口中,键入以下命令并按 键: service oracleasm createdisk ASM1 /dev/emcpowerb1 service oracleas
安装 Oracle RAC 10g 本节将说明安装 Oracle RAC 10g 所需的步骤,其中包括安装 CRS 和安装 Oracle Database 10g 软件。 Dell 建议您创建基础 (seed) 数据库,以便在生产环境下部署群集之前先检查群集是否工作正常。 开始之前 要避免在安装过程中出现故障,请为所有群集节点配置完全相同的系统时钟设置。 使群集节点系统时钟与网络时间协议 (NTP) 服务器同步。如果您无法访问 NTP 服务器,请执行以下 过程之一: • 确保 Oracle 数据库软件安装节点上的系统时钟设置为比其它节点的时钟稍晚一些。 • 将其中一个群集节点配置为 NTP 服务器,以同步群集中的其它节点。 安装群集件 1 作为 root 用户登录。 2 键入 startx 以启动 X Window 系统。 3 打开终端窗口,然后键入: xhost + 4 装入 Oracle Clusterware CD。 5 键入: /cluvfy/runcluvfy.
8 键入 y 以继续。 9 在 Welcome (欢迎)窗口中单击 Next (下一步)。 10 在 Specify Home Details (指定主目录详细信息)窗口中,将 Oracle 主目录路径更改为 /crs/oracle/product/10.2.
16 在 Summary (摘要)窗口中,单击 Install (安装)。 在系统上安装 Oracle 群集件。 完成后,屏幕将显示 Execute Configuration scripts (执行配置脚本)窗口。 17 按照窗口中的说明操作,然后单击 OK (确定)。 注:在格式化投票磁盘时,如果 root.
6 在 Select Installation Types (选择安装类型)窗口中,选择 Enterprise Edition (企业版), 然后单击 Next (下一步)。 7 在 Specify Home Details (指定主目录详细信息)窗口的 Path (路径)字段中,验证完整的 Oracle 主目录路径为 /opt/oracle/product/10.2.
9 在 Listener Configuration, Listener Name (监听程序配置,监听程序名称)窗口中的 Listener Name (监听程序名称)字段中键入 LISTENER,然后单击 Next (下一步)。 10 在 Listener Configuration, Select Protocols (监听程序配置,选择协议)窗口中选择 TCP, 然后单击 Next (下一步)。 11 在 Listener Configuration, TCP/IP Protocol (监听程序配置, TCP/IP 协议)窗口中,选择 Use the standard port number of 1521 (使用标准端口号 1521),然后单击 Next (下一步)。 12 在 Listener Configuration, More Listeners? (监听程序配置,是否多个监听程序?)窗口中, 选择 No (否),然后单击 Next (下一步)。 13 在 Listener Configuration Done (完成监听程序配置)窗口中,单击 Next (下一步)。 14
10 在 Storage Options (存储选项)窗口中,单击 Automatic Storage Management (ASM) (自动存储管理 [ASM]),然后单击 Next (下一步)。 11 在 Create ASM Instance (创建 ASM 实例)窗口中,执行以下步骤: a 在 SYS password (SYS 密码)字段中,键入密码。 b 选择 Create server parameter file (SPFILE) (创建服务器参数文件 [SPFILE])。 c 在 Server Parameter Filename (服务器参数文件名)字段中,键入: /dev/raw/spfile+ASM.
21 在 Database Storage (数据库存储)窗口中,单击 Next (下一步)。 22 在 Creation Options (创建选项)窗口中,选择 Create database (创建数据库),然后单击 Finish (完成)。 23 在 Summary (摘要)窗口中,单击 OK (确定)创建数据库。 注:完成此过程可能需要一个小时或更多时间。 完成数据库创建后,屏幕上将显示 Database Configuration Assistant (数据库配置助手)窗口。 24 单击 Password Management (密码管理),向授权用户分配特定的密码 (如果需要)。否则, 单击 Exit (退出)。 屏幕上会显示一则消息,提示正在所有节点上启动群集数据库。 25 在每个节点上执行以下步骤: a 键入 srvctl status database -d < 数据库名称 > 以确定该节点上存在的数据库实例。 b 键入以下命令,在 oracle 用户配置文件中添加 ORACLE_SID 环境变量条目: echo "export ORACLE_SID=racdbx"
要增加 CSS 超时时间,请执行以下步骤: 1 在除一个节点之外的所有节点上关闭数据库和 CRS。 2 在当前运行的节点上,作为 root 用户登录并键入: crsctl set css misscount 120 3 重新引导所有节点以使 CSS 设置生效。 在没有等待超时的情况下启动 CRS 资源失败 1 在节点 1 上,作为 oracle 用户登录。 2 为增补软件和公用程序创建一个目录 /opt/oracle/patches。 3 登录到您的 Oracle Metalink 帐户。 4 打开 Web 浏览器,并浏览至 Oracle 支持 Web 站点 www.metalink.oracle.com。 5 进行简单搜索,查找以 x86-64 作为平台的增补软件 4698419。 6 将该增补软件下载到 /opt/oracle/patches 目录。 7 解压并自解压安装文件。 8 a 打开终端窗口。 b 键入下列命令并按 键: unzip p4698419_10201_Linux-x86-64.zip.
在 ORACLE_HOME 中安装 Oracle 后出现权限错误 1 在节点 1 上,作为 oracle 用户登录。 2 为增补软件和公用程序创建一个目录 /opt/oracle/patches。 3 登录到您的 Oracle Metalink 帐户。 4 打开 Web 浏览器,并浏览至 Oracle 支持 Web 站点 www.metalink.oracle.com。 5 进行简单搜索,查找以 x86-64 作为平台的增补软件 4516865。 6 将该增补软件下载到 /opt/oracle/patches 目录。 7 解压并自解压安装文件。 8 a 打开终端窗口。 b 键入下列命令并按 键: unzip p4516865_10201_Linux-x86-64.zip. cd 4516865 按照增补软件随附的 Readme.
配置公共网络 请确保您的公共网络正常运行,并且已为您的系统分配了 IP 地址和主机名。 配置数据库存储 使用 ex3 文件系统配置数据库存储 如果您具有附加存储设备,请执行以下步骤: 1 作为 root 用户登录。 2 键入: cd /opt/oracle 3 键入: mkdir oradata recovery 4 使用 fdisk,创建一个需要在其中存储数据库文件的分区 (例如,如果存储设备为 sdb,则该分区 为 sdb1)。 5 使用 fdisk,创建一个需要在其中存储恢复文件的分区 (例如,如果存储设备为 sdc,则该分区为 sdc1)。 6 键入 cat /proc/partitions,验证新分区。 如果没有看到新分区,则键入: sfdisk -R /dev/sdb sfdisk -R /dev/sdc 7 键入: mke2fs -j /dev/sdb1 mke2fs -j /dev/sdc1 8 为新创建的文件系统添加一个条目来修改 /etc/fstab 文件。 9 键入: mount /dev/sdb1 /opt/oracle/oradata mount
使用原始设备接口配置 ASM 存储 1 编辑 /etc/sysconfig/rawdevices 文件并添加以下行: /dev/raw/ASM1 /dev/sdb1 /dev/raw/ASM2 /dev/sdc1 2 键入 service rawdevices restart 以重新启动原始设备服务。 使用 Oracle ASM 库驱动程序配置数据库存储 本节介绍使用 Automatic Storage Management (ASM,自动存储管理)来配置存储的 相关过程。 注:在配置 ASM 库驱动程序之前,先禁用 SELinux。 要临时禁用 SELinux,请执行以下步骤: 1 作为 root 用户登录。 2 在命令提示符下键入: setenforce 0 要永久禁用 SELinux,请执行以下步骤: 1 打开 grub.conf 文件。 2 找到内核命令行,并添加以下选项: selinux=0 例如: kernel /vmlinuz-2.6.9-22.0.
6 在终端窗口中,键入以下命令: service oracleasm createdisk ASM1 /dev/sdb1 service oracleasm createdisk ASM2 /dev/sdc1 7 对所有需要创建的其它 ASM 磁盘,重复执行步骤 4 至步骤 6。 8 验证是否已为使用 ASM 创建和标记了 ASM 磁盘。 在终端窗口中,键入下列命令并按 键: service oracleasm listdisks 终端窗口中将列出在步骤 6 中创建的磁盘。 例如: ASM1 ASM2 安装 Oracle Database 10g 要安装 Oracle 10g,请执行以下步骤: 1 作为 root 用户登录。 2 作为 root 用户装入 Oracle Database 10g CD。 3 键入 startx 以启动 X Window 系统。 4 打开终端窗口,然后键入: xhost + 5 作为 oracle 用户登录。 6 启动 Oracle Universal Installer。 在终端窗口中,键入下列命令并按 键: <
13 在 Select Configuration Option (选择配置选项)窗口中,单击 Install database Software only (仅安装数据库软件)。 14 在 Summary (摘要)窗口中,单击 Install (安装)。 15 出现提示时,打开终端窗口并运行 root.sh。 将会出现一个简短的进度窗口,随后出现 End of Installation (安装结束)窗口。 16 单击 Exit (退出),然后单击 Yes (是)进行确认。 17 作为 root 用户登录。 18 键入: /opt/oracle/product/10.2.
8 在 Database Credentials (数据库证书)窗口中,完成密码选择和输入,然后单击 Next (下一步)。 9 在 Storage Options (存储选项)窗口中选择 File System (文件系统),然后单击 Next (下一步)。 10 在 Database File Locations (数据库文件位置)窗口中单击 Next (下一步)。 11 在 Recovery Configuration (恢复配置)窗口中,单击 Browse (浏览),选择您在 “使用 ex3 文 件系统配置数据库存储”中创建的回闪恢复区域 (例如, /opt/oracle/recovery),然后单 击 Next (下一步)。 12 在 Database Content (数据库内容)窗口中,单击 Next (下一步)。 13 在 Initialization Parameters (初始化参数)窗口中,单击 Next (下一步)。 14 在 Database Storage (数据库存储)窗口中,单击 Next (下一步)。 15 在 Creation Options
5 在 Database Identification (数据库标识)窗口中,输入 Global Database Name (全局数据库名称)(如 oradb),然后单击 Next (下一步)。 6 在 Management Options (管理选项)窗口中,单击 Next (下一步)。 7 在 Database Credentials (数据库证书)窗口中,单击 Use the Same Password for All Accounts (对所有帐户使用相同密码),完成密码输入,然后单击 Next (下一步)。 8 在 Storage Options (存储选项)窗口中,单击 ASM,然后单击 Next (下一步)。 9 在 Create ASM Instance (创建 ASM 实例)窗口中,输入 SYS 用户的密码,然后单击 Next (下一步)。 10 当显示的消息表明 DBCA 已就绪,可以创建和启动 ASM 实例时,单击 OK (确定)。 11 在 ASM Disk Groups (ASM 磁盘组)窗口中的 Available Disk Groups (可用磁盘组)
18 在 Database Content (数据库内容)窗口中,单击 Next (下一步)。 19 在 Initialization Parameters (初始化参数)窗口中,选择 Typical (典型),然后单击 Next (下一步)。 20 在 Database Storage (数据库存储)窗口中,单击 Next (下一步)。 21 在 Creation Options (创建选项)窗口中,选择 Create database (创建数据库),然后单击 Finish (完成)。 22 在 Confirmation (确认)窗口中单击 OK (确定)创建数据库。 注:创建基础 (seed) 数据库可能需要一个多小时。 数据库创建完成后,屏幕上将显示 Password Management (密码管理)窗口。 23 单击 Exit (退出)。 24 数据库创建完成后,键入以下命令,以便将 ORACLE_SID 环境变量条目添加到 oracle 用户配 置文件中: echo "export ORACLE_SID=oradb" >> /home/oracle/.
在新节点上配置共享存储 要将现有 RAC 数据库扩展到新节点,请为新节点配置存储,使新节点的存储与现有节点上的相同。 本节介绍用于 ASM 的相应过程。 使用 ASM 配置共享存储 如果您使用的是 ASM,应确保新节点可以使用与现有节点相同的权限访问 ASM 磁盘。 要配置 ASM 磁盘,请执行以下操作: 1 作为 root 用户登录。 2 在命令提示符下键入: setenforce 0 要永久禁用 SELinux: 1 打开 grub.conf 文件。 2 找到内核命令行,并添加以下选项: selinux=0 例如: kernel /vmlinuz-2.6.9-22.0.
9 确保新节点可以使用 ASM 磁盘。 在终端窗口中,键入下列命令并按 键: service oracleasm listdisks 列出其它节点上所有可用的磁盘。 例如: ASM1 ASM2 将新节点添加到群集件层 1 作为 oracle 用户登录。 2 从某个现有节点上的 /crs/oracle/product/10.2.0/crs/oui/bin 目录中,键入 addNode.
5 单击 Install (安装)。 Cluster Node Addition Progress (群集节点添加进度)窗口会显示群集节点添加进度的状态。 6 出现提示时,在新节点上运行 root.sh。 root.
将新节点添加到数据库实例层 1 在节点 1 上,作为 oracle 用户键入 dbca &,启动 DBCA。 2 在 Welcome (欢迎)窗口中单击 Next (下一步)。 3 在 Operations (操作)窗口中,单击 Instance Management (实例管理),然后单击 Next (下一步)。 4 在 Instance Management (实例管理)窗口中,单击 Add Instance (添加实例),然后单击 Next (下一步)。 5 在 List of Cluster Databases (群集数据库列表)窗口中,选择现有的数据库。 如果您的用户名并未经过操作系统验证, DBCA 会提示您输入具有 SYSDBA 权限的数据库用户名 和密码。 6 输入用户名 sys 和密码,然后单击 Next (下一步)。 屏幕将显示 List of cluster database instances (群集数据库实例列表)窗口,其中显示了与选定 RAC 数据库相关的实例以及每个实例的状态。 7 单击 Next (下一步)。 8 在 Instance Naming
4 在 Operations (操作)窗口中,单击 Instance Management (实例管理),然后单击 Next (下一步)。 5 在 Instance Management (实例管理)窗口中,单击 Delete Instance (删除实例),然后单击 Next (下一步)。 6 在 List of Cluster Databases (群集数据库列表)窗口中,选择要删除的实例所在的 RAC 数据库。 如果您的用户名并未经过操作系统验证,DBCA 会提示您输入具有 SYSDBA 权限的数据库用户名 和密码。 7 输入用户名 sys 和密码,然后单击 Next (下一步)。 屏幕将显示 List of cluster database instances (群集数据库实例列表)窗口,其中显示了与选定 RAC 数据库相关的实例以及每个实例的状态。 8 选择要删除的实例,然后单击 Next (下一步)。 此实例不能是运行 DBCA 所在的本地实例。如果您选择本地实例, DBCA 将显示 Error (错误) 对话框。如果出现此对话框,请单击 OK (确定)并选择另一个实例,然后单击
21 在其它某个群集节点上,执行以下步骤: a 打开终端窗口。 b 键入: srvctl stop asm -n 其中, 是要从群集中删除的节点。 c 键入: srvctl remove asm -n 其中, 是要从群集中删除的节点。 从数据库层中删除节点 1 在要删除的节点上作为 oracle 用户登录。 2 使用要删除的节点的公共名称 (例如, node3-pub) 键入以下命令: srvctl stop nodeapps -n node3-pub 3 在将要删除的节点上,请作为 root 登录。 4 如果要删除 Oracle 数据库软件,请键入下列命令: rm -rf /opt/oracle/product/10.2.0/db_1/* 从群集件层中删除节点 1 在要删除的节点上,作为 root 用户键入以下命令来禁用 CRS: /crs/oracle/product/10.2.0/crs/install/rootdelete.
重新安装软件 注意:重新安装软件将会清除硬盘驱动器上的所有信息。 注意:在重新安装软件之前,您必须从系统中断开所有外部存储设备的连接。 注意:Dell 建议您定期对数据库和个别节点进行备份,以免丢失重要数据。重新安装节点软件只能作为 万不得已的方法。 使用 Dell Deployment CD 安装软件时已在您的硬盘驱动器上创建了重新部署分区,其中包含了系统上 安装的所有软件映像。该重新部署分区使您可以快速重新部署 Oracle 软件。 如果要使用这种方法重新安装软件,需要将系统引导至重新部署分区。系统引导至此分区时, 会自动重新安装 Red Hat Linux 操作系统。 要使用此方法重新安装软件,请执行以下步骤: 1 断开外部存储设备的连接。 2 作为 root 用户登录至要重新安装软件的系统。 3 键入 vi /etc/grub.
表 1-6. 支持的软件版本 (续) 软件组件 支持的版本 Emulex HBA LP1050e 和 LP10000 8.0.16.17 PERC 4/DC、 PERC 4/Di、 PERC 4e/Di、 PERC 4e/Si 或 PERC 4e/DC 驱动程序 (megaraid2) 2.20.4.4 Intel PRO/100 S NIC 驱动程序 (e100) 6.0.54-K2-NAPI Intel PRO/1000 XT/MT/MT DP NIC 驱动程序 (e1000) 6.0.54-K2-NAPI Broadcom NetXtreme BCM5704 (tg3) 3.27-rh 确定专用网络接口 要确定为每个网络接口分配的接口设备名称,请执行以下步骤: 1 确定系统中的 NIC 类型。 参考表 1-7,识别系统中有哪些集成 NIC。 您的添加式 NIC 可能是 Intel PRO/100 系列或 PRO/1000 系列插卡,也可能是 Broadcom NetXtreme Gigabit 插卡。您可能需要打开系统,然后查看以确定您配备的添加式插卡。 表 1-7.
5 确定已将哪些以太网接口 (ethX) 分配给连接至千兆位交换机的千兆位 NIC 类型。 如果 /etc/modprobe.conf 中仅有一个代表您的驱动程序模块类型的条目,则表明已成功识别专用 网络接口。 6 如果您的系统中配备了多个相同类型的 NIC,请尝试确定分配给每个 NIC 的以太网接口。 对于每个以太网接口来说,请针对正确的驱动程序模块执行 “配置专用网络”中的步骤, 直至识别出正确的以太网接口。 故障排除 表 1-8 提供了在部署或使用 Red Hat Enterprise Linux 和 Oracle 软件时可能遇到的问题的建议操作。 表 1-8.
表 1-8.
表 1-8. 故障排除 (续) 类别 问题 / 症状 原因 建议的纠正措施 OCFS 如果您要更换 /etc/ocfs.conf 中列出其 IP 地址的 NIC, OCFS 不识别新更 如果要更换在 换的 NIC。 /etc/ocfs.conf 中列出 请在载入 OCFS 驱动程序或装入 OCFS 分区之前, 其名称的 NIC,则 先键入 ocfs_uid_gen -r。 必须首先运行 ocfs_uid_gen r,以更新 /etc/ocfs.conf 文件中 的 MAC 地址,然后 才能装入 OCFS 卷。 OCFS 对 OCFS 文件执行 大文件复制、移 动、 dd 和其它操作 有时会导致系统挂 起。 NETCA NETCA 失败,导 公共网络、主机名 在启动 netca 之前,确保向公共网络分配了主机名, 致数据库创建出现 或虚拟 IP 未列在 且 /etc/hosts.equiv 文件中列出了公共 IP 地址和虚拟 IP 错误。 /etc/hosts.
表 1-8. 故障排除 (续) 类别 问题 / 症状 原因 CRS 当您重新引导节点 群集就绪服务 CSS 或键入 守护程序无法向仲 /etc/ini.d/ 裁磁盘写入数据。 init.crs start 时, CRS 无法启 动。 建议的纠正措施 • 尝试重新引导节点或从 /crs/oracle/product/10.2.0/crs_1/ 中键入 root.sh, 再次启动服务。 • 验证每个节点是否具有访问仲裁磁盘的权限,以及 root 用户能否写入磁盘。 • 检查文件 $ORA_CRS_HOME/css/log/ocssd.log 中的 最后一行内容。 • 如果显示的是 clssnmvWriteBlocks:Failed to flush writes to (votingdisk) (无法刷写到 投票磁盘),请验证以下内容: – 每个节点上的 /etc/hosts 文件是否包含所有节点主 机名的正确 IP 地址,包括虚拟 IP 地址。 – 是否可以对公共和专用主机名执行 ping 命令。 – 仲裁磁盘可写入。 CRS 在运行 root.
表 1-8. 故障排除 (续) 类别 问题 / 症状 原因 CRS 在运行 root.sh 时, 已尝试其它的 CRS 故障排除步骤,但 CRS 无法启动。 没有成功。 建议的纠正措施 1 将以下文本行添加到 root.sh,启用调试功能: set -x 2 尝试从 /crs/oracle/product/10.2.0/crs_1/ 中运行 root.
表 1-8.
表 1-8. 故障排除 (续) 类别 问题 / 症状 光纤信道存 储 载入光纤信道 HBA 需要更新 HBA 驱动 查看 dell.
获得帮助 Dell 支持 有关系统使用方面的详情,请参阅随系统组件附带的说明文件。 有关白皮书、 Dell 支持的配置和一般信息,请访问 “经 Dell | Oracle 测试和验证的配置”网站 www.dell.com/10g。 要获得硬件和操作系统软件的 Dell 技术支持并下载最新的系统更新,请访问 Dell 支持 Web 站点 support.dell.com。 Dell 联系信息包含在系统的 《安装与故障排除指南》中。 我们现在还提供 Dell 企业培训与认证服务,请访问 www.dell.com/training 了解有关详情。此培训服务 可能不在所有地区提供。 Oracle 支持 有关 Oracle 软件和应用程序群集件的培训信息,请访问 Oracle 网站 www.oracle.com 或参阅 Oracle 说 明文件,了解 Oracle 联系信息。 技术支持、下载和其它技术信息可以在 Oracle MetaLink 网站 metalink.oracle.
索引 A ASM 配置数据库存储 , 80 安全保护 , 79 安装 CRS, 71 Oracle Database 10g, 73 Oracle Database 10g (单个节点) , 82 Oracle RAC 10g, 71 Red Hat Enterprise Linux, 60 使用 Dell Deployment CD, 60 附加信息 , 93 确定专用网络接口 , 94 G 公共网络 配置 , 64-65 故障排除 , 95 光纤信道群集设置 , 61 H 获得帮助 , 102 B 绑定 , 65 部署 Oracle RAC 10g, 64 C CRS 安装 , 71 CRS 配置 , 68 创建基础 (seed) 数据库 , 75, 83 J 集成 NIC, 94 基础 (seed) 数据库 创建 , 75, 83 验证 , 77, 84 监听程序配置 , 74, 83, 89 节点 删除 , 90 添加和删除 , 86 O Oracle Database 10g 安装 , 73 安装 (单个节点) , 82 单个节点配置 , 79 Oracle RAC 10g 安装 ,
À˜“″ 配置 Oracle Database 10g (单个节点) , 79, 83 创建基础 (seed) 数据库 , 83 配置 Oracle RAC 10g, 64 创建基础 (seed) 数据库 , 75 配置公共网络 , 65 S Z 删除节点 , 90 支持的存储设备 , 93 示例 光纤信道群集硬件连接 , 62 重新安装 软件 , 93 说明文件 , 59 专用网络 配置 , 64-65 确定接口 , 94 配置共享存储 , 68 配置专用和公共网络 , 64 T 配置专用网络 , 65 添加和删除节点 , 86 Q X 确定专用网络接口 , 94 许可协议 , 59 群集 光纤信道硬件连接,示例 , 62 Y 群集设置 光纤信道 , 61 R Red Hat 更新系统软件包 , 61 Red Hat Enterprise Linux 安装 , 60 软件 要求 , 58, 93 重新安装 , 93 软件和硬件要求 , 57 104 索引 验证 存储配置 , 67 基础 (seed) 数据库 , 77, 84 软件配置 , 61 硬件
Oracle Database 10g Extended Memory 64 Technology (EM64T) Enterprise Edition Guide de déploiement pour Linux - Version 2.0 w w w. d e l l . c o m | s u p p o r t . d e l l .
Remarques et avis REMARQUE : une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. AVIS : un AVIS vous avertit d'un risque de dommage matériel ou de perte de données et vous indique comment éviter le problème. ____________________ Les informations contenues dans ce document peuvent être modifiées sans préavis. © 2006 Dell Inc. Tous droits réservés. La reproduction de ce document de quelque manière que ce soit sans l'autorisation écrite de Dell Inc.
Sommaire Service de déploiement Oracle RAC 10g . . . . . . . . . . . . . . . . . . . Configuration matérielle et logicielle requise Contrats de licence . . . . . Documentation importante . Avant de commencer . . . . 109 . . . . . . . . . . . . . . . . 110 . . . . . . . . . . . . . . . . . . . . . . . 111 111 111 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation et configuration de Red Hat Enterprise Linux . . . . . . . . . .
Installation d'Oracle Database 10g . . . Configuration de l'écouteur . . . . . . . Création de la base de données initiale Ajout et suppression de nœuds . . . . . . . . . . . . . . . . . 137 138 138 . . . . . . . . . . . . . . . . . . . . . . . . 141 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ajout d'un nœud à la couche réseau . . . . . . . . . . . . . . . . . Configuration des périphériques de stockage partagés sur le nouveau nœud . . . . . . . . . . . . . . . . . . . . . . .
Ce document contient des informations concernant l'installation, la configuration, la réinstallation et l'utilisation d'Oracle Database 10g Enterprise Edition avec Real Application Clusters (Oracle RAC). Il fait partie du support fourni par Dell pour les configurations Oracle. Pour installer le logiciel, utilisez ce document ainsi que le CD Dell Deployment.
Configuration matérielle et logicielle requise Avant d'installer le logiciel Oracle RAC sur le système : • Téléchargez les CD Red Hat à partir du site www.rhn.redhat.com. • Munissez-vous du kit CD d'Oracle. • Téléchargez les images des CD Dell Deployment à partir du site dell.com/10g. Gravez ensuite les CD à partir de ces images. Le tableau 1-1 présente les exigences requises sur le plan logiciel pour les configurations Oracle prises en charge par Dell.
Tableau 1-2. Configuration matérielle requise - Cluster Fibre Channel (suite) Composant matériel Configuration Commutateur Ethernet Gigabit (deux) Consultez le site dell.com/10g pour plus d'informations sur les configurations prises en charge. Commutateur Fibre Channel Dell | EMC Huit ports pour deux à six nœuds (deux) Seize ports pour sept à huit nœuds Tableau 1-3.
3 Dans le menu de gauche, cliquez sur Easy ISOs (Accès rapide aux images ISO). 4 Dans le menu gauche de la page qui s'affiche, cliquez sur All (Toutes). Les images ISO de tous les produits Red Hat s'affichent. 5 Dans le menu Channel Name (Nom du canal), cliquez sur l'image correspondant à votre logiciel Red Hat. 6 Téléchargez les images de CD correspondant à votre produit Red Hat Enterprise Linux et répertoriées dans le document “Solution Deliverable List” (Liste des éléments pris en charge).
8 Lorsque la fenêtre Network Setup (Configuration du réseau) s'affiche, cliquez sur Next. Vous paramétrerez le réseau ultérieurement. 9 Lorsque la fenêtre Security Level (Niveau de sécurité) s'affiche, désactivez le pare-feu. Vous pourrez le réactiver une fois le déploiement d'Oracle terminé. 10 Connectez-vous en tant que root. Configuration de Red Hat Enterprise Linux 1 Connectez-vous en tant que root.
Vérification de la configuration matérielle et logicielle du cluster Avant de commencer la configuration du cluster, vérifiez l'installation matérielle, les interconnexions de communication et la configuration logicielle des nœuds sur tout le cluster. Les sections suivantes contiennent des informations sur la configuration des clusters Fibre Channel. Configuration d'un cluster Fibre Channel La configuration du cluster Fiber Channel a été effectuée par votre prestataire de services Dell.
Tableau 1-4.
• • Les logiciels suivants doivent être installés sur chacun des nœuds : – Red Hat Enterprise Linux (voir le tableau 1-1) – Pilote de la carte HBA Fibre Channel Le système de stockage Fibre Channel doit posséder la configuration suivante : – Au minimum trois unités logiques créées et attribuées au cluster – Taille minimale de chaque unité logique : 5 Go Configuration du réseau et du stockage pour Oracle RAC 10g Cette section contient des informations sur la configuration d'un cluster Fibre Channel
Configuration du réseau public REMARQUE : vérifiez que l'adresse IP publique est valide et routable. Si ce n'est déjà fait, effectuez les étapes ci-après sur chaque nœud pour configurer le réseau public : 1 Connectez-vous en tant que root.
3 Pour garantir une disponibilité optimale, modifiez le fichier /etc/modprobe.conf de manière à activer l'option de contrôle des liens. La valeur par défaut de miimon est 0, ce qui signifie que le contrôle des liens est désactivé. Réglez d'abord cette valeur sur 100 millisecondes. Vous pourrez ensuite la modifier pour atteindre le niveau de performances requis.
7 Une fois les adresses IP privées définies sur chaque nœud, vérifiez le bon fonctionnement du réseau privé en lançant un test ping sur chaque adresse IP à partir d'un nœud. 8 Tapez ssh pour vous connecter à chaque nœud et vérifier que le réseau privé et ssh fonctionnent correctement.
Vérification de la configuration des systèmes de stockage Au cours des opérations de configuration du cluster décrites dans ce document, vous allez créer des partitions sur le système de stockage Fibre Channel. Pour que vous puissiez créer les partitions, tous les nœuds de cluster doivent pouvoir détecter les périphériques de stockage externes.
Configuration du stockage partagé pour Clusterware Cette section indique comment configurer le stockage partagé pour Oracle Clusterware.
Pour désactiver SELinux de façon permanente, procédez comme suit : 1 Ouvrez le fichier grub.conf. 2 Recherchez la ligne de commande du noyau et ajoutez l'option suivante : selinux=0 Exemple : kernel /vmlinuz-2.6.9-22.0.1ELsmp ro root=LABEL=/ apic rhgb quiet selinux=0 3 Redémarrez le système. Pour configurer le cluster avec ASM, effectuez la procédure suivante sur tous les nœuds : 1 Connectez-vous en tant que root.
Configuration du stockage à l'aide du pilote de bibliothèque ASM 1 Connectez-vous en tant que root. 2 Ouvrez une fenêtre de terminal et procédez comme suit sur tous les nœuds : a Tapez service oracleasm configure.
Installation d'Oracle RAC 10g Cette section indique comment installer Oracle RAC 10g. La procédure requise inclut l'installation des services CRS et du logiciel Oracle Database 10g. 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. Avant de commencer Pour éviter que des erreurs ne se produisent pendant l'installation, attribuez à tous les nœuds du cluster des paramètres d'horloge système identiques.
7 Tapez les commandes suivantes pour démarrer Oracle Universal Installer : unset ORACLE_HOME /runInstaller Le message suivant s'affiche pour demander si rootpre.sh a été exécuté par l'utilisateur root : Was ’rootpre.sh’ been run by root? [y/n] (n) 8 Tapez y pour continuer. 9 Dans la fenêtre de bienvenue, cliquez sur Next. 10 Dans la fenêtre Specify Home Details (Indiquer l'emplacement racine), définissez le répertoire racine d'Oracle sur /crs/oracle/product/10.2.
14 Dans la fenêtre Specify Oracle Cluster Registry (OCR) Location (Indiquer l'emplacement du registre du cluster Oracle), procédez comme suit : a Dans la zone OCR Configuration (Configuration du registre du cluster Oracle), sélectionnez External Redundancy (Redondance externe). b Dans le champ Specify OCR Location (Indiquer l'emplacement du registre du cluster Oracle), tapez : /dev/raw/ocr.dbf c Cliquez sur Next.
Installation d'Oracle Database 10g 1 Connectez-vous en tant que root, puis tapez : cluvfy stage -pre dbinst -n nœud1,nœud2 -r 10gR2 -verbose où nœud1 et nœud2 sont les noms d'hôte public. Si le système n'est pas configuré correctement, voir “Dépannage” pour plus d'informations. Si le système est configuré correctement, le message suivant s'affiche : Pre-check for database installation was successful. 2 Connectez-vous en tant que root, puis tapezxhost +.
Configuration de l'écouteur Cette section indique comment configurer l'écouteur, qui est requis pour la connexion des clients distants à la base de données. Sur un seul nœud, effectuez les opérations suivantes : 1 Connectez-vous en tant que root. 2 Tapez startx pour lancer le système X Window. 3 Ouvrez une fenêtre de terminal et tapez : xhost + 4 Pour démarrer l'assistant de configuration réseau, connectez-vous en tant qu'utilisateur oracle, et tapez netca.
Création de la base de données initiale à l'aide d'ASM Cette section indique comment créer et vérifier la base de données initiale à l'aide d'Oracle ASM. Procédez comme suit : 1 Connectez-vous en tant que root, puis tapez : cluvfy stage -pre dbcfg -n nœud1,nœud2 -d $ORACLE_HOME -verbose où nœud1 et nœud2 sont les noms d'hôte public. Si le système n'est pas configuré correctement, voir “Dépannage” pour plus d'informations.
14 Dans la fenêtre Create Disk Group (Création d'un groupe de disques), procédez comme suit : a Entrez un nom pour le groupe de disques à créer (GDbdd, par exemple), sélectionnez External Redundancy (Redondance externe), puis sélectionnez les disques à inclure dans le groupe. Si vous utilisez RAW Device Interface, sélectionnez /dev/raw/ASM1. Une fenêtre indique que la création du groupe de disques est en cours.
23 Dans la fenêtre Summary (Récapitulatif), cliquez sur OK pour créer la base de données. REMARQUE : cette opération peut prendre plus d'une heure. Une fois la création de la base de données terminée, la fenêtre Database Configuration Assistant (Assistant de configuration de la base de données) s'affiche. 24 Cliquez sur Password Management (Gestion du mot de passe) pour attribuer des mots de passe aux utilisateurs autorisés (le cas échéant). Sinon, cliquez sur Exit (Quitter).
Patchs et correctifs RAC après déploiement Cette section fournit des informations sur les correctifs et patches nécessaires au déploiement de RAC 10g. Reconfiguration du paramètre CSS Miscount pour un fonctionnement correct du basculement avec EMC PowerPath En cas de panne d'une carte HBA, d'un commutateur ou d'un processeur de stockage (SP) EMC, le temps total de la prise de relais PowerPath par un autre périphérique peut dépasser 105 secondes.
c Dans la fenêtre de terminal, tapez la commande suivante et appuyez sur : cp /opt/oracle/patches/4770937/files/bin/crsd.bin /crs/oracle/product/10.2.0/crs/bin d Dans la fenêtre de terminal, tapez la commande suivante et appuyez sur : chmod 555 /crs/oracle/product/10.2.0/crs/bin/crsd.bin Permissions incorrectes après l'installation d'oracle dans ORACLE_HOME 1 Sur le nœud 1, connectez-vous en tant qu'utilisateur oracle.
Configuration et déploiement d'Oracle Database 10g (nœud unique) Cette section contient des informations sur la configuration initiale et les procédures de réinstallation décrites dans “Installation et configuration de Red Hat Enterprise Linux”.
7 Tapez : mke2fs -j /dev/sdb1 mke2fs -j /dev/sdc1 8 Modifiez le fichier /etc/fstab en ajoutant une entrée pour le système de fichiers qui vient d'être créé. 9 Tapez : mount /dev/sdb1 /opt/oracle/oradata mount /dev/sdc1 /opt/oracle/recovery 10 Tapez : chown -R oracle.
Pour désactiver SELinux de façon permanente, procédez comme suit : 1 Ouvrez le fichier grub.conf. 2 Recherchez la ligne de commande du noyau et ajoutez l'option suivante : selinux=0 Exemple : kernel /vmlinuz-2.6.9-22.0.1ELsmp ro root=LABEL=/ apic rhgb quiet selinux=0 3 Redémarrez le système. 4 Ouvrez une fenêtre de terminal et connectez-vous en tant que root. 5 Procédez comme suit : a Tapez service oracleasm configure.
Installation d'Oracle Database 10g Exécutez la procédure suivante pour installer Oracle 10g : 1 Connectez-vous en tant que root. 2 En tant qu'utilisateur root, montez le CD Oracle Database 10g. 3 Tapez startx pour lancer le système X Window. 4 Ouvrez une fenêtre de terminal et tapez : xhost + 5 Connectez-vous en tant qu'utilisateur oracle. 6 Démarrez Oracle Universal Installer.
Configuration de l'écouteur 1 Connectez-vous en tant que root. 2 Tapez startx pour lancer le système X Window. 3 Ouvrez une fenêtre de terminal et tapez : xhost + 4 Connectez-vous en tant qu'utilisateur oracle. 5 Tapez netca pour lancer l'assistant de configuration du réseau d'Oracle. 6 Acceptez les paramètres par défaut et cliquez sur Next dans chaque écran pour terminer la configuration de l'écouteur.
13 Dans la fenêtre Initialization Parameters (Paramètres d'initialisation), cliquez sur Next. 14 Dans la fenêtre Database Storage (Stockage de la base de données), cliquez sur Next. 15 Dans la fenêtre Creation Options (Options de création), cliquez sur Create a Database (Créer une base de données), puis sur Finish. 16 Dans la fenêtre Confirmation, cliquez sur OK pour créer la base de données. REMARQUE : la création de la base de données initiale peut durer plus d'une heure.
9 Dans la fenêtre Create ASM Instance (Créer une instance ASM), entrez le mot de passe de l'utilisateur SYS et cliquez sur Next. 10 Lorsqu'un message indique que l'assistant DBCA est prêt à créer et à démarrer l'instance ASM, cliquez sur OK. 11 Dans la fenêtre ASM Disk Groups (Groupes de disques ASM), sous Available Disk Groups (Groupes de disques disponibles), cliquez sur Create New (Créer).
19 Dans la fenêtre Initialization Parameters (Paramètres d'initialisation), sélectionnez Typical (Standard), puis cliquez sur Next. 20 Dans la fenêtre Database Storage (Stockage de la base de données), cliquez sur Next. 21 Dans la fenêtre Creation Options (Options de création), cliquez sur Create Database (Créer la base de données), puis sur Finish. 22 Dans la fenêtre Confirmation, cliquez sur OK pour créer la base de données.
Configuration des périphériques de stockage partagés sur le nouveau nœud Pour étendre une base de données RAC existante aux nouveaux nœuds, configurez ceux-ci pour que leurs ressources de stockage soient identiques à celles des nœuds existants. Cette section contient des informations sur l'utilisation d'ASM. Configuration du stockage partagé à l'aide d'ASM Si vous utilisez ASM, assurez-vous que les nouveaux nœuds ont accès aux disques ASM avec les mêmes autorisations que les nœuds existants.
Dans la fenêtre de terminal, tapez la commande suivante et appuyez sur : service oracleasm scandisks 9 Vérifiez que les disques ASM sont disponibles sur le nouveau nœud. Dans la fenêtre de terminal, tapez la commande suivante et appuyez sur : service oracleasm listdisks Tous les disques disponibles des autres nœuds sont répertoriés. Exemple : ASM1 ASM2 Ajout d'un nouveau nœud à la couche de configuration du cluster 1 Connectez-vous en tant qu'utilisateur oracle.
Ajout d'un nœud à la couche de configuration de la base de données 1 Connectez-vous en tant qu'utilisateur oracle. 2 À partir du répertoire /opt/oracle/product/10.2.0/db_1/oui/bin de l'un des nœuds existants, tapez addNode.sh pour lancer Oracle Universal Installer. 3 Dans la fenêtre de bienvenue, cliquez sur Next. 4 Dans la fenêtre Specify Cluster Nodes for Node Addition (Définition des nœuds à ajouter au cluster), cliquez sur le nouveau nœud, puis sur Next.
9 Dans la fenêtre Listener Configuration, Listener Name (Configuration de l'écouteur, Nom de l'écouteur), tapez LISTENER dans le champ Listener Name (Nom de l'écouteur) et cliquez sur Next. 10 Dans la fenêtre Listener Configuration, Select Protocols (Configuration de l'écouteur, Sélection des protocoles), sélectionnez TCP et cliquez sur Next.
11 Cliquez sur Yes. Le message suivant s'affiche : Do you want to perform another operation? 12 Cliquez sur No. 13 Sur un nœud quelconque du cluster, tapez srvctl status database -d pour savoir si l'instance a été correctement ajoutée. Suppression d'un nœud du cluster Lorsque vous effectuez les procédures décrites dans cette section, vérifiez que le nœud sélectionné est bien celui qui doit être supprimé.
9 Vérifiez les informations relatives à la suppression de l'instance et cliquez sur OK. Une barre de progression s'affiche lorsque l'assistant DBCA supprime l'instance et sa configuration Oracle Net. Quand l'opération est terminée, une boîte de dialogue s'affiche, vous demandant si vous souhaitez effectuer une autre opération. 10 Cliquez sur No. 11 Tapez srvctl config database -d pour vérifier que le nœud a été supprimé. 12 Tapez netca.
Suppression du nœud de la couche de configuration de la base de données 1 Sur le nœud à supprimer, connectez-vous en tant qu'utilisateur oracle. 2 Tapez la commande suivante, en utilisant le nom public du nœud à supprimer (node3-pub, par exemple) : srvctl stop nodeapps -n node3-pub 3 Sur le nœud à supprimer, connectez-vous en tant qu'utilisateur root. 4 Si vous souhaitez supprimer Oracle Database, tapez la commande suivante : rm -rf /opt/oracle/product/10.2.
La procédure est la suivante : 1 Déconnectez les systèmes de stockage externes. 2 Connectez-vous en tant qu'utilisateur root sur le système sur lequel vous souhaitez réinstaller les logiciels. 3 Pour éditer le fichier de configuration grub, tapez vi /etc/grub.conf et appuyez sur . 4 Dans ce fichier, remplacez la valeur par défaut par 3. 5 Sauvegardez le fichier et redémarrez le système.
Définition de l'interface réseau privée Pour connaître le nom de périphérique affecté à chaque interface réseau, procédez comme suit : 1 Déterminez le type des NIC du système. Reportez-vous au tableau 1-7 pour savoir quels NIC intégrés sont installés sur le système. Pour les NIC supplémentaires, vous pouvez disposer des cartes de la gamme Intel PRO/100 ou PRO/1000 ou de cartes Broadcom NetXtreme Gigabit.
Dépannage Le tableau 1-8 indique les mesures recommandées en cas d'incident lié au déploiement et à l'utilisation de Red Hat Enterprise Linux et d'Oracle. Tableau 1-8. Catégorie Dépannage Problème/ Symptôme Cause Mesure recommandée Performances Instabilité du système et et stabilité performances amoindries sous Red Hat Enterprise Linux. Utilisation excessive de l'espace de pagination. • Assurez-vous que la taille de cette zone ne dépasse pas La zone SGA 65 % de la RAM totale du système.
Tableau 1-8. Dépannage (suite) Catégorie Problème/ Symptôme Cause Mesure recommandée OCFS Lorsque vous tapez service o2cb start, la procédure échoue. SELinux est activé. Pour désactiver SELinux, suivez la procédure décrite dans “Configuration du stockage partagé pour Clusterware”. OCFS Le système se bloque ou affiche un message signalant une erreur grave du noyau.
Tableau 1-8. Dépannage (suite) Catégorie Problème/ Symptôme Cause Mesure recommandée OCFS Les opérations portant sur des fichiers OCFS (copie ou déplacement de gros fichiers, utilisation de “dd”, etc.) peuvent parfois bloquer le système. Le module fileutils par défaut ne prend pas en charge les opérations sur les fichiers de type o_direct, qui sont requises par les fichiers OCFS. Accédez au service Oracle Technology Network et téléchargez le dernier module fileutils pris en charge par OCFS.
Tableau 1-8. Dépannage (suite) Catégorie Problème/ Symptôme Cause Mesure recommandée CRS Les services CRS échouent au redémarrage des nœuds ou lorsque vous tapez /etc/ini.d/init. crs start. Le démon CSS des services CRS ne parvient pas à écrire sur le disque quorum. • Essayez de lancer le service en redémarrant le nœud ou en tapant root.sh à partir du répertoire /crs/oracle/product/10.2.0/crs_1/.
Tableau 1-8. Dépannage (suite) Catégorie Problème/ Symptôme Cause CRS Les services CRS ne démarrent pas lors de l'exécution du script root.sh. L'utilisateur oracle ne dispose pas des autorisations adéquates sur /var/tmp (plus particulièrement, /var/tmp/.oracle). 1 Donnez à l'utilisateur oracle les droits de propriétaire Les services CRS ne démarrent pas lors de l'exécution du script root.sh. D'autres tentatives de dépannage des services CRS ont échoué. 1 Ajoutez la ligne suivante au script root.
Tableau 1-8. Dépannage (suite) Catégorie Problème/ Symptôme Cause CRS Le nœud redémarre en boucle. L'interconnexion privée est désactivée. Mesure recommandée 1 Démarrez Linux en mode mono-utilisateur. 2 Tapez : /etc/inet.d/init.crs disable 3 Vérifiez que le nœud peut envoyer une commande ping aux autres nœuds du cluster via l'interconnexion privée. 4 Tapez : /etc/inet.d/init.crs enable 5 Redémarrez le système.
Tableau 1-8. Dépannage (suite) Catégorie Problème/ Symptôme Cause Mesure recommandée Installation du logiciel L'installation du logiciel Les horloges système Procédez de l'une des façons suivantes : Oracle sur les nœuds du des nœuds du cluster • Vérifiez que l'horloge système du nœud sur lequel le cluster échoue. ne sont pas logiciel Oracle est installé est en avance par rapport à identiques. celle des autres nœuds.
Tableau 1-8. Catégorie Dépannage (suite) Problème/ Symptôme Système La commande de d'exploitation redémarrage ne fonctionne pas sur les systèmes Dell™ PowerEdge™ 6800 et 6850 exécutant Red Hat Enterprise Linux (version 4) EM64T avec la mise à jour trimestrielle 2. Cause Mesure recommandée Cet incident est Arrêtez les nœuds manuellement et redémarrez-les. connu et sera corrigé dans la mise à jour trimestrielle 3. Système Les nouveaux Kudzu a été d'exploitation périphériques ajoutés à désactivé.
Obtention et utilisation de fichiers Open Source Le CD Dell Deployment comprend à la fois des programmes tiers et des programmes Dell. L'utilisation de ces logiciels est soumise aux conditions des contrats de licence des logiciels respectifs. Tous les logiciels désignés comme étant soumis aux conditions de la licence GPL GNU (GNU General Public License) peuvent être copiés, distribués et/ou modifiés en accord avec les termes et conditions de la licence GPL GNU, version 2 de juin 1991.
Guide de déploiement
Index A Ajout et suppression de nœuds, 141 ASM configuration du stockage de la base de données, 135 Autres options de configuration ajout et suppression de nœuds, 141 B Base de données initiale création, 129, 138 vérification, 131, 139 C Cluster Fibre Channel, exemple de connexion matérielle, 114 Configuration connecteur A, 121 Oracle Database 10g (nœud unique), 134 Oracle RAC 10g, 116 Red Hat Enterprise Linux, 113 services CRS, stockage partagé, 121 stockage de la base de données (nœud unique), 134 stock
Index I N Informations supplémentaires, 149 définition de l'interface réseau privée, 150 NIC intégrés, 150 Installation CRS, 124 Oracle Database 10g, 127 Oracle Database 10g (nœud unique), 137 Oracle RAC 10g, 124 Red Hat Enterprise Linux, 112 utilisation du CD Dell Deployment, 112 L Liens réseau, 117 Logiciels configuration requise, 110, 149 réinstallation, 148 M Nœud ajout et suppression, 141 retrait, 146 O Obtention d'aide, 158 Oracle Database 10g configuration à un seul nœud, 134 installati
Oracle Database 10g Extended Memory 64 Technology (EM64T) Enterprise Edition Linux Einrichtungsanleitung Version 2.0 w w w. d e l l . c o m | s u p p o r t . d e l l .
Anmerkungen und Hinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, die die Arbeit mit dem Computer erleichtern. HINWEIS: Ein HINWEIS warnt vor möglichen Beschädigungen der Hardware oder vor Datenverlust und zeigt auf, wie derartige Probleme vermieden werden können. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2006 Dell Inc. Alle Rechte vorbehalten. Die Reproduktion dieses Dokuments in jeglicher Form ohne schriftliche Genehmigung von Dell Inc.
Inhalt Einrichtungsdienst für Oracle RAC 10g . . . . . . . . . . . . . . . . . . . . Software- und Hardwareanforderungen Lizenzvereinbarungen . Wichtige Dokumentation Vorbereitungen . . . . . . . . . . . . . . . . . . . . . . . . 168 . . . . . . . . . . . . . . . . . . . . . . . . . 169 169 169 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation und Konfiguration von Red Hat Enterprise Linux . . . . . . . . . . . . . . . . 172 . . . .
Installation von Oracle Database 10g Konfiguration des Listeners. . . . . . Erstellen der Startdatenbank . . . . . Hinzufügen und Entfernen von Knoten . . . . . . . . . . . . . . . . . . . 194 195 196 . . . . . . . . . . . . . . . . . . . . 199 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hinzufügen eines neuen Knotens zur Netzwerkschicht . . . . . Konfiguration des gemeinsamen Speichers auf dem neuen Knoten . . . . . . . . . . . . . . . . . . . . . .
Dieses Dokument enthält Informationen über die Installation, Konfiguration, Neuinstallation und das Verwenden der Software Oracle Database 10g Enterprise Edition mit Real Application Clusters (Oracle RAC) auf Ihrer unterstützten Dell | Oracle-Konfiguration. Verwenden Sie dieses Dokument zusammen mit der Dell Deployment-CD, um die Software zu installieren. Wenn Sie das Betriebssystem nur mit den Betriebssystem-CDs installieren, treffen die Vorgehensweisen in diesem Dokument möglicherweise nicht auf Sie zu.
Software- und Hardwareanforderungen Bevor Sie die Oracle-RAC-Software auf dem System installieren: • Laden Sie die Red-Hat-CDs von der Website www.rhn.redhat.com herunter. • Halten Sie das Oracle-CD-Kit bereit. • Laden Sie die Dell Deployment-CD-Images von der entsprechenden Website („Dell | Oracle Tested and Validated Configurations“) unter www.dell.com/10g herunter, und erstellen Sie einsetzbare Dell Deployment-CDs aus den CD-Images.
Tabelle 1-2. Minimale Hardwareanforderungen – Fibre-Channel-Cluster (Fortsetzung) Hardwarekomponente Konfiguration Dell | EMC Fibre-ChannelSpeichersystem Informationen über unterstützte Konfigurationen finden Sie unter dell.com/10g Gigabit-Ethernet-Switch (zwei) Informationen über unterstützte Konfigurationen finden Sie unter dell.com/10g Dell | EMC Fibre-Channel-Switch (zwei) Acht Ports für zwei bis sechs Knoten Tabelle 1-3.
3 Klicken Sie im linken Menü auf Easy ISOs. 4 Klicken Sie im linken Menü auf der Seite Easy ISOs auf All. Die ISO-Images für alle Red-Hat-Produkte werden angezeigt. 5 Klicken Sie im Menü Channel Name auf das entsprechende ISO-Image für Ihre Red Hat Enterprise Linux-Software. 6 Laden Sie die CD-Images für die Red Hat Enterprise Linux-Software herunter, wie sie in der „Solution Deliverable List“ (SDL) auf der Dell/Oracle-Website unter www.dell.com/10g aufgeführt sind. 7 Brennen Sie die ISO-Images auf CDs.
8 Wenn das Fenster Network Setup (Netzwerkeinrichtung) erscheint, klicken Sie auf Weiter. Die Netzwerkeinstellungen werden später vorgenommen. 9 Wenn das Fenster Security Level (Sicherheitsstufe) erscheint, deaktivieren Sie die Firewall. Sie können die Firewall nach der Einrichtung von Oracle aktivieren. 10 Melden Sie sich als root beim System an. Konfigurieren von Red Hat Enterprise Linux 1 Melden Sie sich als root beim System an.
Überprüfen der Konfiguration von Clusterhardware und -software Prüfen Sie vor dem Einrichten von Clustern die Hardwareinstallation, die Kommunikationsverbindungen und die Knoten-Softwarekonfiguration im gesamten Cluster. In den folgenden Abschnitten erhalten Sie Informationen zur Einrichtung von Fibre-Channel-Clusterkonfigurationen. Einrichten des Fibre-Channel-Clusters Die Einrichtung des Fibre-Channel-Clusters wurde von dem für Sie zuständigen Mitarbeiter der Dell Professional Services vorgenommen.
Tabelle 1-4.
Konfigurationen der Fibre-Channel-Hardware und -Software • • • Jeder Knoten muss mindestens mit den folgenden Hardwarekomponenten ausgestattet sein: – Eine oder zwei Festplatten (mindestens 36 GB) im internen Festplattenschacht – Drei Gigabit NIC-Ports – Zwei Fibre-Channel-HBAs Auf jedem Knoten muss die folgende Software installiert sein: – Red Hat Enterprise Linux-Software (siehe Tabelle 1-1) – Fibre-Channel-HBA-Treiber Der Fibre-Channel-Speicher muss wie folgt konfiguriert sein: – Mindesten
Konfigurieren Sie die Schnittstellen je nach Anzahl der verfügbaren NIC-Ports wie in Tabelle 1-5 dargestellt. Tabelle 1-5.
Konfiguration des privaten Netzwerks mit Bündelung Bevor Sie den Cluster in Betrieb nehmen, müssen Sie das private Clusternetzwerk konfigurieren, damit die Knoten miteinander kommunizieren können. Dazu müssen Sie die Netzwerkbündelung (Bonding) konfigurieren und jedem Knoten im Cluster eine private IP und einen Hostnamen zuweisen.
5 Führen Sie für jedes Gerät, das Bestandteil der Bündelung ist, folgende Schritte aus: a Bearbeiten Sie im Verzeichnis /etc/sysconfig/network-scripts/ die Datei ifcfg-ethn, sodass sie folgende Zeilen enthält: DEVICE=ethn HWADDR= ONBOOT=yes TYPE=Ethernet USERCTL=no MASTER=bond0 SLAVE=yes BOOTPROTO=none b Geben Sie service network restart ein und ignorieren Sie etwaige Warnmeldungen.
10 Erstellen oder bearbeiten Sie auf jedem Knoten die Datei /etc/hosts.equiv, indem Sie alle öffentlichen IP-Adressen oder Hostnamen auflisten.
5 Stellen Sie in der Datei /proc/partitions Folgendes sicher: • Alle PowerPath-Pseudogeräte erscheinen in der Datei mit ähnlichen Gerätepfaden auf allen Knoten. Zum Beispiel /dev/emcpowera, dev/emcpowerb und /dev/emcpowerc. • Die Fibre-Channel-LUNs erscheinen als SCSI-Geräte, und jeder Clusterknoten ist mit der gleichen Anzahl LUNs konfiguriert.
Konfiguration des gemeinsamem Speichers für die Datenbank mit ASM Dieser Abschnitt enthält Anweisungen zur Konfiguration des gemeinsamen Speichers mit automatischer Speicherverwaltung (ASM). ANMERKUNG: Bevor Sie den ASM-Bibliothekstreiber konfigurieren, deaktivieren Sie SELinux. Um SELinux vorübergehend zu deaktivieren, gehen Sie wie folgt vor: 1 Melden Sie sich als Benutzer root an.
4 Um einen weiteren ASM-Datenträger hinzuzufügen (zum Beispiel ASM3), öffnen Sie auf allen Clusterknoten die Datei /etc/udev/scripts/raw-dev.sh und ergänzen Sie die entsprechenden Einträge, wie unten fettgedruckt dargestellt: MAKEDEV raw mv /dev/raw/raw1 /dev/raw/votingdisk mv /dev/raw/raw2 /dev/raw/ocr.dbf mv /dev/raw/raw3 /dev/raw/spfile+ASM.ora mv /dev/raw/raw4 /dev/raw/ASM1 mv /dev/raw/raw5 /dev/raw/ASM2 mv /dev/raw/raw6 /dev/raw/ASM3 chmod 660 /dev/raw/{votingdisk,ocr.dbf,spfile+ASM.
6 Stellen Sie sicher, dass die übrigen Knoten auf die in Schritt 3 erstellten ASM-Datenträger zugreifen können. Öffnen Sie auf jedem der übrigen Knoten ein Terminalfenster, geben Sie folgenden Befehl ein, und drücken Sie die : service oracleasm scandisks Installation von Oracle RAC 10g In diesem Abschnitt sind die erforderlichen Schritte zur Installation von Oracle RAC 10g beschrieben. Dabei werden CRS und die Oracle Database 10g-Software mit installiert.
6 Geben Sie ein: su - oracle 7 Geben Sie die folgenden Befehle ein, um den Oracle Universal Installer zu starten: unset ORACLE_HOME /runInstaller Die folgende Meldung wird angezeigt: Was ’rootpre.sh’ been run by root? [y/n] (n) 8 Geben Sie y ein, um fortzufahren. 9 Klicken Sie im Begrüßungsfenster auf Weiter. 10 Ändern Sie im Fenster Specify Home Details (Stamm-Details festlegen) den „Oracle home path“ (Oracle-Stammpfad) in /crs/oracle/product/10.2.0/crs, und klicken Sie auf Weiter.
14 Führen Sie im Fenster Specify Oracle Cluster Registry (OCR) Location (Speicherort für Oracle Cluster-Registry [OCR]) die folgenden Schritte durch: a Wählen Sie im Feld OCR Configuration (OCR-Konfiguration) den Eintrag External Redundancy (Externe Redundanz) aus. b Geben Sie im Feld Specify OCR Location (OCR-Speicherort festlegen) Folgendes ein: /dev/raw/ocr.dbf c Klicken Sie auf Weiter.
Installation von Oracle Database 10g 1 Geben Sie als Benutzer root folgenden Befehl ein: cluvfy stage -pre dbinst -n node1,node2 -r 10gR2 -verbose wobei node1 und node2 die öffentlichen Hostnamen sind. Wenn das System nicht korrekt konfiguriert ist, lesen Sie „Fehlerbehebung“, um weitere Informationen zu erhalten. Wenn das System korrekt konfiguriert ist, wird die folgende Meldung angezeigt: Pre-check for database installation was successful. 2 Geben Sie als Benutzer root den Befehl xhost + ein.
12 Befolgen Sie die Anweisungen im Fenster, und klicken Sie dann auf OK. 13 Klicken Sie im Fenster End of Installation (Installation abgeschlossen) auf Exit (Beenden). Konfiguration des Listeners In diesem Abschnitt werden die Schritte zum Konfigurieren des Listeners beschrieben, der erforderlich ist, damit entfernte Clients Verbindung zu einer Datenbank aufnehmen können. Führen Sie auf einem der Knoten folgende Schritte aus: 1 Melden Sie sich als root beim System an.
Erstellen der Startdatenbank mit ASM In diesem Abschnitt sind die Vorgehensweisen zum Erstellen einer Startdatenbank mit Oracle ASM sowie zum Überprüfen der Startdatenbank beschrieben. Gehen Sie wie folgt vor: 1 Geben Sie als Benutzer root folgenden Befehl ein: cluvfy stage -pre dbcfg -n node1,node2 -d $ORACLE_HOME -verbose wobei node1 und node2 die öffentlichen Hostnamen sind. Wenn das System nicht korrekt konfiguriert ist, lesen Sie „Fehlerbehebung“, um weitere Informationen zu erhalten.
12 Wenn in einer Meldung mitgeteilt wird, dass die ASM-Instanz vom DBCA erstellt und gestartet werden kann, klicken Sie auf OK. 13 Klicken Sie bei ASM Disk Groups (ASM-Datenträgergruppen) auf Create New (Neu erstellen).
23 Klicken Sie im Fenster Summary (Übersicht) auf OK, um die Datenbank zu erstellen. ANMERKUNG: Dieser Vorgang kann eine Stunde oder länger dauern. Nachdem die Datenbank erstellt wurde, wird das Fenster Database Configuration Assistant (Datenbankkonfigurationsassistent) angezeigt. 24 Klicken Sie auf Password Management (Kennwortverwaltung), um zugelassenen Benutzern spezifische Kennwörter zuzuweisen (falls erforderlich). Klicken Sie andernfalls auf Exit (Beenden).
So erhöhen Sie das CSS-Zeitlimit: 1 Fahren Sie die Datenbank und CRS auf allen Knoten bis auf einen herunter. 2 Melden Sie sich auf dem aktiven Knoten als Benutzer root an, und geben Sie folgenden Befehl ein: crsctl set css misscount 120 3 Starten Sie alle Knoten neu, um die CSS-Einstellung zu übernehmen. Starten der CRS-Ressourcen schlägt ohne Warten auf das Zeitlimit fehl 1 Melden Sie sich auf Knoten 1 als Benutzer oracle an.
Falsche Zugriffsrechte nach der Installation von Oracle in ORACLE_HOME 1 Melden Sie sich auf Knoten 1 als Benutzer oracle an. 2 Erstellen Sie für Patches und Dienstprogramme das Verzeichnis /opt/oracle/patches. 3 Melden Sie sich beim Oracle Metalink-Account an. 4 Öffnen Sie ein Browserfenster und rufen Sie die Oracle Support-Website www.metalink.oracle.com auf. 5 Führen Sie eine einfache Suche nach dem Patch 4516865 mit x86-64 als Plattform durch.
• Installation der Oracle-Datenbank • Konfiguration des Listeners • Erstellen der Startdatenbank • Festlegen des Benutzerkennworts für die Oracle-Datenbank Konfiguration des öffentlichen Netzwerks Stellen Sie sicher, dass das öffentliche Netzwerk funktioniert und dem System eine IP-Adresse und ein Hostname zugewiesen sind.
Konfiguration des Datenbankspeichers mit Oracle ASM Im folgenden Beispiel wird davon ausgegangen, dass zwei Speichergeräte (sdb und sdc) zum Erstellen einer Datenträgergruppe für die Datenbankdateien und einer Datenträgergruppe für die Wiederherstellung und Archivprotokolldateien verfügbar sind. 1 Melden Sie sich als root beim System an. 2 Geben Sie fdisk /dev/sdb ein, um eine Primärpartition für das gesamte Gerät zu erstellen.
5 Gehen Sie wie folgt vor: a Geben Sie service oracleasm configure ein.
7 Wählen Sie im Fenster Select Installation Method (Installationsmethode auswählen) die Option Advanced Installation (Erweitere Installation), und klicken Sie dann auf Weiter. 8 Klicken Sie im Fenster Select Installation Type (Installationstyp auswählen) auf Enterprise Edition und anschließend auf Weiter. 9 Stellen Sie im Fenster Specify Home Details (Stamm-Details festlegen) sicher, dass im Feld Path (Pfad) Folgendes eingetragen ist: /opt/oracle/product/10.2.0/db_1 10 Klicken Sie auf Weiter.
Erstellen der Startdatenbank Erstellen der Startdatenbank mit ext3-Dateisystem Führen Sie folgende Schritte aus, um mit dem Oracle Datenbankkonfigurationsassistenten (DBCA) eine Startdatenbank zu erstellen: 1 Melden Sie sich als oracle an. 2 Geben Sie dbca ein, um den Oracle DBCA zu starten. 3 Klicken Sie im Begrüßungsfenster auf Weiter. 4 Klicken Sie im Fenster Operations (Vorgänge) auf Create a Database (Datenbank erstellen) und anschließend auf Weiter.
18 Geben Sie export ORACLE_SID=dbname ein, wobei dbname der globale Bezeichner ist, den Sie im DBCA für die Datenbank definiert haben. 19 Überprüfen Sie, ob die Datenbank richtig ausgeführt wird, indem Sie folgende Schritte durchführen: a Geben Sie sqlplus "/ as sysdba" ein, um die SQL>-Eingabeaufforderung anzuzeigen.
Wenn Sie die RWA-Geräteschnittstelle verwenden, wählen Sie /dev/raw/ASM1. Wenn Sie den ASM-Bibiothekstreiber verwenden und nicht auf die möglichen Datenträger zugreifen können, klicken Sie auf Change Disk Discovery String (Datenträgererkennungszeichenkette ändern), geben Sie ORCL:* als Zeichenkette ein, und wählen Sie dann ASM1. Eine Meldung zeigt an, dass die Datenträgergruppe jetzt erstellt wird.
22 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 Password Management angezeigt. 23 Klicken Sie auf Exit (Beenden). 24 Geben Sie nach abgeschlossener Datenbankerstellung die folgenden Befehle ein, um dem oracleBenutzerprofil die Umgebungsvariable ORACLE_SID hinzuzufügen: echo "export ORACLE_SID=oradb" >> /home/oracle/.
Konfiguration des gemeinsamen Speichers auf dem neuen Knoten Legen Sie für die Knoten, die Sie zur bereits vorhandenen RAC-Datenbank hinzufügen wollen, den gleichen Speicherort fest wie für die bereits vorhandenen Knoten. Dieser Abschnitt enthält die Vorgehensweisen für ASM. Konfiguration des gemeinsamen Speichers mit ASM Wenn Sie ASM verwenden, sollten die neuen Knoten die gleichen Zugriffsrechte für den ASM-Datenträger erhalten wie die bereits vorhandenen Knoten.
8 Überprüfen Sie, ob der neue Knoten auf die ASM-Datenträger zugreifen kann. Geben Sie im Terminalfenster den folgenden Befehl ein, und drücken Sie die : service oracleasm scandisks 9 Vergewissern Sie sich, dass die ASM-Datenträger auf dem neuen Knoten verfügbar sind. Geben Sie im Terminalfenster den folgenden Befehl ein, und drücken Sie die : service oracleasm listdisks Alle verfügbaren Datenträger auf den verbleibenden Knoten werden aufgelistet.
Hinzufügen eines neuen Knotens zur Datenbankschicht 1 Melden Sie sich als oracle an. 2 Geben Sie auf einem der bereits vorhandenen Knoten vom Verzeichnis /opt/oracle/product/10.2.0/db_1/oui/bin aus den Befehl addNode.sh ein, um den Oracle Universal Installer zu starten. 3 Klicken Sie im Begrüßungsfenster auf Weiter. 4 Überprüfen Sie im Fenster Specify Cluster Nodes for Node Addition (Hinzuzufügende Clusterknoten auswählen), ob der neue Knoten ausgewählt ist, und klicken Sie dann auf Weiter.
8 Wählen Sie im Fenster Listener Configuration, Listener (Listener-Konfiguration, Listener) die Option Reconfigure (Neu konfigurieren) aus, und klicken Sie auf Weiter. 9 Geben Sie im Fenster Listener Configuration, Listener Name (Listener-Konfiguration, Name des Listeners) im Feld Listener Name (Name des Listeners) die Zeichenfolge LISTENER ein, und klicken Sie auf Weiter.
9 Klicken Sie im Fenster Instance Storage (Instanzspeicher) auf Finish (Fertig stellen). 10 Klicken Sie im Fenster Summary (Zusammenfassung) auf OK, um die Datenbankinstanz hinzuzufügen. Eine Fortschrittsleiste wird angezeigt, gefolgt von einer Meldung mit der Frage, ob Sie ASM auf den/die neuen Knoten ausweiten wollen. 11 Klicken Sie auf Ja. Die folgende Meldung wird angezeigt: Do you want to perform another operation? 12 Klicken Sie auf Nein.
8 Wählen Sie die zu löschende Instanz aus, und klicken Sie auf Weiter. Die lokale Instanz, von der aus Sie den DBCA ausführen, können Sie nicht löschen. Wenn Sie die lokale Instanz auswählen, wird vom DBCA eine Fehlermeldung angezeigt. Klicken Sie in diesem Fall auf OK, wählen Sie eine andere Instanz aus, und klicken Sie auf Finish (Beenden). Falls dieser Instanz Dienste zugewiesen sind, wird das Fenster DBCA Services Management (DBCA-Dienste Verwaltung) angezeigt.
Entfernen eines Knotens aus der Datenbankschicht 1 Melden Sie sich bei dem zu löschenden Knoten als Benutzer oracle an. 2 Geben Sie den folgenden Befehl ein, und verwenden Sie dabei den öffentlichen Namen des zu löschenden Knotens: (zum Beispiel node3-pub): srvctl stop nodeapps -n node3-pub 3 Melden Sie sich bei dem zu löschenden Knoten als Benutzer root an. 4 Wenn Sie die Software Oracle Database entfernen möchten, geben Sie folgenden Befehl ein: rm -rf /opt/oracle/product/10.2.
Um die Software auf diese Weise neu zu installieren, gehen Sie wie folgt vor: 1 Trennen Sie den externen Speicher vom System. 2 Melden Sie sich als root bei dem System an, auf dem Sie die Software neu installieren möchten. 3 Geben Sie vi /etc/grub.conf ein und drücken Sie die , um die grubKonfigurationsdatei zu bearbeiten. 4 Ändern Sie den Standardwert in der Datei auf 3. 5 Speichern Sie die Datei und starten Sie das System neu.
Feststellen der privaten Netzwerkschnittstelle Um festzustellen, welcher Schnittstellen-Gerätename den einzelnen Netzwerkschnittstellen zugeordnet ist, gehen Sie wie folgt vor: 1 Finden Sie heraus, welche NIC-Typen im System vorliegen. Anhand von Tabelle Tabelle 1-7 können Sie ermitteln, welche integrierten NICs im System vorhanden sind. Bei Add-In-NICs handelt es sich möglicherweise um Karten der Intel PRO/100-Reihe oder der Intel PRO/1000-Reihe oder um Broadcom NetXtreme Gigabit-Karten.
Fehlerbehebung In Tabelle 1-8 sind empfohlene Maßnahmen für Probleme aufgeführt, die beim Einrichten und beim Einsatz von Red Hat Enterprise Linux und Oracle-Software auftreten können. Tabelle 1-8. Kategorie Fehlerbehebung Problem/ Anzeichen Ursache Empfohlene Korrekturmaßnahmen Leistung und Unzureichende Stabilität Leistung und instabiler Betrieb von Red Hat Enterprise Linux. Übermäßige Beanspruchung des Swap-Speichers.
Tabelle 1-8. Kategorie Fehlerbehebung (Fortsetzung) Problem/ Anzeichen Leistung und Die Warnung Stabilität „Unknown interface type“ (Unbekannter Schnittstellentyp) wird im OracleAlarmprotokoll angezeigt. Schlechte Systemleistung. Ursache Empfohlene Korrekturmaßnahmen Die öffentliche Leiten Sie den Cluster-Datenverkehr auf die private Schnittstelle ist Netzwerkschnittstelle um, indem Sie auf einem Knoten für interne Cluster- folgende Schritte ausführen: kommunikation 1 Melden Sie sich als oracle an.
Tabelle 1-8. Fehlerbehebung (Fortsetzung) Kategorie Problem/ Anzeichen Ursache OCFS Das System reagiert nicht mehr, oder es wird eine Kernel-PanicMeldung angezeigt. In der Standardkonfiguration von Red Hat Linux ist in den Dateien /etc/cron.daily und /etc/updatedb.conf ein cron-Job festgelegt, der das Programm updatedb einmal täglich auf bestimmten Dateisystemen ausführt. updatedb wird auf OCFSDateisystemen nicht unterstützt. 1 Öffnen Sie die Datei /etc/cron.d/slocate.
Tabelle 1-8. Fehlerbehebung (Fortsetzung) Kategorie Problem/ Anzeichen Ursache OCFS Bei den Befehlen copy, move, dd und anderen Vorgängen mit großen OCFS-Dateien reagiert das System unter Umständen vorübergehend nicht mehr. Das standardmäßig Laden Sie die das aktuelle fileutils-Paket mit OCFSinstallierte fileutils- Unterstützung vom Oracle Technology Network herunter. Paket ist nicht für die bei OCFS-Dateien benötigten o_direct Datei-Operationen geeignet.
Tabelle 1-8. Fehlerbehebung (Fortsetzung) Kategorie Problem/ Anzeichen Ursache Empfohlene Korrekturmaßnahmen CRS Fehler beim Start von CRS, wenn Sie die Knoten neu starten oder den Befehl /etc/ini.d/ init.crs start ausführen. Der CSS-Daemon (Cluster Ready Services) kann nicht auf den QuorumDatenträger schreiben. • Versuchen Sie den Dienst neu zu starten, indem Sie den Knoten neu starten oder den Befehl root.sh im Verzeichnis /crs/oracle/product/10.2.0/crs_1/ ausführen.
Tabelle 1-8. Fehlerbehebung (Fortsetzung) Kategorie Problem/ Anzeichen Ursache CRS CRS startet beim Ausführen von root.sh nicht. Der Benutzer oracle besitzt keine Zugriffsrechte auf das Verzeichnis /var/tmp (insbesondere /var/tmp/.oracle). 1 Legen Sie den Benutzer oracle als Besitzer des CRS startet beim Ausführen von root.sh nicht. Andere Schritte zur Fehlerbehebung bei CRS wurden ohne Erfolg durchgeführt.
Tabelle 1-8. Fehlerbehebung (Fortsetzung) Kategorie Problem/ Anzeichen Ursache CRS Knoten startet ununterbrochen neu. Die private Verbindung ist ausgefallen. Empfohlene Korrekturmaßnahmen 1 Starten Sie Linux im Einzelbenutzer-Modus. 2 Geben Sie ein: /etc/inet.d/init.crs disable 3 Überprüfen Sie, ob der Knoten die anderen Clusterknoten mit Ping-Befehlen über die private Verbindung erreicht. 4 Geben Sie ein: /etc/inet.d/init.crs enable 5 Starten Sie das System neu.
Tabelle 1-8. Fehlerbehebung (Fortsetzung) Kategorie Problem/ Anzeichen Ursache Empfohlene Korrekturmaßnahmen Softwareinstallation Oracle-Software lässt sich auf den Clusterknoten nicht installieren. Die Systemzeiten der Führen Sie eines der folgenden Verfahren durch: Clusterknoten sind • Stellen Sie sicher, dass die Systemzeit auf dem Knoten für nicht identisch. die Oracle-Installation auf eine spätere Zeit als die übrigen Knoten eingestellt ist.
Tabelle 1-8. Fehlerbehebung (Fortsetzung) Kategorie Problem/ Anzeichen Ursache Empfohlene Korrekturmaßnahmen Betriebssystem Auf den Systemen Dell PowerEdge 6800 und 6850 funktioniert bei Einsatz von Red Hat Enterprise Linux (Version 4) EM64T Vierteljährliches Update 2 der Befehl zum Neustarten nicht. Dies ist ein bekanntes Problem, das mit dem Vierteljährlichen Update 3 behoben sein wird. Fahren Sie den Computer manuell herunter und starten Sie die Knoten neu.
Oracle Support Informationen über Schulungen für Oracle-Software und Anwendungs-Clusterware finden Sie auf der Oracle-Website unter www.oracle.com, oder wenden Sie sich direkt an Oracle. Die entsprechenden Kontaktdaten können Sie der Oracle-Dokumentation entnehmen. Technischer Support, Downloads und weitere technische Informationen sind auf der Oracle MetaLinkWebsite unter metalink.oracle.com verfügbar.
Index A F I ASM Konfiguration des Datenbankspeichers, 193 Fehlerbehebung, 209 B G Beispiele Fibre-Channel-Cluster, Hardwareverbindungen, 172 Gemeinsamen Speicher für CRS konfigurieren, 179 Installation CRS, 182 mit Dell Deployment-CD, 170 Oracle Database 10g (Einzelknoten), 194 Oracle Datenbank 10g, 185 Oracle RAC 10g, 182 Red Hat Enterprise Linux, 170 Bonding (Bündelung), 176 C Cluster Fibre-ChannelHardwareverbindungen, Beispiel, 172 Cluster einrichten Fibre-Channel, 172 CRS Installation, 182 CR
Index Konfiguration (Fortsetzung) Oracle RAC 10g, 174 Red Hat Enterprise Linux, 171 Konfiguration der öffentlichen und privaten Netzwerke, 174 Konfiguration von Oracle 10g, 172 Hardware- und Softwarekonfigurationen überprüfen, 172 Konfiguration von Oracle RAC 10g, 174 Startdatenbank erstellen, 187 Konfigurieren des privaten Netzwerks, 176 L Listener, Konfiguration, 186, 195, 202 Lizenzvereinbarungen, 169 Oracle Datenbank 10g Einzelknotenkonfiguration, 191 Installation, 185 Oracle Datenbank 10g (einz
Oracle Database 10g Extended Memory 64 Technology (EM64T)Enterprise Edition Linux 導入ガイドバー ジョン 2.0 w w w. d e l l . c o m | s u p p o r t . d e l l .
メモおよび注意 メモ: コンピュータを使いやすくするための重要な情報を説明しています。 注意: ハードウェアの損傷やデータの損失の可能性を示し、その危険を回避するための方法を説明してい ます。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2006 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられています。 本書で使用されている商標について:Dell、DELL ロゴ、Dell OpenManage、および PowerEdge は Dell Inc. の商標です。 EMC、PowerPath、および Navisphere は EMC Corporation の登録商標です。Intel および Xeon は Intel Corporation の登録 商標です。Red Hat は Red Hat, Inc. の登録商標です。 本書では、必要に応じて上記以外の商標や会社名が使用されている場合がありますが、これらの商標や会社名は、一切 Dell Inc.
目次 Oracle RAC 10g Deployment Service . . . . . . . . . . . . . . . . . . . . . ソフトウェアおよびハードウェアの要件 . ライセンス契約 . . . 重要なマニュアル. . 作業を開始する前に 225 . . . . . . . . . . . . . . . . 226 . . . . . . . . . . . . . . . . . . . . . . . . . . 228 228 228 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Red Hat Enterprise Linux のインストールと設定 . . . . . . . . . . . . . . 228 『Deployment CD』を使用した Red Hat Enterprise Linux の インストール . . . . . . . . . . . . . . . . .
Oracle Database 10g の設定および導入(シングルノード). パブリックネットワークの設定 . . . . . . . . . . . データベース記憶域の設定 . . . . . . . . . . . . . . Oracle ASM Library Driver を使用したデータベース 記憶域の設定 . . . . . . . . . . . . . . . . . . . . . . Oracle Database 10g のインストール . . . . . . . . . リスナーの構成 . . . . . . . . . . . . . . . . . . . . . シードデータベースの作成 . . . . . . . . . . . . . . ノードの追加と削除 . . . . . . . 250 . . . . . . . . 250 250 . . . . . . . . . . . . . . . . . . . . . . . . 252 253 254 254 . . . . . . . . . . . . . . . . . . . . . . .
本書では、Dell | Oracle がサポートされた構成で Oracle Database 10g Enterprise Edition with Real Application Clusters(Oracle RAC)ソフトウェアをインストール、設定、再インストール、および 使用するのに必要な情報について説明します。 本書と『Dell Deployment CD』を併用して、使用するソフトウェアをインストールしてください。 オペレーティングシステムの CD のみを使用してオペレーティングシステムをインストールする場 合、本書の手順は該当しないことがあります。 内容は次のとおりです。 • ソフトウェアおよびハードウェアの要件 • Red Hat® Enterprise Linux のインストールと設定 • クラスタのハードウェアおよびソフトウェアの構成の確認 • Oracle RAC 用のネットワークおよびストレージ(記憶域)の構成 • Oracle RAC のインストール • Oracle Database 10g の設定および導入(シングルノード) • ノードの追加と削除
ソフトウェアおよびハードウェアの要件 Oracle RAC ソフトウェアをシステムにインストールする前に、以下の手順を実行してください。 • Red Hat のウェブサイト www.rhn.redhat.com から『Red Hat CD』をダウンロードします。 • Oracle CD キットを用意します。 • Dell | Oracle Tested and Validated Configurations(Dell | Oracle で検証済みの構成)ウェブ サイト www.dell.com/10g から『Dell Deployment CD』のイメージをダウンロードし、CD イメージから作業用の『Dell Deployment CD』を作成します。 表 1-1 に、デルがサポートする Oracle の構成の基本的なソフトウェア要件の一覧を示します。 表 1-2 ~ 表 1-3 は、ハードウェアの要件の一覧です。最低限必要なドライバとアプリケーションの バージョンの詳細については、「サポートされるソフトウェアのバージョン」(265 ページ)を参 照してください。 表 1-1.
表 1-2. ハードウェアの最小要件 ― ファイバーチャネルクラスタ ハードウェアコンポーネント Dell™ PowerEdge™ システム (Automatic Storage Management [ASM] を使用した 2 ~ 8 ノード) 構成 3 GHz Intel Xeon® プロセッサ 1 GB RAM 内蔵ハードドライブ用の PERC(PowerEdge Expandable RAID Controller)コントローラ PERC に接続された 36 GB のハードドライブ (RAID 1)× 2 Gigabit NIC ポート× 3 光学式ホストバスアダプタ(HBA)ポート× 2 Dell | EMC ファイバーチャネルスト レージシステム サポートされる構成については、dell.com/10g を参照 してください Gigabit Ethernet スイッチ× 2 サポートされる構成については、dell.com/10g を参照 してください Dell | EMC ファイバーチャネルスイッ チ× 2 2 ~ 6 ノードに対して 8 ポート 表 1-3.
ライセンス契約 メモ: お使いの Dell システムには、Oracle ソフトウェアの 30 日間の試用ライセンスが含まれていま す。この製品のライセンスをお持ちでない場合は、デルの営業担当にお問い合わせください。 重要なマニュアル 特定のハードウェアコンポーネントの詳細については、システムに付属のマニュアルを参照してく ださい。 Oracle の製品情報については、Oracle CD キットの『How to Get Started』ガイドを参照してくだ さい。 作業を開始する前に Red Hat Enterprise Linux オペレーティングシステムをインストールする前に、Red Hat Network ウェブサイト rhn.redhat.com から Red Hat Enterprise Linux Quarterly Update ISO イメージ をダウンロードし、それらのイメージを CD に書き込みます。 ISO イメージをダウンロードするには、以下の手順を実行します。 1 Red Hat Network ウェブサイト rhn.redhat.
3 『Dell Deployment CD 1』を CD ドライブにセットし、システムを再起動します。 システムが『Dell Deployment CD』から起動します。 4 画面の指示に従って、4 を入力してから を押し、Red Hat Enterprise Linux 4 AS for Oracle Database(x86_64)を選択します。 メモ: この処理には数分かかることがあります。 確認のメッセージが表示されたら、yes と入力して空のユーティリティパーティションを作成 します。 5 表示されるメッセージに従って、各『Red Hat Installation CD』を CD ドライブにセットします。 導入パーティションが作成され、CD に収められた各ファイルがここにコピーされます。コピー 操作が完了すると、最後の CD が自動的にイジェクトされて、導入パーティションから起動し ます。 インストールが完了すると、システムが自動的に再起動して、Red Hat セットアップエージェ ントの画面が表示されます。 6 Red Hat セットアップエージェントの ようこそ ウィンドウで、進
5 source /root/.bash_profile と入力して、環境変数を起動します。 6 ./010-hwCheck.py と入力して、CPU、RAM、およびディスク容量が Oracle Database のイ ンストールに必要な最小要件を満たしていることを確認します。 スクリプトがパラメータが正しくないことを報告した場合は、ハードウェア構成を更新してか ら、再度スクリプトを実行します。 7 ./330-rpms_san_qlogic.py と入力して、Qlogic ドライバをアップデート版と交換します。 8 外付けストレージを接続します。 Red Hat Network を使用したシステムパッケージのアップデート Red Hat では、ソフトウェアのアップデート版を定期的にリリースして、バグの修正、セキュリティ 問題への対応、新しい機能の追加などを行っています。ユーザーは Red Hat Network(RHN)サー ビスを利用してアップデート版をダウンロードできます。RHN を利用してシステムソフトウェアを 最新バージョンに更新する前に、デルと Oracle のウェブサイト dell.
図 1-1. ファイバーチャネルクラスタ用のハードウェアの接続 クライアントシステム Gb Ethernet スイッチ (プライベートネットワーク) LAN/WAN PowerEdge システム (Oracle データベース) Dell | EMC ファイバーチャネル スイッチ(SAN) Dell | EMC ファイバーチャネ ルストレージシステム CAT 5e/6(内蔵 NIC) CAT 5e/6(銅線 Gigabit NIC) 光ファイバーケーブル 追加の光ファイバーケーブ 表 1-4.
表 1-4.
ファイバーチャネルのハードウェアとソフトウェアの構成 • • • 各ノードには、少なくとも以下のハードウェア周辺機器が含まれている必要があります。 – 内蔵ドライブベイ内にハードドライブ× 1 台または 2 台(最小 36 GB) – Gigabit NIC ポート× 3 – ファイバーチャネル HBA × 2 各ノードには、以下のソフトウェアをインストールする必要があります。 – Red Hat Enterprise Linux ソフトウェア(表 1-1 を参照) – ファイバーチャネル HBA ドライバ ファイバーチャネルストレージは、以下の構成が必須です。 – クラスタに対して少なくとも 3 つの LUN を作成して割り当てる – LUN のサイズは最小 5 GB Oracle RAC 10g 用のネットワークおよびストレージ(記憶域) の構成 本項では、シードデータベースを実行するファイバーチャネルクラスタまたは SCSI クラスタのセッ トアップについて説明します。内容には、以下の手順が含まれています。 • パブリックおよびプライベートネットワークの設定 •
表 1-5.
ボンディングを使用したプライベートネットワークの設定 クラスタを配置する前に、プライベートクラスタネットワークを設定し、ノード間で通信できるよ うにします。このためには、ネットワークボンディングを設定して、プライベート IP アドレスとホ スト名をクラスタ内の各ノードに割り当てます。Broadcom または Intel の NIC でネットワークボン ディングを設定し、プライベートネットワークを設定するには、各ノードで次の手順を実行します。 1 root としてログインします。 2 /etc/modprobe.conf ファイルに、次の行を追加します。 alias bond0 bonding 3 可用性を高めるためには、/etc/modprobe.
TYPE=Ethernet USERCTL=no MASTER=bond0 SLAVE=yes BOOTPROTO=none b service network restart と入力し、表示される警告はすべて無視します。 6 各ノードで ifconfig と入力して、プライベートインタフェースが機能していることを確認し ます。 ノードのプライベート IP アドレスはプライベートインタフェース bond0 に割り当てる必要が あります。 7 各ノードにプライベート IP アドレスを設定したら、1 つのノードから各 IP アドレスを ping し て、プライベートネットワークが機能していることを確認します。 8 ssh < プライベート IP> と入力して各ノードに接続し、プライベートネットワークと ssh が 正常に機能していることを確認します。 9 各ノードで、/etc/hosts ファイルに以下の各行を追加して修正します。 メモ: この例と次の手順は 2 ノード構成の場合です。これを超えるクラスタノードがある場合 は、各ノードにこれらの行を追加します。 127.0.0.1 localhost.
ストレージ構成の確認 本書で説明されているクラスタ設定を行う際に、ファイバーチャネルストレージ上にパーティショ ンを作成します。パーティションを作成するには、すべてのクラスタノードが外付けストレージデ バイスを検出できるようにする必要があります。各ノードが各ストレージ LUN または論理ディスク を検出できることを確認するには、次の手順を実行します。 1 Dell | EMC ファイバーチャネルストレージでは、EMC Navisphere® エージェントと正しいバー ジョンの PowerPath(表 1-6 を参照)が各ノードにインストールされていて、EMC Navisphere ソフトウェアに正しいストレージグループが割り当てられていることを確認します。手順につ いては、Dell | EMC ファイバーチャネルストレージに付属のマニュアルを参照してください。 メモ: この作業はクラスタを設置したデルの公認技術者によって実行されています。このソフ トウェアをノードに再インストールする場合は、この手順を完了する必要があります。 2 ストレージデバイスとクラスタノードが正しくファイバーチャネルスイッチ(図 1-
Clusterware 用の共有ストレージの構成 本項では、Oracle Clusterware 用の共有ストレージを構成する手順について説明します。 raw デバイスインタフェースを使用した共有ストレージの構成 1 最初のノードで、fdisk コマンドを使って、外付けストレージデバイスに 3 つのパーティショ ンを作成します。 fdisk /dev/emcpowerx と入力して、Cluster Repository、Voting Disk、および Oracle シ ステムのパラメータファイルのそれぞれに 150 MB のパーティションを 3 つ作成します。 2 次のように入力して、新しいパーティションを確認します。 more /proc/partitions /proc/partitions ファイル内に新しいパーティションが表示されたら、次のように入力します。 sfdisk -R /dev/< デバイス名 > 3 各ノードで、以下の手順を実行します。 a /etc/sysconfig/rawdevices ファイルを編集して、ファイバーチャネルクラスタ用に以下 の行を追加します。 /dev/raw/
3 システムを再起動します。 ASM を使用してクラスタの設定を行うには、すべてのノードで、以下の手順を実行します。 1 root としてログインします。 2 最初のファイバーチャネルクラスタノードで、次のように fdisk を使用して、別の 2 つの外付 けストレージデバイスにそれぞれ 1 つずつパーティションを作成します。 a fdisk /dev/emcpowerx と入力して、デバイス全体に対するプライマリパーティション を作成します。 fdisk ユーティリティのヘルプを表示するには、h と入力します。 b 新しいパーティションが存在することを確認するには、cat /proc/partitions と入力 します。 新しいパーティションが見つからない場合は、次のように入力します。 sfdisk -R /dev/< デバイス名 > raw デバイスインタフェースを使用した記憶域の設定 1 /etc/sysconfig/rawdevices ファイルを編集して、ファイバーチャネルクラスタ用に以下の 行を追加します。 /dev/raw/ASM1 /dev/emcpowerb1 /dev/raw/
ASM Library Driver を使用した記憶域の設定 1 root としてログインします。 2 すべてのノードでターミナルウィンドウを開き、次の手順を実行します。 a service oracleasm configure と入力します。 b すべてのノードについて、以下の入力を行います。 Default user to own the driver interface(ドライバインタフェースを所有するデフォ ルトユーザー)[ ]: oracle Default group to own the driver interface(ドライバインタフェースを所有するデ フォルトグループ)[ ]: dba Start Oracle ASM library driver on boot(起動時に Oracle ASM ライブラリドライバ を開始する)(y/n) [n]: y Fix permissions of Oracle ASM disks on boot(起動時に Oracle ASM ディスクのパー ミッションを修正)(y/n) [y]: y 3 ノード 1 のターミナルウィンドウで次のテキ
Oracle RAC 10g のインストール 本項では Oracle RAC 10g のインストール手順について説明します。これには CRS のインストール および Oracle Database 10g ソフトウェアのインストールが含まれます。クラスタを実働環境に導 入する前に、シードデータベースを作成してそのクラスタが正しく動作するかどうか確認すること をお勧めします。 作業を開始する前に インストール中のエラーを避けるために、すべてのクラスタノードでシステムクロックの設定を同 一にしてください。 お使いのクラスタノードのシステムクロックを Network Time Protocol(NTP)サーバーと同期化 します。NTP サーバーにアクセスできない場合は、次の手順のいずれかを実行してください。 • Oracle Database ソフトウェアのインストールを実行するノードのシステムクロックが残りの ノードよりも遅い時刻に設定されていることを確認します。 • クラスタノードの 1 つを NTP サーバーとして構成し、クラスタ内の残りのノードを同期化し ます。 Clusterware のインスト
7 次のコマンドを入力して、Oracle Universal Installer を起動します。 unset ORACLE_HOME /runInstaller 次のメッセージが表示されます。 Was ’rootpre.sh’ been run by root?(rootpre.sh はルートで実行されましたか ?) [y/n] (n) 8 y と入力して続行します。 9 ようこそ ウィンドウで 次へ をクリックします。 10 ホームの詳細の指定 ウィンドウで、Oracle ホームのパスを /crs/oracle/product/10.2.
14 Specify Oracle Cluster Registry (OCR) Location(Oracle Cluster Registry(OCR)の場所 の指定)ウィンドウで、次の手順を実行します。 a OCR Configuration(OCR の設定)ボックスで、外部冗長性 を選択します。 b Specify OCR Location(OCR の場所の指定)フィールドに次のテキストを入力します。 /dev/raw/ocr.
Oracle Database 10g ソフトウェアのインストール 1 root ユーザーとして、次のように入力します。 cluvfy stage -pre dbinst -n node1,node2 -r 10gR2 -verbose node1 および node2 はパブリックホスト名です。 お使いのシステムが正しく構成されない場合は、「トラブルシューティング」で詳細を参照し てください。 お使いのシステムが正しく構成されると、次のメッセージが表示されます。 Pre-check for database installation was successful.
リスナーの構成 本項では、データベースへのリモートクライアントの接続に必要なリスナーの構成手順について説 明します。 1 つのノードのみで、以下の手順を実行します。 1 root としてログインします。 2 startx と入力して X Window System を起動します。 3 ターミナルウィンドウを開き、次のように入力します。 xhost + 4 oracle ユーザーとして、netca と入力して Net Configuration Assistant を起動します。 5 クラスタ構成 を選択し、次へ をクリックします。 6 TOPSNodes ウィンドウで Select All Nodes(すべてのノードを選択する)をクリックし、 次へ をクリックします。 7 ようこそ ウィンドウで リスナーの構成 を選択し、次へ をクリックします。 8 リスナーの構成、リスナー ウィンドウで 追加 を選択し、次へ をクリックします。 9 リスナーの構成、リスナー名 ウィンドウの リスナー名 フィールドに LISTENER と入力し、 次へ をクリックします。 10 リスナーの構成、プロトコルの選択 ウィンドウで
2 ノード 1 で、oracle ユーザーとして dbca & と入力し、DBCA を起動します。 3 ようこそ ウィンドウで Oracle Real Application Cluster データベース を選択し、次へ をク リックします。 4 操作 ウィンドウで データベースの作成 をクリックし、次へ をクリックします。 5 ノードの選択 ウィンドウで すべて選択 をクリックし、次へ をクリックします。 6 データベーステンプレート ウィンドウで カスタムデータベース をクリックし、次へ をクリッ クします。 7 データベース識別情報 ウィンドウで、racdb のようなグローバルデータベース名を入力して から、次へ をクリックします。 8 管理オプション ウィンドウで 次へ をクリックします。 9 データベース資格証明 ウィンドウでパスワードオプションを選択し、(要求された場合は)適 切なパスワード情報を入力し、次へ をクリックします。 10 記憶域オプション ウィンドウで、Automatic Storage Management(ASM) をクリック し、次へ をクリックします。 11 ASM インスタ
15 flashbackDG をディスクグループ名として使用し、残りの ASM ディスクグループについて 手順 14 を繰り返します。 16 ASM ディスクグループ ウィンドウで、データベースストレージに使用するディスクグループ を選択し(たとえば、databaseDG)、次へ をクリックします。 17 データベースファイルの位置 ウィンドウで、Oracle Managed Files の使用 を選択し、次へ をクリックします。 18 リカバリ構成 ウィンドウで、参照 をクリックして、手順 15 で作成したフラッシュバックグルー プ(たとえば、flashbackDG)を選択し、次へ をクリックします。 19 データベースサービス ウィンドウで、必要に応じてサービスの設定を行い、次へ をクリック します。 20 初期化パラメータ ウィンドウで、次の手順を実行します。 a カスタム を選択します。 b 共有メモリー管理 で 自動 を選択します。 c SGA サイズ ウィンドウと PGA サイズ ウィンドウに適切な情報を入力します。 d 次へ をクリックします。 21 データベース記憶域 ウィンド
26 1 つのノードで、次のように入力します。 srvctl status database -d dbname dbname は、DBCA でデータベースに定義したグローバル識別子名です。 データベースインスタンスがすでに起動している場合は、確認メッセージが画面に表示されます。 データベースインストールが起動していない場合は、次のように入力します。 srvctl start database -d dbname dbname は、DBCA でデータベースに定義したグローバル識別子名です。 RAC Post 導入のパッチと修正 本項では、10g RAC 導入のために必要なパッチと修正について説明します。 EMC PowerPath を正常にフェイルオーバーさせるための CSS Miscount の再設定 HBA、スイッチ、または EMC ストレージプロセッサ(SP)に障害が発生すると、PowerPath の代 替デバイスへのフェイルオーバー時間が合計で 105 秒を超える可能性があります。10g R2 バージョ ン 10.2.0.
8 パッチ内の Readme.txt ファイルに書かれている説明に従ってパッチを適用するか、 または次の手順を実行します(すべてのノードで)。 a ユーザー root として、すべてのノードで CRS を停止します。 ターミナルウィンドウを開いて次のテキストを入力し、 を押します。 crsctl stop crs b ターミナルウィンドウで次のテキストを入力し、 を押します。 mv /crs/oracle/product/10.2.0/crs/bin/crsd.bin /crs/oracle/product/10.2.0/crs/bin/crsd.bin.orig c ターミナルウィンドウで次のテキストを入力し、 を押します。 cp /opt/oracle/patches/4770937/files/bin/crsd.bin /crs/oracle/product/10.2.0/crs/bin d ターミナルウィンドウで次のテキストを入力し、 を押します。 chmod 555 /crs/oracle/product/10.2.
システムの保護 システムへの不正なアクセスを防ぐために、Oracle ソフトウェアのインストール後は rsh を無効に することをお勧めします。 rsh を無効にするには、次のテキストを入力します。 chkconfig rsh off oracle ユーザーパスワードの設定 システム保護のために、oracle ユーザーにはパスワードを設定することを強くお勧めします。 以下の手順に従って、oracle のパスワードを設定します。 1 root としてログインします。 2 passwd oracle と入力し、画面の指示に従って oracle のパスワードを設定します。 Oracle Database 10g の設定および導入(シングルノード) 本項では、「Red Hat Enterprise Linux のインストールと設定」に説明されている初期セットアッ プまたは再インストール手順に関する情報を提供します。本項では、以下のトピックについて説明 します。 • パブリックネットワークの設定 • データベース記憶域の設定 • Oracle Database のインストール • リスナーの構成 •
4 fdisk を使用して、データベースファイルを保管するパーティションを作成します(たとえば、 ストレージデバイスが sdb なら sdb1)。 5 fdisk を使用して、リカバリファイルを保管するパーティションを作成します(たとえば、ス トレージデバイスが sdc なら sdc1)。 6 新しいパーティションを確認するには、cat /proc/partitions と入力します。 新しいパーティションが見つからない場合は、次のように入力します。 sfdisk -R /dev/sdb sfdisk -R /dev/sdc 7 次のように入力します。 mke2fs -j /dev/sdb1 mke2fs -j /dev/sdc1 8 新しく作成したファイルシステムの内容を /etc/fstab ファイルに追加入力します。 9 次のように入力します。 mount /dev/sdb1 /opt/oracle/oradata mount /dev/sdc1 /opt/oracle/recovery 10 次のように入力します。 chown -R oracle.
Oracle ASM Library Driver を使用したデータベース記憶域の設定 本項では、Automatic Storage Management(ASM)を使用して記憶域を設定する手順について説 明します。 メモ: ASM Library Driver を設定する前に、SELinux を無効にしてください。 SELinux を一時的に無効にするには、以下の手順を実行します。 1 root ユーザーとしてログインします。 2 コマンドプロンプトで、次のコマンドを入力します。 setenforce 0 SELinux を無効にしたままにするには、以下の手順を実行します。 1 grub.conf ファイルを開きます。 2 カーネルコマンドラインを確認し、次のオプションを追加します。 selinux=0 たとえば、次のとおりです。 kernel /vmlinuz-2.6.9-22.0.
8 ASM ディスクが作成され、ASM 使用のマークが付いていることを確認します。 ターミナルウィンドウで次のテキストを入力し、 を押します。 service oracleasm listdisks 手順 6 で作成したディスクがターミナルウィンドウに表示されます。 たとえば、次のとおりです。 ASM1 ASM2 Oracle Database 10g のインストール Oracle 10g をインストールするには、以下の手順を実行します。 1 root としてログインします。 2 ユーザー root として、『Oracle Database 10g CD』をマウントします。 3 startx と入力して X Window System を起動します。 4 ターミナルウィンドウを開き、次のように入力します。 xhost + 5 oracle としてログインします。 6 Oracle Universal Installer を起動します。 ターミナルウィンドウで次のテキストを入力し、 を押します。 /runInstaller 7 インストール方法の選択
16 終了 をクリックしてから、確認のため はい をクリックします。 17 root としてログインします。 18 次のように入力します。 /opt/oracle/product/10.2.
11 リカバリ構成 ウィンドウで、参照 をクリックして、「ex3 ファイルシステムを使用したデータ ベース記憶域の設定」で作成したフラッシュバックリカバリ領域(たとえば、/opt/oracle/ recovery)を選択し、次へ をクリックします。 12 データベースコンテンツ ウィンドウで 次へ をクリックします。 13 初期化パラメータ ウィンドウで 次へ をクリックします。 14 データベース記憶域 ウィンドウで 次へ をクリックします。 15 作成オプション ウィンドウで、データベースの作成 をクリックし、終了 をクリックします。 16 確認 ウィンドウで OK をクリックするとデータベースが作成されます。 メモ: シードデータベースの作成には 1 時間またはそれ以上かかることがあります。 データベースの作成手順が完了すると、パスワード管理 ウィンドウが表示されます。 17 終了 をクリックします。 18 export ORACLE_SID=dbname と入力します。dbname は DBCA でデータベースに定義した グローバル識別子の名前です。 19 データベースが動作していることを確認するには
9 ASM インスタンスの作成 ウィンドウで、SYS ユーザーのパスワードを入力し、次へ をクリッ クします。 10 DBCA が ASM インスタンスを作成して起動する準備ができたことを示すメッセージが表示さ れたら、OK をクリックします。 11 ASM ディスクグループ ウィンドウで、使用可能なディスクグループ の下にある 新規作成 を クリックします。 12 ディスクグループの作成 ウィンドウにデータベースファイルのストレージ情報を入力し、OK をクリックします。 databaseDG など、作成するディスクグループの名前を入力し、外部冗長性 を選択してから、 ディスクグループに含めるディスクを選択します。 RAW デバイスインタフェースを使用する場合は、/dev/raw/ASM1 を選択します。 ASM ライブラリドライバを使用する場合で、候補ディスクにアクセスできない場合は、ディス ク検出パスの変更 をクリックし、ストリングとして ORCL:* と入力し、ASM1 を選択します。 ディスクグループの作成が進行中であることを示すウィンドウが表示されます。 ASM ライブラリドライバを使用する場合で、
22 確認 ウィンドウで OK をクリックし、データベースを作成します。 メモ: シードデータベースの作成には 1 時間以上かかる場合があります。 データベースの作成が完了すると、パスワード管理 ウィンドウが表示されます。 23 終了 をクリックします。 24 データベースの作成が完了したら、次のコマンドを入力して、Oracle のユーザープロファイ ルに ORACLE_SID 環境変数エントリを追加します。 echo "export ORACLE_SID=oradb" >> /home/oracle/.bash_profile source /home/oracle/.
新しいノードの共有ストレージの構成 既存の RAC データベースを新しいノードに拡張するには、ストレージを既存のノードと同様にする ため、新しいノード用にストレージの構成を行います。本項では ASM 用の適切な手順を説明します。 ASM を使用した共有ストレージの構成 ASM を使用する場合は、新しいノードが既存のノードと同じ権限で ASM ディスクにアクセスでき るようにする必要があります。 ASM ディスクを設定するには、以下の手順を実行します。 1 root ユーザーとしてログインします。 2 コマンドプロンプトで、次のコマンドを入力します。 setenforce 0 SELinux を無効にしたままにするには、以下の手順を実行します。 1 grub.conf ファイルを開きます。 2 カーネルコマンドラインを確認し、次のオプションを追加します。 selinux=0 たとえば、次のとおりです。 kernel /vmlinuz-2.6.9-22.0.
8 新しいノードが ASM ディスクにアクセスできることを確認します。 ターミナルで次のテキストを入力し、 を押します。 service oracleasm scandisks 9 新しいノードで ASM ディスクが使用できることを確認します。 ターミナルウィンドウで次のテキストを入力し、 を押します。 service oracleasm listdisks 残りのノードで使用可能なディスクのすべてが表示されます。 たとえば、次のとおりです。 ASM1 ASM2 クラスタウェア層への新しいノードの追加 1 oracle としてログインします。 2 既存のノードの 1 つで、/crs/oracle/product/10.2.0/crs/oui/bin ディレクトリから addNode.
データベース層への新しいノードの追加 1 oracle としてログインします。 2 既存のノードの 1 つで、/opt/oracle/product/10.2.0/db_1/oui/bin ディレクトリから addNode.sh と入力して Oracle Universal Installer を起動します。 3 ようこそ ウィンドウで 次へ をクリックします。 4 Specify Cluster Nodes for Node Addition(ノード追加のためのクラスタノードの指定) ウィンドウで新しいノードが選択されていることを確認し、次へ をクリックします。 すべての確認テストに問題がなければ、Node Addition Summary(ノード追加のサマリー) ウィンドウが表示されます。 5 インストール をクリックします。 Cluster Node Addition Progress(クラスタノード追加の進行状況)ウィンドウにクラスタ ノード追加処理のステータスが表示されます。 6 確認のメッセージが表示されたら、新しいノードで root.sh を実行します。 root.
11 リスナーの構成 ― TCP/IP プロトコル ウィンドウで 標準ポート番号 1521 を使用 を選択し、 次へ をクリックします。 12 リスナーの構成 ― リスナーの追加 ウィンドウで いいえ を選択し、次へ をクリックします。 13 リスナーの構成が終了しました ウィンドウで 次へ をクリックします。 14 終了 をクリックします。 データベースインスタンス層への新しいノードの追加 1 ノード 1 で oracle ユーザーとして dbca & と入力し、DBCA を起動します。 2 ようこそ ウィンドウで 次へ をクリックします。 3 操作 ウィンドウで Instance Management(インスタンス管理)をクリックしてから、 次へ をクリックします。 4 Instance Management(インスタンス管理)ウィンドウで Add Instance(インスタンス の追加)をクリックしてから、次へ をクリックします。 5 List of Cluster Databases(クラスタデータベースの一覧)ウィンドウで既存のデータベー スを選択します。 使用したユーザー名がオペレーティングシス
クラスタからのノードの削除 本項の手順を実行する際には、クラスタから必ず正しいノードを選択し、削除してください。 データベースインスタンス層からのノードの削除 1 oracle としてログインします。 2 残りのノードの 1 つから、次のように入力します。 dbca 3 ようこそ ウィンドウで 次へ をクリックします。 4 操作 ウィンドウで Instance Management(インスタンス管理)をクリックしてから、次へ をクリックします。 5 Instance Management(インスタンス管理)ウィンドウで Delete Instance(インスタン スの削除)をクリックしてから、次へ をクリックします。 6 List of Cluster Databases(クラスタデータベースの一覧)ウィンドウで、インスタンスを 削除する RAC データベースを選択します。 使用したユーザー名がオペレーティングシステムによって認証されない場合は、SYSDBA 権限 を持つデータベースユーザーに対するユーザー名とパスワードの入力を求めるメッセージが DBCA によって表示されます。 7 ユーザー名 sys と
14 削除するノードを TOPSNodes ウィンドウで選択し、次へ をクリックします。 15 ようこそ ウィンドウで リスナーの構成 を選択し、次へ をクリックします。 16 リスナーの構成 ウィンドウで、削除 を選択し、次へ をクリックします。 17 Listener Configuration Name(リスナーの構成名)ウィンドウで 次へ をクリックします。 18 リスナーの構成 ― リスナーの追加 ウィンドウで いいえ を選択し、次へ をクリックします。 19 リスナーの構成が終了しました ウィンドウで 次へ をクリックします。 20 終了 をクリックします。 21 残りのクラスタノードの 1 つで、次の手順を実行します。 a ターミナルウィンドウを開きます。 b 次のように入力します。 srvctl stop asm -n はクラスタから削除するノードです。 c 次のように入力します。 srvctl remove asm -n はクラスタから削除するノードです。 データベース層からのノードの
クラスタウェア層からのノードの削除 1 削除するノードで、root ユーザーとして、次のコマンドを入力し、CRS を無効にします。 /crs/oracle/product/10.2.0/crs/install/rootdelete.sh remote nosharedvar 2 残りのノードの 1 つで、root ユーザーとして、次のコマンドを入力します。 /crs/oracle/product/10.2.0/crs/install/rootdeletenode.sh < パブリック ノード名 >, < ノード番号 > ノード番号を判定するには、次のコマンドを入力します。 /crs/oracle/product/10.2.0/crs/bin/olsnodes -n 3 Oracle CRS ソフトウェアを削除する場合は、削除するノードで、次のコマンドを入力します。 rm -rf /crs/oracle/product/10.2.
追加情報 サポートされるソフトウェアのバージョン リリース時点でサポートされているソフトウェアの一覧を 表 1-6 に示します。サポートされている ハードウェアとソフトウェアの最新バージョンについては、デルと Oracle のウェブサイト dell.com/10g から Oracle Database 10g EM64T バージョン 2.0 Solution Deliverable List をダウ ンロードして参照してください。 表 1-6. サポートされるソフトウェアのバージョン ソフトウェアコンポーネント Red Hat Enterprise Linux AS EM64T (バージョン 4)Quarterly Update 2 対応バージョン 2.6.9-22.0.1ELsmp Oracle Database バージョン 10.2.0.1 PowerPath for Linux 4.5 DKMS 2.0.5 Qlogic HBA 2340 ドライバ 8.01.00 Qlogic HBA 2342 ドライバ 8.01.00 Qlogic HBA 2360 ドライバ 8.01.
プライベートネットワークインタフェースの確認 各ネットワークインタフェースに割り当てられているインタフェースデバイス名を確認するには、 次の手順を実行します。 1 システムの NIC の種類を確認します。 表 1-7 を参照して、システムに内蔵されている NIC を特定します。 アドイン NIC には、Intel PRO/100 ファミリー、PRO/1000 ファミリー、または Broadcom NetXtreme Gigabit のカードが 使用されています。この場合、システムを開けて実際にアドインカードを見て確認する必要が あります。 表 1-7.
トラブルシューティング Red Hat Enterprise Linux および Oracle ソフトウェアの導入と使用にあたって発生する可能性のあ る問題と対処方法を 表 1-8 に示します。 表 1-8.
表 1-8. トラブルシューティング (続き) カテゴリ 問題 / 症状 原因 OCFS service o2cb start と入力す ると、処理が失敗 する。 SELinux が有効に なっている。 OCFS システムがハング する。カーネルパ ニックメッセージ が表示される。 Red Hat Linux シス テムは、 /etc/cron.daily と /etc/updatedb.conf 内のいくつかのファ イルシステムで updatedb を実行 するために、デフォ ルトでは毎日 cron ジョブルーチンを実 行するように設定さ れているが、OCFS のファイルシステム では updatedb に 対応していない。 1 /etc/cron.d/slocate.conf ファイルを編集して、 OCFS OCFS が新しく交換 /etc/ocfs.conf 内 した NIC を認識し のリストに表示され ない。 ている NIC を交換 する場合は、OCFS ボリュームをマウン トする前に ocfs_uid_gen -r を実行して、 /etc/ocfs.
表 1-8. トラブルシューティング (続き) カテゴリ 問題 / 症状 原因 推奨する対応処置 NETCA NETCA が誤動作し パブリックネット て、データベース ワーク、ホスト名、 作成が失敗する。 仮想 IP が /etc/hosts.equiv ファイル内の一覧に ない。 netca を起動する前に、ホスト名がパブリックネット ワークに割り当ててあること、/etc/hosts.equiv ファ イル内のリストにパブリック IP アドレスと仮想 IP ア ドレスが入っていることを確認します。 NETCA NETCA がリモート /etc/hosts.equiv ノードを設定でき ファイルがない。ま たは、割り当てられ ない。または、 DBCA 実行中に たパブリックまたは RAW デバイス検証 仮想 IP アドレスが エラーが発生する。 含まれていない。 各ノードで、/etc/hosts.
表 1-8. トラブルシューティング (続き) カテゴリ 問題 / 症状 原因 推奨する対応処置 CRS root.sh 実行時 に CRS が起動で きない。 OCR ファイルと投 I/O の問題を解決して、該当ノードを再起動するか、 票ディスクにアクセ /crs/oracle/product/10.2.0/crs_1/ から root.sh を実 行して、もう一度このサービスが起動できるかどうか スできない。 試してみます。 CRS 再インストール後 の root.sh 実行時 に CRS が起動でき ない。 OCR ファイルと投 票ディスクがクリア されず、古い情報が 残っている。 1 次の行を入力して、OCR と投票ディスクをクリア します。 dd if=/dev/zero of=/dev/raw/ocr.dbf dd if=/dev/zero of= /dev/raw/votingdisk 2 該当ノードを再起動するか、または /crs/oracle/product/10.2.0/crs_1/ から root.
表 1-8. トラブルシューティング (続き) カテゴリ 問題 / 症状 原因 CRS ノードが再起動を 繰り返す。 ノードが共有スト レージ上のクォーラ ムディスクにアクセ スできない。 推奨する対応処置 1 シングルユーザーモードで Linux を起動します。 2 次のように入力します。 /etc/inet.d/init.crs disable 3 クォーラムディスクが利用可能で、プライベート相 互接続が有効であることを確認します。利用可能に なっていない場合は、ハードウェアの接続を調べ て、OCFS ボリュームがマウントされていることを 確認します。 4 再起動して、/etc/inet.d/init.crs enable と入力します。 CRS ノードが再起動を 繰り返す。 プライベート相互接 1 シングルユーザーモードで Linux を起動します。 続がダウンしている。 2 次のように入力します。 /etc/inet.d/init.
表 1-8.
表 1-8.
困ったときは デルサポート システムの詳しい使い方については、システムコンポーネントに付属のマニュアルを参照してくだ さい。 各種の白書、デルがサポートする設定、一般情報については、Dell | Oracle Tested and Validated Configurations(Dell | Oracle で検証済みの構成)ウェブサイト www.dell.com/10g を参照して ください。 ハードウェアおよびオペレーティングシステムソフトウェアに対するデルのテクニカルサポート、 アップデートのダウンロードについては、デルサポートサイト support.dell.com を参照してくだ さい。デルへの問い合わせ先については、システムに付属の『インストール&トラブルシューティ ング』に記載されています。 デルでは企業向けのトレーニングと資格認証を実施しています。詳細については、 http://www.dell.
索引 A ASM データベース記憶域の 設定 , 251 C CRS インストール , 241 CRS の構成 , 238 CRS 用の共有ストレージの 構成 , 238 O Oracle 10g の設定 , 230 ハードウェアおよびソフト ウェアの構成の確認 , 230 Oracle Database 10g インストール , 244 インストール(シングル ノード), 253 シングルノードの設定 , 250 Oracle Database 10g の設定 (シングルノード), 254 シードデータベースの 作成 , 254 Oracle RAC 10g CRS の構成 , 238 インストール , 241 共有ストレージの構成 , 238 設定 , 233 Oracle RAC 10g の設定 , 233 シードデータベースの 作成 , 245 き 共有ストレージの構成 , 238 Oracle RAC 10g の導入 , 233 く R Red Hat システムパッケージのアッ プデート , 230 Red Hat Enterprise Linux インストール , 228 クラスタ
ç ௠せ と ふ セキュリティ, 250 トラブルシューティング , 267 ファイバーチャネルクラスタ のセットアップ , 230 設定 ASM を使用したデータベー ス記憶域 (シングルノード), 251 ex3 を使用したデータベース 記憶域 (シングルノード), 250 Oracle Database 10g(シン グルノード), 250 Red Hat Enterprise Linux, 229 Oracle RAC 10g, 233 データベース記憶域(シン グルノード), 250 な 内蔵 NIC, 266 プライベートネットワークイ ンタフェースの確認 , 266 の ノード 削除 , 262 追加と削除 , 257 ノードの削除 , 262 ノードの追加と削除 , 257 そ は ソフトウェア 再インストール , 264 要件 , 226, 265 ハードウェア シングルノードの 最小要件 , 227 ファイバーチャネルクラス タの最小要件 , 227 ファイバーチャネルの相互 接続 , 231 ソフトウェアおよびハード ウェアの要件 , 226
Base de datos Oracle 10g Extended Memory 64 Technology (EM64T) Enterprise Edition Guía de implantación para Linux versión 2.0 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notas y avisos NOTA: una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. AVISO: un AVISO indica la posibilidad de daños en el hardware o la pérdida de datos, e informa de cómo evitar el problema. ____________________ La información contenida en este documento puede modificarse sin previo aviso. © 2006 Dell Inc. Reservados todos los derechos. Queda estrictamente prohibida la reproducción de este documento en cualquier forma sin la autorización por escrito de Dell Inc.
Contenido Servicio de implantación de Oracle RAC 10g . . . . . . . . . . . . . . . . . 281 . . . . . . . . . . . . . . . . . . . . . 281 . . . . . . . . . . . . . . . . . . . . . . . 283 283 283 Requisitos de software y hardware . Contratos de licencia . . . . Documentación importante . Antes de comenzar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Instalación y configuración de Red Hat Enterprise Linux . . . . . . . . . . . . 285 . . . .
Instalación de la base de datos Oracle 10g Configuración del proceso de escucha . . Creación de la base de datos semilla . . . Adición y eliminación de nodos . . . . . . . . . . . . . . . . 309 310 310 . . . . . . . . . . . . . . . . . . . . . . . 314 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adición de un nodo nuevo al nivel de red . . . . . . . . . . . . . Configuración del almacenamiento compartido en el nodo nuevo Adición de un nodo nuevo al nivel de software de clúster . . . . .
En este documento se proporciona información sobre cómo instalar, configurar, reinstalar y utilizar el software de base de datos Oracle 10g Enterprise Edition con Real Application Clusters (Oracle RAC) en su configuración Dell | Oracle admitida. Utilice este documento junto con el CD de implantación de Dell para instalar el software. Si instala el sistema operativo utilizando únicamente los CD del sistema operativo, los pasos descritos en este documento pueden no ser aplicables.
• Descargue las imágenes del CD de implantación de Dell de la página web de configuraciones probadas y validadas por Dell | Oracle en www.dell.com/10g y cree los CD de trabajo de implantación de Dell a partir de las imágenes del CD. Consulte la tabla 1-1 para ver los requisitos básicos de software para las configuraciones de Oracle admitidas por Dell, y de la tabla 1-2 a la tabla 1-3 para ver los requisitos de hardware.
Tabla 1-3. Requisitos mínimos de hardware: Un solo nodo Componente de hardware Sistema Dell PowerEdge Configuración Procesador Intel Xeon a 3 GHz 1 GB de RAM Dos unidades de disco duro (RAID1) de 36 GB conectadas a una controladora PERC Dos puertos NIC Sistema de almacenamiento Dell | EMC Fibre Channel (opcional) Para obtener información sobre las configuraciones admitidas, visite dell.com/10g.
Instalación y configuración de Red Hat Enterprise Linux AVISO: para asegurarse de que el sistema operativo está instalado correctamente, desconecte todos los dispositivos de almacenamiento externos del sistema antes de instalar el sistema operativo. En esta sección se describen la instalación del sistema operativo Red Hat Enterprise Linux AS y la configuración del sistema operativo para la implantación de la base de datos Oracle.
Configuración de Red Hat Enterprise Linux 1 Inicie la sesión como root. 2 Inserte el CD 2 de implantación de Dell en la unidad de CD y escriba los comandos siguientes: mount /dev/cdrom /media/cdrom/install.sh El contenido del CD se copia en el directorio /usr/lib/dell/dell-deploy-cd. Cuando haya finalizado el proceso de copia, escriba umount /dev/cdrom y extraiga el CD de la unidad de CD.
Configuración de un clúster Fibre Channel El representante de los servicios profesionales de Dell ya ha realizado la configuración del clúster Fibre Channel. Verifique que las conexiones de hardware y las configuraciones de hardware y software se corresponden con las descritas en esta sección. En la figura 1-1 se muestra una descripción general de las conexiones que requiere el clúster, y en la tabla 1-4 se resumen las conexiones de clúster. Figura 1-1.
Tabla 1-4.
Configuraciones de hardware y software para Fibre Channel • • • Cada nodo debe incluir al menos los componentes periféricos de hardware siguientes: – Una o dos unidades de disco duro (36 GB como mínimo) en el compartimiento para unidades de disco duro internas – Tres puertos NIC Gigabit – Dos HBA Fibre Channel Cada nodo debe tener instalado el software siguiente: – Software Red Hat Enterprise Linux (consulte la tabla 1-1) – Controlador HBA Fibre Channel El almacenamiento Fibre Channel debe est
Configuración de las redes pública y privada En esta sección se presentan los pasos necesarios para configurar las redes de clúster pública y privada. NOTA: cada nodo requiere una dirección IP pública y una dirección IP privada exclusivas y otra dirección IP pública que se utilizará como dirección IP virtual en las conexiones de cliente y en la sustitución tras error de las conexiones. La dirección IP virtual debe pertenecer a la misma subred que la IP pública.
6 Para comprobar la configuración de la red, ejecute el comando ping para cada dirección IP pública desde un cliente de la LAN que se encuentre fuera del clúster. 7 Conéctese a cada nodo para comprobar que la red pública está operativa y escriba ssh para comprobar que ssh funciona. Configuración de la red privada mediante bonding Antes de implantar el clúster, configure la red del clúster privada para permitir que los nodos se comuniquen entre sí.
5 Para cada uno de los dispositivos miembros del bond, realice los pasos siguientes: a En el directorio /etc/sysconfig/network-scripts/, edite el archivo ifcfg-ethn que contiene las líneas siguientes: DEVICE=ethn HWADDR= ONBOOT=yes TYPE=Ethernet USERCTL=no MASTER=bond0 SLAVE=yes BOOTPROTO=none b Escriba service network restart e ignore todas las advertencias. 6 Escriba ifconfig en cada nodo para comprobar que la interfaz privada está operativa.
Verificación de la configuración de almacenamiento Durante la configuración del clúster que se describe en este documento, creará particiones en el almacenamiento Fibre Channel. Para crear las particiones, todos los nodos del clúster deben ser capaces de detectar los dispositivos de almacenamiento externo.
Configuración del almacenamiento compartido para software de clúster En esta sección se proporcionan instrucciones para configurar el almacenamiento compartido para el software de clúster Oracle.
Por ejemplo: kernel /vmlinuz-2.6.9-22.0.1ELsmp ro root=LABEL=/ apic rhgb quiet selinux=0 3 Reinicie el sistema. Para configurar el clúster mediante ASM, realice los pasos siguientes en todos los nodos: 1 Inicie la sesión como root. 2 En el primer nodo de un clúster Fibre Channel, cree una partición en cada uno de los dos dispositivos de almacenamiento externo con fdisk: a Escriba fdisk /dev/emcpowerx y cree una partición primaria para todo el dispositivo. Escriba h para obtener ayuda en la utilidad fdisk.
Configuración del almacenamiento mediante el controlador de biblioteca ASM 1 Inicie la sesión como root. 2 Abra una ventana de terminal y realice los pasos siguientes en todos los nodos: a Escriba service oracleasm configure.
Instalación de Oracle RAC 10g En esta sección se describen los pasos necesarios para instalar Oracle RAC 10g, que incluye la instalación de CRS y del software de la base de datos Oracle 10g. Dell recomienda crear una base de datos semilla para verificar que el clúster funciona correctamente antes de implantarlo en un entorno de producción.
7 Escriba los comandos siguientes para iniciar Oracle Universal Installer: unset ORACLE_HOME /runInstaller Aparece el mensaje siguiente: Was ’rootpre.sh’ been run by root? [y/n] (n) (¿El usuario root ha ejecutado "rootpre.sh"?) 8 Escriba y para continuar. 9 En la ventana de bienvenida, haga clic en Next (Siguiente). 10 En la ventana Specify Home Details (Especificar detalles de la ubicación principal), cambie la ruta principal de Oracle a /crs/oracle/product/10.2.
14 En la ventana Specify Oracle Cluster Registry (OCR) Location (Especificar ubicación del registro del clúster Oracle [OCR]), realice los pasos siguientes: a En la casilla OCR Configuration (Configuración de OCR), seleccione External Redundancy (Redundancia externa). b En el campo Specify OCR Location (Especificar ubicación de OCR), escriba: /dev/raw/ocr.dbf c Haga clic en Next (Siguiente).
Instalación del software de la base de datos Oracle 10g 1 Escriba lo siguiente como usuario root: cluvfy stage -pre dbinst -n nodo1,nodo2 -r 10gR2 -verbose donde nodo1 y nodo2 son los nombres de host públicos. Si el sistema no está configurado correctamente, consulte “Solución de problemas” para obtener más información. Si el sistema está configurado correctamente, aparece el mensaje siguiente: Pre-check for database installation was successful.
11 En la ventana Summary (Resumen), haga clic en Install (Instalar). El software de base de datos Oracle se instala en el clúster. A continuación, aparece la ventana Execute Configuration Scripts (Ejecutar secuencias de comandos de configuración). 12 Siga las instrucciones de la ventana y haga clic en OK (Aceptar). 13 En la ventana End of Installation (Fin de la instalación), haga clic en Exit (Salir).
Creación de la base de datos semilla mediante ASM En esta sección se describen los procedimientos necesarios para crear la base de datos semilla mediante Oracle ASM y para verificarla. Realice los pasos siguientes: 1 Escriba lo siguiente como usuario root: cluvfy stage -pre dbcfg -n nodo1,nodo2 -d $ORACLE_HOME -verbose donde nodo1 y nodo2 son los nombres de host públicos. Si el sistema no está configurado correctamente, consulte “Solución de problemas” para obtener más información.
11 En la ventana Create ASM Instance (Crear instancia ASM), realice los pasos siguientes: a En el campo SYS password (Contraseña SYS), escriba una contraseña. b Seleccione Create server parameter file (SPFILE) (Crear archivo de parámetros de servidor [SPFILE]). c En el campo Server Parameter Filename (Nombre de archivo de parámetros de servidor), escriba: /dev/raw/spfile+ASM.ora d Haga clic en Next (Siguiente).
20 En la ventana Initialization Parameters (Parámetros de inicialización), realice los pasos siguientes: a Seleccione Custom (Personalizada). b En Shared Memory Management (Administración de memoria compartida) seleccione Automatic (Automática). c En las ventanas SGA Size (Tamaño de SGA) y PGA Size (Tamaño de PGA), especifique la información apropiada. d Haga clic en Next (Siguiente). 21 En la ventana Database Storage (Almacenamiento de base de datos), haga clic en Next (Siguiente).
Si no se están ejecutando las instancias de la base de datos, escriba lo siguiente: srvctl start database -d nombre_bdd donde nombre_bdd es el nombre de identificación global que ha definido para la base de datos en el DBCA. Correcciones y parches posteriores a la implantación de RAC En esta sección se proporciona la información de las correcciones y los parches necesarios para la implantación de RAC 10g.
8 Para aplicar el parche, siga las instrucciones del archivo Readme.txt incluido con el parche o realice los pasos siguientes en todos los nodos: a Como usuario root, detenga CRS en todos los nodos. Abra una ventana de terminal, escriba lo siguiente y pulse : crsctl stop crs b En la ventana de terminal, escriba lo siguiente y pulse : mv /crs/oracle/product/10.2.0/crs/bin/crsd.bin /crs/oracle/product/10.2.0/crs/bin/crsd.bin.
Protección del sistema A fin de evitar que usuarios no autorizados puedan acceder al sistema, Dell recomienda desactivar rsh después de instalar el software de Oracle. Para desactivar rsh, escriba: chkconfig rsh off Definición de la contraseña de usuario oracle Dell recomienda establecer una contraseña para el usuario oracle a fin de proteger el sistema. Complete los pasos siguientes para crear la contraseña oracle: 1 Inicie la sesión como root.
3 Escriba lo siguiente: mkdir oradata recovery 4 Utilice fdisk para crear la partición en la que se almacenarán los archivos de la base de datos (por ejemplo, sdb1, si el dispositivo de almacenamiento es sdb). 5 Utilice fdisk para crear la partición en la que se almacenarán los archivos de recuperación (por ejemplo, sdc1, si el dispositivo de almacenamiento es sdc). 6 Escriba cat /proc/partitions para comprobar la nueva partición.
Configuración del almacenamiento de base de datos mediante el controlador de biblioteca Oracle ASM En esta sección se indican los procedimientos para configurar el almacenamiento mediante ASM (administración automática del almacenamiento). NOTA: antes de configurar el controlador de biblioteca ASM, desactive SELinux. Para desactivar SELinux temporalmente, realice los pasos siguientes: 1 Inicie la sesión como usuario root.
8 Compruebe que los discos ASM se hayan creado y se hayan marcado para el uso de ASM. En la ventana de terminal, escriba lo siguiente y pulse : service oracleasm listdisks Los discos que ha creado en el paso 6 se enumeran en la ventana de terminal. Por ejemplo: ASM1 ASM2 Instalación de la base de datos Oracle 10g Siga estos pasos para instalar Oracle 10g: 1 Inicie la sesión como root. 2 Como usuario root, monte el CD Oracle Database 10g. 3 Escriba startx para iniciar el sistema X Window.
14 En la ventana Summary (Resumen), haga clic en Install (Instalar). 15 Cuando se le solicite, abra una ventana de terminal y ejecute root.sh. Aparecerá brevemente una ventana de progreso, seguida de la ventana End of Installation (Fin de la instalación). 16 Haga clic en Exit (Salir) y confirme la salida haciendo clic en Yes (Sí). 17 Inicie la sesión como root. 18 Escriba lo siguiente: /opt/oracle/product/10.2.0/db_1/bin/localconfig add El procedimiento de instalación ha finalizado.
7 En la ventana Management Options (Opciones de administración), haga clic en Next (Siguiente). 8 En la ventana Database Credentials (Credenciales de base de datos), complete las entradas y selecciones de contraseña y haga clic en Next (Siguiente). 9 En la ventana Storage Options (Opciones de almacenamiento), seleccione File System (Sistema de archivos) y haga clic en Next (Siguiente). 10 En la ventana Database File Locations (Ubicaciones de archivos de base de datos), haga clic en Next (Siguiente).
Creación de la base de datos semilla mediante Oracle ASM Si ha configurado el almacenamiento mediante Oracle ASM, realice los pasos siguientes para crear una base de datos semilla con el asistente para la creación de bases de datos Oracle (DBCA): 1 Como usuario oracle, escriba dbca & para iniciar DBCA. 2 En la ventana de bienvenida, haga clic en Next (Siguiente). 3 En la ventana Operations (Operaciones), haga clic en Create a Database (Crear una base de datos) y, a continuación, en Next (Siguiente).
14 Introduzca la información en la ventana Disk Group (Grupo de discos) para los archivos de recuperación flashback y haga clic en OK (Aceptar). Introduzca un nombre para el grupo de discos que va a crear, como por ejemplo flashbackDG, seleccione External Redundancy (Redundancia externa) y luego seleccione los discos que va a incluir en el grupo de discos. Si utiliza la interfaz de dispositivo sin formato, seleccione /dev/raw/ASM2.
Adición y eliminación de nodos En esta sección se describen los pasos para añadir un nodo a un clúster existente y para eliminar un nodo de un clúster. Para añadir un nodo a un clúster existente: • Añada el nodo al nivel de red. • Configure el almacenamiento compartido. • Añada el nodo a los niveles de software de clúster, base de datos e instancia de base de datos.
Para desactivar SELinux de forma permanente: 1 Abra el archivo grub.conf. 2 Localice la línea de comandos del kernel y añada la opción siguiente: selinux=0 Por ejemplo: kernel /vmlinuz-2.6.9-22.0.1ELsmp ro root=LABEL=/ apic rhgb quiet selinux=0 3 Reinicie el sistema. 4 Abra una ventana de terminal e inicie la sesión como usuario root. 5 Copie el archivo /etc/sysconfig/rawdevices de uno de los nodos existentes en la misma ubicación que el nuevo nodo.
Adición de un nodo nuevo al nivel de software de clúster 1 Inicie la sesión como oracle. 2 Desde el directorio /crs/oracle/product/10.2.0/crs/oui/bin de uno de los nodos existentes, escriba addNode.sh para iniciar Oracle Universal Installer. 3 En la ventana de bienvenida, haga clic en Next (Siguiente).
7 En la ventana End of Cluster Node Addition (Fin de la adición de nodos de clúster), haga clic en Exit (Salir). 8 Inicie la sesión como usuario root. Reconfiguración del proceso de escucha En esta sección se describen los pasos necesarios para configurar el proceso de escucha, que es necesario para la conexión remota de clientes a una base de datos. Siga estos pasos sólo en un nodo: 1 Inicie la sesión como root. 2 Escriba startx para iniciar el sistema X Window.
Adición de un nodo nuevo al nivel de la instancia de la base de datos 1 En el nodo 1, como usuario oracle, escriba dbca & para iniciar el DBCA. 2 En la ventana de bienvenida, haga clic en Next (Siguiente). 3 En la ventana Operations (Operaciones), haga clic en Instance Management (Administración de instancias) y, a continuación, en Next (Siguiente). 4 En la ventana Instance Management (Administración de instancias), haga clic en Add Instance (Añadir instancia) y, a continuación, en Next (Siguiente).
Eliminación de un nodo del clúster Cuando realice los procedimientos de esta sección, asegúrese de seleccionar y eliminar el nodo correcto del clúster. Eliminación del nodo del nivel de instancia de base de datos 1 Inicie la sesión como oracle. 2 Desde uno de los nodos restantes, escriba: dbca 3 En la ventana de bienvenida, haga clic en Next (Siguiente). 4 En la ventana Operations (Operaciones), haga clic en Instance Management (Administración de instancias) y, a continuación, en Next (Siguiente).
12 Escriba netca. 13 En la ventana Cluster Configuration (Configuración de clúster), haga clic en Next (Siguiente). 14 En la ventana TOPSNodes, seleccione el nodo que desea eliminar y haga clic en Next (Siguiente). 15 En la ventana de bienvenida, seleccione Listener configuration (Configuración del proceso de escucha) y haga clic en Next (Siguiente). 16 En la ventana Listener Configuration (Configuración del proceso de escucha), seleccione Delete (Eliminar) y haga clic en Next (Siguiente).
Eliminación del nodo del nivel del software de clúster 1 En el nodo que esté eliminando, como usuario root, desactive CRS escribiendo el comando siguiente: /crs/oracle/product/10.2.0/crs/install/rootdelete.sh remote nosharedvar 2 En uno de los nodos restantes, como usuario root, escriba el comando siguiente: /crs/oracle/product/10.2.0/crs/install/rootdeletenode.sh , Para determinar el número de nodo de cualquier nodo, escriba el comando siguiente: /crs/oracle/product/10.
Información adicional Versiones de software admitidas En la tabla 1-6 se indica el software admitido en el momento de la publicación. Para determinar el hardware y el software admitidos más recientes, vaya a la página web de Dell y Oracle (dell.com/10g) y descargue la lista de soluciones disponibles (Solution Deliverable List) de la base de datos Oracle 10g EM64T versión 2.0 para obtener las últimas versiones admitidas. Tabla 1-6.
Determinación de la interfaz de red privada Para determinar el nombre de dispositivo de interfaz que se ha asignado a cada interfaz de red, realice los pasos siguientes: 1 Determine los tipos de NIC que existen en el sistema. Consulte la tabla 1-7 para identificar las NIC integradas que están presentes en el sistema. Para NIC adicionales, puede tener tarjetas de las series Intel PRO/100 o PRO/1000 o tarjetas Broadcom NetXtreme Gigabit.
Solución de problemas En la tabla 1-8 se indican las acciones recomendadas para los problemas que pueden surgir al implantar y utilizar el software Red Hat Enterprise Linux y Oracle. Tabla 1-8. Categoría Solución de problemas Problema/síntoma Rendimiento Red Hat Enterprise y estabilidad Linux tiene un bajo rendimiento e inestabilidad. Uso excesivo de espacio de intercambio. Enterprise Manager Causa Acción correctiva recomendada El área global del sistema (SGA) de Oracle sobrepasa el tamaño recomendado.
Tabla 1-8. Solución de problemas (continuación) Categoría Problema/síntoma Causa OCFS Cuando se escribe SELinux está service o2cb activado. start, el procedimiento falla. OCFS El sistema se bloquea o muestra un mensaje de error de kernel panic. Acción correctiva recomendada Desactive SELinux siguiendo los pasos de la sección “Configuración del almacenamiento compartido para software de clúster”.
Tabla 1-8. Solución de problemas (continuación) Categoría Problema/síntoma Causa Acción correctiva recomendada NETCA NETCA falla, lo cual produce errores de creación de base de datos. La red pública, el nombre de host o la dirección IP virtual no aparecen en el archivo /etc/hosts.equiv. Antes de iniciar netca, asegúrese de que se ha asignado un nombre de host a la red pública y de que las direcciones IP pública y virtual aparecen en el archivo /etc/hosts.equiv.
Tabla 1-8. Solución de problemas (continuación) Categoría Problema/síntoma CRS Cuando se ejecuta Verifique y asegúrese root.sh, no se puede de que dispone de iniciar CRS. nombres de nodo públicos y privados definidos y de que puede ejecutar el comando ping en los nombres de nodo. Intente volver a iniciar el servicio reiniciando el nodo o ejecutando root.sh desde /crs/oracle/product/10.2.0/crs_1/ tras haber corregido los problemas de red. CRS Cuando se ejecuta No se puede tener root.
Tabla 1-8. Solución de problemas (continuación) Categoría Problema/síntoma CRS Cuando se ejecuta Se han realizado root.sh, no se puede otros pasos para iniciar CRS. solucionar los problemas relacionados con el CRS, pero el problema persiste. 1 Active la depuración de errores añadiendo la siguiente El nodo se reinicia constantemente. 1 Inicie Linux en modo de un solo usuario. CRS 328 Guía de implantación Causa El nodo no tiene acceso al disco de quórum en el almacenamiento compartido.
Tabla 1-8. Solución de problemas (continuación) Categoría Problema/síntoma Causa CRS El nodo se reinicia constantemente. La interconexión privada está fuera de servicio. Acción correctiva recomendada 1 Inicie Linux en modo de un solo usuario. 2 Escriba lo siguiente: /etc/inet.d/init.crs disable 3 Compruebe que el nodo puede ejecutar el comando ping para la interconexión privada a los nodos restantes del clúster. 4 Escriba lo siguiente: /etc/inet.d/init.crs enable 5 Reinicie el sistema.
Tabla 1-8. Solución de problemas (continuación) Categoría Problema/síntoma Causa Acción correctiva recomendada Instalación de software El software Oracle no se instala correctamente en los nodos del clúster. Los relojes del Realice uno de los procedimientos siguientes: sistema de los nodos • Asegúrese de que el reloj del sistema en el nodo de del clúster no son instalación del software Oracle tiene una hora posterior idénticos. a la de los demás nodos.
Tabla 1-8. Solución de problemas (continuación) Categoría Problema/síntoma Causa Acción correctiva recomendada Sistema operativo En los sistemas Dell™ PowerEdge™ 6800 y 6850, que ejecutan Red Hat Enterprise Linux (versión 4) EM64T actualización trimestral 2, el comando de reinicio no funciona. Se trata de un Apague y reinicie manualmente los nodos. problema conocido que se arreglará en la actualización trimestral 3. Sistema operativo Cuando se añade un Kudzu está nuevo dispositivo desactivado.
Asistencia de Oracle Para obtener información de formación sobre el software Oracle y el software de clúster de aplicaciones, visite la página web de Oracle (www.oracle.com) o consulte la documentación de Oracle para determinar cómo ponerse en contacto con Oracle. En la página web de Oracle MetaLink (metalink.oracle.com) encontrará información sobre la asistencia técnica, descargas y otras cuestiones técnicas.
Índice A configuraciones de hardware y software Fibre Channel, 288 contraseñas definir, 306 crear base de datos semilla, 301, 310 C configurar almacenamiento compartido, 293 almacenamiento compartido para CRS, 293 almacenamiento de base de datos (un solo nodo), 306 almacenamiento de base de datos (un solo nodo) mediante ASM, 307 almacenamiento de base de datos (un solo nodo) mediante ex3, 306 base de datos Oracle 10g (un solo nodo), 306, 310 Oracle RAC 10g, 288 Red Hat Enterprise Linux, 285 red privada,
Índice H O S hardware interconexiones Fibre Channel, 287 requisitos mínimos para clústeres Fibre Channel, 282 requisitos mínimos para un solo nodo, 283 obtener ayuda, 331 seguridad, 306 opciones de configuración adicionales añadir y eliminar nodos, 314 shell remoto (rsh) desactivar, 306 I Oracle RAC 10g configuración, 288 configuración de CRS, 293 configuración del almacenamiento compartido, 293 instalar, 296 implantar Oracle RAC 10g, 288 información adicional, 322 determinar interfaz de red