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 Copia collegamentoCollegamento copiato negli appunti!
Clear any failure notifications from the cluster that may be there from previous testing. This resets the failure counters and the migration thresholds.
Procedure
Clean up resource failures:
pcs resource cleanup
[root]# pcs resource cleanup
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Clean up the STONITH failure history:
pcs stonith history cleanup
[root]# pcs stonith history cleanup
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Check the overall cluster status and confirm that no failures are displayed anymore:
pcs status --full
[root]# pcs status --full
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Check that the stonith history for fencing actions has 0 events:
pcs stonith history
[root]# pcs stonith history
8.2. Moving an instance to a different cluster node Copia collegamentoCollegamento copiato negli appunti!
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 Copia collegamentoCollegamento copiato negli appunti!
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 Copia collegamentoCollegamento copiato negli appunti!
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
Set
maintenance
mode for the entire cluster:pcs property set maintenance-mode=true
[root]# pcs property set maintenance-mode=true
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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.
Verify that the cluster resource management is fully disabled:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Perform the required maintenance on the application server instances using the SAP procedure.
Remove the maintenance mode of the cluster again:
pcs property set maintenance-mode=
[root]# pcs property set maintenance-mode=
Copy to Clipboard Copied! Toggle word wrap Toggle overflow