描述Solaris 10上的Oracle RAC 11.2.0.1新增节点的过程。
这一篇介绍添加数据库节点。
11gr2RAC环境增加新节点(一):http://yangtingkun.itpub.net/post/468/520949
11gr2RAC环境增加新节点(二):http://yangtingkun.itpub.net/post/468/521029
在安装节点上运行addNode.sh脚本:
$ cd
/data/oracle/product/11.2/oui/bin
$ ./addNode.sh "CLUSTER_NEW_NODES={racnode3}"
正在启动 Oracle Universal
Installer...
检查交换空间: 必须大于 500 MB。 实际为 4615 MB 通过
检查监视器: 监视器配置至少必须显示 256 种颜色。 实际为
16777216 通过
Oracle Universal Installer, 版本 11.2.0.1.0
Production
版权所有 (c) 1999, 2009, Oracle。保留所有权利。
执行测试以检查节点
racnode2,racnode3 是否可用
............................................................... 100% 已完成。
....
-----------------------------------------------------------------------------
添加集群节点概要
全局设置
源: /data/oracle/product/11.2
新节点
空间要求
新节点
racnode3
/data: 要求空间 4.34GB: 可用空间 17.09GB
已安装产品
产品名
Oracle Database 11g 11.2.0.1.0
Sun JDK 1.5.0.17.0
Installer SDK Component 11.2.0.1.0
Oracle One-Off Patch Installer 11.2.0.0.2
Oracle Universal Installer 11.2.0.1.0
Oracle Configuration Manager Deconfiguration
10.3.1.0.0
Oracle DBCA Deconfiguration 11.2.0.1.0
Oracle RAC Deconfiguration 11.2.0.1.0
Oracle Database Deconfiguration 11.2.0.1.0
Oracle Configuration Manager 10.3.1.1.0
Oracle ODBC Driverfor Instant Client 11.2.0.1.0
LDAP Required Support Files 11.2.0.1.0
SSL Required Support Files for InstantClient
11.2.0.1.0
Bali Share 1.1.18.0.0
Oracle Extended Windowing Toolkit 3.4.47.0.0
Oracle JFC Extended Windowing Toolkit 4.2.36.0.0
Oracle Real Application Testing 11.2.0.1.0
Oracle Database Vault J2EE Application
11.2.0.1.0
Oracle Label Security 11.2.0.1.0
Oracle Data Mining RDBMS Files 11.2.0.1.0
Oracle OLAP RDBMS Files 11.2.0.1.0
Oracle OLAP API 11.2.0.1.0
Platform. Required Support Files 11.2.0.1.0
Oracle Database Vault option 11.2.0.1.0
Oracle RAC Required Support Files-HAS 11.2.0.1.0
SQL*Plus Required Support Files 11.2.0.1.0
Oracle Display Fonts 9.0.2.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle JDBC Server Support Package 11.2.0.1.0
Oracle SQL Developer 11.2.0.1.0
Oracle Application Express 11.2.0.1.0
XDK Required Support Files 11.2.0.1.0
RDBMS Required Support Files for Instant Client
11.2.0.1.0
SQLJ Runtime 11.2.0.1.0
Database Workspace Manager 11.2.0.1.0
RDBMS Required Support Files 11.2.0.1.0
Oracle Globalization Support 11.2.0.1.0
Exadata Storage Server 11.2.0.1.0
Provisioning Advisor Framework 10.2.0.4.2
Enterprise Manager Database Plugin -- Repository
Support 11.2.0.1.0
Enterprise Manager Repository Core Files
10.2.0.4.2
Enterprise Manager Database Plugin -- Agent
Support 11.2.0.1.0
Enterprise Manager Grid Control Core Files
10.2.0.4.2
Enterprise Manager Common Core Files 10.2.0.4.2
Enterprise Manager Agent Core Files 10.2.0.4.2
Agent Required Support Files 10.2.0.4.2
regexp 2.1.9.0.0
Parser Generator Required Support Files
11.2.0.1.0
Oracle 11g
Warehouse Builder Required Files 11.2.0.1.0
Oracle Notification Service (eONS) 11.2.0.1.0
Oracle Text Required Support Files 11.2.0.1.0
Precompiler Required Support Files 11.2.0.1.0
Oracle Database 11g Multimedia Files 11.2.0.1.0
Oracle Multimedia Java Advanced Imaging
11.2.0.1.0
Oracle Multimedia Annotator 11.2.0.1.0
Oracle JDBC/OCI Instant Client 11.2.0.1.0
Oracle Multimedia Locator RDBMS Files 11.2.0.1.0
Oracle Core Required Support Files 11.2.0.1.0
Oracle Help For Java 4.2.9.0.0
Sample Schema Data 11.2.0.1.0
Oracle Starter Database 11.2.0.1.0
Oracle Message Gateway Common Files 11.2.0.1.0
Oracle XML Query 11.2.0.1.0
XML Parser for Oracle JVM 11.2.0.1.0
Expat libraries 2.0.1.0.1
Installation Plugin Files 11.2.0.1.0
Enterprise Manager Common Files 10.2.0.4.2
Perl Modules 5.10.0.0.1
Deinstallation Tool 11.2.0.1.0
Oracle Quality of Service Management (Client)
11.2.0.1.0
Perl Interpreter 5.10.0.0.1
JAccelerator (COMPANION) 11.2.0.1.0
Oracle Containers for Java 11.2.0.1.0
Oracle Code Editor 1.2.1.0.0I
Oracle Net Required Support Files 11.2.0.1.0
Secure Socket Layer 11.2.0.1.0
Oracle Universal Connection Pool 11.2.0.1.0
Oracle JDBC/THIN Interfaces 11.2.0.1.0
Oracle Multimedia Client Option 11.2.0.1.0
Oracle Java Client 11.2.0.1.0
Character Set Migration Utility 11.2.0.1.0
Oracle Locale Builder 11.2.0.1.0
PL/SQL Embedded Gateway 11.2.0.1.0
OLAP SQL Scripts 11.2.0.1.0
Database SQL Scripts 11.2.0.1.0
Oracle Globalization Support 11.2.0.1.0
Required Support Files 11.2.0.1.0
SQL*Plus Files for Instant Client 11.2.0.1.0
Oracle ODBC Driver 11.2.0.1.0
Oracle Database User Interface 2.2.13.0.0
Oracle Notification Service 11.2.0.0.0
Enterprise Manager Minimal Integration
11.2.0.1.0
XML Parser for Java 11.2.0.1.0
Oracle Security Developer Tools 11.2.0.1.0
Oracle Wallet Manager 11.2.0.1.0
Cluster Verification Utility Common Files
11.2.0.1.0
Oracle Clusterware RDBMS Files 11.2.0.1.0
Oracle UIX 2.2.24.5.0
Enterprise Manager plugin Common Files
11.2.0.1.0
HAS Common Files 11.2.0.1.0
Precompiler Common Files 11.2.0.1.0
Installation Common Files 11.2.0.1.0
Oracle Help for the Web 2.0.14.0.0
Oracle LDAP administration 11.2.0.1.0
Buildtools Common Files 11.2.0.1.0
Assistant Common Files 11.2.0.1.0
Oracle Recovery Manager 11.2.0.1.0
PL/SQL 11.2.0.1.0
Generic Connectivity Common Files 11.2.0.1.0
Oracle Database Gateway for ODBC 11.2.0.1.0
Oracle Programmer 11.2.0.1.0
Oracle Database Utilities 11.2.0.1.0
Enterprise Manager Agent 10.2.0.4.2
Oracle Netca Client 11.2.0.1.0
SQL*Plus 11.2.0.1.0
Oracle Call Interface (OCI) 11.2.0.1.0
Oracle Multimedia Locator 11.2.0.1.0
Oracle Multimedia 11.2.0.1.0
Oracle Net 11.2.0.1.0
Database Configuration and Upgrade Assistants
11.2.0.1.0
Oracle XML Development Kit 11.2.0.1.0
Oracle JVM 11.2.0.1.0
Oracle Advanced Security 11.2.0.1.0
Oracle Internet Directory Client 11.2.0.1.0
HAS Files for DB 11.2.0.1.0
Oracle Enterprise Manager Console DB 11.2.0.1.0
Oracle Net Listener 11.2.0.1.0
Oracle Text 11.2.0.1.0
Oracle Net Services 11.2.0.1.0
Oracle Database 11g 11.2.0.1.0
Oracle OLAP 11.2.0.1.0
Oracle Spatial 11.2.0.1.0
Oracle Partitioning 11.2.0.1.0
Enterprise Edition Options 11.2.0.1.0
-----------------------------------------------------------------------------
实例化脚本以添加节点 (2010年12月23日
星期四 下午04时00分04秒 CST)
.
1% 已完成。
实例化添加节点脚本完成
复制到远程节点 (2010年12月23日
星期四 下午04时00分29秒 CST)
...............................................................................................
96%
已完成。
主目录已复制到新节点
在节点上保存产品清单 (2010年12月23日
星期四 下午04时16分33秒 CST)
.
100% 已完成。
保存产品清单完成
WARNING:
以下配置脚本需要以各个集群节点中的 "root" 用户的身份执行。
/data/oracle/product/11.2/root.sh #On nodes racnode3
要执行配置脚本, 请执行以下操作:
1. 打开终端窗口
2. 以 "root" 身份登录
3. 在每个集群节点中运行脚本
/data/oracle/product/11.2 的 添加集群节点 已成功。
请查看 '/tmp/silentInstall.log' 以获取详细资料。
下面在节点3上用root用户运行,root.sh:
# /data/oracle/product/11.2/root.sh
Running Oracle 11g
root.sh script...
The following environment variables
are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /data/oracle/product/11.2
Enter the full pathname of the
local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite
it? (y/n) [n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite
it? (y/n) [n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite
it? (y/n) [n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the
/var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
至此,节点添加操作完成。