免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: xzhj

[HACMP集群] HACMP全攻略 [复制链接]

论坛徽章:
0
发表于 2005-06-28 17:35 |显示全部楼层

HACMP全攻略

boot地址在启动的时候有用,当然是在4下。
在ha5中已经没有boot的概念了。
ha的版本用lslpp看软件包的版本即可。

论坛徽章:
0
发表于 2005-06-30 09:58 |显示全部楼层

HACMP全攻略

感谢赐教

论坛徽章:
0
发表于 2005-06-30 10:15 |显示全部楼层

HACMP全攻略

建议版主加精!!

论坛徽章:
0
发表于 2005-06-30 16:39 |显示全部楼层

HACMP全攻略

HACMP全攻略之安装与配置
在此之前我们已经设计好了cluster、定义了TCP/IP网络、串口网络、LVM。下面就要开始安装HA软件包了。
Smitty install,smitty知道吧,我就不多说了。
选择安装:
Cluster.adt.*
Cluster.base.*
Cluster.cspoc
Cluster.msg
以上是4.x下的,5把标版和ES版合并了,所以小有变化。
安装的时候如果提示有包没有装的话,先装一下。
软件装好了就开始配置吧。
先看HA4.5。5的变化比较大,回头再说。
Smitty hacmp
                              HACMP

Move cursor to desired item and press Enter.

  Cluster Configuration
  Cluster Services
  Cluster System Management
  Cluster Recovery Aids
  RAS Support


                              Cluster Configuration

Move cursor to desired item and press Enter.

  Cluster Topology
  Cluster Security
  Cluster Resources
  Cluster Snapshots
  Cluster Verification
  Cluster Custom Modification
  Restore System Default Configuration from Active Configuration
  Advanced Performance Tuning Parameters


                                      Cluster Topology

Move cursor to desired item and press Enter.

Configure Cluster
Configure Nodes
Configure Adapters
Configure Sites
Configure Networks
Configure Global Networks
Configure Network Modules
Configure Topology Services and Group Services
Show Cluster Topology
Synchronize Cluster Topology

                                    Configure Cluster

Move cursor to desired item and press Enter.

Add a Cluster Definition
Change / Show Cluster Definition
Remove Cluster Definition



                                         Add a Cluster Definition

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  **NOTE: Cluster Manager MUST BE RESTARTED
          in order for changes to be acknowledged.**

* Cluster ID                                                 [1]   #
* Cluster Name                                               [test_cluster]

注意:Cluster ID在同一网络内必须是唯一的。
                                Configure Nodes

Move cursor to desired item and press Enter.

  Add Cluster Nodes
  Change / Show Cluster Node Name
  Remove a Cluster Node

                                          Add Cluster Nodes

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Node Names                                         [servera serverb]
使用一个有意义的标示,如hostname。
可以同时添加多个节点,用空格分开。
                                          Configure Networks

Move cursor to desired item and press Enter.

  Configure IP-based Networks
  Configure Non IP-based Networks

                                       Add an IP-based Network

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Network Name                                       [tcp_1]
* Network Attribute                                   public                     +
  Network Type                                       [ether]                   +
  Subnet(s)                                          [192.168.1.0/24]         +


     Configure Adapters

Move cursor to desired item and press Enter.

  Configure IP-based Interfaces / IP Labels
  Configure Adapters on Non IP-based networks

                              Configure IP-based Interfaces / IP Labels

Move cursor to desired item and press Enter.

  Add Initial Interfaces
  Discover IP Topology
  Add Multiple IP-based Interfaces
  Add Multiple Service IP Labels to a Network
  Add IP Labels Requiring Individual Configuration
  Change / Show an Interface / IP Label
  Remove Interface(s) / Label(s)

论坛徽章:
0
发表于 2005-06-30 17:07 |显示全部楼层

HACMP全攻略

Add an Initial Interface

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* IP Label                                           [servera_boot]
  Network Type                                        ether
  Network Name                                       tcp_1
* Interface Function                                 [boot]
  Interface IP Address                               [198.162.1.1]
* Node Name                                          [servera]
  Netmask                                            []
就这样把所有节点中的boot、service和standby网卡都设好。注意Network Name要和hosts里的label一样。Ip地址和netmask可以自动从hosts中获得。
下面设置心跳:
                         Add a Non IP-based Network

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Network Name                                       [serialnet0]
* Network Type                                       [rs232]


                         Add a Non IP-based Adapter

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Adapter Label                                      [servera_tty]
  Network Type                                        rs232
  Network Name                                        serialnet0
* Device Name                                        [/dev/tty3]
* Node Name                                          [servera]
把所有的节点的心跳都配置好拓扑就ok了。
下面同步拓扑结构:
                         Synchronize Cluster Topology

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  Ignore Cluster Verification Errors?                [No]
* Emulate or Actual?                                 [Actual]
* Skip Cluster Verification                          [No]

  Note:
  Only the local node's default configuration files
  keep the changes you make for topology DARE
  emulation. Once you run your emulation, to
  restore the original configuration rather than
  running an actual DARE, run the SMIT command,
  "Restore System Default Configuration from Active
  Configuration."
  We recommend that you make a snapshot before
  running an emulation, just in case uncontrolled
  cluster events happen during emulation.

  NOTE:
  If the Cluster Manager is active on this node,
  synchronizing the Cluster Topology will cause
  the Cluster Manager to make any changes take
  effect once the synchronization has successfully
  completed.

论坛徽章:
0
发表于 2005-07-01 03:44 |显示全部楼层

HACMP全攻略

继续呀。。。

论坛徽章:
0
发表于 2005-07-01 08:55 |显示全部楼层

HACMP全攻略

还是经验文章有看头

论坛徽章:
0
发表于 2005-07-01 10:18 |显示全部楼层

HACMP全攻略

学习的关键在于总结   支持

论坛徽章:
0
发表于 2005-07-05 16:15 |显示全部楼层

HACMP全攻略

感觉需要的人不是很多嘛,还要继续吗?
最近在玩longhorn,所以……。

论坛徽章:
0
发表于 2005-07-05 16:34 |显示全部楼层

HACMP全攻略

我想请教下,在做RAC模式的时候


资源配置应该注意那些事项???


偶是烟民 :em11:  :em11:  :em11:  :em11:
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP