免费注册 查看新帖 |

Chinaunix

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

求助有关心跳线的问题. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-16 10:58 |只看该作者 |倒序浏览
RS 6000两台,用串口做心跳配置,两主机间S3口互连,然后分别做以下配置\r\n#smitty tty\r\n      TTY                                          tty1\r\n      TTY type                                     tty\r\n      TTY interface                                rs232\r\n      Description                                  Asynchronous Terminal\r\n      Status                                       Available\r\n      Location                                     20-70-01-00\r\n      Parent adapter                                sa2\r\n     PORT number                                  [0]               \r\n      Enable LOGIN                                 disable                 \r\n      BAUD rate                                    [9600]                   \r\n      PARITY                                       [none]                   \r\n      BITS per character                            [8]                      \r\n      Number of STOP BITS                           [1]\r\n\r\n但是用 A#cat /etc/hosts >;/dev/tty0\r\n    B# cat </dev/tty0\r\n在B机上没输出啊,怎么回事呢?晕啊 ~~~

论坛徽章:
0
2 [报告]
发表于 2005-04-16 11:54 |只看该作者

求助有关心跳线的问题.

老兄!你配置的是TTY1指定在S3口上,后来你却用TTY0来输出,能显示才怪呢\r\ncat /etc/hosts >;/dev/tty1\r\ncat </dev/tty1

论坛徽章:
0
3 [报告]
发表于 2005-07-05 15:36 |只看该作者

求助有关心跳线的问题.

不明白,请问楼主能不讲清楚一点,我在自己HA测试了一下,cat /etc/hosts >;/dev/tty1 \r\ncat </dev/tty1在同一个机器能够显示,\r\nA#cat /etc/hosts >;/dev/tty1\r\n   B# cat </dev/tty1\r\n却不行。

论坛徽章:
0
4 [报告]
发表于 2005-07-05 16:44 |只看该作者

求助有关心跳线的问题.

关键你得看 tty1 对应的串口是否和你所接的一致

论坛徽章:
0
5 [报告]
发表于 2005-07-05 21:39 |只看该作者

求助有关心跳线的问题.

这是个基础的问题,还请楼主仔细看看191,199,187的红皮书.关于串口没搞清楚.

论坛徽章:
0
6 [报告]
发表于 2005-07-05 23:56 |只看该作者

求助有关心跳线的问题.

查的书好多啊。呵呵,等查完了。就会恍然大悟了。这个问题可就刻在脑子里了,一百年也不会犯了。\r\n你用lsdev -Cc tty看看你TTY1对应的是哪可口,TTY0对应的是哪个口先!

论坛徽章:
0
7 [报告]
发表于 2005-07-07 09:41 |只看该作者

求助有关心跳线的问题.

# lsdev -Cc tty\r\ntty0 Available 30-58-01-07 Asynchronous Terminal\r\n\r\n           Change / Show Characteristics of a TTY\r\n\r\nType or select values in entry fields.\r\nPress Enter AFTER making all desired changes.\r\n\r\n[TOP]                                                   [Entry Fields]\r\n TTY                                                 tty0\r\n TTY type                                            tty\r\n TTY interface                                       rs232\r\n Description                                         Asynchronous Terminal\r\n Status                                              Available\r\n Location                                            30-58-01-07\r\n Parent adapter                                      sa2\r\n PORT number                                        [7]                      +\r\n Enable LOGIN                                        disable                 +\r\n BAUD rate                                          [9600]                   +\r\n PARITY                                             [none]                   +\r\n BITS per character                                 [8]                      +\r\n Number of STOP BITS                                [1]                      +\r\n[MORE...39]\r\n\r\n不明白,请问楼主能不讲清楚一点,我在自己HA测试了一下,cat /etc/hosts >;/dev/tty0 \r\ncat </dev/tty1在同一个机器能够显示, \r\nA#cat /etc/hosts >;/dev/tty0\r\n  B# cat </dev/tty0 还是不行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP