亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 2713 | 回復(fù): 4
打印 上一主題 下一主題

關(guān)于RHCS心跳的討論貼 [復(fù)制鏈接]

論壇徽章:
1
數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-03-10 06:20:00
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2009-03-09 18:47 |只看該作者 |倒序?yàn)g覽
# What's the "right" way to get cman to use a different NIC, say, eth2

rather than eth0?

There are several reasons for doing this. You may want to do this in cases

where you want the cman heartbeat messages to be on a dedicated network so

that a heavily used network doesn't cause heartbeat messages to be missed

(and nodes in your cluster to be fenced). Second, you may have security

reasons for wanting to keep these messages off of an Internet-facing

network.

First, you want to configure your alternate NIC to have its own IP address,

and the settings that go with that (subnet, etc).

Next, add an entry into /etc/hosts (on all nodes) for the ip address

associated with the NIC you want to use. In this case, eth2. One way to do

this is to append a suffix to the original host name. For example, if your

node is "node-01" you could give it the name "node-01-p" (-p for private

network). For example, your /etc/hosts file might look like this:
# 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
10.0.0.1 node-01
192.168.0.1 node-01-p

If you're using RHEL4.4 or above, or 5.1 or above, that's all you need to

do. There is code in cman to look at all the active network interfaces on

the node and find the one that corresponds to the entry in cluster.conf.

Note that this only works on ipv4 interfaces.



個(gè)人從上面的字面翻譯得出一個(gè)論點(diǎn):
cman會(huì)從cluster.conf里登記的節(jié)點(diǎn)上來(lái)尋找所有激活的網(wǎng)絡(luò)接口進(jìn)行通訊,默認(rèn)采用eth0來(lái)做心跳通訊,進(jìn)行mcast多點(diǎn)組播。

如果網(wǎng)卡做bonding,它會(huì)優(yōu)先從哪個(gè)網(wǎng)絡(luò)通訊呢?
呵呵。。。。

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2009-03-09 22:15 |只看該作者

回復(fù) #1 hbwangting 的帖子

bonding 默認(rèn)的也是eth0 失效使用eth1

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2009-03-09 23:24 |只看該作者
原帖由 hbwangting 于 2009-3-9 18:47 發(fā)表
# What's the "right" way to get cman to use a different NIC, say, eth2

rather than eth0?

There are several reasons for doing this. You may want to do this in cases

where you want the c ...


如果bonding是主備模式,哪個(gè)網(wǎng)卡是ACTIVE就走哪個(gè)唄。

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2009-03-10 09:23 |只看該作者
明白了。bonding要確認(rèn)時(shí)什么mode,bonding時(shí)最好有交換機(jī),關(guān)于心跳的網(wǎng)絡(luò)問(wèn)題,記得以前有個(gè)帖子討論過(guò)。

論壇徽章:
1
數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-03-10 06:20:00
5 [報(bào)告]
發(fā)表于 2009-03-10 11:09 |只看該作者
看來(lái)做bonding還得指定下primary=eth0參數(shù)才好,呵呵
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP