Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 788541

Summary: Add option to specify mcast interface for sync daemon
Product: Red Hat Enterprise Linux 6 Reporter: Ryan O'Hara <rohara>
Component: piranhaAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: cluster-maint, djansa, mjuricek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: piranha-0.8.5-13.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 14:18:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 788529, 805208, 1099687, 1099688, 1099689    
Bug Blocks:    
Attachments:
Description Flags
Add option to specify sync daemon mcast interface.
none
Add sync daemon interface option to piranha web UI.
none
Add information about sync_iface option to lvs.cf man page. none

Description Ryan O'Hara 2012-02-08 12:04:01 UTC
Piranha allows for ipvs sync daemon to be enabled, but does not allow user to specify sync daemon options. The sync daemon can be told which interface to use for multicast. From ipvsadm(8):

  --mcast-interface interface
         Specify  the  multicast interface that the sync master daemon sends
         outgoing multicasts through, or the sync backup daemon listens to for
         multicasts.

Since we're already adding the the syncid option (BZ#717556), we should add option for mcast-address for to be complete.

Comment 2 Ryan O'Hara 2012-02-16 23:12:49 UTC
Created attachment 563774 [details]
Add option to specify sync daemon mcast interface.

This patch adds the ability to specify the sync daemon mcast interface in lvs.cf config file. This parameter is used to tell the sync daemon to use to send/receive multicast messages. Use the lvs.cf option "syncd_iface" to specify the interface. This option is only used it the syncdaemon is enabled (syncdaemon = 1 in lvs.cf). The value of "syncd_iface" must be a valid interface and must not be prefixed with "/dev/" (eg. use "eth1" not "/dev/eth1"). This value specified is passed to ivpsadm via --mcast-interface when the sync daemon starts. The default value is "eth0".

Comment 3 Ryan O'Hara 2012-02-17 02:16:46 UTC
Created attachment 563793 [details]
Add sync daemon interface option to piranha web UI.

This patch adds set the syncd_iface 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 interface" is empty, the sync interface box will get the default value ("eth0"). If the "Use sync daemon" checkbox is not checked, the "Sync interface" has no effect. The value entered into the "Sync interface" input box should appear as "sync_iface" in the lvs.cf file once the form has been submitted. Conversely, if the lvs.cf file has a value for "sync_iface", that value should be displayed in the "Sync interface" input but regardless of the "Use sync daemon" checkbox value.

Comment 4 Ryan O'Hara 2012-02-17 19:38:16 UTC
Created attachment 563975 [details]
Add information about sync_iface option to lvs.cf man page.

This patch adds information about the new sync_iface option to the lvs.cf man page. Also add information about the syncdaemon option, which was missing from lvs.cf man page.

Comment 5 Ryan O'Hara 2012-02-17 20:58:08 UTC
The correct option name as it appears in lvs.cf is "syncd_iface", not "sync_iface" as mentioned in the previous comments. Also, the input text box in the piranha web interface is labelled "Sync daemon interface", not "Sync interface".

Comment 9 Ryan O'Hara 2012-02-18 01:14:00 UTC
Fixed in piranha-0.8.5-13.el6.

Comment 12 errata-xmlrpc 2012-06-20 14:18:05 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