Questo contenuto non è disponibile nella lingua selezionata.

Chapter 8. Maintenance procedures


You must apply specific steps to ensure that the cluster does not cause unplanned impact so that you can perform maintenance of different components of SAP HA environments.

Use maintenance procedures to keep your cluster in a healthy state during planned change activity or to restore the health after unplanned incidents.

8.1. Cleaning up the failure history

Clear any failure notifications from the cluster that may be there from previous testing. This resets the failure counters and the migration thresholds.

Procedure

  1. Clean up resource failures:

    [root]# pcs resource cleanup
    Copy to Clipboard Toggle word wrap
  2. Clean up the STONITH failure history:

    [root]# pcs stonith history cleanup
    Copy to Clipboard Toggle word wrap

Verification

  1. Check the overall cluster status and confirm that no failures are displayed anymore:

    [root]# pcs status --full
    Copy to Clipboard Toggle word wrap
  2. Check that the stonith history for fencing actions has 0 events:
[root]# pcs stonith history
Copy to Clipboard Toggle word wrap

8.2. Moving an instance to a different cluster node

You can either use the cluster control or SAP tools to move an application server instance to a different node.

Use one of the following sequence of steps and apply it to the application server instance you want to move:

8.3. Updating the operating system and HA cluster components

For updates or offline changes on the HA cluster, the operating system or even the system hardware, you must follow the Recommended Practices for Applying Software Updates to a RHEL High Availability or Resilient Storage Cluster.

8.4. Performing maintenance on the SAP HANA instances

For any kind of maintenance of applications or other components that the HA cluster manages, you must enable the cluster maintenance mode to prevent the cluster from any interference during the maintenance.

During the update of your application server instances the cluster remains running, but is not actively monitoring resources or taking any actions.

Prerequisites

  • You have configured the Pacemaker cluster to manage SAP application server instances.

Procedure

  1. Set maintenance mode for the entire cluster:

    [root]# pcs property set maintenance-mode=true
    Copy to Clipboard Toggle word wrap

    Setting maintenance for the whole cluster ensures that no activity during the maintenance phase can trigger cluster actions and impact the sap instance update process.

  2. Verify that the cluster resource management is fully disabled:

    [root]# pcs status
    ...
    
                  *** Resource management is DISABLED ***
      The cluster will not attempt to start, stop or recover services
    ...
    Copy to Clipboard Toggle word wrap
  3. Perform the required maintenance on the application server instances using the SAP procedure.
  4. Remove the maintenance mode of the cluster again:

    [root]# pcs property set maintenance-mode=
    Copy to Clipboard Toggle word wrap
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat