LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1758|回复: 2

正在看ldirectord的文档,大家帮忙翻译翻译。

[复制链接]
发表于 2005-9-23 17:29:26 | 显示全部楼层 |阅读模式
ldirectord ldirectord is a daemon to monitor and administer real servers in a LVS cluster of load balanced virtual servers.
Ldirectord是一个监控和管理LVS集群的负载均衡模式下real rerver的后台程序。
ldirectord typically used as a resource for heartbeat , but can also be run from the command line.
Ldirectord的特色是使用和heartbeat相同的资源,但是也可以从命令行运行。

A LVS cluster consists or one or more virtual services each of which may have zero or more real servers.
一个LVS集群是由运行在零个或者多个real servers上的一个或者多个服务组成的。
The IP address of a virtual service is what end-users connect to and is typically advertised over DNS.
最终用户连接和什么DNS的是一个虚拟服务的ip地址(这句不太明白)
When a connection is made to a virtual service, it is allocated a real server, and all packets for this connection are forwarded to this real server.
当建立一个连接到虚拟服务,它被分配到一台real server,并且这个连接的所有包都被转发到这台real server.
A more detailed overview of LVS can be found here.
更多的详细介绍可以在LVS上找到

ldirectord has a configuration file which specifies the virtual services and their associated real servers.
ldirectord存在一个指定虚拟服务和这些服务关联的real servers的配置文件.
When ldirectord is initialised it creates the virtual services for the clutster.
当ldirectord被初始化的时候它为集群创建虚拟服务.
ldirectord monitors the health of the real servers by periodically requesting a known URL and checking that the response contains an expected response.
ldirectord 监视real server的健康状态......
If a real server fails then the server is removed and will be reactivated once it comes back on line. If all the real servers are down then a fall-back server is inserted into the pool, which will made quiescent one of the real web servers comes back on line. Typically, the fall-back server is localhost. If an HTTP virtual service is being provided then it is useful to run an Apache HTTP server that returns a page indicating that the service is temporarily inaccessible.

我能翻译的已经尽量翻译了,剩下的实在不太明白了。
希望高手帮忙翻译下,多谢
发表于 2005-9-24 00:50:08 | 显示全部楼层
ldirectord ldirectord is a daemon to monitor and administer real servers in a LVS cluster of load balanced virtual servers.
Ldirectord是一个监控和管理LVS负载均衡虚拟服务器集群中的真实服务器的后台程序。
ldirectord typically used as a resource for heartbeat , but can also be run from the command line.
Ldirectord主要是用作heartbeat(心跳)的资源,但是也可以从命令行运行。

A LVS cluster consists or one or more virtual services each of which may have zero or more real servers.
一个LVS集群是由运行在零个或者多个真实服务器(real servers)上的一个或者多个虚拟服务(virtual services)组成的。
The IP address of a virtual service is what end-users connect to and is typically advertised over DNS.
最终用户连接的是一个虚拟服务的IP地址,通常这个IP地址是通过DNS传播的。(通常我们使用的域名对应的IP地址都是通过DNS传播的)
When a connection is made to a virtual service, it is allocated a real server, and all packets for this connection are forwarded to this real server.
一个到虚拟服务的连接,会被分配到一台真实服务器(real server),并且这个连接的所有数据包都被转发到这台真实服务器(real server)。
A more detailed overview of LVS can be found here.
更详细的关于LVS的介绍可以在这里(我觉得这里应该有个超链接)找到。
ldirectord has a configuration file which specifies the virtual services and their associated real servers.
ldirectord有一个配置文件,用来指定这些虚拟服务都与哪台真实服务器关联。
When ldirectord is initialised it creates the virtual services for the clutster.
ldirectord初始化时,为集群创建虚拟服务。
ldirectord monitors the health of the real servers by periodically requesting a known URL and checking that the response contains an expected response.
ldirectord 定期向已知的URL发出请求,并检查返回的响应中是否包含正确的应答,从而确定真实服务器的健康状态。
If a real server fails then the server is removed and will be reactivated once it comes back on line.
如果一个真实服务器实效了,就会被移出集群。当该服务器正常工作后,会在群集中重新激活。
If all the real servers are down then a fall-back server is inserted into the pool, which will made quiescent one of the real web servers comes back on line.
如果所有的真实服务器都宕机了,一个回滚服务器(fall-back server)将插入到集群的缓冲池中,等待真实服务器恢复正常工作。
Typically, the fall-back server is localhost.
一般情况下,回滚服务器(fall-back server)就是运行ldirectord的计算机。
If an HTTP virtual service is being provided then it is useful to run an Apache HTTP server that returns a page indicating that the service is temporarily inaccessible.
如果这个集群是用于提供http服务的,那么在该回滚服务器上运行一个Apache HTTP服务器就可以返回一个页面提示集群服务暂时不可访问。



我没有看到文章的其他部分,可能理解会有偏差。不知道运行ldirectord的计算机要是宕了怎么办。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-24 09:47:22 | 显示全部楼层
感谢,感谢。翻译的太好了!
下面是我的一些不同理解
ldirectord typically used as a resource for heartbeat , but can also be run from the command line.
Ldirectord主要是用作heartbeat(心跳)的资源,但是也可以从命令行运行。


ldirectord不是做为心跳资源使用,而是使用heartbeatt的配置文件来作为自己的配置来运行。


ldirectord一般是运行在装有ipvsadm的机器上的,也就是负责整个LVS集群的一个机头。而这个台服务器一般都会和另一台服务器组成HA集群。所以万一这台ldirectord宕了,还有一台热备服务器呢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表