# Chinese translations for opensuse-i package # Traditional Chinese translation for opensuse-i. # Copyright (C) 2014 SuSE Linux Products GmbH, Nuernberg # This file is distributed under the same license as the opensuse-i package. # Automatically generated, 2014. # msgid "" msgstr "" "Project-Id-Version: opensuse-i 18n\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-08-30 18:27+0200\n" "PO-Revision-Date: 2014-05-19 09:34+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Command line help text for the Xiplb module #: src/clients/iplb.rb:54 msgid "Configuration of IPLB" msgstr "IPLB 的組態" #. Rich text title for Iplb in proposals #: src/clients/iplb_proposal.rb:81 msgid "Iplb" msgstr "Iplb" #. Menu title for Iplb in proposals #: src/clients/iplb_proposal.rb:83 msgid "&Iplb" msgstr "IPLB(&I)" #: src/include/iplb/common.rb:45 msgid "Virtual Servers Configuration" msgstr "虛擬伺服器組態" #. Iplb summary dialog caption #. Iplb configure1 dialog caption #. Iplb configure2 dialog caption #. Initialization dialog caption #: src/include/iplb/complex.rb:83 src/include/iplb/dialogs.rb:46 #: src/include/iplb/dialogs.rb:85 src/include/iplb/wizards.rb:140 msgid "IPLB Configuration" msgstr "IPLB 組態" #. Iplb overview dialog caption #: src/include/iplb/complex.rb:142 msgid "IPLB Overview" msgstr "IPLB 綜覽" #. Iplb configure1 dialog contents #: src/include/iplb/dialogs.rb:49 msgid "First part of configuration of IPLB" msgstr "IPLB 組態的第一部分" #. Iplb configure2 dialog contents #: src/include/iplb/dialogs.rb:88 msgid "Second part of configuration of IPLB" msgstr "IPLB 組態的第二部分" #: src/include/iplb/global_conf.rb:68 src/include/iplb/vserver_conf.rb:226 msgid "&Global Configuration" msgstr "全域組態(&G)" #: src/include/iplb/global_conf.rb:69 src/include/iplb/vserver_conf.rb:227 msgid "&Virtual Server Configuration" msgstr "虛擬伺服器組態(&V)" #: src/include/iplb/global_conf.rb:75 msgid "Check Interval" msgstr "檢查間隔時間" #: src/include/iplb/global_conf.rb:76 src/include/iplb/vserver_conf.rb:205 msgid "Check Timeout" msgstr "檢查逾時" #: src/include/iplb/global_conf.rb:78 src/include/iplb/vserver_conf.rb:214 msgid "Failure Count" msgstr "失敗計數" #: src/include/iplb/global_conf.rb:79 src/include/iplb/vserver_conf.rb:208 msgid "Negotiate Timeout" msgstr "協商逾時" #: src/include/iplb/global_conf.rb:85 src/include/iplb/vserver_conf.rb:167 msgid "Fallback" msgstr "後援" #: src/include/iplb/global_conf.rb:86 msgid "Callback" msgstr "回呼" #: src/include/iplb/global_conf.rb:91 src/include/iplb/vserver_conf.rb:186 msgid "Email Alert" msgstr "電子郵件警示" #: src/include/iplb/global_conf.rb:92 src/include/iplb/vserver_conf.rb:187 msgid "Email Alert Freq" msgstr "電子郵件警示頻率" #: src/include/iplb/global_conf.rb:93 src/include/iplb/vserver_conf.rb:190 msgid "Email Alert Status" msgstr "電子郵件警示狀態" #: src/include/iplb/global_conf.rb:100 msgid "Auto Reload" msgstr "自動重新載入" #: src/include/iplb/global_conf.rb:101 src/include/iplb/vserver_conf.rb:216 msgid "Quiescent" msgstr "完全非作用中" #: src/include/iplb/global_conf.rb:102 msgid "Fork" msgstr "衍生" #: src/include/iplb/global_conf.rb:103 msgid "Supervised" msgstr "監督" #: src/include/iplb/global_conf.rb:106 msgid "Log File" msgstr "記錄檔案" #. All helps are here #: src/include/iplb/helps.rb:35 msgid "" "\n" "

check interval = n\n" "

Defines the number of second between server checks.\n" "

Default: 10 seconds\n" "\n" "

check timeout = n\n" "

Timeout in seconds for connect, external and ping checks. If the " "timeout is exceeded then the real server is declared dead.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

If undefined then the value of negotiatetimeout is used. " "negotiatetimeout is also a global value that may be overriden by a per-" "virtual setting.\n" "

If both checktimeout and negotiatetimeout are unset, the default is " "used.\n" "

Default: 5 seconds\n" "\n" "

failure count = n\n" "

The number of consecutive times a failure will have to be reported by " "a check before the realserver is considered to have failed. A value of 1 " "will have the realserver considered failed on the first failure. A " "successful check will reset the failure counter to 0.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

Default: 1\n" "\n" "

negotiate timeout = n\n" "

Timeout in seconds for negotiate checks.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

If undefined then the value of connecttimeout is used. connecttimeout " "is also a global value that may be overriden by a per-virtual setting.\n" "

If both negotiatetimeout and connecttimeout are unset, the default is " "used.\n" "

Default: 30 seconds\n" "\n" "

fallback = ip_address|hostname[:portnumber|" "sercvicename] [gate|masq|ipip]\n" "

the server onto which a webservice is redirected if all real servers " "are down. Typically this would be 127.0.0.1 with an emergency page.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "\n" "

log file = \"/path/to/logfile\"|" "syslog_facility\n" "

An alternative logfile might be specified with this directive. If the " "logfile does not have a leading '/', it is assumed to be a syslog(3) facility name.\n" "

Default: log directly to the file /var/log/ldirectord.log.\n" "\n" "

