Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:xwhu:Factory
yast2-drbd
bug-459801_help.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-459801_help.patch of Package yast2-drbd
Index: src/helps.ycp =================================================================== --- src/helps.ycp.orig +++ src/helps.ycp @@ -60,6 +60,51 @@ An additional dialog informs whether it "start_conf": _("Start to configure DRBD."), + "startup_conf": _("<p><b><big>Startup Configuration of DRBD</big></b></p>") + + _("<p><b>Booting:</b></p> + <p>checking \"On\" to start DRBD server Now and when booting</p> + <p>checking \"Off\", DRBD server only starts manually</p> + <p><b>Switch On and Off:</b></p> + <p>Starting or Stopping DRBD Server right now</p> + "), + + "resource_conf": _("<p><b><big>Resource Configuration of DRBD</big></b></p>") + + _("<p>Clicking \"Add\", \"Edit\", \"Delete\" button to add, edit or delete a resource</p> + "), + + "basic_conf": _("<p><b><big>Resource Configuration of DRBD</big></b></p>") + + _(" + <p>\"Name\" is mandatory and must match the Linux host name (uname -n) of one of the nodes</p> + <p>\"Address:Port\": A resource needs one IP address per device, which is used to wait for incoming connections from the partner device respectively to reach the partner device. Each DRBD resource needs a TCP port which is used to connect to the node's partner device.</p> + <p>\"Device\": The name of the block device node of the resource being described. You must use this device with your application (file system) and you must not use the low level block device which is specified with the disk parameter.</p> + <p>\"Disk\": DRBD uses this block device to actually store and retrieve the data. Never access such a device while DRBD is running on top of it.</p> + <p>\"Meta-disk\": internal. Internal means that the last part of the backing device is used to store the meta-data.</p> + "), + + "advance_conf": _("<p><b><big>Resource Configuration of DRBD</big></b></p>") + + _(" + <p><b>Protocol</b></p> + <p>Protocol A: write IO is reported as completed, if it has reached local disk and local TCP send buffer.</p> + <p>Protocol B: write IO is reported as completed, if it has reached local disk and remote buffer cache.</p> + <p>Protocol C: write IO is reported as completed, if it has reached both local and remote disk.</p> + + <p><b>wfc-timeout</b>: Wait for connection timeout</p> + <p><b>degr-wfc-timeout</b>: Wait for connection timeout, if this node was a degraded cluster</p> + + <p><b>on-io-error</b>: What to do when the lower level device reports io-error to the upper layers</p> + <p><b>sndbuf-size</b>: The size of the TCP socket send buffer</p> + <p><b>max-buffers</b>: Maximum number of requests to be allocated by DRBD</p> + + <p><b>timeout</b>: If the partner node fails to send an expected response packet within time 10ths of a second, the partner node is considered dead and therefore the TCP/IP connection is abandoned. This must be lower than connect-int and ping-int. The default value is 60 = 6 seconds, the unit 0.1 seconds.</p> + <p><b>connect-int</b>: The time the peer has time to answer to a keep-alive packet. In case the peer's reply is not received within this time period, it is considered as dead. The default value is 500ms, the default unit is 100ms</p> + <p><b>ping-int</b>: The time the peer has time to answer to a keep-alive packet</p> + + <p><b>max-epoch-size</b>: The highest number of data blocks between two write barriers</p> + <p><b>ko-count</b>: the secondary node fails to complete a single write request for count times the timeout, it is expelled from the cluster. The default value is 0, which disables this feature.</p> + <p><b>rate</b>: To ensure a smooth operation of the application on top of DRBD, it is possible to limit the bandwidth which may be used by background synchronizations. The default is 250 KB/sec, the default unit is KB/sec.</p> + <p><b>al-extents</b>: parameter you control how big the hot area (= active set) can get. The default number of extents is 127. (Minimum: 7, Maximum: 3843)</p> + "), + "global_conf": _("<p><b><big>Global Configuration of DRBD</big></b></p>") +_("<p>Check <b>\"Disable IP Verification\"</b> to disable one of drbdadm\'s sanity check</p>") +_("<p><b>Dialog Refresh:</b> The user dialog counts and displays the seconds it waited so Index: src/resource_conf.ycp =================================================================== --- src/resource_conf.ycp.orig +++ src/resource_conf.ycp @@ -306,7 +306,8 @@ any ResDialog(string resname) map<string, any> res_config = Drbd::resource_config[resname]:$[]; res_config["resname"] = resname; - my_SetContents("resource_conf", res_basic_config_get_dialog(res_config)); + my_SetContents("basic_conf", res_basic_config_get_dialog(res_config)); + //Popup::Warning(resname); Wizard::DisableNextButton(); Wizard::DisableAbortButton(); @@ -319,7 +320,7 @@ any ResDialog(string resname) y2debug("in ResDialog(), UserInput ret=%1", ret); if (ret == `help) { - myHelp("global_conf"); + //myHelp("basic_conf"); continue; } @@ -364,7 +365,7 @@ any ResDialog(string resname) res_config = save_basic_config(res_config); y2debug("res_config = %1", res_config); - my_SetContents("resource_conf", res_advance_config_get_dialog(res_config)); + my_SetContents("advance_conf", res_advance_config_get_dialog(res_config)); UI::ChangeWidget(`id(`protocol), `Value, res_config["protocol"]:"C"); UI::ChangeWidget(`id(`on_io_error), `Value, res_config["disk_s", "on-io-error"]:"pass_on"); @@ -380,7 +381,7 @@ any ResDialog(string resname) cur_page = `basic; res_config = save_advance_config(res_config); - my_SetContents("resource_conf", res_basic_config_get_dialog(res_config)); + my_SetContents("basic_conf", res_basic_config_get_dialog(res_config)); Wizard::DisableNextButton(); Wizard::DisableAbortButton();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor