documentation.suse.com / SAP Edge Integration Cell on SUSE with SUSE Virtualization

SAP Edge Integration Cell on SUSE with SUSE Virtualization

SUSE Best Practices

SAP

Authors
Kevin Klinger, SAP Solution Architect (SUSE)
Dominik Mathern, SAP Solution Architect (SUSE)
Dr. Ulrich Schairer, SAP Solution Architect (SUSE)
SUSE logo
SUSE Linux Micro 6.0
Rancher Kubernetes Engine 2
SUSE Rancher Prime
SUSE Virtualization
SAP Edge Integration Cell
Date: 2025-05-06

SUSE® offers a full stack for your container workloads. This best practice document describes how you can make use of this offerings for your installation of SAP Edge Integration Cell. The operations of SAP Edge Integration Cell and/or SAP Integration Suite are not covered in this document.

Disclaimer: Documents published as part of the SUSE Best Practices series have been contributed voluntarily by SUSE employees and third parties. They are meant to serve as examples of how particular actions can be performed. They have been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. SUSE cannot verify that actions described in these documents do what is claimed or whether actions described have unintended consequences. SUSE LLC, its affiliates, the authors, and the translators may not be held liable for possible errors or the consequences thereof.

1 Introduction

This guide describes how to prepare your infrastructure for the installation of Edge Integration Cell on Rancher Kubernetes Engine 2 using SUSE Virtualization and SUSE Rancher Prime. It will guide you through the steps of:

  • Installing SUSE Virtualization

  • Installing SUSE Rancher Prime

  • Setting up Rancher Kubernetes Engine 2 clusters

  • Deploying mandatory components for Edge Integration Cell

Note
Note

This guide does not contain information about sizing your landscapes. Visit https://help.sap.com/docs/integration-suite?locale=en-US and search for the "Edge Integration Cell Sizing Guide".

2 Supported and used versions

The support matrix below outlines the versions of the software we will be using in this guide.

ProductVersion

SUSE Linux Micro

6.0

Rancher Kubernetes Engine 2

1.31

SUSE Rancher Prime

2.10.1

SUSE Virtualization

1.4.1

cert-manager

1.15.2

PostgreSQL

15.7

Redis

7.2.5

Important
Important

If you want to use different versions of SUSE Linux Enterprise Micro or SUSE Linux Micro, SUSE Rancher Prime, Rancher Kubernetes Engine 2, or SUSE Storage, make sure to check the support matrix for the related solutions you want to use: https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/
For Redis and PostgreSQL, make sure to pick versions compatible to Edge Integration Cell, which can be found at https://me.sap.com/notes/3247839 .
Other versions of MetalLB or cert-manager can be used, but they may not have been tested.

3 Prerequisites

  • Get subscriptions for:

    • Rancher for SAP applications *

    • SUSE Linux Enterprise High Availability **

* The Rancher for SAP applications subscription includes support for all required components like SUSE Linux Micro, SUSE Rancher Prime and SUSE Virtualization.

** Only needed if you want to set up SUSE Rancher Prime in a high availability setup without the SUSE Virtualization Load Balancer feature.

Additionally,

4 Landscape Overview

To run Edge Integration Cell in a production-ready and supported way, you need to set up multiple Kubernetes clusters and their respective nodes. These include a Kubernetes cluster where SUSE Rancher Prime is installed to set up and manage both production and non-production clusters. For this SUSE Rancher Prime cluster, we recommend using three Kubernetes nodes and a Load Balancer.

When using SUSE Virtualization, you can provision all virtual machines required for the example landscape. While the VMs for the SUSE Rancher Prime cluster must be created directly in SUSE Virtualization, the Kubernetes clusters and the related virtual machines can be created through SUSE Rancher Prime.

The Edge Integration Cell will need to run in a dedicated Kubernetes cluster. For an HA setup of this cluster, we recommend using three Kubernetes control planes and three Kubernetes worker nodes.

For a graphical overview of what is needed, take a look at the landscape overview:

SAP EIC Harvester Architecture
Figure 1: Architecture EIC Cluster
  • The grey rectangles represent physical servers (hardware).

  • The orange rectangles represent SUSE Virtualization instances.

  • The blue rectangles represent Kubernetes clusters.

  • The green rectangles represent virtual machines.

We will use this graphic overview in the guide to illustrate what the next step is and what it is for.

Note
Note

If you want to test upgrades of SUSE Virtualization, we recommend setting up an additional SUSE Virtualization cluster and separate the production Edge Integration Cell instances from the development and test instances.

Starting with installing SUSE Virtualization, we will walk you through all the steps you need to take to get a fully set-up Kubernetes landscape for deploying Edge Integration Cell.

5 SUSE Virtualization

The first step is to set up SUSE Virtualization. Referring to our overview, this means we will now focus on the orange rectangles displayed in the diagram.

