免费注册 查看新帖 |

Chinaunix

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

[HACMP集群] 要做HACMP,之前怎么配网卡的boot和service地址?急! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-12-12 18:48 |只看该作者 |倒序浏览
两台AIX4.3.3和一个盘阵。
要用HACMP4.4.1做双机。
文挡说在做HACMP之前先配置网卡的boot,service,standby地址
在en0上加boot和service地址怎么加?
我的意思是怎么在一块网卡上加两个地址。
我想应该不是做别名吧。

论坛徽章:
0
2 [报告]
发表于 2003-12-12 18:59 |只看该作者

要做HACMP,之前怎么配网卡的boot和service地址?急!

smitty mktcpip

论坛徽章:
0
3 [报告]
发表于 2003-12-12 19:18 |只看该作者

要做HACMP,之前怎么配网卡的boot和service地址?急!

smit mktcpip也只能加一个IP啊,
在问label怎么写,写成host1_boot或host1_serv吗?
改了主机名,smit可就起不来啦。又要手工改hostname
那和没改有什么区别?

论坛徽章:
0
4 [报告]
发表于 2003-12-12 23:17 |只看该作者

要做HACMP,之前怎么配网卡的boot和service地址?急!

提供我配置时候的顺序供你参考。

具体方法好像不止这一种,但下述方法肯定可行。

论坛里面有很多hacmp配置的资料,可以找出来看看,应该有帮助。

# smitty tcpip
  Minimum Configuration & Startup            ****
  x   en0     Standard Ethernet Network Interface                            x
  x   en1     Standard Ethernet Network Interface   *****                    x
  x   en2     Standard Ethernet Network Interface                            x
  x   et0     IEEE 802.3 Ethernet Network Interface                          x
  x   et1     IEEE 802.3 Ethernet Network Interface                          x
  x   et2     IEEE 802.3 Ethernet Network Interface                          x
选择网络接口时应该先用lscfg –a |more 察看具体的网卡位置和对应的odm设置。后期在做hacmp测试的时候会用到。
change
* HOSTNAME                                           [rs1_stby]
* Internet ADDRESS (dotted decimal)                  [184.80.12.1]
  Network MASK (dotted decimal)                      [255.255.248.0]
* Network INTERFACE                                   en1
  NAMESERVER
           Internet ADDRESS (dotted decimal)         []
           DOMAIN Name                               []
  Default GATEWAY Address                            [84.80.16.253]
  (dotted decimal or symbolic name)
  Your CABLE Type                                     N/A                     +
  START Now                                           yes                     +
same as rs1_svc
* HOSTNAME                                           [rs1_svc]
* Internet ADDRESS (dotted decimal)                  [84.80.18.1]
  Network MASK (dotted decimal)                      [255.255.248.0]
* Network INTERFACE                                   en0
  NAMESERVER
           Internet ADDRESS (dotted decimal)         []
           DOMAIN Name                               []
  Default GATEWAY Address                            [84.80.16.253]
  (dotted decimal or symbolic name)
  Your CABLE Type                                     N/A                     +
  START Now                                           yes                     +
# smitty chinet
  x   en0     Standard Ethernet Network Interface        ****                x
  x   en1     Standard Ethernet Network Interface                            x
  x   en2     Standard Ethernet Network Interface                            x
  x   et0     IEEE 802.3 Ethernet Network Interface                          x
  x   et1     IEEE 802.3 Ethernet Network Interface                          x
  x   et2     IEEE 802.3 Ethernet Network Interface                          x
添加boot地址:
                  Change / Show a Standard Ethernet Interface
  Network Interface Name                              en0
  INTERNET ADDRESS (dotted decimal)                  [84.80.18.1]
  Network MASK (hexadecimal or dotted decimal)       [255.255.248.0]
  Current STATE                                       up                      +
  Use Address Resolution Protocol (ARP)?              yes                     +
  BROADCAST ADDRESS (dotted decimal)                 []                       
CHANGE TO FOLLOW LIST
  Network Interface Name                              en0
  INTERNET ADDRESS (dotted decimal)                  [84.80.18.3]
  Network MASK (hexadecimal or dotted decimal)       [255.255.248.0]
  Current STATE                                       up                      +
  Use Address Resolution Protocol (ARP)?              yes                     +
  BROADCAST ADDRESS (dotted decimal)                 []
#smitty tcpip
  Minimum Configuration & Startup     *****
  x   en0     Standard Ethernet Network Interface   ****                     x
  x   en1     Standard Ethernet Network Interface                            x
  x   en2     Standard Ethernet Network Interface                            x
  x   et0     IEEE 802.3 Ethernet Network Interface                          x
  x   et1     IEEE 802.3 Ethernet Network Interface                          x
  x   et2     IEEE 802.3 Ethernet Network Interface                          x

* HOSTNAME                                           [rs1_svc]
* Internet ADDRESS (dotted decimal)                  [84.80.18.3]    刚才chinet修改以后的结果
  Network MASK (dotted decimal)                      [255.255.248.0]         
* Network INTERFACE                                   en0                     
CHANGE TO FOLLOW LIST
* HOSTNAME                                           [rs1]
* Internet ADDRESS (dotted decimal)                  [84.80.18.3]            
  Network MASK (dotted decimal)                      [255.255.248.0]         
* Network INTERFACE                                   en0                     
同样的方法配置备机的ip地址,同样是两块网卡,三个ip地址,四个主机名称(相对于每台机器而言)
use ping test ok
    ping rs2_stby
    ping rs2_boot
    用ping来检测是否网络连接正常,如果能够ping通无误,则网络以及连接线路均正常。

论坛徽章:
0
5 [报告]
发表于 2011-04-17 10:12 |只看该作者
提供我配置时候的顺序供你参考。

具体方法好像不止这一种,但下述方法肯定可行。

论坛里面有很多hacm ...
yanbing 发表于 2003-12-12 23:17



    #4的签名很不错。   也比较符合我此时的心情。

论坛徽章:
0
6 [报告]
发表于 2011-04-17 23:47 |只看该作者
在en0上加boot和service地址怎么加?
我的意思是怎么在一块网卡上加两个地址。

这是HACMP完成的工作,你只需要完成规划和配置
HACMP 4.4的时候都是用IP 替换方式的IPAT来切换service IP的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP