Skip to content

Commit

Permalink
Merge pull request #114 from liangxin1300/20250117_port_15sp7
Browse files Browse the repository at this point in the history
[SLE-15-SP7] Update HA related ports (bsc#1219773)
  • Loading branch information
jreidinger authored Feb 3, 2025
2 parents 7c1ed61 + 849159c commit a100fc5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
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 <xliang@suse.com>

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

-------------------------------------------------------------------
Fri Sep 06 07:14:32 UTC 2024 - Ladislav Slezák <lslezak@suse.com>

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.7.0
Version: 4.7.1
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

0 comments on commit a100fc5

Please sign in to comment.