Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

0

好友

3

主题
1#
发表于 2013-1-6 11:04:08 | 查看: 6717| 回复: 6
我新安装了11.2.0.3RAC,hosts如下,
[root@YCNODE1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
172.16.93.11            YCNODE1.YCDEMO.COM YCNODE1
172.16.93.12            YCNODE2.YCDEMO.COM YCNODE2

172.16.93.8            YCNODE1-VIP.YCDEMO.COM YCNODE1-VIP
172.16.93.9            YCNODE2-VIP.YCDEMO.COM YCNODE2-VIP

192.16.93.11            YCNODE1-PRIV.YCDEMO.COM YCNODE1-PRIV
192.16.93.12            YCNODE2-PRIV.YCDEMO.COM YCNODE2-PRIV

172.16.93.10            YCRAC-SCAN.YCDEMO.COM   YCRAC-cluster

显示网络信息,怎么多了一个eth1:1接口?
[root@YCNODE1 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:25:B5:99:00:08  
          inet addr:172.16.93.11  Bcast:172.16.93.31  Mask:255.255.255.224
          inet6 addr: fe80::225:b5ff:fe99:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15627306 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17302943 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8952586849 (8.3 GiB)  TX bytes:14145938214 (13.1 GiB)

eth0:1    Link encap:Ethernet  HWaddr 00:25:B5:99:00:08  
          inet addr:172.16.93.8  Bcast:172.16.93.31  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0:2    Link encap:Ethernet  HWaddr 00:25:B5:99:00:08  
          inet addr:172.16.93.10  Bcast:172.16.93.31  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth1      Link encap:Ethernet  HWaddr 00:25:B5:99:00:09  
          inet addr:192.16.93.11  Bcast:192.16.93.255  Mask:255.255.255.0
          inet6 addr: fe80::225:b5ff:fe99:9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:109634955 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92247613 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:96273293509 (89.6 GiB)  TX bytes:70988483342 (66.1 GiB)

eth1:1    Link encap:Ethernet  HWaddr 00:25:B5:99:00:09  
          inet addr:169.254.248.14  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:19886911 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19886911 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:14233170965 (13.2 GiB)  TX bytes:14233170965 (13.2 GiB)

[root@YCNODE1 ~]#
2#
发表于 2013-1-6 11:16:22
谢谢群友的回答:
福州-斩月(11938XXXX)  11:10:25

--11gR2起Grid infrastructure引入资源ora.cluster_interconnect.haip,不需要第三方技术便可实现redundant interconnect,最多支持4个private network,提供load balance & failover功能;
--Gird会自动选取169.254.*.*作为HAIP address,该功能默认启动;
--HAIP数量由grid在第一个节点启动时active private network数目决定的,若想改变则需要所有节点重启;
--不支持windows平台,集群运行时不能停止HAIP
Redundant Interconnect without any 3rd-party IP failover technology (bond, IPMP or similar) is supported natively by Grid Infrastructure starting from 11.2.0.2.  Multiple private network adapters can be defined either during the installation phase or afterward using the oifcfg.  Oracle Database, CSS, OCR, CRS, CTSS, and EVM components in 11.2.0.2 employ it automatically.

Grid Infrastructure can activate a maximum of four private network adapters at a time even if more are defined. The ora.cluster_interconnect.haip resource will start one to four link local  HAIP on private network adapters for interconnect communication for Oracle RAC, Oracle ASM, and Oracle ACFS etc.

Grid automatically picks free link local addresses from reserved 169.254.*.* subnet for HAIP. According to RFC-3927, link local subnet 169.254.*.* should not be used for any other purpose. With HAIP, by default, interconnect traffic will be load balanced across all active interconnect interfaces, and corresponding HAIP address will be failed over transparently to other adapters if one fails or becomes non-communicative. .

The number of HAIP addresses is decided by how many private network adapters are active when Grid comes up on the first node in the cluster .  If there's only one active private network, Grid will create one; if two, Grid will create two; and if more than two, Grid will create four HAIPs. The number of HAIPs won't change even if more private network adapters are activated later, a restart of clusterware on all nodes is required for the number to change, however, the newly activated adapters can be used for fail over purpose.

回复 只看该作者 道具 举报

3#
发表于 2013-1-6 11:21:34
…………

eth1:1 是vip, eth0:2 是scanip

回复 只看该作者 道具 举报

4#
发表于 2013-1-6 13:58:49
安装RAC,多出来很正常。

回复 只看该作者 道具 举报

5#
发表于 2013-1-6 15:19:49
tianqingbo 发表于 2013-1-6 13:58
安装RAC,多出来很正常。

不要想当然,要知所以然

回复 只看该作者 道具 举报

6#
发表于 2013-1-7 09:37:54
西西梅丽 发表于 2013-1-6 11:16
谢谢群友的回答:
福州-斩月(11938XXXX)  11:10:25

言下之意是这个haip是private ip的冗余ip,他出现在第一个启动的节点上,而且数量跟private ip 的数量成1:1的对应关系,最大4块,个人觉得可以理解成oracle在操作系统层面搞了几块块虚拟网卡。

回复 只看该作者 道具 举报

7#
发表于 2013-1-7 09:38:25
西西梅丽 发表于 2013-1-6 11:16
谢谢群友的回答:
福州-斩月(11938XXXX)  11:10:25

言下之意是这个haip是private ip的冗余ip,他出现在第一个启动的节点上,而且数量跟private ip 的数量成1:1的对应关系,最大4块,个人觉得可以理解成oracle在操作系统层面搞了几块块虚拟网卡。

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-16 04:31 , Processed in 0.050992 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569