SAP EIC Harvester Architecture Virtualization
Figure 2: Architecture EIC Cluster SUSE Virtualization

SUSE Virtualization is an open-source hyperconverged infrastructure (HCI) software that simplifies the management of virtual machines (VMs) and containerized workloads on bare metal servers. This cloud native virtualization platform leverages core open source technologies like Linux, KVM (Kernel-based Virtual Machine), Kubernetes, KubeVirt, and SUSE Storage, offering a flexible and cost-effective alternative to traditional virtualization.

The advantage of using SUSE Virtualization for Edge Integration Cell is its ability to easily spin up Kubernetes clusters, with virtual machines being automatically deployed. Additionally, there is no need to install SUSE Storage, as SUSE Virtualization provides a built-in storage class, offering a convenient way to supply storage to Edge Integration Cell.

5.1 Setting up SUSE Virtualization

Follow the instructions at the: official website for SUSE Virtualization for detailed information on how to set up SUSE Virtualization.

Note
Note

Make sure you meet the hardware requirements specified in https://docs.harvesterhci.io/v1.4/install/requirements to set up your SUSE Virtualization environments.

5.2 Uploading images to SUSE Virtualization

To find information how to upload images to SUSE Virtualization that will be used to spin up virtual machines, refer to:

https://docs.harvesterhci.io/v1.4/image/upload-image

Warning
Warning

Make sure to only use OS images that are supported with SUSE Virtualization. Find an overview of the currently supported images at https://docs.harvesterhci.io/v1.4/vm/virtual-machines .

When you have uploaded the OS image that you want to use, you can now set up virtual machines.

In this guide, we will describe the example of setting up three virtual machines to host the SUSE Rancher Prime cluster you can use later to create and manage your Edge Integration Cell clusters.

Make sure to add Instance Labels to your machines if you plan to use the SUSE Virtualization Load Balancer feature. This is described more in detail in this guide at Section 6.1.2.2, “Configuring the SUSE Virtualization Load Balancer”. For our example, we will use:

KeyValue

application

rancher-mgt

A detailed overview of how to set up the virtual machines can be found at:

https://docs.harvesterhci.io/v1.4/vm/index

6 Installing SUSE Rancher Prime cluster

By now, you should have SUSE Virtualization installed and be able to deploy virtual machines. Next, we will focus on setting up SUSE Rancher Prime. Referring to our overview, this means we will now cover the first blue rectangles displayed in the diagram.

SAP EIC Harvester Architecture Rancher
Figure 3: Architecture EIC Cluster SUSE Rancher Prime

6.1 Preparation

To provide a highly available SUSE Rancher Prime setup, you need a load balancer for your SUSE Rancher Prime nodes. If you already have a load balancer, you can use that to make SUSE Rancher Prime highly available.

If you do not plan to set up a highly available SUSE Rancher Prime cluster, you can skip this section.

In this guide, we will describe two methods for setting up a load balancer, either using HAProxy Section 6.1.1, “Installing a haproxy-based load balancer” or the SUSE Virtualization load balancer feature Section 6.1.2, “Using a SUSE Virtualization Load Balancer”.

6.1.1 Installing a haproxy-based load balancer

This section describes how to set up a custom load balancer using haproxy.

Set up a virtual machine or a bare metal server with SUSE Linux Enterprise Server and SUSE Linux Enterprise High Availability or use SUSE Linux Enterprise Server for SAP applications. Install the haproxy package.

sudo zypper in haproxy

Create the configuration for haproxy. Find an example configuration file for haproxy below and adapt for the actual environment.

sudo cat <<EOF > /etc/haproxy/haproxy.cfg
global
        log /dev/log    local0
        log /dev/log    local1 notice
        chroot /var/lib/haproxy
        # stats socket /run/haproxy/admin.sock mode 660 level admin
        stats timeout 30s
        user haproxy
        group haproxy
        daemon

        # general hardlimit for the process of connections to handle, this is separate to backend/listen
        # Added in 'global' AND 'defaults'!!! - global affects only system limits (ulimit/maxsock) and defaults affects only listen/backend-limits - hez
        maxconn 400000

        # Default SSL material locations
        ca-base /etc/ssl/certs
        crt-base /etc/ssl/private

        tune.ssl.default-dh-param 2048

        # Default ciphers to use on SSL-enabled listening sockets.
        # For more information, see ciphers(1SSL). This list is from:
        #  https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/
        ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
        ssl-default-bind-options ssl-min-ver TLSv1.2 no-tls-tickets

defaults
        mode tcp
        log     global
        option  tcplog
        option  redispatch
        option  tcpka
        option  dontlognull
        retries 2
        timeout connect 5s
        timeout client  5s
        timeout server  5s
        timeout tunnel  86400s
        maxconn 400000

listen stats
        bind *:9000
        mode http
        stats hide-version
        stats uri /stats

