没有合适的资源?快使用搜索试试~ 我知道了~
IBM AIX操作系统双机的安装与配置
资源推荐
资源详情
资源评论
![application/msword](https://img-home.csdnimg.cn/images/20210720083327.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/msword](https://img-home.csdnimg.cn/images/20210720083327.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/release/download_crawler_static/483240/bg1.jpg)
HACMP5.1 的安装和配置
Hacmp 5.1 的配置方法
Hacmp 自从出了 5.1 版本后, 很多客户向 IBM 技术支持中心打电话咨询配置方法。
的确,hacmp5.1 较以前的版本无论是从界面还是从配置方法都有了很大的改变。具体
内容我们可以从 IBM hacmp5。1 红皮书上获知。但对于大部分 hacmp 软件使用者来说,
最重要的是要有一个快速入门的步骤。因此我会在这里介绍一下 hacmp 的入门安装与
配置。
一,Hacmp 的软件安装。
1. 安装前提
如果您的操作系统是 AIX5.1 ,那么您要安装维护补丁包ML03以上,目前
最高的补丁版本是ML05. 并且您还要安装 RSCT 2.2.1.30 或更高版本。
以下的包也是必须要安装的:
• bos.adt.lib
• bos.adt.libm
• bos.adt.syscalls
• bos.net.tcp.client
• bos.net.tcp.server
• bos.rte.SRC
• bos.rte.libc
• bos.rte.libcfg
• bos.rte.libcur
• bos.rte.libpthreads
• bos.rte.odm
如果您要安装并行的资源组,还要安装下面的包:
• bos.rte.lvm.rte5.1.0.25 or higher
• bos.clvm.enh.
2. 开始安装
一般基本上除了haview ,netwiew ( Tivoli),的 包以外,所有的hacmp的包都要安装。
3. 打补丁。
注意,客户总是忽略给hacmp打补丁这一步骤。其实对hacmp来说,补丁是十分重要的。很多
发现的缺陷都已经在补丁中被解决了。有的客户严格的按照正确步骤安装和配置完hacmp的软
件后,发现takeover 有问题,ip接管有问题,机器自动宕机等等千奇百怪的问题,其实都与补丁
有关。所以客户一定要注意打补丁这个环节。现在hacmp最新的补丁是:
IY53044 - Latest HACMP for AIX R510 Fixes as of January 2004
大家可以从IBM网站上下载,或者打800-810-1818 热线电话索要。
4. 重启机器。 在hacmp 5。1 中 为了安全起见,不再使用/.rhosts 文件来控制两台机器
之间的命令和数据交换,而是引进的一个新的进程clcomd 。 如果你编辑/etc/inittab文件
就会发现安装完hacmp后,在最后添加了一行:clcomdES:2:once:startsrc -s clcomdES
>/dev/console 2>&1 。因此重新启机后, ps –ef |grep clomd ,会发现:root 12908 6478 0
![](https://csdnimg.cn/release/download_crawler_static/483240/bg2.jpg)
Apr 12 - 0:21 /usr/es/sbin/cluster/clcomd –d ,证明该进程启动了。Hacmp5.1使用
/usr/es/sbin/cluster/etc/rhosts 文件来代替 /.rhosts 文件的功能。
注意:如果两个节点间的通讯发生了什么问题,可以检查rhots 文件,或者编辑rhosts文件
加入两个节点的网络信息。
二, hacmp5.1 的配置
我们以两台机器为例:test1 和test2 , 共享三块7133 硬盘。
1. 首先配置两台机器的ip 和vg , 以及/etc/hosts 和application 启动/停止脚本
test1:/>netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 0.4.ac.49.f2.d5 77960 0 47805 0 0
en0 1500 100.1 100.1.0.1 77960 0 47805 0 0
en1 1500 link#3 0.6.29.ec.44.d6 33 0 11 0 0
en1 1500 192.168.0 192.168.0.1 33 0 11 0 0
test2:/>netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 0.4.ac.49.60.23 31138 0 82582 0 0
en0 1500 100.1 100.1.0.2 31138 0 82582 0 0
en1 1500 link#3 0.4.ac.3e.b9.4b 36 0 13 0 0
en1 1500 192.168.0 192.168.0.2 36 0 13 0 0
test1 :
hdisk0 0004383268b07574 rootvg active
hdisk3 000438325e22bca7 test1vg
hdisk4 00043832125e5aa8 None
hdisk5 000438323d0e4487 None
test2 :
hdisk0 000d29574085126d rootvg active
hdisk5 000438325e22bca7 test1vg
hdisk6 00043832125e5aa8 None
hdisk7 000438323d0e4487 None
/etc/hosts
100.1.0.2 test2_boot1 test2
100.1.0.1 test1_boot1 test1
192.168.0.1 test1_boot2
192.168.0.2 test2_boot2
10.1.0.1 test1_svc
10.1.0.2 test2_svc
10.1.0.5 test1_per
10.1.0.6 test1_per
![](https://csdnimg.cn/release/download_crawler_static/483240/bg3.jpg)
test2:/ha51>ls –l
-rwxr-xr-x 1 root system 65 Apr 13 13:51 start
-rw-r--r-- 1 root system 31 Apr 13 11:49 start.log
-rwxr-xr-x 1 root system 66 Apr 13 14:01 start1
-rw-r--r-- 1 root system 31 Apr 13 14:01 start1.log
-rwxrwxrwx 1 root system 64 Apr 13 11:48 stop
-rw-r--r-- 1 root system 31 Apr 13 11:48 stop.log
-rwxr-xr-x 1 root system 66 Apr 13 14:01 stop1
-rw-r--r-- 1 root system 31 Apr 13 14:01 stop1.log
vi start
date >> /ha51/start.log
banner " start app1 " >> /tmp/hacmp.out
vi stop
date >> /ha51/stop.log
banner "stop app1 " >> /tmp/hacmp.out
vi start1
date >> /ha51/start1.log
banner " start app2 " >> /tmp/hacmp.out
vi stop1
date >> /ha51/stop1.log
banner "stop app2 " >> /tmp/hacmp.out
注意:在两个节点要保证 hosts 和 启动/停止脚本要一样存在。
2. 用 smitty hacmp 来配置 hacmp
添加 cluster 和 node
smitty hacmp
Initialization and Standard Configuration
Extended Configuration
System Management (C-SPOC)
Problem Determination Tools
Add Nodes to an HACMP Cluster
Configure Resources to Make Highly Available
Configure HACMP Resource Groups
Verify and Synchronize HACMP Configuration
Display HACMP Configuration
![](https://csdnimg.cn/release/download_crawler_static/483240/bg4.jpg)
* Cluster Name [ha51tsc]
New Nodes (via selected communication paths)[m [test2_boot1 test1_boot1]
Currently Configured Node(s)
这一部很重要,一般我们都是把每个节点的 boot1 作为 communication path . New node
可以一起加,也可以一个一个的加。当回车以后,系统会自己 discover hacmp 的资源
显示如下:
。。。。。。。。。。。。。。。。。。。。
IP Network Discovery completed normally
Current cluster configuration:
No resource groups defined
Cluster Description of Cluster: ha51tsc
Cluster Security Level: Standard
There are 2 node(s) and 1 network(s) defined
NODE test1:
Network net_ether_02
test1_boot1 100.1.0.1
test1_boot2 192.168.0.1
NODE test2:
Network net_ether_02
test2_boot1 100.1.0.2
test2_boot2 192.168.0.2
。。。。。。。。。。。。。。。。。。。。。。
添加高可用资源(service ip , application server , vg and jfs )
添加服务 ip 地址
Add Nodes to an HACMP Cluster
Configure Resources to Make Highly Available
Configure HACMP Resource Groups
Verify and Synchronize HACMP Configuration
Display HACMP Configuration
Configure Service IP Labels/Addresses
Configure Application Servers
Configure Volume Groups, Logical Volumes and Filesystems
Configure Concurrent Volume Groups and Logical Volumes
Add a Service IP Label/Address
Change/Show a Service IP Label/Address
剩余16页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/523c6e5bffe948a0b2e7747ca4396e5b_lanfeng356.jpg!1)
lanfeng356
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
- 电子系统设计与创新实践作品:脉宽调制(PWM)控制器
- ASC X9 TR 34-2019 preview
- 基于Python+Django+MySQL+Redis实现的医院挂号系统
- PLC类-Inoproshop软件入门-Inoproshop软件整体框架及功能介绍
- 一步到位:SystemView 通信仿真软件安装教程
- 基于python+redis+rabbitmq搭建一个简单的秒杀系统
- 利用类模板和函数模板实现师生信息管理.zip
- 大数据-常用组件原理-大数据培训
- Python学习资料&项目源码-天气应用程序
- PostgreSQL JDBC 驱动包,最新的基于 jdk 1.6 的 jdbc 驱动包
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)