Hide Forgot
Description of problem: lvs.cf doesn't have config-option to specify syncid. Pulse starts ipvsadm with this command: ipvsadm --start-daemon master Pulse should be able to add the paramater --syncid=<1-255> to start command. Reason: When you have 2 seperate clusters of Piranha in the same IP-range, the connection-states are forwarded to both clusters. When you specify syncid this problem is overcome. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: ipvsadm --start-daemon master --syncid 1 Additional info:
Created attachment 563985 [details] Add option to specify sync daemon id. This patch adds the ability to specify the sync daemon id in lvs.cf config file. This parameter is used to tell the sync daemon what syncid to use when sending/receiving sync messages. Use the lvs.cf option "syncd_id" to specify the id. This option is only used it the syncdaemon is enabled (syncdaemon = 1 in lvs.cf). The value of "syncd_id" should be an integer value between 0 and 255. The value specified is passed to ivpsadm via --syncid when the sync daemon starts. The default value is 0.
Created attachment 563986 [details] Add sync daemon id option to piranha web UI. This patch adds ability to set the syncd_id option via the piranha web ui. This option can be set in the "redundancy" tab of the piranha web ui. If the "Use sync daemon" checkbox is checked and "Sync daemon ID" is empty, the sync id box will get the default value (0). If the "Use sync daemon" checkbox is not checked, the "Sync daemon id" has no effect. The value entered into the "Sync daemon ID" input box should appear as "syncd_id" in the lvs.cf file once the form has been submitted. Conversely, if the lvs.cf file has a value for "syncd_id", that value should be displayed in the "Sync daemon ID" input but regardless of the "Use sync daemon" checkbox value.
Created attachment 563987 [details] Add information about syncd_id option to lvs.cf man page. This patch adds information about the new syncd_id option to the lvs.cf man page.
Fixed in piranha-0.8.5-13.el6.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0891.html