Chinaunix
标题:
hacmp如何改IP
[打印本页]
作者:
ct058918
时间:
2006-03-01 08:39
标题:
hacmp如何改IP
请问各位大哥,本人有两台P615双机,怎么改IP地址,不影响hacmp。我想从现在的网段改到其他网段
作者:
eilian
时间:
2006-03-01 11:15
有关ip的设置是不是都需要重新做吧
作者:
tchmuzi
时间:
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的资源接管测试。
作者:
ct058918
时间:
2006-03-01 16:14
多谢,回头试成功以后,再次感谢
作者:
dingding
时间:
2006-03-01 23:20
好像存在一个问题;在第7条中“7.在各个节点上启动TCPIP服务:
startsrc -g tcpip”
但在199书中p247页上明确写道‘不要使用上述命令启动TCP/IP后台进程’
能解释一下吗?
作者:
feiaix
时间:
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.
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2