listen rancher_apiserver
        bind my_lb_address:6443
        option httpchk GET /healthz
        http-check expect status 401
        server mynode1 mynode1.domain.local:6443 check check-ssl verify none
        server mynode2 mynode2.domain.local:6443 check check-ssl verify none
        server mynode3 mynode3.domain.local:6443 check check-ssl verify none
listen rancher_register
        bind my_lb_address:9345
        option httpchk GET /ping
        http-check expect status 200
        server mynode1 mynode1.domain.local:9345 check check-ssl verify none
        server mynode2 mynode2.domain.local:9345 check check-ssl verify none
        server mynode3 mynode3.domain.local:9345 check check-ssl verify none

listen rancher_ingress80
        bind my_lb_address:80
        option httpchk GET /
        http-check expect status 404
        server mynode1 mynode1.domain.local:80 check
        server mynode2 mynode2.domain.local:80 check
        server mynode3 mynode3.domain.local:80 check

listen rancher_ingress443
        bind my_lb_address:443
        option httpchk GET /
        http-check expect status 404
        server mynode1 mynode1.domain.local:443 check check-ssl verify none
        server mynode2 mynode2.domain.local:443 check check-ssl verify none
        server mynode3 mynode3.domain.local:443 check check-ssl verify none
EOF

Check the configuration file:

haproxy -f /path/to/your/haproxy.conf -c

Enable and start the haproxy load balancer:

sudo systemctl enable haproxy
sudo systemctl start haproxy

Do not forget to restart or reload haproxy if any changes are made to the haproxy configuration file.

6.1.2 Using a SUSE Virtualization Load Balancer

This section describes how to set up a load balancer using SUSE Virtualization to distribute traffic to virtual machines.

Important
Important

This approach only works with SUSE Virtualization 1.4.2 or higher and requires that the target virtual machines be connected to the management network of SUSE Virtualization.

If your management network is not managed by a DHCP, your first step is to create an IP Pool.

6.1.2.1 Creating an IP Pool in SUSE Virtualization

To create an IP Pool, log in to your SUSE Virtualization instance and go to Networks → IP Pools. Click Create in the upper right corner to create a new IP Pool:

SAP EIC Harvester IPPool Empty
Figure 4: Create a new IP Pool

On the next screen, you should see a menu similar to this:

SAP EIC Harvester IPPool Create
Figure 5: Create IP Pool Menu

Click Edit as YAML and adjust the IP Pool to your needs.

Find an example for an IP Pool below:

apiVersion: loadbalancer.harvesterhci.io/v1beta1
kind: IPPool
metadata:
  name: example
spec:
  selector:
    network: default/vlan11
    scope:
      - guestCluster: '*'
        namespace: '*'

  ranges:
    - gateway: 192.17.218.1
      rangeEnd: 192.17.218.30
      rangeStart: 192.17.218.5
      subnet: 192.17.218.1/22
      type: range

When you are done, click the Create button at the bottom right.

SAP EIC Harvester IPPool Example
Figure 6: IP Pool Example

At this stage, your IP Pool should have been created and appear in the list of IP Pools.

SAP EIC Harvester IPPool
Figure 7: List of IP Pools
6.1.2.2 Configuring the SUSE Virtualization Load Balancer

To create a Load Balancer, log in to your SUSE Virtualization instance and go to Networks → Load Balancers. Click Create in the upper right corner to create a new Load Balancer:

SAP EIC Harvester LB Empty
Figure 8: Create New Load Balancer

On the next screen, you should see a menu similar to this:

SAP EIC Harvester LB Create
Figure 9: Create Load Balancer Menu

Select the IPAM method you want to use - either DHCP or Pool.

Next, configure the Listeners. The Port is the port on which the Load Balancer will listen for requests. The Backend Port is the port of the target virtual machine the traffic is forwarded to. If you want to use this Load Balancer to forward traffic to a SUSE Rancher Prime management cluster, you need to configure two listeners:

NameProtocolPortBackend Port

http

TCP

80

80

https

TCP

443

443

SAP EIC Harvester LB Listeners
Figure 10: Configuring Load Balancer Listeners

The next step is to configure the Backend Server Selector. Here, you will specify which virtual machines the Load Balancer will target. To do this, the Key and Value must match the Instance Labels of the target virtual machines.

SAP EIC Harvester LB Selector
Figure 11: Load Balancer Backend Server Selector

6.2 Installing RKE2

To install RKE2, the script provided at https://get.rke2.io can be used as follows:

sudo curl -sfL https://get.rke2.io | INSTALL_RKE2_VERSION=v1.31.7+rke2r1 sh

For HA setups, you must create RKE2 cluster configuration files in advance. On the first master node, do the following:

sudo mkdir -p /etc/rancher/rke2
cat <<EOF > /etc/rancher/rke2/config.yaml
token: 'your cluster token'
system-default-registry: registry.rancher.com
tls-san:
  - FQDN of fixed registration address on load balancer
  - other hostname
  - IP v4 address
