互联网服务AIXhacmp

aix HACMP多网卡多个IP,指定IP访问网络

AIX7.1系统  HACMP7.1 集群软件
使用IP别方式搭建集群
/etc/hosts

#####boot ip#####            
2.18.1.11    PDZQDDB01bt1
3.18.1.11    PDZQDDB01bt2   
2.18.1.12    PDZQDAP02bt1   
3.18.1.12    PDZQDAP02bt2   
#####persistent ip#####      
172.18.1.11    PDZQDDB01     
172.18.1.12    PDZQDAP02     
#####service ip#####         
172.18.1.1    DMZQDDB        
172.18.1.2    DMZQDAP  

外联前置机需要用172.18.1.2这个IP去和人行做连接,但是每次从本机发起的时候是使用per的IP去发起的(也有一些是serIP),但是人行那边只认172.18.1.2这个,所以连接很不稳定。怎么才能做到只让serverIP去发起访问呢?
应用服务器网卡信息
oracle@PDZQDAP02:/home/oracle$ ifconfig -a
en4: flags=1e084863,100c0
        inet 172.18.1.2 netmask 0xffffff00 broadcast 172.18.1.255
        inet 2.18.1.12 netmask 0xffffff00 broadcast 2.18.1.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en6: flags=1e084863,c0
        inet 3.18.1.12 netmask 0xffffff00 broadcast 3.18.1.255
        inet 172.18.1.12 netmask 0xffffff00 broadcast 172.18.1.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,c0
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1%1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
参与17

15同行回答

abit2007abit2007系统工程师代维
回复 11# light_meng 你的这个说法,可否解释下,粗黑标识的字,好像说的是从永久IP发送,有些跟楼主的要求相勃哦,还有,里面还说的绑定功能,貌似看不到。显示全部
回复 11# light_meng

你的这个说法,可否解释下,粗黑标识的字,好像说的是从永久IP发送,有些跟楼主的要求相勃哦,
还有,里面还说的绑定功能,貌似看不到。收起
互联网服务 · 2014-11-07
浏览2538
老么老么系统工程师mbi
通常都不配置perip,而使用单独的网络来管理机器显示全部
通常都不配置perip,而使用单独的网络来管理机器收起
互联网服务 · 2014-11-04
浏览2459
798683133yj798683133yj系统架构师政务云某公司
回复 11# light_meng 老大,能不能介绍下powerha 中anti-collocation anti-collocation with source collocation collocationwithpersistent label anti-collocation with Persistent Label,auti-collocation with Persistent label and Source ,这选项怎么用吗?...显示全部
回复 11# light_meng


老大,能不能介绍下powerha 中anti-collocation anti-collocation with source collocation collocationwithpersistent label anti-collocation with Persistent Label,auti-collocation with Persistent label and Source ,这选项怎么用吗?收起
金融其它 · 2014-11-03
浏览3191
高大全高大全软件开发工程师Daquan
可以尝试一下两个方法:方法一:调整路由顺序:ifconfig enX down和ifconfig enX up(enX未persIP所在接口)方法二:加入接口路由,route add -host   172.18.1.2 或者route add -interface -host 172.18.1.2显示全部
可以尝试一下两个方法:
方法一:调整路由顺序:ifconfig enX down和ifconfig enX up(enX未persIP所在接口)
方法二:加入接口路由,route add -host   172.18.1.2 或者route add -interface -host 172.18.1.2收起
互联网服务 · 2014-10-19
浏览2608
ernesternest系统工程师qcxt
个人觉得在路由上做文章   写一条主机路由应该可以满足要求  还望楼主试试显示全部
个人觉得在路由上做文章   写一条主机路由应该可以满足要求  还望楼主试试收起
系统集成 · 2014-10-14
浏览2521
light_menglight_meng售前技术支持北京
应该使用2楼介绍的方法,PowerHA就是为了防止楼主描述的情况发生而有的此功能Cluster Applications and Resources-->Resources-->Configure Service IP Labels/Addresses-->Configure Service IP Label/Address-->Distribution Preferences...显示全部
应该使用2楼介绍的方法,PowerHA就是为了防止楼主描述的情况发生而有的此功能
Cluster Applications and Resources-->Resources-->Configure Service IP Labels/Addresses-->Configure Service IP Label/Address-->Distribution Preferences

QQ图片20141011162402.png

收起
系统集成 · 2014-10-11
浏览3210
abit2007abit2007系统工程师代维
HA有切换选项,对调两个网卡地址,自己找找吧,在C-SPOC里面。显示全部
HA有切换选项,对调两个网卡地址,自己找找吧,在C-SPOC里面。收起
互联网服务 · 2014-09-30
浏览3070
capitalcapital软件开发工程师ming
不会怎么办,只能学习了显示全部
不会怎么办,只能学习了收起
政府机关 · 2014-09-19
浏览3084
pop41199pop41199系统运维工程师北京南天软件有限公司
在serviceIP所在的网卡上做添加路由,制定特定网貌似可以这样的:route add default ip    gateway_ip netmask  if  network_num可以试一下显示全部
在serviceIP所在的网卡上做添加路由,制定特定网
貌似可以这样的:route add default ip    gateway_ip netmask  if  network_num可以试一下收起
系统集成 · 2014-09-16
浏览3062
zzliu_cebzzliu_ceb其它光大银行
换个思路,在路由上做文章,指定网络接口,或者设置权重,具体实现方法自己摸索,我也没研究:lol显示全部
换个思路,在路由上做文章,指定网络接口,或者设置权重,具体实现方法自己摸索,我也没研究:lol收起
银行 · 2014-09-16
浏览3084

提问者

365004875
软件开发工程师chinacache
擅长领域: 服务器主机云计算

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2014-09-10
  • 关注会员:2 人
  • 问题浏览:14150
  • 最近回答:2014-11-07
  • X社区推广