+ -
当前位置:首页 → 问答吧 → 要做HACMP,之前怎么配网卡的boot和service地址?急!

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

时间:2003-12-12

来源:互联网

两台AIX4.3.3和一个盘阵。
要用HACMP4.4.1做双机。
文挡说在做HACMP之前先配置网卡的boot,service,standby地址
在en0上加boot和service地址怎么加?
我的意思是怎么在一块网卡上加两个地址。
我想应该不是做别名吧。

作者: luojianming   发布时间: 2003-12-12

smitty mktcpip

作者: jianan   发布时间: 2003-12-12

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

作者: luojianming   发布时间: 2003-12-12

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

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

论坛里面有很多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通无误,则网络以及连接线路均正常。

作者: yanbing   发布时间: 2003-12-12



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

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

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




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

作者: wetnx   发布时间: 2011-04-17

热门下载

更多