EOF

Create configuration files for additional cluster nodes:

cat <<EOF > /etc/rancher/rke2/config.yaml
server: https://"FQDN of registration address":9345
token: 'your cluster token'
system-default-registry: registry.rancher.com
tls-san:
  - FQDN of fixed registration address on load balancer
  - other hostname
  - IP v4 address
EOF
Important
Important

You also need to consider taking etcd snapshots and perform backups of your Rancher instance. These topics are not covered in this document, but you can find more information in our official documentation. Helpful links are https://documentation.suse.com/cloudnative/rke2/latest/en/backup_restore.html and https://documentation.suse.com/cloudnative/rancher-manager/latest/en/rancher-admin/back-up-restore-and-disaster-recovery/back-up-restore-and-disaster-recovery.html. IMPORTANT: For security reasons, we generally recommend activating the CIS profile when installing RKE2. This is currently still being validated and will be included in the documentation at a later date.

Now enable and start the RKE2 components and run the following command on each cluster node:

sudo systemctl enable rke2-server --now

To verify the installation, run the following command:

/var/lib/rancher/rke2/bin/kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml get nodes

For convenience, you can add the kubectl binary to the $PATH and set the specified kubeconfig via an environment variable:

export PATH=$PATH:/var/lib/rancher/rke2/bin/
export KUBECONFIG=/etc/rancher/rke2/rke2.yaml

6.3 Installing Helm

To install SUSE Rancher Prime and some of its required components, you need to use Helm.

One way to install Helm is to run:

curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

6.4 Installing cert-manager

To install the cert-manager package, do the following:

kubectl create namespace cert-manager

If you want to install cert-manager from the application-collection , you must create an imagePullSecret.

How to create the imagePullSecret is described in the Section 12.1, “Creating an imagePullSecret for the Rancher Application Collection”.

6.4.1 Installing the application

Before you can install the application, you need to login into the registry. You can find the instruction in Section 12.2, “Logging in to the Application Collection Registry”.

helm install cert-manager oci://dp.apps.rancher.io/charts/cert-manager \
    --set crds.enabled=true \
    --set-json 'global.imagePullSecrets=[{"name":"application-collection"}]' \
    --namespace=cert-manager \
    --version 1.15.2

6.5 Installing SUSE Rancher Prime

To install SUSE Rancher Prime, you need to add the related Helm repository. To achieve that, use the following command:

helm repo add rancher-prime https://charts.rancher.com/server-charts/prime

Next, create the cattle-system namespace in Kubernetes as follows:

kubectl create namespace cattle-system

The Kubernetes cluster is now ready for the installation of SUSE Rancher Prime:

helm install rancher rancher-prime/rancher \
    --namespace cattle-system \
    --set hostname=<your.domain.com> \
    --set replicas=3

During the rollout of SUSE Rancher Prime, you can monitor the progress using the following command:

kubectl -n cattle-system rollout status deploy/rancher

When the deployment is done, you can access the SUSE Rancher Prime cluster at https://<your.domain.com>. Here you will also find a description about how to log in for the first time.

7 Integrating SUSE Virtualization with SUSE Rancher Prime

7.1 Integrating SUSE Virtualization into SUSE Rancher Prime

Important
Important

Make sure you checked the support matrix and use a supported SUSE Rancher Prime version: https://www.suse.com/suse-harvester/support-matrix/all-supported-versions/harvester-v1-4-x/

To benefit from the synergies SUSE Rancher Prime and SUSE Virtualization can create, you need to import your SUSE Virtualization instance into the SUSE Rancher Prime UI. To do so, follow the steps described here: Importing Harvester cluster

8 Installing RKE2 using SUSE Rancher Prime

At this point, SUSE Virtualization and SUSE Rancher Prime should be up and running and integrated. Regarding our overview, we will now focus on the EIC-related cluster, represented by the three blue boxes.

SAP EIC Harvester Architecture
Figure 12: Architecture EIC Cluster

Creating new RKE2 clusters is straightforward when using SUSE Rancher Prime.

Navigate to the home menu of your SUSE Rancher Prime instance and click the Create button on the right side of the screen, as shown below:

SAP Rancher Main Create
Figure 13: Rancher home menu

The window displays the available options for creating new Kubernetes clusters. Make sure the toggle button on the right side of the screen is set to RKE2/K3s, as shown below:

SAP Rancher Create RKE Version
Figure 14: Rancher RKE version selection

If you want to create Kubernetes clusters using SUSE Virtualization to spin up the virtual machines, select the Harvester option in the section "Provision new nodes and create a cluster using RKE2/K3s" as shown below:

SAP Rancher Create Harvester
Figure 15: Rancher create harvester cluster

If you have not created a cloud credential yet, you will see a screen like this:

SAP Rancher Create Harvester CloudCredential
Figure 16: Rancher create harvester cloud credential