email alert = \"emailaddress\"\n" "

A valid email address for sending alerts about the changed connection " "status to any real server defined in the virtual service. This option " "requires perl\n" "module MailTools to be installed. Automatically tries to send email using " "any of the built-in methods. See perldoc Mail::Mailer for more info on " "methods.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "\n" "

email alert freq = n\n" "

Delay in seconds between repeating email alerts while any given real " "server in the virtual service remains inaccessible. A setting of zero " "seconds will\n" "inhibit the repeating alerts. The email timing accuracy of this setting is " "dependent on the number of seconds defined in the checkinterval " "configuration\n" "option.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

Default: 0\n" "\n" "

email alert status = all|none|starting|running|stopping|reloading,...\n" "

Comma delimited list of server states in which email alerts should be " "sent. all is a short-hand for\n" "\"starting,running,stopping,reloading\". If " "none is specified, no other option may be specified, otherwise " "options are ORed\n" "with each other.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

Default: all\n" "\n" "

callback = \"/path/to/callback\"\n" "

If this directive is defined, ldirectord automatically calls " "the executable /path/to/callback after the configuration file has " "changed on\n" "disk. This is useful to update the configuration file through scp on " "the other heartbeated host. The first argument to the callback is the name " "of the\n" "configuration.\n" "

This directive might also be used to restart ldirectord " "automatically after the configuration file changed on disk. However, if " "autoreload is\n" "set to yes, the configuration is reloaded anyway.\n" "\n" "

execute = \"configuration\"\n" "

Use this directive to start an instance of ldirectord for the named " "configuration.\n" "\n" "

auto reload = yes|no\n" "

Defines if <ldirectord> should continuously check the " "configuration file for modification. If this is set to 'yes' and the " "configuration file changed\n" "on disk and its modification time (mtime) is newer than the previous " "version, the configuration is automatically reloaded.\n" "

Default: no\n" "\n" "

quiescent = yes|no\n" "

If yes, then when real or failback servers are determined to " "be down, they are not actually removed from the kernel's LVS " "table.\n" "Rather, their weight is set to zero which means that no new connections will " "be accepted.\n" "

This has the side effect, that if the real server has persistent " "connections, new connections from any existing clients will continue to be " "routed to the\n" "real server, until the persistant timeout can expire. See ipvsadm for more " "information on persistant connections.\n" "

This side-effect can be avoided by running the following:\n" "

echo 1 > /proc/sys/net/ipv4/vs/expire_quiescent_template\n" "

If the proc file isn't present this probably means that the kernel " "doesn't have lvs support, LVS support isn't loaded, or the " "kernel is too\n" "old to have the proc file. Running ipvsadm as root should load LVS into the kernel if it is possible.\n" "

If no, then the real or failback servers will be removed from " "the kernel's LVS table. The default is yes.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

Default: yes\n" "\n" "

fork = yes|no\n" "

If yes, then ldirectord will spawn a child proccess for every " "virtual server, and run checks against the real servers from them. This will " "increase\n" "response times to changes in real server status in configurations with many " "virtual servers. This may also use less memory then running many seperate " "instances\n" "of ldirectord. Child processes will be automaticly restarted if they die.\n" "

Default: no\n" "\n" "

supervised = yes|no\n" "

If yes, then ldirectord does not go into background mode. All " "log-messages are redirected to stdout instead of a logfile. This is useful " "to run\n" "ldirectord supervised from daemontools. See http://untroubled.org/rpms/daemontools/ or http://cr.yp.to/" "daemontools.html for details.\n" "

Default: no\n" "

\n" msgstr "" "\n" "

check interval = n\n" "

定義每兩次伺服器檢查之間相隔的秒數。\n" "

預設值:10 秒\n" "\n" "

check timeout = n\n" "

connect、external 和 ping 檢查的逾時秒數。如果超過該逾時,則宣告真實伺" "服器不存在。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

如果未定義,則會使用 negotiatetimeout 的值。negotiatetimeout 全域值也" "有可能會被 per-virtual 設定覆寫。\n" "

如果 checktimeout 和 negotiatetimeout 都未設定,則會使用預設值。\n" "

預設值:5 秒\n" "\n" "

failure count = n\n" "

此為在將真實伺服器視為故障伺服器前,檢查必須報告的連續失敗次數。如果值" "為 1,則表示第一次失敗後即將真實伺服器視為有故障。檢查成功之後,會將失敗計數" "器重設為 0。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

預設值:1\n" "\n" "

negotiate timeout = n\n" "

協商檢查的逾時秒數。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

如果未定義,則會使用 connecttimeout 的值。connecttimeout 全域值也有可" "能會被 per-virtual 設定覆寫。\n" "

如果 negotiatetimeout 和 connecttimeout 都未設定,則會使用預設值。\n" "

預設值:30 秒\n" "\n" "

fallback = ip_address|hostname[:portnumber|" "sercvicename] [gate|masq|ipip]\n" "

此為當所有真實伺服器已關閉時,將 Web 服務重新導向到的伺服器。通常是 " "127.0.0.1 以及一個緊急頁面。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "\n" "

log file = \"/path/to/logfile\"|" "syslog_facility\n" "

可以使用此指令指定一個替代記錄檔案。如果該記錄檔案沒有前置「/」,則假" "定它是 syslog(3) 工具名稱。\n" "

預設值:直接記錄到檔案 /var/log/ldirectord.log。\n" "\n" "

email alert = \"emailaddress\"\n" "

此為一個有效的電子郵件地址,用於將連接狀態已變更的警示傳送到虛擬服務中" "定義的任何真實伺服器。此選項要求安裝 perl\n" "模組 MailTools。它會自動嘗試使用任一內建方法傳送電子郵件。如需方法的更多資" "訊,請參閱「perldoc Mail::Mailer」。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "\n" "

