Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SLE-15-SP5] Update HA related ports (bsc#1219773) #112

Open
wants to merge 2 commits into
base: SLE-15-SP5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions package/cluster.firewalld.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>SUSE YaST Cluster</short>
<description>This allows you to open various ports related to SUSE YaST Cluster module. Ports are opened for pacemaker-remote, booth, mgmtd, hawk, dlm, csync2 and corosync-qnetd.</description>
<port protocol="tcp" port="2224"/>
<port protocol="tcp" port="3121"/>
<port protocol="tcp" port="5403"/>
<port protocol="udp" port="5404"/>
<port protocol="udp" port="5405"/>
<port protocol="tcp" port="5560"/>
<port protocol="tcp" port="7630"/>
<port protocol="tcp" port="9929"/>
<description>This allows you to open various ports related to SUSE YaST Cluster module. Ports are opened for pacemaker-remote, booth, hawk, dlm, csync2 and corosync-qnetd.</description>
<port protocol="tcp" port="3121"/> <!-- pacemaker-remote -->
<port protocol="tcp" port="5403"/> <!-- corosync-qnetd -->
<port protocol="udp" port="5404"/> <!-- corosync -->
<port protocol="udp" port="5405"/> <!-- corosync -->
<port protocol="tcp" port="7630"/> <!-- hawk -->
<port protocol="tcp" port="9929"/> <!-- booth -->
<port protocol="udp" port="9929"/>
<port protocol="tcp" port="21064"/>
<port protocol="tcp" port="30865"/>
<port protocol="tcp" port="21064"/> <!-- dlm -->
<port protocol="stcp" port="21064"/>
<port protocol="tcp" port="30865"/> <!-- csync2 -->
</service>

6 changes: 6 additions & 0 deletions package/yast2-cluster.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 17 16:45:52 UTC 2025 - xin liang <[email protected]>

- Update HA related ports (bsc#1219773)
- Version 4.5.3

-------------------------------------------------------------------
Thu Mar 23 07:55:52 UTC 2023 - Peter Varkoly <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-cluster.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
%define _fwdefdir %{_prefix}/lib/firewalld/services

Name: yast2-cluster
Version: 4.5.2
Version: 4.5.3
Release: 0
Summary: Configuration of cluster
License: GPL-2.0-only
Expand Down
3 changes: 1 addition & 2 deletions src/modules/Cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -694,11 +694,10 @@ def Write
udp_ports << @mcastport2 if @enable2 && @mcastport2 != ""

# 30865 for csync2
# 5560 for mgmtd
# 7630 for hawk or hawk2
# 21064 for dlm
# 5403 for corosync qdevice(default)
tcp_ports = ["30865", "5560", "21064", "7630"]
tcp_ports = ["30865", "21064", "7630"]
tcp_ports << @qdevice_port if @corosync_qdevice

begin
Expand Down
Loading