You should now see a screen with the header Cluster: Create Harvester.

SAP Rancher Create Harvester Landing
Figure 17: Rancher create harvester landing

Configure the cluster according to your requirements. For a highly available setup, we recommend using at least:

  • 3 x etcd / control plane nodes

  • 3 x worker nodes

To do this, configure one pool of machines with a Machine Count of 3 and select only etcd and Control Plane for the roles. Next, create another pool of machines by clicking on the + sign at the bottom of the Machine Pools section.

SAP Rancher Create Harvester Add Group
Figure 18: Rancher create harvester add group

For this second pool, also set the Machine Count to 3 and select only Worker for the roles.

At the bottom of the page, you will find the Kubernetes-related options:

SAP Rancher Create Harvester Cluster Configuration
Figure 19: Rancher create harvester k8s config

For a very basic configuration, it is sufficient to adjust the Kubernetes Version according to your requirements and ensure that harvester is selected as the Cloud Provider . When you have completed your Kubernetes-related configuration, click the Create button, and your Kubernetes cluster will be created on automatically provisioned virtual machines in SUSE Virtualization.

After clicking Create, you should be redirected to the cluster management view, where your defined cluster will appear. It may look like the below:

Kubernetes Cluster

For more insights into the deployment, you can click on the name of the specified cluster, which will redirect you to an overview like the one below:

Cluster Provisioning State Overview

As soon as the Kubernetes cluster is ready, your next step is to install PostgreSQL and Redis.

If you already have PostgreSQL and Redis deployed, you can skip the next chapter and follow the instructions at Section 10, “Preparing the cluster for Edge Integration Cell”. If you do not have an instance of PostgreSQL or Redis available for Edge Integration Cell, we will guide you through the process of deploying them in a Kubernetes cluster in the following chapter.

9 Installing the mandatory databases

In the following chapter, we provide an example for setting up MetalLB, Redis and PostgreSQL.

Note
Note

Keep in mind that the descriptions and instructions provided may differ from the deployment requirements for your specific infrastructure and use cases.

9.1 Installing Redis

Before deploying Redis, ensure that the requirements described at https://me.sap.com/notes/3247839 are met.

Also, make sure you understand what grade of persistence you want to achieve for your Redis cluster. For more information about persistence in Redis, see https://redis.io/docs/management/persistence/.

IMPORTANT

SUSE does not offer database support for Redis. For support requests, contact Redis Ltd..

IMPORTANT

The following instructions describe only one variant of installing Redis which is called Redis Cluster. There are other possible ways to set up Redis that are not covered in this guide. Check if you require Redis Sentinel instead of Redis Cluster.

9.1.1 Deploying Redis

Although Redis is available for deployment using the SUSE Rancher Prime Apps, we recommend using the Rancher Application Collection. The Redis chart can be found at https://apps.rancher.io/applications/redis.

9.1.1.1 Deploying the chart

To deploy the chart, create the related namespace and imagePullSecret first. To create the namespace, run:

kubectl create namespace redis

Instructions how to create the imagePullSecret can be found in Section 12.1, “Creating an imagePullSecret for the Rancher Application Collection”.

If you want to use self-signed certificates, you can find instructions how to create such in Section 12.3.1, “Creating self-signed certificates”.

Before you can install the application, you need to log in to the registry. You can find the instructions in Section 12.2, “Logging in to the Application Collection Registry”.

Create a file values.yaml to store some configurations for the Redis Helm chart. The configuration might look like the following:

images:
  redis:
    # -- Image registry to use for the Redis container
    registry: dp.apps.rancher.io
    # -- Image repository to use for the Redis container
    repository: containers/redis
    # -- Image tag to use for the Redis container
    tag: 7.2.5
storageClassName: "longhorn"
global:
  imagePullSecrets: ["application-collection"]
architecture: cluster
nodeCount: 3
auth:
  password: <redisPW>
tls:
  # -- Enable TLS
  enabled: true
  # -- Whether to require Redis clients to authenticate with a valid certificate (authenticated against the trusted root CA certificate)
  authClients: false
  # -- Name of the secret containing the Redis certificates
  existingSecret: "redisCert"
  # -- Certificate filename in the secret
  certFilename: "server.pem"
  # -- Certificate key filename in the secret
  keyFilename: "server.key"
  #  CA certificate filename in the secret - needs to hold the CA.crt and the server.pem
  caCertFilename: "root.pem"

To install the application, run:

helm install redis oci://dp.apps.rancher.io/charts/redis \
-f values.yaml \
--namespace=redis

9.2 Installing PostgreSQL

Before deploying PostgreSQL, ensure that the requirements described at https://me.sap.com/notes/3247839 are met.

IMPORTANT

SUSE does not offer database support for PostgreSQL on Kubernetes. Find information about support options at The PostgreSQL Global Development Group.

IMPORTANT

