[jboss-cvs] JBossAS SVN: r73904 - projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 2 02:04:19 EDT 2008


Author: xhuang at jboss.com
Date: 2008-06-02 02:04:19 -0400 (Mon, 02 Jun 2008)
New Revision: 73904

Modified:
   projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/Clustering_Guide_HTTP.po
Log:
update

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/Clustering_Guide_HTTP.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/Clustering_Guide_HTTP.po	2008-06-02 05:40:38 UTC (rev 73903)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/Clustering_Guide_HTTP.po	2008-06-02 06:04:19 UTC (rev 73904)
@@ -9,7 +9,7 @@
 "Project-Id-Version: Clustering_Guide_HTTP\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-05-19 03:42+0000\n"
-"PO-Revision-Date: 2008-05-26 16:27+1000\n"
+"PO-Revision-Date: 2008-06-02 16:03+1000\n"
 "Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -1688,7 +1688,6 @@
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:349
 #, no-c-format
-#, fuzzy
 msgid ""
 "A clustered singleton service (also known as an HA singleton) is a service "
 "that is deployed on multiple nodes in a cluster, but is providing its "
@@ -1698,13 +1697,13 @@
 "restarted on the new master. Thus, other than a brief interval when one "
 "master has stopped and another has yet to take over, the service is always "
 "being provided by one but only one node."
-msgstr "群集的单点登录服务(也称为 HA 单点登录)是一个部署在群集里的多个节点上,但仅在其中一个节点上提供服务。运行单点登录服务的节点通常被称为主节点。"
+msgstr "群集的单点登录服务(也称为 HA 单点登录)部署在群集里的多个节点上,但仅在其中一个节点上提供服务。运行单点登录服务的节点通常被称为主节点。当主节点崩溃或关闭时,新的主节点将从剩下的节点中挑选并启动该服务。因此,除了主节点停止而新主节点还未接班的短暂间隔,该服务总是由一个节点来提供。"
 
 #. Tag: title
 #: Clustering_Guide_HTTP.xml:352
 #, no-c-format
 msgid "Topology after the Master Node fails"
-msgstr ""
+msgstr "主节点崩溃后的拓扑结构"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:360
@@ -1718,13 +1717,13 @@
 "different nodes in the cluster start and stop; based on those notifications "
 "each node in the cluster can independently (but consistently) determine if "
 "it is now the master node and needs to begin providing a service."
-msgstr ""
+msgstr "JBoss 应用服务器(JBoss AS)支持一些有助于部署群集单点登录服务的策略。爱本节里我们将探讨不同的策略。所有的策略都建立在之前介绍的 HAPartition 服务之上。当群集里不同的节点启动和停止时,它们依靠 <literal>HAPartition</literal> 来发出通知;基于这些通知,群集里的每个节点都可以独立地决定它现在是否是主节点且需要开始提供服务。"
 
 #. Tag: title
 #: Clustering_Guide_HTTP.xml:365
 #, no-c-format
 msgid "HASingletonDeployer service"
-msgstr ""
+msgstr "HASingletonDeployer 服务"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:366
@@ -1745,6 +1744,10 @@
 "service when it stops being the master (typically at server shutdown) is to "
 "undeploy the contents of <literal>deploy-hasingleton</literal>."
 msgstr ""
+"部署 HA 单点登录最简单和最常用的策略就是使用普通的部署(war、ear、jar 以及部署通常所需的东西)并将其部署到 <literal>$JBOSS_HOME/server/all/"
+"deploy-hasingleton</literal> 而不是 <literal>deploy</"
+"literal> 目录。<literal>deploy-hasingleton</literal> 目录不在 deploy 或 farm 里,所以在 AS 实例启动时它的内容不会自动被部署。相反,部署这个目录下的内容是一个特殊服务的职责:<literal>jboss.ha:"
+"service=HASingletonDeployer</literal> MBean(它本身通过 deploy/deploy-hasingleton-service.xml 文件来部署)。HASingletonDeployer 服务自己就是一个 HA 单点登录服务,当某个节点成为主节点时,它需要部署 deploy-hasingleton 里内容来提供服务,而如果它不是主节点时(例如服务器关闭时),它需要卸载 <literal>deploy-hasingleton</literal> 里的内容。"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:369
@@ -1755,7 +1758,7 @@
 "the master node cleanly shuts down, they will be cleanly undeployed as part "
 "of shutdown. If the master node fails or is shut down, they will be deployed "
 "on whatever node takes over as master."
-msgstr ""
+msgstr "所以,如果把你的部署放入 <literal>deploy-hasingleton</literal>,你就知道它们仅仅在群集里的主节点上部署。如果主节点干净地关闭时,它们将作为关闭过程的一部分被干净地进行卸载。如果主节点崩溃或关闭时,它们将部署在新的主节点上。"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:372




More information about the jboss-cvs-commits mailing list