email alert freq = n\n" "

此為當虛擬服務中的任一指定真實伺服器保持不可存取狀態時,兩次重複傳送電" "子郵件警示之間的延遲秒數。設定為零秒則表示\n" "禁止重複傳送警示。此設定的電子郵件計時準確性視乎 checkinterval 組態選項中定義" "的\n" "秒數而定。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

預設值:0\n" "\n" "

email alert status = all|none|starting|running|stopping|reloading,...\n" "

此為伺服器狀態的逗號分隔清單,進入該狀態時,應傳送電子郵件警示。" "all 是\n" "「starting,running,stopping,reloading」的簡寫。如" "果指定 none,則不能指定其他任何選項,否則,將由指定的其他選項\n" "決定是否傳送。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

預設值:all\n" "\n" "

callback = \"/path/to/callback\"\n" "

如果定義此指令,則當磁碟上的組態檔案發生變更後,ldirectord 將自" "動呼叫可執行的 /path/to/callback。\n" "這可用於透過其他 Heartbeat 主機上的 scp 更新組態檔案。callback 的第一" "個引數是組態的\n" "名稱。\n" "

當磁碟上的組態檔案發生變更後,也可以使用此指令來自動重新啟動 " "ldirectord。但是,如果 autoreload 設定\n" "為 yes,則仍會重新載入組態。\n" "\n" "

execute = \"configuration\"\n" "

使用此指令可以啟動名為 configuration 的 ldirectord 例項。\n" "\n" "

auto reload = yes|no\n" "

定義 <ldirectord> 是否應持續檢查組態檔案的修改。如果將它設定為" "「yes」,並且磁碟上的組態檔案發生\n" "變更,而其修改時間 (mtime) 晚於前一版本,則會自動重新載入組態。\n" "

預設值:no\n" "\n" "

quiescent = yes|no\n" "

如果為 yes,則當判定真實伺服器或後援伺服器關閉時,不會真正將其" "從核心的 LVS 表中移除,\n" "而是會將其權數設定為零,即表示將不接受任何新的連接。\n" "

這會導致一個副作用,即,如果真實伺服器具有永久連接,則來自任何現有用戶" "端的新連接將繼續路由到\n" "真實伺服器,直到永久逾時過期。如需永久連接的更多資訊,請參閱「ipvsadm」。\n" "

可透過執行以下指令避免這種副作用:\n" "

echo 1 > /proc/sys/net/ipv4/vs/expire_quiescent_template\n" "

如果 proc 檔案不存在,則可能意味著核心不提供 lvs 支援、未載入 " "LVS 支援,或者核心太舊\n" "未包含 proc 檔案。在可能的情況下,以 root 身分執行 ipvsadm 應該可以將 " "LVS 載入核心。\n" "

如果為 no,則會從核心的 LVS 表中移除真實伺服器或" "錯誤回復伺服器。預設值為 yes。\n" "

如果在虛擬伺服器區段中定義該值,則會覆蓋全域值。\n" "

預設值:yes\n" "\n" "

fork = yes|no\n" "

如果為 yes,則 ldirectord 將衍生每個虛擬伺服器的子程序,並從這" "些子程序對真實伺服器執行檢查。當組態中包含許多\n" "虛擬伺服器時,這會增加對其中的真實伺服器狀態變更的回應時間。與執行許多 " "ldirectord 的獨立例項相比,此方法使用的記憶體\n" "較少。子程序不存在時會自動重新啟動。\n" "

預設值:no\n" "\n" "

supervised = yes|no\n" "

如果為 yes,則 ldirectord 不進入背景模式。所有記錄訊息將被重新" "導向至 stdout 而不是記錄檔案。這可用於從精靈工具執行受監督的\n" "ldirectord。如需詳細資料,請參閱 http://untroubled.org/rpms/daemontools/http://cr.yp.to/daemontools.html。\n" "

預設值:no\n" "

\n" #: src/include/iplb/helps.rb:127 msgid "" "\n" "

virtual server = (ip_address|hostname:portnumber|" "servicename)|firewall-mark\n" "

Defines a virtual service by IP-address (or hostname) and port (or " "servicename) or firewall-mark. A firewall-mark is an integer greater than " "zero. The\n" "configuration of marking packets is controled using the \"-m\" " "option to ipchains(8). All real services and flags for a virtual " "service\n" "must follow this line immediately and be indented.\n" "\n" "\n" "