The instructions below describe only one variant of installing PostgreSQL. There are other possible ways to set up PostgreSQL which are not covered in this guide. It is also possible to install PostgreSQL as a single instance on the operating system. We will focus on installing PostgreSQL in a Kubernetes cluster, as we also need a Redis database, and we will clustering that together.

9.2.1 Deploying PostgreSQL

Even though PostgreSQL is available for deployment using the SUSE Rancher Prime Apps, we recommend to use the Rancher Application Collection. The PostgreSQL chart can be found at https://apps.rancher.io/applications/postgresql.

9.2.2 Creating secret for Rancher Application Collection

First, create a namespace and the imagePullSecret for installing the PostgreSQL database onto the cluster.

kubectl create namespace postgresql

How to create the imagePullSecret is described in Section 12.1, “Creating an imagePullSecret for the Rancher Application Collection”.

9.2.2.1 Creating secret with certificates

Second, create the Kubernetes secret with the certificates. You will find an example how to do this in Section 12.3.1, “Creating self-signed certificates”.

9.2.2.2 Installing the application

Before you can install the application, you need to log in to the registry. You can find the instruction in Section 12.2, “Logging in to the Application Collection Registry”.

Create a file values.yaml which holds some configurations for the PostgreSQL Helm chart. The configuration may look like:

global:
  # -- Global override for container image registry pull secrets
  imagePullSecrets: ["application-collection"]
images:
  postgresql:
    # -- Image registry to use for the PostgreSQL container
    registry: dp.apps.rancher.io
    # -- Image repository to use for the PostgreSQL container
    repository: containers/postgresql
    # -- Image tag to use for the PostgreSQL container
    tag: "15.7"
auth:
  # -- PostgreSQL username for the superuser
  postgresUsername: postgres
  # -- PostgreSQL password for the superuser
  postgresPassword: "<your_password>"
  # -- Replication username
  replicationUsername: replication
  # -- Replication password
  replicationPassword: "<your_password>"
tls:
  # -- Enable SSL/TLS
  enabled: false
  # -- Name of the secret containing the PostgreSQL certificates
  existingSecret: "postgresqlcert"
  # -- Whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server. Valid values: prefer (default), disable, allow, require, verify-ca, verify-full
  sslMode: "verify-full"
  # -- Certificate filename in the secret (will be ignored if empty)
  certFilename: "server.pem"
  # -- Certificate key filename in the secret (will be ignored if empty)
  keyFilename: "server.key"
  # -- CA certificate filename in the secret (will be ignored if empty)
  caCertFilename: "root.pem"
statefulset:
  # -- Enable the StatefulSet template for PostgreSQL standalone mode
  enabled: true
  # -- Lifecycle of the persistent volume claims created from PostgreSQL volumeClaimTemplates
  persistentVolumeClaimRetentionPolicy:
    ## -- Volume behavior when the StatefulSet is deleted
    whenDeleted: Delete
podSecurityContext:
  # -- Enable pod security context
  enabled: true
  # -- Group ID for the pod
  fsGroup: 1000

To install the application, run:

helm install postgresql oci://dp.apps.rancher.io/charts/postgresql -f values.yaml --namespace=postgresql

10 Preparing the cluster for Edge Integration Cell

A benefit of using SUSE Virtualization is the provisioning of storage to your Kubernetes clusters. If you create a cluster as described in the previous chapter (Section 8, “Installing RKE2 using SUSE Rancher Prime”), a storageClass will automatically be created within your Kubernetes cluster.

You can use SUSE Virtualization to create a guest Kubernetes cluster load balancer, as also described at https://docs.harvesterhci.io/v1.4/networking/loadbalancer#guest-kubernetes-cluster-load-balancer and https://docs.harvesterhci.io/v1.4/rancher/cloud-provider/#load-balancer-support.

If you are using a network without DHCP, you will need to create an IP Pool. For instructions, refer to the previous chapter (Section 6.1.2.1, “Creating an IP Pool in SUSE Virtualization”).

After this is done, a Kubernetes cluster created as outlined in the previous chapter (Section 8, “Installing RKE2 using SUSE Rancher Prime”) will automatically be assigned an IP address from the pool for Services of type LoadBalancer.

11 Installing Edge Integration Cell

At this point, you should be ready to deploy Edge Integration Cell. Follow the instructions at https://help.sap.com/docs/integration-suite/sap-integration-suite/setting-up-and-managing-edge-integration-cell to install Edge Integration Cell in your prepared environments.

12 Appendix

12.1 Creating an imagePullSecret for the Rancher Application Collection

To make the resources available for deployment, you need to create an imagePullSecret. In this guide, we use the name application-collection for it.

12.1.1 Creating an imagePullSecret using kubectl

Using kubectl to create the imagePullSecret is quite easy. Get your user name and your access token for the Rancher Application Collection. Then run:

kubectl -n <namespace> create secret docker-registry application-collection --docker-server=dp.apps.rancher.io --docker-username=<yourUser> --docker-password=<yourPassword>

