免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1267 | 回复: 3
打印 上一主题 下一主题

[高级应用] 那位大虾帮我看看这样的HA正常吗? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-05 17:57 |只看该作者 |倒序浏览
HACMP 环境:
主机HOST1:(HA主机)
(主要运行TRS数据库服务器)
网络地址

Adapter        Type       Network    Net Type   Attribute  Node       IP Address      
wzwb1_boot    boot       ether1     ether      public     wzwb1      172.16.2.9      
wzwb1_src     service    ether1     ether      public     wzwb1      172.16.2.5      
wzwb1_stby    standby    ether1     ether      public     wzwb1      172.16.2.7      
wzwb1_tty1    service    rs2321     rs232      serial     wzwb1       /dev/tty1


主机host2:(HA丛机)            
(主要运行domino服务器)
wzwb2_boot    boot       ether1     ether      public     wzwb2      172.16.2.10      
wzwb2_src     service    ether1     ether      public     wzwb2      172.16.2.6      
wzwb2_stby    standby    ether1     ether      public     wzwb2      172.16.2.8      
wzwb2_tty1    service    rs2321     rs232      serial     wzwb2      /dev/tty1     



运行状态(notes应用)

Resource Group Name                          sharenotes
Node Relationship                            cascading
Participating Node Name(s)                   wzwb2 wzwb1
Service IP Label                             wzwb2_src
Filesystems                                  ALL
Filesystems Consistency Check                fsck
Filesystems Recovery Method                  sequential
Filesystems/Directories to be exported      
Filesystems to be NFS mounted               
Network For NFS Mount                        
Volume Groups                                sharenotes
Concurrent Volume Groups                     
Disks                                       
Shared Tape Resources                        
Connections Services                        
Fast Connect Services                        
Application Servers                          notesapp
Highly Available Communication Links         
Miscellaneous Data                           
Auto Discover/Import of Volume Groups        true
Inactive Takeover                            false
Cascading Without Fallback                   false
9333 Disk Fencing                            false
SSA Disk Fencing                             false
Filesystems mounted before IP configured     false
Run Time Parameters:

Node Name                                    wzwb2
Debug Level                                  high
Host uses NIS or Name Server                 false

Node Name                                    wzwb1
Debug Level                                  high
Host uses NIS or Name Server                 false

                                                     


运行状态(TRS应用)
Resource Group Name                          sharetrs
Node Relationship                            cascading
Participating Node Name(s)                   wzwb1 wzwb2
Service IP Label                             wzwb1_src
Filesystems                                  ALL
Filesystems Consistency Check                fsck
Filesystems Recovery Method                  sequential
Filesystems/Directories to be exported      
Filesystems to be NFS mounted               
Network For NFS Mount                        
Volume Groups                                sharetrs
Concurrent Volume Groups                     
Disks                                       
Shared Tape Resources                        
Connections Services                        
Fast Connect Services                        
Application Servers                          trsapp
Highly Available Communication Links         
Miscellaneous Data                           
Auto Discover/Import of Volume Groups        true
Inactive Takeover                            false
Cascading Without Fallback                   false
9333 Disk Fencing                            false
SSA Disk Fencing                             false
Filesystems mounted before IP configured     false
Run Time Parameters:

Node Name                                    wzwb1
Debug Level                                  high
Host uses NIS or Name Server                 false

Node Name                                    wzwb2
Debug Level                                  high
Host uses NIS or Name Server                 false

HACMP启动关闭自动执行脚本:
/etc/ha_starttrs                        启动TRS
/etc/ha_stoptrs                                关闭TRS
/etc/ha_startnotes                        启动notes
/etc/ha_stopnotes                        关闭notes



hacmp测试:

启动hacmp模式下:
在host1机上(主HA)和hosts2上所有网卡全能ping通
host1的网线2。5拔下:在本机上ping 172.16.2.5能通 ,不能ping通2.7 ,在客户机上2。5和2。7都不能ping通;
host2的网线2。6拔下:在本机上ping 172.16.2.6能通 ,不能ping通2.8 ,在客户机上2。6和2。8都不能ping通

在host2上,HA停(takeover):host1接管HOST2上的服务domino;
shutdown -F host2:host1不接管host2上的资源与服务;
host2上手工退出domino服务,host1也不能接管host2上的资源与服务;
host2的两网线都拔下:host1不接管host2上的资源与服务;客户机都不能ping通2。6和2。8,本机host2上可以ping通2。6;       
host1的两网线都拔下:host2不接管host1上的资源与服务;客户机都不能ping通2。5和2。7,本机host1上可以ping通2。5;

host1上:shutdown -F  :host2不接管host1上的资源与服务

论坛徽章:
0
2 [报告]
发表于 2003-06-06 00:11 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2003-06-06 09:41 |只看该作者

那位大虾帮我看看这样的HA正常吗?

按我的测试结果,HA正常吗?

论坛徽章:
0
4 [报告]
发表于 2003-06-06 09:47 |只看该作者

那位大虾帮我看看这样的HA正常吗?

不正常。
为什么STANDBY和SERVICE在一个子网?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP