Update Installation

This section describes the steps to update an existing PAS-X MES installation to a new SmartInstall version.

The update installation is only applicable on installations performed using SmartInstall.

Before proceeding,

1. Uninstall MES

1.1. Description

Uninstall an existing PAS-X MES system in Argo Workflows. The workflow uninstalls PAS-X MES services and removes additional Kubernetes resources managed by the PAS-X MES Argo CD Applications. For the resources that remain after a complete uninstall, see PAS-X MES System Uninstallation.

1.2. Prerequisites

  • The system is not in use anymore and is ready for graceful shutdown.

1.3. Steps

  1. Select the PAS-X MES System Uninstallation workflow template workflow-pasx-mes-uninstallation in Argo Workflows.

  2. Set the undeploy-mes-applications parameter to TRUE.

  3. Submit the workflow to start the uninstallation.

1.4. Verify

  1. Verify that the submitted workflow reaches the Succeeded state.

  2. Verify that an Installation Report is generated and published to the MES Installation Server.

2. Apply the PAS-X Bootstrap Chart

2.1. Description

Apply the prepared Argo CD Application manifest for the PAS-X Bootstrap Chart. The manifest creates or updates the pasx-system Argo CD Application, which installs the mes-applications Helm chart and creates the ApplicationSet resources required for PAS-X MES lifecycle management.

The Helm chart sets up two Argo CD ApplicationSet resources:

  • mes-workflows: This provisions Argo CD Applications required to bootstrap the installation and lifecycle management workflows. It includes:

    • pasx-argo-workflows: Installs Argo Workflows infrastructure

    • mes-workflows: Defines and installs reusable workflows for bootstrapping, installing, validating, migrating, and uninstalling the PAS-X MES system.

    These Argo CD Applications are created in a controlled, sequential order using the RollingSync strategy to ensure pasx-argo-workflows is available before mes-workflows.

  • mes-applications: This is responsible for setting up PAS-X MES components and services. It is the first Helm chart that sets up the needed Argo CD Applications, which will then reconcile following the installation process using workflows and operators.

    The ApplicationSet generates Argo CD Applications for core PAS-X MES infrastructure components such as operators (MES Operator, RabbitMQ Operator), the MES Instance, RabbitMQ clusters, and all configured MES services. These Argo CD Applications are configured based on the values provided in the mes-applications-values.yaml file. The values file also references sub-folders containing values files for each application, which define the specific configuration for each component and service to be installed in the system.

2.2. Prerequisites

  • OCI registry is accessible and contains the required Helm charts and container images for the PAS-X MES system.

  • The Argo CD Application manifest for the bootstrap chart must be prepared as described in the chapter Configuration - Argo CD Application Manifest section.

2.3. Steps

  1. Apply the prepared Argo CD Application manifest:

kubectl apply -n <argo-cd-namespace> -f <path-to-application-manifest.yaml>

2.4. Verify

  1. Verify that the pasx-system application is available in Argo CD.

  2. Verify that no errors are reported in the application status.

3. Sync the Körber PAS-X Bootstrap Application

3.1. Description

Synchronize the pasx-system Argo CD Application. The manual sync applies the ApplicationSet resources and generates the Argo CD Applications required for PAS-X MES lifecycle management.

The generated applications include:

  • Workflows, including:

    • Argo Workflows — the underlying orchestration engine.

    • PAS-X Workflows — responsible for installing and managing the lifecycle of the PAS-X system.

  • MES Installation Server

  • Auxiliary services like RabbitMQ, API Gateway, and MES OpenTelemetry Collector.

  • Core PAS-X components like mes-operator, services and instance.

3.2. Prerequisites

  • The pasx-system Argo CD application is available.

3.3. Steps

  1. Locate the pasx-system application in Argo CD.

  2. Trigger a manual sync.

3.4. Verify

  1. Verify that the pasx-system application syncs successfully.

  2. Verify that the MES Installation Server UI is reachable.

  3. Verify that Argo Workflows is synced and reachable.

4. Install PAS-X MES with database schema migration

4.1. Description

Start a PAS-X MES installation with database schema migration in Argo Workflows. The workflow installs PAS-X MES, performs database schema migration, and publishes an Installation Report that documents the execution result. For workflow parameters and phases, see PAS-X MES System Installation.

4.2. Prerequisites

  • Argo Workflows must be available and reachable.

  • The PAS-X MES installation workflow template must be available in Argo Workflows.

  • The PAS-X MES system must be in an undeployed state.

4.3. Steps

  1. Select the PAS-X MES System Installation workflow template workflow-pasx-mes-installation in Argo Workflows.

  2. Set the database-schema-migration parameter to ENABLED.

  3. Submit the workflow to start the installation.

4.4. Verify

  1. Verify that the submitted workflow reaches the Succeeded state.

  2. Verify that an Installation Report is generated and published to the MES Installation Server.

5. Assess Installation Report

5.1. Description

After the workflow finishes, an Installation Report is generated and published to the MES Installation Server. This report provides a summary of the installation process and any issues encountered.

Installation Reports are generated for both installation and uninstall workflows. For details about the report contents, see Content of Installation Report.

Assess the Installation Report for a completed installation or uninstallation workflow. The assessment verifies that the workflow completed successfully, records warnings or errors, and confirms that the PAS-X MES system reached the expected state.

5.2. Prerequisites

  • The workflow execution must be completed.

  • The Installation Report must be generated and published to the MES Installation Server.

5.3. Steps

In the Installation Server UI:

  1. Browse the list of available Installation Reports.

  2. Select the report entry for the workflow execution that you want to assess.

  3. Download the PDF file.

5.4. Verify

  1. Verify that the Installation Report contains the overall result and the git configuration reference.

  2. Verify if the Installation Report contains any warnings or errors.

  3. Verify that the PAS-X MES system is in the expected state, as indicated in the Installation Report.