As secrets are namespace-sensitive, you need to create this for every required namespace.

The related secret can then be used for the components:

12.1.2 Creating an imagePullSecret using SUSE Rancher Prime

You can also create an imagePullSecret using SUSE Rancher Prime. To do so, open SUSE Rancher Prime and enter your cluster.

Navigate to StorageSecrets as shown below:

EIC Secrets Menu
Figure 20: Secrets Menu

Click the Create button in the top right corner.

EIC Secrets Overview
Figure 21: Secrets Overview

A window will appear asking you to select the secret type. Select Registry as shown here:

EIC Secrets Types
Figure 22: Secrets Type Selection

Enter a name such as application-collection for the secret. In the text box Registry Domain Name, enter dp.apps.rancher.io. Enter your user name and password and click the Create button at the bottom right.

EIC Secret Create
Figure 23: Secrets Creation Step

12.2 Logging in to the Application Collection Registry

To install the Helm Charts from the application-collection, you need to log in in to the registry. This needs to be done with the Helm client.

To log in to the Rancher Application Collection, run:

helm registry login dp.apps.rancher.io/charts -u <yourUser> -p <your-token>

The login process is needed for the following application installations:

12.3 Using self-signed certificates

In this chapter, we will explain how to create self-signed certificates and how to make them available within Kubernetes. We will describe two possible solutions to do this. You can create everything on the operation system layer or you also can use cert-manager in your downstream cluster.

12.3.1 Creating self-signed certificates

Warning
Warning

We strongly advise against using self-signed certificates in production environments.

The first step is to create a certificate authority (hereinafter referred to as CA) with a key and certificate. The following excerpt provides an example of how to create a CA with a passphrase of your choice:

openssl req -x509 -sha256 -days 1825 -newkey rsa:2048 -keyout rootCA.key -out rootCA.crt -passout pass:<ca-passphrase> -subj "/C=DE/ST=BW/L=Nuremberg/O=SUSE"

This will generate the files rootCA.key and rootCA.crt. The server certificate requires a certificate signing request (hereinafter referred to as CSR). The following excerpt shows how to create such a CSR:

openssl req -newkey rsa:2048 -keyout domain.key -out domain.csr -passout pass:<csr-passphrase> -subj  "/C=DE/ST=BW/L=Nuremberg/O=SUSE"

Before you can sign the CSR, you need to add the DNS names of your Kubernetes Services to the CSR. Therefore, create a file with the content below and replace the <servicename> and <namespace> with the name of your Kubernetes service and the namespace in which it is placed:

authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
subjectAltName = @alt_names
[alt_names]
DNS.1 = <servicename>.<namespace>.svc.cluster.local
DNS.2 = <AltService>.<AltNamespace>.svc.cluster.local

You can now use the previously created files rootCA.key and rootCA.crt with the extension file to sign the CSR. The example below shows how to do that by passing the extension file (here called domain.ext):

openssl x509 -req -CA rootCA.crt -CAkey rootCA.key -in domain.csr -out server.pem -days 365 -CAcreateserial -extfile domain.ext -passin pass:<ca-passphrase>

This creates a file called server.pem, which is the certificate to be used for your application.

Your domain.key is still encrypted at this point, but the application requires an unencrypted server key. To decrypt it, run the provided command, which will generate the server.key.

openssl rsa -passin pass:<csr-passphrase> -in domain.key -out server.key

Some applications (like Redis) require a full certificate chain to operate. To get a full certificate chain, link the generated file server.pem with the file rootCA.crt as follows:

cat server.pem rootCA.crt > chained.pem

You should then have the files server.pem, server.key and chained.pem that can be used for your applications such as Redis or PostgresSQL.

12.3.2 Uploading certificates to Kubernetes

To use certificate files in Kubernetes, you need to save them as so-called secrets. For an example of uploading your certificates to Kubernetes, see the following excerpt:

kubectl -n <namespace> create secret generic <certName> --from-file=./root.pem --from-file=./server.pem --from-file=./server.key
Note
Note

All applications are expecting to have the secret to be used in the same namespace as the application.

12.3.3 Using cert-manager

cert-manager needs to be available in your Downstream Cluster. To install cert-manager in your downstream cluster, you can follow the same installation steps outlined in the Rancher Prime installation section. First, create a selfsigned-issuer.yaml file:

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: selfsigned-issuer
spec:
  selfSigned: {}

Then create a Certificate Ressource for the CA called my-ca-cert.yaml:

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: my-ca-cert
  namespace: cert-manager
spec:
  isCA: true
  commonName: <cluster-name>.cluster.local
  secretName: my-ca-secret
  issuerRef:
    name: selfsigned-issuer
    kind: ClusterIssuer
  dnsNames:
  - "<cluster-name>.cluster.local"
  - "*.<cluster-name>.cluster.local"

