免费注册 查看新帖 |

Chinaunix

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

[网络管理] ipmitool问题:能ping不能获取远程服务器状态 [复制链接]

论坛徽章:
2
2015元宵节徽章
日期:2015-03-06 15:50:39数据库技术版块每日发帖之星
日期:2015-12-05 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-06-11 19:40 |只看该作者 |倒序浏览
A服务器上执行:
(1)
[root@dt tmp]# ping 10.70.10.81
PING 10.77.10.81 (10.77.10.81) 56(84) bytes of data.
64 bytes from 10.70.10.81: icmp_seq=1 ttl=64 time=0.153 ms
64 bytes from 10.70.10.81: icmp_seq=2 ttl=64 time=0.115 ms
64 bytes from 10.70.10.81: icmp_seq=3 ttl=64 time=0.178 ms

(2)
ipmitool -vv -I lanplus -U root -P root -H 10.70.10.81 power status
>> Sending IPMI command payload
>>    netfn   : 0x06
>>    command : 0x38
>>    data    : 0x0e 0x04
Get Auth Capabilities error
Error issuing Get Channel Authentication Capabilies request
Error: Unable to establish IPMI v2 / RMCP+ session
Unable to get Chassis Power Status
B服务器(10.70.10.81):
[root@db81 ~]# ipmitool lan print 1
Set in Progress         : Set Complete
Auth Type Support       : NONE MD2 MD5 PASSWORD
Auth Type Enable        : Callback : MD2 MD5
                        : User     : MD2 MD5
                        : Operator : MD2 MD5
                        : Admin    : MD5 PASSWORD
                        : OEM      :
IP Address Source       : Static Address
IP Address              : 10.70.10.81
Subnet Mask             : 255.255.0.0
MAC Address             : c8:1f:66:ca:76:3a
SNMP Community String   : public
IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Enabled
Gratituous ARP Intrvl   : 5.0 seconds
Default Gateway IP      : 0.0.0.0
Default Gateway MAC     : 00:00:00:00:00:00
Backup Gateway IP       : 0.0.0.0
Backup Gateway MAC      : 00:00:00:00:00:00
802.1q VLAN ID          : Disabled
802.1q VLAN Priority    : 0
RMCP+ Cipher Suites     : 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
Cipher Suite Priv Max   : Xaaaaaaaaaaaaaa
                         :     X=Cipher Suite Unused
                         :     c=CALLBACK
                         :     u=USER
                         :     o=OPERATOR
                         :     a=ADMIN
                         :     O=OEM
[root@db81 tmp]# ipmitool user list 1
ID  Name             Enabled Callin  Link Auth  IPMI Msg   Channel Priv Limit
2   root             true    true    true       true       ADMINISTRATOR
[root@db81 tmp]# ping 10.70.10.18
PING 10.70.10.18 (10.70.10.1 56(84) bytes of data.
64 bytes from 10.70.10.18: icmp_seq=1 ttl=64 time=0.910 ms
64 bytes from 10.70.10.18: icmp_seq=2 ttl=64 time=0.185 ms
64 bytes from 10.70.10.18: icmp_seq=3 ttl=64 time=0.120 ms
64 bytes from 10.70.10.18: icmp_seq=4 ttl=64 time=0.120 ms
--- 10.70.10.18 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.120/0.333/0.910/0.334 ms

论坛徽章:
12
技术图书徽章
日期:2014-07-11 16:27:5215-16赛季CBA联赛之山西
日期:2016-01-08 16:10:11操作系统版块每日发帖之星
日期:2015-08-01 06:20:002015亚冠之武里南联
日期:2015-06-11 01:12:162015年亚洲杯之阿联酋
日期:2015-03-20 11:41:462015年亚洲杯纪念徽章
日期:2015-03-18 18:08:422015年辞旧岁徽章
日期:2015-03-03 16:54:15丑牛
日期:2015-01-10 22:23:32天秤座
日期:2014-08-20 15:53:35水瓶座
日期:2014-08-11 12:08:51午马
日期:2014-07-23 23:03:38IT运维版块每日发帖之星
日期:2016-02-18 06:20:00
2 [报告]
发表于 2015-06-11 22:05 |只看该作者
回复 1# microsoft_fly


IPMI使用UDP 623来通信。  要确保A机器到10.70.10.81的UDP 623端口可达。

可以在本地抓包看看有没有UDP 623端口的返回数据来判断是否正常建立了通信。

论坛徽章:
2
2015元宵节徽章
日期:2015-03-06 15:50:39数据库技术版块每日发帖之星
日期:2015-12-05 06:20:00
3 [报告]
发表于 2015-12-02 17:21 |只看该作者
非常感激!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP