PowerVM 环境下实施 PowerHA 7.1的要点
|
然后在 HA 节点上(vioc)查看, sfwcom 已经可见。
# lscluster -i sfwcom
Network/Storage Interface Query
Cluster Name: wxycluster
Cluster UUID: 397cd38e-8bdc-11e2-844a-ce02cc0e300a
Number of nodes reporting = 1
Number of nodes stale = 0
Number of nodes expected = 1
Node node1
Node UUID = 398263b2-8bdc-11e2-844a-ce02cc0e300a
Number of interfaces discovered = 1
Interface number 1, sfwcom
IFNET type = 0 (none)
NDD type = 304 (NDD_SANCOMM)
Smoothed RTT across interface = 0
Mean deviation in network RTT across interface = 0
Probe interval for interface = 100 ms
IFNET flags for interface = 0x00000000
NDD flags for interface = 0x00000009
Interface state = UP
# lsdev -C|grep sfw
sfw0 Available Storage Framework Module
sfwcomm0 Available 20-T1-01-FF Fibre Channel Storage Framework Comm
sfwcomm1 Available vLAN Storage Framework Comm
这样,在虚拟化环境下实现 PowerHA7.1 的 FC heartbeat 就完成了。 测试将 node1 节点 halt -q,然后再 node2 上观察 node1 节点的 sfwcom 接口状态,处于 stale 状态,而 node2 自身的 sfwcom 状态正常,这符合预期:
Node node1
Node UUID = 398263b2-8bdc-11e2-844a-ce02cc0e300a
Number of interfaces discovered = 3
Interface number 1, en0
IFNET type = 6 (IFT_ETHER)
NDD type = 7 (NDD_ISO88023)
MAC address length = 6
MAC address = CE:02:CC:0E:30:0A
Smoothed RTT across interface = 7
Mean deviation in network RTT across interface = 3
Probe interval for interface = 100 ms
IFNET flags for interface = 0x1E080863
NDD flags for interface = 0x0021081B
Interface state = STALE
Number of regular addresses configured on interface = 2
IPv4 ADDRESS: 172.16.25.175 broadcast 172.16.25.255 netmask 255.255.255.0
IPv4 ADDRESS: 172.16.25.178 broadcast 172.16.25.255 netmask 255.255.255.0
Number of cluster multicast addresses configured on interface = 1
IPv4 MULTICAST ADDRESS: 228.16.25.175
Interface number 2, sfwcom
IFNET type = 0 (none)
NDD type = 304 (NDD_SANCOMM)
Smoothed RTT across interface = 0
Mean deviation in network RTT across interface = 0
Probe interval for interface = 100 ms
IFNET flags for interface = 0x00000000
NDD flags for interface = 0x00000009
Interface state = STALE
Interface number 3, dpcom
IFNET type = 0 (none)
NDD type = 305 (NDD_PINGCOMM)
Smoothed RTT across interface = 76
Mean deviation in network RTT across interface = 7
Probe interval for interface = 830 ms
IFNET flags for interface = 0x00000000
NDD flags for interface = 0x00000009
Interface state = STALE
总结 通过目前的实施案例来看,在 PowerVM 环境下实施 PowerHA7.1 是完全没有问题的,PowerHA 也能实现其在物理分区中相同的功能。关于技术要点,总结如下: PowerHA7.1 中允许 1 个 HA 节点只有 1 个网卡、1 个 BootIP 和一个 ServiceIP,并且 ServieIP 可以和 BootIP 在相同网段,这为在 VIOC 中简化网络结构提供了便利(网络的高可用通过 VIOS 上 SEA 的 NIB 或 EtherChannel 来实现) 。 netmon.cf 的功能的成功实现,解决了 PowerHA 监控虚拟网卡状态的问题 FC 心跳的虚拟环境下的实施保证了 VIOC 在没有物理 HBA 卡的情况下,通过虚拟 FC 心跳的功能,使 PowerHA 更加稳定,有效地预防脑裂。 (编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