real servers = ip_address|hostname[->" "ip_address|hostname][:portnumber|servicename]\n" "gate|masq|ipip [weight] [\"request\", \"receive\"]\n" "

Defines a real service by IP-address (or hostname) and port (or " "servicename). If the port is omitted then a 0 will be used, this is intended " "primarily for\n" "fwmark services where the port for real servers is ignored. Optionally a " "range of IP addresses (or two hostnames) may be given, in " "which case\n" "each IP address in the range will be treated as a real server " "using the given port. The second argument defines the forwarding method, " "must be\n" "gate, ipip or masq. The thrid argument is optional and " "defines the weight for that real server. If omitted then a weight of 1 will " "be\n" "used. The last two arguments are also optional. They define a request-" "receive pair to be used to check if a server is alive. They override the " "request-receive\n" "pair in the virtual server section. These two strings must be quoted. If the " "request string starts with http://... the IP-address and port of the real\n" "server is overridden, otherwise the IP-address and port of the real server " "is used.\n" "

For TCP and UDP (non fwmark) virtual " "services, unless the forwarding method is masq and the IP " "address of a\n" "real server is non-local (not present on a interface on the host running " "ldirectord) then the port of the real server will be set to that of its " "virtual\n" "service. That is, port-mapping is only available to if the real server is " "another machine and the forwarding method is masq. This is due to the way " "that the\n" "underlying LVS code in the kernel functions.\n" "

More than one of these entries may be inside a virtual section. The " "checktimeout, negotiatetimeout, failurecount, fallback, emailalert, " "emailalertfreq and\n" "quiescent options listed above may also appear inside a virtual section, in " "which case the global setting is overridden.\n" "\n" "\n" "

check type = connect|external|negotiate|off|on|ping|checktimeoutN\n" "

Type of check to perform. Negotiate sends a request and matches a " "receive string. Connect only attemts to make a TCP/IP " "connection, thus the\n" "request and receive strings may be omitted. If checktype is a number then " "negotiate and connect is combined so that after each N connect attempts one " "negotiate\n" "attempt is performed. This is useful to check often if a service answers and " "in much longer intervalls a negotiating check is done. Ping means that\n" "ICMP ping will be used to test the availability of real " "servers. Ping is also used as the connect check for UDP " "services. Off\n" "means no checking will take place and no real or fallback servers will be " "activated. On means no checking will take place and real servers will always " "be\n" "activated. Default is negotiate.\n" "\n" "\n" "

service = dns|ftp|http|https|" "imap|imaps|ldap|mysql|nntp|none|" "oracle|pgsql|pop|pops|radius|" "simpletcp|sip|smtp\n" "

The type of service to monitor when using checktype=negotiate. None " "denotes a service that will not be monitored.\n" "

simpletcp sends the request string to the server and tests it " "against the receive regexp. The other types of checks connect to the " "server\n" "using the specified protocol. Please see the request and receive sections for protocol specific information.\n" "

Default:\n" "

\n" "
* Virtual server port is 21: ftp\n" "
* Virtual server port is 25: smtp\n" "
* Virtual server port is 53: dns\n" "
* Virtual server port is 80: http\n" "
* Virtual server port is 110: pop\n" "
* Virtual server port is 119: nntp\n" "
* Virtual server port is 143: imap\n" "
* Virtual server port is 389: ldap\n" "
* Virtual server port is 443: https\n" "
* Virtual server port is 993: imaps\n" "
* Virtual server port is 995: pops\n" "
* Virtual server port is 1521: oracle\n" "
* Virtual server port is 1812: radius\n" "
* Virtual server port is 3306: mysql\n" "
* Virtual server port is 5432: pgsql\n" "
* Virtual server port is 5060: sip\n" "
* Otherwise: none\n" "\n" "\n" "
check command = \"path to script\"\n" "

This setting is used if checktype is external and is the command to be " "run to check the status of a real server. It should exit with status 0 if " "everything\n" "is ok, or non-zero otherwise.\n" "

Four parameters are passed to the script:\n" "

* virtual server ip/firewall mark\n" "
* virtual server port\n" "
* real server ip\n" "
* real server port\n" "
Default: /bin/true\n" "\n" "\n" "

check port = n\n" "

Number of port to monitor. Sometimes check port differs from service " "port.\n" "

Default: port specified for each real server\n" "\n" "\n" "

request = \"uri to requested object\"\n" "

This object will be requested each checkinterval seconds on each real " "server. The string must be inside quotes. Note that this string may be " "overridden by\n" "an optional per real-server based request-string.\n" "

For a DNS check this should the name of an A record, " "or the address of a PTR record to look up.\n" "

For a MySQL, Oracle or PostgeSQL check, this should be an SQL query. The data returned is not checked, only that the answer is one " "or more\n" "rows. This is a required setting.\n" "

For a simpletcp check, this string is sent verbatim except any " "occurances of \n" " are replaced with a new line character.\n" "\n" "\n" "

receive = \"regexp to compare\"\n" "

If the requested result contains this regexp to compare, the " "real server is declared alive. The regexp must be inside quotes. Keep in " "mind that\n" "regexps are not plain strings and that you need to escape the special " "characters if they should as literals. Note that this regexp may be " "overridden by an\n" "optional per real-server based receive regexp.\n" "

For a DNS check this should be any one the A record's " "addresses or any one of the PTR record's names.\n" "

For a MySQL check, the receive setting is not used.\n" "\n" "\n" "

http method = GET | HEAD\n" "

Sets the HTTP method which should be used to fetch the " "URI specified in the request-string. GET is " "the\n" "method used by default if the parameter is not set. If HEAD " "is used, the receive-string should be unset.\n" "

Default: GET\n" "\n" "\n" "

virtual host = \"hostname\"\n" "

Used when using a negotiate check with HTTP or " "HTTPS . Sets the host header used in the HTTP " "request. In the\n" "case of HTTPS this generally needs to match the common name " "of the SSL certificate. If not set then the host header will " "be\n" "derived from the request url for the real server if present. As a last " "resort the IP address of the real server will be used.\n" "\n" "\n" "

login = \"username\"\n" "

For FTP , IMAP , LDAP , " "MySQL, Oracle, POP and PostgreSQL, the username used to log " "in.\n" "

For Radius the passwd is used for the attribute User-Name.\n" "

For SIP , the username is used as both the to and from " "address for an OPTIONS query.\n" "

Default:\n" "

* FTP: Anonymous\n" "
* MySQL Oracle, and PostgreSQL: Must be specified in the " "configuration\n" "
* SIP: ldirectord@<hostname>, hostname is " "derived as per the passwd option below.\n" "
* Otherwise: empty string, which denotes that case authentication " "will not be attempted.\n" "\n" "\n" "
password = \"password\"\n" "

Password to use to login to FTP , IMAP , " "LDAP , MySQL, Oracle, POP , PostgreSQL and\n" "SIP servers.\n" "

For Radius the passwd is used for the attribute User-Password.\n" "

Default:\n" "

* FTP: ldirectord@<hostname>, where " "hostname is the environment variable HOSTNAME evaluated at " "run time, or sourced\n" "from uname if unset.\n" "
* Otherwise: empty string. In the case of LDAP , " "MySQL, Oracle, and PostgreSQL this means that authentication will not be " "performed.\n" "\n" "\n" "
database name = \"databasename\"\n" "

Database to use for MySQL, Oracle and PostgreSQL servers, this is the " "database that the query (set by receive above) will be performed " "against. This\n" "is a required setting.\n" "\n" "\n" "

radius secret = \"radiussecret\"\n" "

Secret to use for Radius servers, this is the secret used to perform " "an Access-Request with the username (set by login above) and passwd " "(set by\n" "passwd above).\n" "

Default: empty string\n" "\n" "\n" "

persistent = n\n" "

Number of seconds for persistent client connections.\n" "\n" "\n" "

netmask = w.x.y.z\n" "

Netmask to be used for granularity of persistent client connections.\n" "\n" "\n" "

scheduler = scheduler_name\n" "

Scheduler to be used by LVS for loadbalancing. For an " "information on the available sehedulers please see the ipvsadm(8) man page.\n" "

Default: \"wrr\"\n" "\n" "\n" "

protocol = tcp|udp|fwm\n" "

Protocol to be used. If the virtual is specified as an IP address and port then it must be one of tcp or udp. If a firewall " "mark then the\n" "protocol must be fwm.\n" "

Default:\n" "

* Virtual is an IP address and port, and the " "port is not 53: tcp\n" "
* Virtual is an IP address and port, and the port is " "53: udp\n" "
* Virtual is a firewall mark: fwm\n" "
\n" "\n" "\n" "

check timeout = n\n" "

Timeout in seconds for connect, external and ping checks. If the " "timeout is exceeded then the real server is declared dead.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

If undefined then the value of negotiatetimeout is used. " "negotiatetimeout is also a global value that may be overriden by a per-" "virtual setting.\n" "

If both checktimeout and negotiatetimeout are unset, the default is " "used.\n" "

Default: 5 seconds\n" "\n" "

negotiate timeout = n\n" "

Timeout in seconds for negotiate checks.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

If undefined then the value of connecttimeout is used. connecttimeout " "is also a global value that may be overriden by a per-virtual setting.\n" "

If both negotiatetimeout and connecttimeout are unset, the default is " "used.\n" "

Default: 30 seconds\n" "\n" "

failure count = n\n" "

The number of consecutive times a failure will have to be reported by " "a check before the realserver is considered to have failed. A value of 1 " "will have the realserver considered failed on the first failure. A " "successful check will reset the failure counter to 0.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

Default: 1\n" "\n" "

email alert = \"emailaddress\"\n" "

A valid email address for sending alerts about the changed connection " "status to any real server defined in the virtual service. This option " "requires perl\n" "module MailTools to be installed. Automatically tries to send email using " "any of the built-in methods. See perldoc Mail::Mailer for more info on " "methods.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "\n" "

email alert freq = n\n" "

Delay in seconds between repeating email alerts while any given real " "server in the virtual service remains inaccessible. A setting of zero " "seconds will\n" "inhibit the repeating alerts. The email timing accuracy of this setting is " "dependent on the number of seconds defined in the checkinterval " "configuration\n" "option.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

Default: 0\n" "\n" "

email alert status = all|none|starting|running|stopping|reloading,...\n" "

Comma delimited list of server states in which email alerts should be " "sent. all is a short-hand for\n" "\"starting,running,stopping,reloading\". If " "none is specified, no other option may be specified, otherwise " "options are ORed\n" "with each other.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

Default: all\n" "\n" "

fallback = ip_address|hostname[:portnumber|" "sercvicename] [gate|masq|ipip]\n" "

the server onto which a webservice is redirected if all real servers " "are down. Typically this would be 127.0.0.1 with an emergency page.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "\n" "

quiescent = yes|no\n" "

If yes, then when real or failback servers are determined to " "be down, they are not actually removed from the kernel's LVS " "table.\n" "Rather, their weight is set to zero which means that no new connections will " "be accepted.\n" "

This has the side effect, that if the real server has persistent " "connections, new connections from any existing clients will continue to be " "routed to the\n" "real server, until the persistant timeout can expire. See ipvsadm for more " "information on persistant connections.\n" "

This side-effect can be avoided by running the following:\n" "

echo 1 > /proc/sys/net/ipv4/vs/expire_quiescent_template\n" "

If the proc file isn't present this probably means that the kernel " "doesn't have lvs support, LVS support isn't loaded, or the " "kernel is too\n" "old to have the proc file. Running ipvsadm as root should load LVS into the kernel if it is possible.\n" "

If no, then the real or failback servers will be removed from " "the kernel's LVS table. The default is yes.\n" "

If defined in a virtual server section then the global value is " "overridden.\n" "

Default: yes\n" "\n" "\n" "\n" msgstr "" "\n" "

virtual server = (ip_address|hostname:portnumber|" "servicename)|firewall-mark\n" "

按 IP 位址 (或主機名) 和連接埠 (或服務名稱) 或防火牆標記定義虛擬服務。" "防火牆標記是大於零的整數。\n" "標記封包的組態使用 ipchains(8) 的 -m 選項進行控制。虛擬服務的" "所有真實服務和旗標都\n" "必須緊跟在此行之後,並且必須縮排。\n" "\n" "\n" "

real servers = ip_address|hostname[->" "ip_address|hostname][:portnumber|servicename]\n" "gate|masq|ipip [weight] [\"request\", \"receive\"]\n" "

按 IP 位址 (或主機名) 和連接埠 (或服務名稱) 定義真實服務。如果省略連接" "埠,則將使用 0,該值主要用於\n" "其中忽略了真實伺服器連接埠的防火牆標記服務。或者,也可以指定 IP 位址範圍 (或兩個主機名稱),在此情況下,\n" "會將該範圍中的每個 IP 位址視為使用指定連接埠的真實伺服器。第二" "個引數定義轉寄方法,它必須是\n" "gateipipmasq。第三個引數是可選的,用於定義該真實伺" "服器的權數。如果省略該引數,將使用權數 1。\n" "最後兩個引數也是可選的。它們定義一組 request-receive,用於檢查伺服器是否處於" "使用中狀態。它們會覆寫虛擬伺服器區段中的\n" "request-receive 組。必須將這兩個字串括在引號中。如果 request 字串以 " "http://... 開頭,則應覆寫真實伺服器的\n" "IP 位址和連接埠,否則,將使用真實伺服器的 IP 位址和連接埠。\n" "

對於 TCPUDP (非防火牆標記) 虛擬服" "務,除非轉寄方法為 masq 並且真實伺服器的 IP 位址\n" "不在本地 (於執行 ldirectord 之主機的某個介面上不存在),否則會將真實伺服器的連" "接埠設定為其虛擬服務的\n" "連接埠。也就是說,僅當真實伺服器是其他機器並且轉寄方法是 masq 時,連接埠映射" "才可用。具體取決於核心中\n" "基礎 LVS 代碼的執行方式。\n" "

這些項目中的多個項目可能位於虛擬區段中。上面列出的 checktimeout、" "negotiatetimeout、failurecount、fallback、emailalert、emailalertfreq 和\n" "quiescent 選項也可能會出現在虛擬區段中,在此情況下,將覆寫全域設定。\n" "\n" "\n" "

check type = connect|external|negotiate|off|on|ping|checktimeoutN\n" "

要執行的檢查類型。如果指定 negotiate,則會傳送 request 並比對 receive " "字串。如果指定 connect,則只嘗試建立 TCP/IP 連接,\n" "因此,可以省略 request 和 receive 字串。如果 checktype 是數字,則會將 " "negotiate 和 connect 相組合,以便在每經過 N 次連接嘗試後,執行\n" "一次協商嘗試。這通常可用於檢查服務是否回應,執行協商檢查的間隔要長得多。Ping " "表示將使用\n" "ICMP ping 來測試真實伺服器的可用性。Ping 也可用作 UDP 服務的連接檢查。Off\n" "表示不發生檢查,並且不啟動任何真實伺服器或錯誤回復伺服器。On 表示不發生檢查," "並且總是啟動真實\n" "伺服器。預設值為 negotiate。\n" "\n" "\n" "

service = dns|ftp|http|https|" "imap|imaps|ldap|mysql|nntp|none|" "oracle|pgsql|pop|pops|radius|" "simpletcp|sip|smtp\n" "

使用 checktype=negotiate 時要監控的服務類型。None 表示不監控服務。\n" "

如果指定 simpletcp,則會將 request 字串傳送到伺服器,並根據 " "receive regexp 測試該伺服器。其他類型的檢查將使用指定的\n" "通訊協定連接至伺服器。如需通訊協定特定的資訊,請參閱 request 和 " "receive 部分。\n" "

預設值:\n" "

\n" "
* 虛擬伺服器連接埠為 21:ftp\n" "
* 虛擬伺服器連接埠為 25:smtp\n" "
* 虛擬伺服器連接埠為 53:dns\n" "
* 虛擬伺服器連接埠為 80:http\n" "
* 虛擬伺服器連接埠為 110:pop\n" "
* 虛擬伺服器連接埠為 119:nntp\n" "
* 虛擬伺服器連接埠為 143:imap\n" "
* 虛擬伺服器連接埠為 389:ldap\n" "
* 虛擬伺服器連接埠為 443:https\n" "
* 虛擬伺服器連接埠為 993:imaps\n" "
* 虛擬伺服器連接埠為 995:pops\n" "
* 虛擬伺服器連接埠為 1521:oracle\n" "
* 虛擬伺服器連接埠為 1812:radius\n" "
* 虛擬伺服器連接埠為 3306:mysql\n" "
* 虛擬伺服器連接埠為 5432:pgsql\n" "
* 虛擬伺服器連接埠為 5060:sip\n" "
* 否則:none\n" "\n" "\n" "
check command = \"程序檔的路徑\"\n" "

如果 checktype 為 external 並且是檢查真實伺服器狀態時要執行的指令,則會使" "用此設定。如果一切正常,則此指令將結束並傳回\n" "狀態 0,否則傳回非零值。\n" "

傳送到程序檔的四個參數:\n" "

* 虛擬伺服器 IP/防火牆標記\n" "
* 虛擬伺服器連接埠\n" "
* 真實伺服器 IP\n" "
* 真實伺服器連接埠\n" "
預設值:/bin/true\n" "\n" "\n" "

check port = n\n" "

要監控的連接埠數。有時,check port 不同於 service port。\n" "

預設值:為每個真實伺服器指定的連接埠\n" "\n" "\n" "

request = \"所要求物件的 URI\"\n" "

在每個真實伺服器上每隔 checkinterval 指定秒數將要求此物件一次。必須將" "該字串括在引號中。請注意,此字串可能會被基於每個真實伺服器\n" "的可選 request 字串覆寫。\n" "

對於 DNS 檢查,此字串應為 A 記錄的名稱,或是要查詢的 " "PTR 記錄的位址。\n" "

對於 MySQL、Oracle 或 PostgeSQL 檢查,此字串應為 SQL 查" "詢。不會檢查傳回的資料,回應為一列或\n" "多列。這是必要的設定。\n" "

對於 simpletcp 檢查,將逐字傳送此字串,不過,出現的所有 \n" " 都將以換行字元取代。\n" "\n" "\n" "

receive = \"要比較的 regexp\"\n" "

如果要求的結果中包含這個要比較的 regexp,則會將真實伺服器宣告為" "使用中。必須將該 regexp 括在引號中。請記住,\n" "regexp 不是純文字字串,對於應視為文字字串的特殊字元,您需要進行逸出處理。請注" "意,此 regexp 可能會被基於每個真實伺服器\n" "的可選 receive regexp 覆寫。\n" "

對於 DNS 檢查,此 regexp 應為任一 A 記錄的位址,或任一 " "PTR 記錄的名稱。\n" "

對於 MySQL 檢查,不使用 receive 設定。\n" "\n" "\n" "

http method = GET | HEAD\n" "

設定要用於擷取 request 字串中指定之 URI 的 " "HTTP 方法。如果未設定該參數,將依預設\n" "使用 GET 方法。如果使用 HEAD,應取消設定 " "receive 字串。\n" "

預設值:GET\n" "\n" "\n" "

virtual host = \"hostname\"\n" "

將 negotiate check 與 HTTPHTTPS 結合" "使用時使用。設定 HTTP 要求中使用的主機標頭。對於\n" "HTTPS,這通常需要與 SSL 證書的公用名稱相符。如" "果不設定此參數,則會從真實伺服器\n" "的要求 URL (如果存在) 中衍生。最終補救方法是使用真實伺服器的 IP 位址。\n" "\n" "\n" "

login = \"username\"\n" "

對於 FTPIMAPLDAP、" "MySQL、Oracle、POP 和 PostgreSQL,此為用於登入的使用者名稱。\n" "

對於 Radius,此為用於屬性 User-Name 的 passwd。\n" "

對於 SIP,此為同時用作 OPTIONS 查詢之目" "標位址和來源位址的使用者名稱。\n" "

預設值:\n" "

* FTP:Anonymous\n" "
* MySQL Oracle 和 PostgreSQL:必須在組態中指定\n" "
* SIP:ldirectord@<hostname>,hostname 依照下面" "的 passwd 選項衍生。\n" "
* 否則:空字串,表示不嘗試大小寫驗證。\n" "\n" "\n" "
password = \"password\"\n" "

用於登入 FTPIMAPLDAP、" "MySQL、Oracle、POP、PostgreSQL 和\n" "SIP 伺服器的密碼。\n" "

對於 Radius,此為用於屬性 User-Password 的 passwd。\n" "

預設值:\n" "

* FTP:ldirectord@<hostname>,其中," "hostname 是執行時評估的環境變數 HOSTNAME,如果未設定該變數,則" "會從\n" "uname 衍生。\n" "
* 否則:空字串。對於 LDAP、MySQL、Oracle 和 " "PostgreSQL,這表示不執行驗證。\n" "\n" "\n" "
database name = \"databasename\"\n" "

用於 MySQL、Oracle 和 PostgreSQL 伺服器的資料庫,此為要對其執行查詢 (由上" "面的 receive 設定) 的資料庫。這是\n" "必要的設定。\n" "\n" "\n" "

radius secret = \"radiussecret\"\n" "

用於 Radius 伺服器的密碼,此密碼用於結合 username (由上面的 login 設定) 和 passwd (由上面的\n" "passwd 設定) 執行Access-Request。\n" "

預設值:空字串\n" "\n" "\n" "

persistent = n\n" "

永久用戶端連接的秒數。\n" "\n" "\n" "

netmask = w.x.y.z\n" "

此為用於指定永久用戶端連接粒度的網路遮罩。\n" "\n" "\n" "

scheduler = scheduler_name\n" "

LVS 用來進行負載平衡的規劃程式。如需可用規劃程式的資" "訊,請參閱 ipvsadm(8) 手冊頁。\n" "

預設值:wrr\n" "\n" "\n" "

protocol = tcp|udp|fwm\n" "

要使用的通訊協定。如果將虛擬指定為 IP 位址和連接埠,則" "該值必須是 tcp 或 udp。如果指定為防火牆標記,則\n" "protocol 必須是 fwm。\n" "

預設值:\n" "

* 如果虛擬是 IP 位址和連接埠,並且連接埠不是 53," "則為:tcp\n" "
* 如果虛擬是 IP 位址和連接埠,並且連接埠是 53,則為:" "udp\n" "
* 如果虛擬是防火牆標記,則為:fwm\n" "
\n" "\n" "\n" "

check timeout = n\n" "

connect、external 和 ping 檢查的逾時秒數。如果超過該逾時,則宣告真實伺" "服器不存在。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

如果未定義,則會使用 negotiatetimeout 的值。negotiatetimeout 全域值也" "有可能會被 per-virtual 設定覆寫。\n" "

如果 checktimeout 和 negotiatetimeout 都未設定,則會使用預設值。\n" "

預設值:5 秒\n" "\n" "

negotiate timeout = n\n" "

協商檢查的逾時秒數。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

如果未定義,則會使用 connecttimeout 的值。connecttimeout 全域值也有可" "能會被 per-virtual 設定覆寫。\n" "

如果 negotiatetimeout 和 connecttimeout 都未設定,則會使用預設值。\n" "

預設值:30 秒\n" "\n" "

failure count = n\n" "

此為在將真實伺服器視為故障伺服器前,檢查必須報告的連續失敗次數。如果值" "為 1,則表示第一次失敗後即將真實伺服器視為有故障。檢查成功之後,會將失敗計數" "器重設為 0。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

預設值:1\n" "\n" "

email alert = \"emailaddress\"\n" "

此為一個有效的電子郵件地址,用於將連接狀態已變更的警示傳送到虛擬服務中" "定義的任何真實伺服器。此選項要求安裝 perl\n" "模組 MailTools。它會自動嘗試使用任一內建方法傳送電子郵件。如需方法的更多資" "訊,請參閱「perldoc Mail::Mailer」。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "\n" "

email alert freq = n\n" "

此為當虛擬服務中的任一指定真實伺服器保持不可存取狀態時,兩次重複傳送電" "子郵件警示之間的延遲秒數。設定為零秒則表示\n" "禁止重複傳送警示。此設定的電子郵件計時準確性視乎 checkinterval 組態選項中定義" "的\n" "秒數而定。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

預設值:0\n" "\n" "

email alert status = all|none|starting|running|stopping|reloading,...\n" "

此為伺服器狀態的逗號分隔清單,進入該狀態時,應傳送電子郵件警示。" "all 是\n" "「starting,running,stopping,reloading」的簡寫。如" "果指定 none,則不能指定其他任何選項,否則,將由指定的其他選項\n" "決定是否傳送。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

預設值:all\n" "\n" "

fallback = ip_address|hostname[:portnumber|" "sercvicename] [gate|masq|ipip]\n" "

此為當所有真實伺服器已關閉時,將 Web 服務重新導向到的伺服器。通常是 " "127.0.0.1 以及一個緊急頁面。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "\n" "

quiescent = yes|no\n" "

如果為 yes,則當判定真實伺服器或後援伺服器關閉時,不會真正將其" "從核心的 LVS 表中移除,\n" "而是會將其權數設定為零,即表示將不接受任何新的連接。\n" "

這會導致一個副作用,即,如果真實伺服器具有永久連接,則來自任何現有用戶" "端的新連接將繼續路由到\n" "真實伺服器,直到永久逾時過期。如需永久連接的更多資訊,請參閱「ipvsadm」。\n" "

可透過執行以下指令避免這種副作用:\n" "

echo 1 > /proc/sys/net/ipv4/vs/expire_quiescent_template\n" "

如果 proc 檔案不存在,則可能意味著核心不提供 lvs 支援、未載入 " "LVS 支援,或者核心太舊\n" "未包含 proc 檔案。在可能的情況下,以 root 身分執行 ipvsadm 應該可以將 " "LVS 載入核心。\n" "

如果為 no,則會從核心的 LVS 表中移除真實伺服器或" "錯誤回復伺服器。預設值為 yes。\n" "

如果在虛擬伺服器區段中定義該值,則會覆寫全域值。\n" "

預設值:yes\n" "\n" "\n" "\n" #. overwrite global value part #: src/include/iplb/vserver_conf.rb:146 msgid "Check Type" msgstr "檢查類型" #: src/include/iplb/vserver_conf.rb:150 msgid "Check Port" msgstr "檢查連接埠" #: src/include/iplb/vserver_conf.rb:152 msgid "Check Command" msgstr "檢查指令" #: src/include/iplb/vserver_conf.rb:157 msgid "Http Method" msgstr "HTTP 方法" #: src/include/iplb/vserver_conf.rb:162 msgid "Receive" msgstr "接收" #: src/include/iplb/vserver_conf.rb:165 msgid "Virtual Host" msgstr "虛擬主機" #: src/include/iplb/vserver_conf.rb:180 msgid "Database Name" msgstr "資料庫名稱" #: src/include/iplb/vserver_conf.rb:181 msgid "Radius Secret" msgstr "Radius 密碼" #: src/include/iplb/vserver_conf.rb:199 msgid "Persistent" msgstr "保持連接" #: src/include/iplb/vserver_conf.rb:202 msgid "Scheduler" msgstr "規劃程式" #: src/include/iplb/vserver_conf.rb:231 msgid "Virtual Servers" msgstr "虛擬伺服器" #. disable the delete & edit button if vserver box is empty #: src/include/iplb/vserver_conf.rb:296 msgid "Virtual Server" msgstr "虛擬伺服器" #: src/include/iplb/vserver_conf.rb:298 msgid "Real Servers" msgstr "真實伺服器" #: src/include/iplb/vserver_conf.rb:310 msgid "Check type" msgstr "檢查類型" #: src/include/iplb/vserver_conf.rb:311 msgid "Auth type" msgstr "驗證類型" #: src/include/iplb/vserver_conf.rb:312 msgid "Others" msgstr "其他" #. split the real server ip value; #: src/include/iplb/vserver_conf.rb:411 msgid "" "If using IPv6,the format should like this\n" "[fe80::5054:ff:fe00:2]" msgstr "" "若使用 IPv6,則格式應為\n" "[fe80::5054:ff:fe00:2]" #: src/include/iplb/vserver_conf.rb:413 msgid "Real Server's IP Address" msgstr "真實伺服器的 IP 位址" #: src/include/iplb/vserver_conf.rb:419 msgid "Forward Method" msgstr "轉寄方法" #: src/include/iplb/vserver_conf.rb:422 msgid "weight" msgstr "權數" #. find next ] #: src/include/iplb/vserver_conf.rb:456 msgid "IP address is not Valid" msgstr "IP 位址無效" #. tab switch events end #: src/include/iplb/vserver_conf.rb:547 msgid "Add a new real server:" msgstr "新增新的真實伺服器︰" #: src/include/iplb/vserver_conf.rb:564 msgid "Edit the real server:" msgstr "編輯真實伺服器︰" #. Read all iplb settings #. @return true on success #: src/modules/Iplb.rb:214 msgid "Initializing IPLB Configuration" msgstr "正在啟始化 IPLB 組態" #. Names of real stages #: src/modules/Iplb.rb:221 msgid "Read the global settings" msgstr "讀取全域設定" #: src/modules/Iplb.rb:221 msgid "Read the virtual host settings" msgstr "讀取虛擬主機設定" #: src/modules/Iplb.rb:223 msgid "Reading the global settings..." msgstr "正在讀取全域設定..." #: src/modules/Iplb.rb:224 msgid "Reading the virtual host settings..." msgstr "正在讀取虛擬主機設定..." #. Write all iplb settings #. @return true on success #: src/modules/Iplb.rb:320 msgid "Saving IPLB Configuration" msgstr "正在儲存 IPLB 組態"