For creating a ClusterIssuer using the Generated CA, create the my-ca-issuer.yaml file:

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: my-ca-issuer
spec:
  ca:
    secretName: my-ca-secret

The last ressource you need to create is the certificate itself. This certificate is signed by your created CA. You can name the yaml file application-name-certificate.yaml.

kind: Certificate
metadata:
  name: <application-name>
  namespace: <application namespace> // need to be created manually.
spec:
  dnsNames:
    - <application-name>.cluster.local
  issuerRef:
    group: cert-manager.io
    kind: ClusterIssuer
    name: my-ca-issuer
  secretName: <application-name>
  usages:
    - digital signature
    - key encipherment

Apply the yaml file to your Kubernetes cluster.

kubectl apply -f selfsigned-issuer.yaml
kubectl apply -f my-ca-cert.yaml
kubectl apply -f my-ca-issuer.yaml
kubectl apply -f application-name-certificate.yaml

When you deploy your applications via Helm Charts, you can use the generated certificate. In the Kubernetes Secret Certificate, three files are stored. These are the files tls.crt, tls.key and ca.crt, which you can use in the values.yaml file of your application.

14 GNU Free Documentation License

Copyright © 2000, 2001, 2002 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

0. PREAMBLE

The purpose of this License is to make a manual, textbook, or other functional and useful document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others.

This License is a kind of "copyleft", which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software.

We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference.

1. APPLICABILITY AND DEFINITIONS

This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The "Document", below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as "you". You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law.

A "Modified Version" of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language.

A "Secondary Section" is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document’s overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them.

The "Invariant Sections" are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none.

The "Cover Texts" are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words.

A "Transparent" copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not "Transparent" is called "Opaque".

Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only.

The "Title Page" means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, "Title Page" means the text near the most prominent appearance of the work’s title, preceding the beginning of the body of the text.

A section "Entitled XYZ" means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as "Acknowledgements", "Dedications", "Endorsements", or "History".) To "Preserve the Title" of such a section when you modify the Document means that it remains a section "Entitled XYZ" according to this definition.

The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License.

2. VERBATIM COPYING

You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3.

You may also lend copies, under the same conditions stated above, and you may publicly display copies.

3. COPYING IN QUANTITY

If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document’s license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects.

If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages.

If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public.

It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document.

4. MODIFICATIONS

You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version:

  1. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission.

  2. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement.

  3. State on the Title page the name of the publisher of the Modified Version, as the publisher.

  4. Preserve all the copyright notices of the Document.

  5. Add an appropriate copyright notice for your modifications adjacent to the other copyright notices.

  6. Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below.

  7. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document’s license notice.

  8. Include an unaltered copy of this License.

  9. Preserve the section Entitled "History", Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled "History" in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence.

  10. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the "History" section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission.

  11. For any section Entitled "Acknowledgements" or "Dedications", Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein.

  12. Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles.

  13. Delete any section Entitled "Endorsements". Such a section may not be included in the Modified Version.

  14. Do not retitle any existing section to be Entitled "Endorsements" or to conflict in title with any Invariant Section.

  15. Preserve any Warranty Disclaimers.

If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version’s license notice. These titles must be distinct from any other section titles.

You may add a section Entitled "Endorsements", provided it contains nothing but endorsements of your Modified Version by various parties—​for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard.

You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one.

The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version.

5. COMBINING DOCUMENTS

You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers.

The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work.

In the combination, you must combine any sections Entitled "History" in the various original documents, forming one section Entitled "History"; likewise combine any sections Entitled "Acknowledgements", and any sections Entitled "Dedications". You must delete all sections Entitled "Endorsements".

6. COLLECTIONS OF DOCUMENTS

You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects.

You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document.

7. AGGREGATION WITH INDEPENDENT WORKS

A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an "aggregate" if the copyright resulting from the compilation is not used to limit the legal rights of the compilation’s users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document.

If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document’s Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate.

8. TRANSLATION

Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail.

If a section in the Document is Entitled "Acknowledgements", "Dedications", or "History", the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title.

9. TERMINATION

You may not copy, modify, sublicense, or distribute the Document except as expressly provided for under this License. Any other attempt to copy, modify, sublicense or distribute the Document is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.

10. FUTURE REVISIONS OF THIS LICENSE

The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See http://www.gnu.org/copyleft/.

Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License "or any later version" applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation.

ADDENDUM: How to use this License for your documents

Copyright (c) YEAR YOUR NAME.
   Permission is granted to copy, distribute and/or modify this document
   under the terms of the GNU Free Documentation License, Version 1.2
   or any later version published by the Free Software Foundation;
   with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
   A copy of the license is included in the section entitled “GNU
   Free Documentation License”.

If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the “ with…​Texts.” line with this:

with the Invariant Sections being LIST THEIR TITLES, with the
   Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.

If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation.

If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software.

Documentation survey