Bug 717556 - Add ability for piranha to specify syncid for sync-daemon
Summary: Add ability for piranha to specify syncid for sync-daemon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: piranha
Version: 6.0
Hardware: i386
OS: Linux
low
low
Target Milestone: rc
: 6.3
Assignee: Ryan O'Hara
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 788529 805208 1099687 1099688 1099689
Blocks: 756082 800049
TreeView+ depends on / blocked
 
Reported: 2011-06-29 08:40 UTC by peter
Modified: 2014-05-21 02:02 UTC (History)
3 users (show)

Fixed In Version: piranha-0.8.5-13.el6
Doc Type: Enhancement
Doc Text:
Clone Of:
: 800049 (view as bug list)
Environment:
Last Closed: 2012-06-20 14:17:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Add option to specify sync daemon id. (3.08 KB, patch)
2012-02-17 20:51 UTC, Ryan O'Hara
no flags Details | Diff
Add sync daemon id option to piranha web UI. (2.84 KB, patch)
2012-02-17 20:54 UTC, Ryan O'Hara
no flags Details | Diff
Add information about syncd_id option to lvs.cf man page. (621 bytes, patch)
2012-02-17 20:55 UTC, Ryan O'Hara
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0891 0 normal SHIPPED_LIVE piranha bug fix update 2012-06-19 19:50:50 UTC

Description peter 2011-06-29 08:40:34 UTC
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:

Comment 3 Ryan O'Hara 2012-02-17 20:51:40 UTC
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.

Comment 4 Ryan O'Hara 2012-02-17 20:54:50 UTC
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.

Comment 5 Ryan O'Hara 2012-02-17 20:55:52 UTC
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.

Comment 8 Ryan O'Hara 2012-02-18 01:13:37 UTC
Fixed in piranha-0.8.5-13.el6.

Comment 11 errata-xmlrpc 2012-06-20 14:17:49 UTC
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


Note You need to log in before you can comment on or make changes to this bug.