- 论坛徽章:
- 0
|
如何更改IBM HACMP环境里网卡的IP地址\r\n2009-3-23 12:28:16 equalnull 来源:ibm 点击:709次 加入收藏夹\r\n\r\n________________________________________\r\n 环境:\r\nAIX 5L \r\nHACMP 5.2/5.3/5.4\r\n\r\n步骤:\r\n\r\n1.获取当前HACMP环境里配置的IP地址\r\n#/usr/sbin/cluster/utilities/cllsif > /tmp/cllsif.orig\r\n\r\n/tmp/cllsif.orig文件里就会包含HACMP网卡当前的IP地址\r\n\r\n2.停止所有节点的HACMP服务\r\n#smit clstop --> 选择HA的两个节点 --> 回车\r\n\r\n3.在两个节点上分别编辑/etc/hosts,将boot, standby, service更改成要求的\r\n\r\nIP地址\r\n\r\n4.在两个节点上分别用”smit chinet”更改boot和standby网卡的IP为要求的IP\r\n\r\n,需要和/etc/hosts中的IP对应一致\r\n\r\n5.在两个节点上互相ping对方的boot和standby的IP,确保能ping通\r\n\r\n6.在HACMP配置里更改IP\r\n6.1.更改Service IP\r\n第一步:删除原来的service IP label\r\n# smit hacmp --> Extended Configuration --> Extended Resource \r\n\r\nConfiguration --> HACMP Extended Resources Configuration --> Configure \r\n\r\nHACMP Service IP Labels/Addresses --> Remove Service IP Label\r\n\r\n(s)/Address(es) --> 选择IP标签 --> 回车\r\n\r\n第二步:添加新的Service IP Label\r\n# smit hacmp --> Extended Configuration --> Extended Resource \r\n\r\nConfiguration --> HACMP Extended Resources Configuration --> Configure \r\n\r\nHACMP Service IP Labels/Addresses --> Add a Service IP Label/Address -\r\n\r\n-> Configurable on Multiple Nodes --> 选择网络(比如net_ether_01) --> 在\r\n\r\nIP Label/Address处选择新的Server IP标签(列表中应该能看到更改后的server \r\n\r\nIP) --> 回车\r\n\r\n6.2.更改boot IP\r\n# smit hacmp --> Extended Configuration --> Extended Topology \r\n\r\nConfiguration --> Configure HACMP Nodes --> Change/Show a Node in the \r\n\r\nHACMP Cluster --> 选择一个节点 --> 在Communication Path to Node处重新选\r\n\r\n择新的boot IP --> 回车执行\r\n <<点击查看全文>>http://www.serverol.com/tech/5214a.html \r\n\r\n上一条技术: 如何得到AIX系统安装时间和系统启动时间 |
|