互联网服务hacmp

HACMP用串口线做tty0心跳线不通

2台P170做HACMP实验,用串口线做tty0或tty1心跳线都不通(串口线都接在两台主机相同位置),只能在主机A上显示成功,主机B失败。请问是什么原因啊?

主机A:

# lsdev -Cc tty
tty0 Available 01-S1-00-00 Asynchronous Terminal
# stty < /dev/tty0
speed 9600 baud; -parity hupcl

eol2 = ^?
brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3

echo echoe echok

#


主机B:
# lsdev -Cc tty
tty0 Available 01-S1-00-00 Asynchronous Terminal
# stty < /dev/tty0
一直无反应


我把两台机器串口线头对调重插一下,本来主机A可以,现在是主机A不行,主机B又可以了,是不是线头顺序问题?
主机A:
# lsdev -Cc tty
tty0 Available 01-S1-00-00 Asynchronous Terminal
tty1 Available 01-S2-00-00 Asynchronous Terminal
# stty < /dev/tty1
一直无反应
#


主机B:
# lsdev -Cc tty
tty0 Available 01-S1-00-00 Asynchronous Terminal
tty1 Available 01-S2-00-00 Asynchronous Terminal
# stty < /dev/tty1
speed 9600 baud; -parity hupcl

eol2 = ^?
brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3

echo echoe echok
参与3

2同行回答

mxinmxin资深工程师上海宝信软件股份有限公司
呵呵,还有就是线是否正常?机器串口本身是否正常?毕竟是老机器了显示全部
呵呵,还有就是线是否正常?机器串口本身是否正常?毕竟是老机器了收起
IT咨询服务 · 2014-04-23
浏览624
zhenzongjianzhenzongjian软件开发工程师na
如何测试tty0??cat /etc/passwd >/dev/tty0cat 显示全部
如何测试tty0??

cat /etc/passwd >/dev/tty0


cat 收起
互联网服务 · 2014-04-23
浏览733

提问者

luochengsong
网络工程师制造业
擅长领域: 云计算私有云云管平台

相关问题

相关资料

问题状态

  • 发布时间:2014-04-22
  • 关注会员:1 人
  • 问题浏览:2688
  • 最近回答:2014-04-23
  • X社区推广