- 浏览: 1023044 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (529)
- 服务器 (8)
- jsp (1)
- java (6)
- AIX (1)
- solaris (3)
- linux学习 (53)
- javaScript (2)
- hibernate (1)
- 数据库 (74)
- sql语句 (8)
- oracle 学习 (75)
- oracle 案例 (42)
- oracle 管理 (42)
- Oracle RAC (27)
- oracle data guard (12)
- oracle 参数讲解 (14)
- Oracle 字符集 (8)
- oracle性能调优 (24)
- oracle备份与恢复 (12)
- oracle Tablespace (9)
- oracle性能诊断艺术 (1)
- oracle 11g学习 (5)
- oracle streams (1)
- oracle upgrade and downgrade (4)
- db2学习 (13)
- db2命令学习 (2)
- mysql (28)
- sql server (30)
- sql server 2008 (0)
- 工具 (10)
- 操作系统 (3)
- c++ (1)
- stock (1)
- 生活 (5)
- HADOOP (2)
最新评论
-
massjcy:
...
如何将ubuntu文件夹中文名改为英文 -
skypiea:
谢谢。。。
终于解决了。。。
Oracle 10.2.0.4(5)EM不能启动的解决方案(Patch 8350262) -
qwe_rt:
引用vi /etc/sysconfig/network 请问 ...
Linux操作系统下配置静态IP上网 -
liuqiang:
sudo killall -9 apache2
ps 和 kill 命令详解 -
dazuiba:
引用*绝杀 kill -9 PID 当使用此命令时,一定要通过 ...
ps 和 kill 命令详解
How to Change Interconnect/Public Interface IP or Subnet in Oracle Clusterware [
- 博客分类:
- Oracle RAC
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.8
Information in this document applies to any platform.
Purpose:
The purpose of this note is to describe how to change or update the cluster_interconnect and/or public interface IP information that is stored in the OCR. The interface defined as 'public' will be the interface used to bind the VIP to, whereas the interface defined as 'cluster_interconnect' will be the default interface used by any RDBMS or ASM instances for cache fusion traffic.
This note is not intended as a means to change the Public or Private Hostnames themselves. Public or Private hostnames can only be changed by removing/adding nodes, or reinstalling Oracle Clusterware. VIP Hostnames can be changed, however. To change a VIP Hostname, please refer to Note 276434.1 .
It may be necessary to change or update interface names, or the IP information associated with an interface if there is a network change affecting the servers, or if the original information that was input during the installation was incorrect. It may also be the case that for some reason, the Oracle Interface Configuration Assistant ('oifcfg') did not succeeed during the installation.
In any of these cases, the 'oifcfg' utility can be used to remove incorrect entries that are stored in the OCR, and to add the correct information back into the OCR.
Note: The value stored for the cluster_interconnect via oifcfg is meant to be used by RDBMS and ASM instances only. Oracle Clusterware does not use these values for the interconnect. Oracle Clusterware uses the private nodenames that were specified at install time for communications between the clusterware daemons.
If you wish to change the network that Oracle Clusterware is using for communications on the interconnect, this can be done by modifying the hosts file of each node, such that the private node name that was specified during the installation would now resolve to a different IP address. This modification of the hosts file should be done while the Oracle Clusterware Stack is down on all nodes. After the Oracle Clusterware stack has restarted, you can then run oifcfg as described in this note, to change the cluster_interconnect used by RDBMS and ASM instances.
As noted above, if the IP subnet for either the 'public' or 'cluster_interconnect' interface is incorrect and needs to be changed, you should make the changes using the Oracle Interface Configuration Tool (oifcfg).
Instructions for Changing Interfaces on Linux/Unix systems
You can change the interface information for a cluster using the following as an example:
1. First - Use the getif option to show the currently configured interfaces. This will display the interfaces that are currently stored in the OCR, what their subnets are, and what their role is (i.e. public or cluster_interconnect). This example is from a Linux system, but the syntax is the same for any platform. On Unix/Linux systems, the interface names are generally assigned by the OS, and standard names vary by platform. (For Windows systems, see additional notes below) :
% $ORA_CRS_HOME/bin/oifcfg getif
eth0 10.2.156.0 global public
eth1 192.168.0.0 global cluster_interconnect
2. If the public interface IP needs to be changed, there is not a 'modify' option - you will need to delete the interface and add it back with the correct subnet IP. So, in the example here, the subnet is being changed from 10.2.156.0 to 10.2.166.0 via two separate commands - first a 'delif' followed by a 'setif':
% $ORA_CRS_HOME/bin/oifcfg delif -global eth0
% $ORA_CRS_HOME/bin/oifcfg setif –global eth0/10.2.166.0:public
syntax: oifcfg setif <interface-name>/<subnet>:<cluster_interconnect|public>
Note: 'oifcfg setif' should be run as the same user who did the original CRS installation, because the 'setif' option updates the OCR and sets permissions in the OCR for the interface based on who is running the command. This is true on all platforms, including Windows.
3. The same step could be use for the private interface:
% $ORA_CRS_HOME/bin/oifcfg delif –global eth1
% $ORA_CRS_HOME/bin/oifcfg setif –global eth1/192.168.1.0:cluster_interconnect
4. Verify the correct interface subnet is in use by re-running oifcfg with the 'getif' option:
% $ORA_CRS_HOME/bin/oifcfg getif
eth0 10.2.166.0 global public
eth1 192.168.1.0 global cluster_interconnect
The syntax for changing the interfaces on Windows/RAC clusters is the same as on Unix or Linux, but the interface names will be slightly different. On Windows systems, the default names assigned to the interfaces are generally names such as:
Local Area Connection
Local Area Connection 1
Local Area Connection 2
If you are using an interface name that has spaces in it, such as the examples above, you must enclose the name in quotes. Also, be aware that it is case sensitive. So for example, on Windows, you would use syntax such as the following to add the public subnet in:
C:\oracle\product\10.2.0\crs\bin\oifcfg setif –global 'Local Area Connection 1'/10.2.166.0:public
However, it is common practice on Windows to rename the interfaces to use names that are more meaningful, such as renaming them to 'Public' and 'Private'. If interface names are renamed after CRS is installed, then you will need to run 'oifcfg' to delete the old interface and add the new one back in, as described above.
You can view the available interface names on each node by running the command:
oifcfg iflist
This command must be run on each node, as the 'iflist' option is showing the interface names that exist at the operating system level on that particular node. On the other hand, commands such as 'oifcfg getif', 'oifcfg delif' and 'oifcfg setif' are actually reading/updating the OCR, which is a shared resource. So these commands need only be run one time, and should be runnable from any node in the cluster.
Ramifications of Changing Interface Names Using oifcfg
The ramifications of changing the interface names depends on which name you are changing, and whether or not you are also changing the IP address. In cases where only the interface names are being changed, the ramifications are minor. If you change the name for the Public Interface that is stored in the OCR, you will also need to modify the nodeapps for each node. Therefore, the nodeapps will have to be brought down in order for this change to take effect. See Note 276434.1 for more details on changing the nodeapps to use a new public interface name.
For the Private interface, the database will use the interface stored in the OCR and defined as a 'cluster_interconnect' for cache fusion traffic. You will be able to see this at startup in the alert log, after the parameter listing - for example:
Cluster communication is configured to use the following interface(s) for this instance
192.168.1.1
If this is incorrect, then once you have corrected the entries stored in the OCR (by using 'oifcfg' as described in this note) you will have to restart the instance in order for it to re-read the OCR and pick up the correct network. This applies to ASM instances and Database instances alike.
Note 1: If you intend to change the actual IP addresses for the interconnect, this should be done while the CRS stack is down, in order to prevent node evictions. However, the CRS stack must be running in order to run the 'oifcfg' utility. Once the IP addresses are changed, and the CRS stack has been brought back up, you can then use 'oifcfg' to change the information stored in the OCR. At that point, the instances can then be started.
Note 2: On Windows systems, after shutting down the instance, you will also need to stop/restart the OracleService<SID> (or OracleASMService<ASMSID> before the OCR will be re-read.
For additional information on these commands for 10gR1, refer to:
Oracle® Real Application Clusters Administrator's Guide 10g Release 1 (10.1) Part No. B10765-01. Chapter 8, "Administrative Options", Administering System and Network Interfaces with the
OIFCFG (Oracle Interface Configuration) Tool
For 10gR2, refer to:
Oracle® Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide , 10g Release 2 (10.2) , Part Number B14197-03. Chapter 9.
For 11gR1, refer to:
Oracle® Clusterware Administration and Deployment Guide
11g Release 1 (11.1) , Part Number B28255-03, Appendix C
Oifcfg Usage:
oifcfg iflist
oifcfg setif {-node <nodename> | -global} {<if_name>/<subnet>:<if_type>}...
oifcfg getif [-node <nodename> | -global] [ -if <if_name>[/<subnet>] [-type <if_type>] ]
oifcfg delif [-node <nodename> | -global] [<if_name>[/<subnet>]]
oifcfg [-help]
<nodename> - name of the host, as known to a communications network
<if_name> - name by which the interface is configured in the system
<subnet> - subnet address of the interface
<if_type> - type of the interface { cluster_interconnect | public | storage }
发表评论
-
11gR2 RAC dbca无法发现ASM磁盘组
2012-07-30 11:28 1455安装好Grid Infrastructure和Database ... -
RAC dbca无法发现ASM磁盘组
2012-07-30 11:20 0查看( 1501 ) / 评论( 10 ) / 评分( 0 / ... -
RAC优化要点
2011-01-19 23:03 1965RAC环境下,DB CACHE的命中率对系统的性能影响 ... -
11gR2 cluvfy tools usage
2011-01-05 03:01 1291Note that the following only s ... -
配置11gR2 RAC SCAN
2011-01-02 21:11 348411G RAC scan即用DNA解析的I ... -
CRS-0215: Could not start resource 'ora..vip' [ID 356535.1]
2010-12-17 17:34 3383Oracle Server - Enterprise Edit ... -
Oracle RAC选件技术的价值何在?
2010-07-14 11:38 1675随着IT技术的发展,网格计算目前已经成为一个热点,它所带来的低 ... -
怎样修改 SCAN信息(来自于metalink)
2010-06-06 00:34 1572Applies to: Oracle Server ... -
Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node [ID 27
2010-05-14 11:28 2366Applies to: Oracle Server ... -
RAC或OPS环境下重新创建控制文件 引自Metalink
2010-05-13 13:33 1673PURPOSE-------This article desc ... -
10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 (VIPCA / SRVCTL / OUI
2010-04-30 12:04 1586Applies to: Oracle Server ... -
RAC环境下listener无法启动案例分析
2010-04-26 21:24 2485RAC系统重新配置listener后无法启动: [root@ ... -
CRS-1019: Resource ora.rac02.ons (application) cannot run on rac01 问题解决
2010-04-25 16:15 2701[root@rac01 bin]# ./crs_stat -t ... -
AIX集群修改IP步骤
2010-04-25 01:50 4406集群修改IP步骤 环境: AIX 5L HACMP ... -
关于虚拟 IP
2010-04-23 11:14 1840关于虚拟 IP10g 中为什么使用虚拟 IP (VIP)?为什 ... -
RAC Ocfs2文件系统常见问题解决方法
2010-01-11 14:28 1618现象一:mount -t ocfs2 -o datavolum ... -
启动OCFS2时出错:o2cb_ctl Unable load configuration file
2010-01-11 14:22 2206操作系统版本:RedHat-AS5 ... -
RAC User Equivalence Check Failed
2010-01-11 14:17 1662在使用SSH方式配置RAC时,可能会在检查用户等价时失败。 ... -
ORACLE RAC:监听原理 简介
2010-01-11 14:15 3671RAC1 RAC2 都需需要配置监听,各自监听自己的 实例 ... -
Oracle集群文件系统(OCFS2)用户指南
2010-01-11 14:02 2821http://oss.oracle.com/projects/ ...
相关推荐
~/.bashrc\nfi\n\n# User specific environment and startup programs\nexport JAVA_HOME=/usr/local/java\nexport ORACLE_BASE=/oracle/orabin\nexport ORACLE_HOME=$ORACLE_BASE/db_1\nexport ORA_CRS_HOME=/...
【标题】"10gr2_clusterware_hpi.zip" 指的是 Oracle 10g Release 2 的集群软件(Clusterware)健康检查工具(Health Probe Interface,简称 HPI)的压缩包。这个文件可能包含了用于监控和诊断 Oracle 10g R2 集群...
本文将详细介绍如何进行Oracle RAC集群中的IP地址更新,包括公共IP(public IP)、私有IP(private IP)、虚拟IP(Virtual IP)以及扫描IP(Scan IP)等各类IP地址的更改步骤。 #### 一、理解RAC中的IP地址类型 在Oracle ...
AXI4-Interconnect 结构支持 N-to-1、1-to-N 和 N-to-M 等多种互连模式。在 Crossbar 模式下,AXI4-Interconnect 核心可以连接一个或多个 AXI 主设备到一个或多个从设备,形成一个共享地址多数据 (SAMD) 拓扑结构。...
在Oracle 10g版本中,RAC通过Oracle Clusterware来实现这一功能,使得系统能够在节点之间共享数据,并在单个节点故障时无缝切换到其他节点。 **Oracle Clusterware Installation and Configuration** Oracle ...
- **OCFS1 or v2 for 2.6 kernels (Oracle Cluster Filesystem)**:适用于2.6内核版本的集群文件系统。 - **NFS (Certified Network Filesystem)**:认证的网络文件系统。具体支持情况需查询[Metalink]...
Oracle10g Real Application Clusters (RAC) 是Oracle数据库的一种高级特性,它允许数据库在多台服务器上同时运行,提供了高可用性和可扩展性。RAC通过共享存储和网络资源,使得多个实例可以访问同一个数据库,从而...
1. 硬件设备与网络准备:确保两台服务器通过SICS卡连接到SICS硬盘,并配置两块网卡,分别用于私有网络(Interconnect)和公共网络(Public Network)通信。 2. Windows 2003环境准备:修改服务器的计算机名、管理员...
4. **Oracle软件安装**:分别在每个节点上安装Oracle Grid Infrastructure(包括Clusterware和ASM)和Oracle数据库软件。 5. **集群初始化和配置**:使用crsconfig和crsctl等工具进行集群初始化,配置CRS和OCR...
Oracle Real Application Clusters (RAC) 是Oracle数据库的一项重要特性,它允许多个数据库实例同时访问同一个物理数据库,从而实现高可用性和负载均衡。在Oracle 11g Release 2 (11.2)中,RAC支持Microsoft Windows...
- **Oracle 11g R2**:将 ASM 和 Oracle Clusterware 集成到 Oracle Grid Infrastructure 中,增强了存储解决方案,允许在 ASM 上存储 OCR 和投票文件。 - **SCAN**:Single Client Access Name,简化客户端连接过程...
从 11.2.0.2 版本开始,可以使用 Redundant Interconnect Usage 创建 1-4 个高可用 IP(HAIP),实现节点之间私有网络的高可用和负载均衡。 三、划分节点 IP 在每个节点上,需要编辑 /etc/hosts 文件,以便配置...
Oracle 10g Real Application Clusters (RAC) 是一种高可用性解决方案,它允许多个实例同时访问同一个数据库,从而提高系统性能和可靠性。在Linux环境下进行Oracle RAC的静默安装是一种自动化安装方式,可以减少手动...
### ORACLE 10G RAC参考手册知识点详解 #### 一、Oracle RAC规划 **1.1 RAC的基本组成** RAC (Real Application Clusters) 是 Oracle 提供的一种多实例集群技术,用于实现高性能、高可用性及可伸缩性的数据库解决...
在系统安装与部署部分,书中将详细阐述如何规划和搭建RAC环境,包括硬件选择、软件安装、网络配置(如GI监听器、Interconnect和Public Network)、以及存储配置(如ASM和非ASM)。读者还将学习到如何通过OCR(Oracle...
Oracle RAC(Real Application Clusters)是Oracle数据库的一种高可用性解决方案,允许多个数据库实例同时访问同一物理数据库,提供故障切换和负载均衡能力。在部署Oracle RAC环境时,操作系统的选择和配置是至关...
6. **Clusterware与CRS**:Oracle Clusterware是集群软件的基础,它提供故障检测和恢复功能。CRS(Cluster Resource Scheduler)则负责资源管理和调度,确保服务的高可用性。 7. **Fast Application Notification ...
### Interconnect Noise Optimization in Nanometer Technologies #### 一、引言与技术趋势 《Interconnect Noise Optimization in Nanometer Technologies》是一本深入探讨纳米技术中互连线噪声优化问题的专业...
可以设置内网NTP服务器,或使用RAC自带的Oracle Clusterware时间同步功能。 二、Oracle 19c RAC安装步骤 1. 安装先决条件:包括Oracle Grid Infrastructure(GI)和Oracle Database软件。 2. 创建用户和组:创建...