免费注册 查看新帖 |

Chinaunix

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

[OpenBSD] 请教openbsd的HA方案。。。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-23 10:19 |只看该作者 |倒序浏览
在openbsd下,用什么软件来实现ha??
各位给推荐推荐,我只用过linux下的heartbeat,不知道能否用在openbsd上?

论坛徽章:
0
2 [报告]
发表于 2005-09-23 11:44 |只看该作者

请教openbsd的HA方案。。。

没人了解吗?

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
3 [报告]
发表于 2005-09-23 11:56 |只看该作者

请教openbsd的HA方案。。。

http://www.openbsd.org/3.7_packages/vax/sixxs-heartbeatd-20031026.tgz-contents.html

论坛徽章:
0
4 [报告]
发表于 2005-09-23 12:11 |只看该作者

请教openbsd的HA方案。。。

Thanks!感谢!!

论坛徽章:
0
5 [报告]
发表于 2005-09-23 12:30 |只看该作者

请教openbsd的HA方案。。。

FreeBSD下用什么涅?

论坛徽章:
0
6 [报告]
发表于 2005-09-23 13:14 |只看该作者

请教openbsd的HA方案。。。

什么叫“哈”?

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

请教openbsd的HA方案。。。

这个是sixxs-heartbeat的配置文件,
看不懂啊,哪位大哥给解释解释??

# Configuration for SixXS Heartbeat Client
# SixXS - http://www.sixxs.net
#
# Commentlines start with semicolon (, hash (#),
# double slash (//) or a space ( ).
# Empty lines are ignored.
# Argument values may be quoted using single (') and double (" quotes.
#
# examples:
# os linux
# os "linux"
# os 'linux'

# Operating System (linux/freebsd/openbsd/netbsd/winxp)
os "openbsd"

# Interface the tunnel should go over
# used for detecting the local IPv4 endpoint
ipv4_interface "tun0"

# IPv4 address of the POP (nlams01/nlams02/nlams04/demun01/iedub01/dkcop01)
# This is also the address to where heartbeats are sent
ipv4_pop "[POP].sixxs.net"

# ipv4_local is figured out automatically
# from the ipv4_interface

# Special case for people having their
# endpoint behind a NAT
#hb_behindnat 1
#
# Don't change the local tunnel endpoint
#hb_statictunnel 1
#
# The hostname or IP of the 'external' IP
# from which the heartbeat should originate
# Note that mismatching IP's will be dropped
#ipv4_local_resolve public-ip.example.net

# Interface to be used for the tunnel
# will be created on the OS's that need that
ipv6_interface "gif0"

# The local and remote sides of the tunnel
ipv6_pop "2001:db8::1"
ipv6_local "2001:db8::2"

# The prefix length of the tunnel
# Tunnel space is thus ipv6_pop/ipv6_prefixlen
ipv6_prefixlen 64

# The Heartbeat password for this tunnel
hb_password "hartslag"

# The interval at which to send the heartbeat
hb_sendinterval 60

# Informational: after this timeout the tunnel
# is taken down at the POP side
hb_timeout 300

# Put the client in the background? (default)
# Set to 0 to keep in foreground, eg for daemontools
# Non-daemonized will also cause logs to be send to stdout
# daemonize 1


下面这个是readme

SixXS Heartbeat Client/Server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The heartbeat protocol as described in the draft
uses the IANA assigned port 3740 (*1) for communication
to notify a POP of IPv4 endpoint changes and the
reachability of the client.

In short it sends a heartbeat every 60 seconds containing:
HEARTBEAT TUNNEL 2001:db8::2 10.100.13.42 1063665852 hartslag

This is md5'd, password removed, md5 added and thus the
following string is transmitted to the POP's IPv4 per UDP:
HEARTBEAT TUNNEL 2001:db8::2 10.100.13.42 1063665852 da46fdc28f568bb62d29661f73758095

If there is no heartbeat for 300 seconds the POP automatically
disables the tunnel. If the IPv4 address changes, the tunnel
is again automatically reconfigured to the new address.
If the tunnel was down it is configured to be up on the heartbeat.

All of this makes sure that traffic won't be transmitted
to unsuspecting endpoints in case an endpoint is on a
dialup connection or other fast-changing endpoint.

Note: Keep your machine NTP synced, if the timestamp difference
is bigger than 120 seconds the heartbeat will be silently dropped.

Comments and questions should be directed to info@sixxs.net
or the SixXS Forums for discussions.

Server/POP side of the code is closed for the time being.

Jeroen Massar / SixXS Staff
jeroen@sixxs.net

The software can be downloaded from:
http://www.sixxs.net/archive/heartbeat/

*1 = IANA port 3740
http://www.iana.org/assignments/port-numbers
heartbeat       3740/tcp   Heartbeat Protocol
heartbeat       3740/udp   Heartbeat Protocol
#                          Jeroen Massar <jeroen@unfix.org>; April 2003


我用的openbsd3.7做的网关,现在想做一个HA。

敬请指点指点!!!!!

论坛徽章:
0
8 [报告]
发表于 2005-09-23 17:38 |只看该作者

请教openbsd的HA方案。。。

关注中,以前没遇到过,呵呵!

论坛徽章:
0
9 [报告]
发表于 2005-09-24 08:05 |只看该作者

请教openbsd的HA方案。。。

up

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
10 [报告]
发表于 2005-09-24 13:08 |只看该作者

请教openbsd的HA方案。。。

呵呵,自己多多研究英文文档哦。
没有做这个的实际工作,暂时无法提供更多的意见啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP