Sync from SUSE:SLFO:Main patterns-sap revision 79e4095507c3cec76ebf311308836c91

This commit is contained in:
Adrian Schröter 2024-09-13 16:05:30 +02:00
parent 7d141c31ad
commit 98b1e34f32
2 changed files with 371 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 30 12:11:33 UTC 2024 - abriel@suse.com
- add additional sap patterns
-------------------------------------------------------------------
Mon Aug 12 17:37:24 UTC 2024 - Gustavo Yokoyama Ribeiro <gyribeiro@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package patterns-sap
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
%bcond_with betatest
%define all_patterns base enhanced_base
%define all_patterns base enhanced_base minimal_sap base_sap_server DB APP HADB HAAPP trento_agent trento_server automation monitoring gui security debug addons sap_all
Name: patterns-sap
Version: 16.0
@ -307,6 +307,310 @@ Recommends: dmidecode
%description enhanced_base
This is the enhanced base runtime system with lots of convenience packages.
##############################
# minimal_sap
##############################
%package minimal_sap
Summary: SAP Application Server Base
Group: Metapackages
Provides: pattern() = sles_sap_minimal_sap
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base
# shell for user <sid>adm
Requires: tcsh
# SAP-Note 1391070
# ignore for now - Requires: uuidd - currently unknown package
Requires: sysstat
# ignore for now - Requires: sysctl-logger - currently unknown package
#Requires: util-linux ## already in sles_sap_base
# ignore for now - Requires: util-linux-systemd - currently unknown package
Requires: supportutils
Requires: bpftool
ExclusiveArch: x86_64 ppc64le
%description minimal_sap
Set up the server for installing SAP systems.
##############################
# base_sap_server
##############################
%package base_sap_server
Summary: SAP Server Base
Group: Metapackages
Provides: pattern() = sles_sap_base_sap_server
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_minimal_sap
# needed for SAP related OS tuning
# ignore for now - Requires: saptune - currently unknown package
# needed for HA, but useful for others too
Requires: sudo
Requires: chrony
%description base_sap_server
Base setup for installing SAP
##############################
# sap_DB
##############################
%package DB
Summary: SAP Databases Server Base
Group: Metapackages
Provides: pattern() = sles_sap_DB
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# ignore for now - Suggests: pattern() = oracle_server
# SAP Sybase ASE requires the libaio library to start the installation
# ignore for now - Requires: libaio1 - currently unknown package
# P.Pitterlings checks
#Requires: saphana-checks ### submission TBD
%description DB
Set up the server for installing SAP databases (HANA, MaxDB, DB2, ASE/Sybase)
##############################
# sap_APP
##############################
%package APP
Summary: SAP Applications Server Base
Group: Metapackages
Provides: pattern() = sles_sap_APP
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# SAP-Note 3216146 (gcc 11.x)
# ignore for now - Requires: libgcc_s1 - currently unknown package
# ignore for now - Requires: libstdc++6 - currently unknown package
# ignore for now - Requires: libatomic1 - currently unknown package
# ignore for now - Requires: libicu - currently unknown package
# SAP-Note 2460148 (TREX)
#Requires: libstdc++6
# ignore for now - Requires: libXss1 - currently unknown package
# SAP requires NFS storage for /usr/share
Requires: nfs-utils
%description APP
Set up the server for installing SAP applications (Netweaver, S/4HANA)
##############################
# sap_HADB
##############################
%package HADB
Summary: SAP HA for SAP database
Group: Metapackages
Provides: pattern() = sles_sap_HADB
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_DB
# ignore for now - Requires: pattern() = ha-ha_sles
# RAs
# ignore for now - Requires: SAPHanaSR-angi - currently unknown package
# suppport tools
# ignore for now - Requires: ClusterTools2 - currently unknown package
# ignore for now - Requires: supportutils-plugin-ha-sap - currently unknown package
# e.g. access point for the load-balancer in clouds
Requires: socat
%description HADB
Cluster support for SAP HANA System Replication in ScaleUp and ScaleOut environments
##############################
# sap_HAAPP
##############################
%package HAAPP
Summary: SAP HA for SAP applications
Group: Metapackages
Provides: pattern() = sles_sap_HAAPP
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_APP
# ignore for now - Requires: pattern() = ha-ha_sles
# RAs
# ignore for now - Requires: sapstartsrv-resource-agents - currently unknown package
# ignore for now - Requires: sap-suse-cluster-connector - currently unknown package
# support tools
# ignore for now - Requires: ClusterTools2 - currently unknown package
# ignore for now - Requires: supportutils-plugin-ha-sap - currently unknown package
# e.g. access point for the load-balancer in clouds
Requires: socat
%description HAAPP
Cluster support for SAP NetWeaver and SAP S/4 HANA
##############################
# sap_trento_agent
##############################
%package trento_agent
Summary: Trento agents
Group: Metapackages
Provides: pattern() = sles_sap_trento_agent
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# ignore for now - Requires: trento-agent - currently unknown package
# ignore for now - Requires: trento-supportconfig-plugin - currently unknown package
%description trento_agent
Trento agents - operations of existing clusters of SAP applications
##############################
# sap_trento_server
##############################
%package trento_server
Summary: Trento server
Group: Metapackages
Provides: pattern() = sles_sap_trento_server
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# ignore for now - Requires: trento-web - currently unknown package
# ignore for now - Requires: trento-wanda - currently unknown package
# ignore for now - Requires: trento-supportconfig-plugin - currently unknown package
Suggests: golang-github-prometheus-prometheus
# ignore for now - Suggests: postgresql-server - currently unknown package
# ignore for now - Suggests: rabbitmq-server - currently unknown package
Suggests: nginx
%description trento_server
Trento server - operations of existing clusters of SAP applications
##############################
# sap_automation
##############################
%package automation
Summary: automation deployment
Group: Metapackages
Provides: pattern() = sles_sap_automation
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# ignore for now - Requires: ansible - currently unknown package
Requires: python311
# playbooks and roles - TBD
%description automation
ansible playbooks and roles
##############################
# sap_monitoring
##############################
%package monitoring
Summary: SAP monitoring
Group: Metapackages
Provides: pattern() = sles_sap_monitoring
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# ignore for now - Requires: prometheus-ha_cluster_exporter - currently unknown package
# ignore for now - Requires: prometheus-hanadb_exporter - currently unknown package
# ignore for now - Requires: prometheus-sap_host_exporter - currently unknown package
Requires: smartmontools
Requires: golang-github-prometheus-prometheus
# ignore for now - Requires: golang-github-prometheus-node_exporter - currently unknown package
%description monitoring
Support for SAP system monitoring
##############################
# sap_gui
##############################
%package gui
Summary: SAP system GUI
Group: Metapackages
Provides: pattern() = sles_sap_gui
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# for hdblcmgui and hdbsetup
Recommends: gtk2
# SAP HANA GUI installer bnc#954476
# ignore for now - Requires: libjpeg62 - currently unknown package
# SAP HANA GUI installer bnc#954476
# ignore for now - Requires: libpng12-0 - currently unknown package
# ignore for now - Requires: xrdp - currently unknown package
%description gui
Support for SAP system GUI
##############################
# sap_security
##############################
%package security
Summary: SAP security
Group: Metapackages
Provides: pattern() = sles_sap_security
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# ignore for now - Requires: cryptctl - currently unknown package
# ignore for now - Requires: HANA-Firewall - currently unknown package
# SElinux sap security policies - TBD
%description security
Support for SAP system security
##############################
# sap_debug
##############################
%package debug
Summary: SAP debugging
Group: Metapackages
Provides: pattern() = sles_sap_debug
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
# Fujitsu P.Stark
# ignore for now - Requires: perf - currently unknown package
Requires: strace
Requires: kdump
Requires: open-lldp
%description debug
Support for SAP enhanced debugging
##############################
# sap_addons
##############################
%package addons
Summary: SAP addons
Group: Metapackages
Provides: pattern() = sles_sap_addons
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_base_sap_server
Recommends: sapcontrol-bash-completion
# ignore for now - Recommends: clamsap - currently unknown package
# ignore for now - Recommends: unar - currently unknown package
Recommends: zip
Recommends: unzip
%ifarch x86_64
Recommends: numactl
%endif
# ignore for now - Recommends: saprouter-systemd - currently unknown package
# Fujitsu P.Stark, needed for pmem
Recommends: ipmctl
Recommends: ndctl
# supportability of SAP HANA
Recommends: cairo
Recommends: graphviz
# ignore for now - Recommends: iptraf-ng - currently unknown package
# ignore for now - Recommends: lm_sensors - currently unknown package
Recommends: net-tools
Recommends: expect
# Recommends: xfsprogs ## already in sles_sap_base
%description addons
addon tools for SAP workloads
##############################
# sap_all
##############################
%package sap_all
Summary: SAP all-in-one
Group: Metapackages
Provides: pattern() = sles_sap_sap_all
Provides: pattern-category() = SLFO
Requires: pattern() = sles_sap_trento_agent
Requires: pattern() = sles_sap_trento_server
Requires: pattern() = sles_sap_HADB
Requires: pattern() = sles_sap_HAAPP
Requires: pattern() = sles_sap_automation
Requires: pattern() = sles_sap_monitoring
Requires: pattern() = sles_sap_gui
Requires: pattern() = sles_sap_security
Requires: pattern() = sles_sap_debug
Requires: pattern() = sles_sap_addons
%description sap_all
Full decorated support for SAP workloads
%prep
# empty on purpose
@ -329,4 +633,64 @@ done
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/enhanced_base.txt
%files minimal_sap
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/minimal_sap.txt
%files base_sap_server
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/base_sap_server.txt
%files DB
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/DB.txt
%files APP
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/APP.txt
%files HADB
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/HADB.txt
%files HAAPP
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/HAAPP.txt
%files trento_agent
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/trento_agent.txt
%files trento_server
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/trento_server.txt
%files automation
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/automation.txt
%files monitoring
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/monitoring.txt
%files gui
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/gui.txt
%files security
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/security.txt
%files debug
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/debug.txt
%files addons
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/addons.txt
%files sap_all
%dir %{_docdir}/patterns-sap
%{_docdir}/patterns-sap/sap_all.txt
%changelog