免费注册 查看新帖 |

Chinaunix

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

[HACMP集群] hacmp如何改IP [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-01 08:39 |只看该作者 |倒序浏览
请问各位大哥,本人有两台P615双机,怎么改IP地址,不影响hacmp。我想从现在的网段改到其他网段

论坛徽章:
0
2 [报告]
发表于 2006-03-01 11:15 |只看该作者
有关ip的设置是不是都需要重新做吧

论坛徽章:
0
3 [报告]
发表于 2006-03-01 11:52 |只看该作者
环境:AIX,HACMP
更改HACMP环境里网卡的ip地址的步骤如下:
1.运行命令:
/usr/sbin/cluster/utilities/cllsif > /tmp/cllsif.orig ,
/tmp/cllsif.orig文件里就包含您的HACMP网卡当前的ip地址;
2.停止您系统上正在运行的与当前ip地址有关所有应用;
3.停止所有有关节点系统的HACMP服务:
smitty hacmp
Cluster Services
Stop Cluster Services
4.停止所有有关节点系统的TCPIP服务 :
stopsrc -g tcpip
5.更改各个节点的HACMP网卡的boot和standby地址:
smitty chinet
6.在各个节点上编辑/etc/hosts文件,更改成要求的ip地址:
boot,service和standy的ip地址;
7.在各个节点上启动TCPIP服务:
startsrc -g tcpip
8.用ping或者telnet命令来测试并确保各个节点在网络中是可访问的;
9.在HACMP的配置里更改ip地址:
smitty hacmp
Cluster Configuration
Cluster Topology
Configure Adapters
Change/Show and Adapter
10. 同步cluster的拓扑结构:
smitty hacmp
Cluster Configuration
Cluster Topology
Synchronize Cluster Topology
11.检验环境:
smitty hacmp
Cluster Configuration
Cluster Verification
12. 运行命令:
/usr/sbin/cluster/utilities/cllsif > /tmp/cllsif.new ,
比较/tmp/cllsif.new文件和先前的/tmp/cllsif.orig文件,所有ip地址的改变都将反映出来;
13.把各个节点上除了rootvg外的所有卷组都置为不可用状态:
varyoffvg vgname ;
14.启动 HACMP服务:
smitty hacmp
Cluster Services
Start Cluster Services
15. 如果用了DNS服务,对DNS服务器做必要的更改;
16. 用新的ip地址进行HACMP的资源接管测试。

论坛徽章:
0
4 [报告]
发表于 2006-03-01 16:14 |只看该作者
多谢,回头试成功以后,再次感谢

论坛徽章:
0
5 [报告]
发表于 2006-03-01 23:20 |只看该作者
好像存在一个问题;在第7条中“7.在各个节点上启动TCPIP服务:
startsrc -g tcpip”
但在199书中p247页上明确写道‘不要使用上述命令启动TCP/IP后台进程’
能解释一下吗?

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-11-09 06:20:00
6 [报告]
发表于 2006-03-02 12:32 |只看该作者
lssrc -g tcpip
Subsystem         Group            PID     Status
inetd            tcpip            4904    active
snmpd            tcpip            5160    active
dpid2            tcpip            5418    active
hostmibd         tcpip            5676    active
rwhod            tcpip                    inoperative
xntpd            tcpip                    inoperative
dhcpcd           tcpip                    inoperative
ndpd-host        tcpip                    inoperative
ndpd-router      tcpip                    inoperative
tftpd            tcpip                    inoperative
gated            tcpip                    inoperative
named            tcpip                    inoperative
routed           tcpip                    inoperative
iptrace          tcpip                    inoperative
timed            tcpip                    inoperative
dhcpsd           tcpip                    inoperative
dhcprd           tcpip                    inoperative
mrouted          tcpip                    inoperative
pxed             tcpip                    inoperative
binld            tcpip                    inoperative
dfpd             tcpip                    inoperative
Note: Do not restart TCP/IP daemons using the command:
startsrc -g tcpip
It will start all subsystems defined in the ODM for the tcpip group, which
includes both routed and gated.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP