This checklist will help you to improve the design, migration, implementation, and maintenance of high availability for SAP HANA and SAP NetWeaver landscapes on Google Cloud.
As you go through the checklist, take into account your own business needs. If you make choices that differ from what we've recommended, keep track of those differences for later tasks in the checklist.
- To understand how to implement or maintain a high-availability SAP HANA system on Google Cloud, see the SAP HANA high-availability planning guide.
- To provide protection against unplanned outages (such as hardware failure), we strongly recommend that you use OS-based software clustering.
To allow quick restart of your SAP HANA 2.0 SP04 or later system in case of a process failure or for software maintenance that doesn't require a VM reboot, enable the SAP HANA Fast Restart option. We strongly recommend that you enable the Fast Restart option for Compute Engine memory-optimized machines types, such as the M1, M2, or M3 machine types. For more information from SAP about SAP HANA Fast Restart, see SAP HANA Fast Restart option.
For more information about how to enable Fast Restart, see the configuration guide for your Linux distribution:
To allow SAP HANA to send out notifications for certain events and improve failure detection, enable the SAP HANA HA/DR provider hook.
For more information about how to enable SAP HANA HA/DR provider hook, see the configuration guide for your Linux distribution:
If you do not use a cluster automation solution (such as Pacemaker), define and test your recovery procedures and playbook.
When using Pacemaker:
In the
totem
section of thecorosync.conf
configuration file, use the parameter values that Google Cloud recommends. If you are configuring a new high-availability cluster, you need to change some default values. For more information about recommended values of Corosync configuration parameters, see Corosync configuration parameter values.For more information about how to modify the default values in
corosync.conf
configuration file, see the configuration guide for your Linux distribution:When you configure the cluster resource for your fencing device, be sure to set the timeout and monitoring intervals and a restart delay for Corosync as recommended by Google Cloud. For more information about how to set up fencing, see the configuration guide for your Linux distribution:
Define a virtual IP address (VIP) that uses an internal passthrough Network Load Balancer. If you do not use the automation provided by Google Cloud to set up this configuration, ensure that you reserve this VIP address to avoid it from being reused accidentally.
Create a configuration that follows the standard guidelines for RHEL and SLES.
For testing purposes, create a non-production HA system that is equivalent to your production environment.
- To view the supported SAP configurations for high availability, see SAP Note 2456432 - SAP Applications on Google Cloud: Supported Products and Google Cloud machine types .
On SUSE Linux Enterprise Server (SLES) or Red Hat Enterprise Linux (RHEL), the Pacemaker cluster application provides you with the resources to configure your SAP applications in a high-availability configuration. When using Pacemaker:
In the
totem
section of thecorosync.conf
configuration file, use the parameter values that Google Cloud recommends. If you are configuring a new high-availability cluster, you need to change some default values.For more information about how to modify the default values in
corosync.conf
configuration file, see the configuration guide for your Linux distribution:When you configure the cluster resource for your fencing device, be sure to set the timeout and monitoring intervals and a restart delay for Corosync as recommended by Google Cloud. For more information on how to set up fencing, see the configuration guide for your Linux distribution:
For the RHEL and SLES operating systems, use an internal passthrough Network Load Balancer to manage the virtual IP (VIP) address. The Load Balancer provides a highly available service and creates a floating VIP that can direct traffic between VMs in a cluster.
Create a configuration that follows the standard guidelines for RHEL and SLES.
For Windows-based environments, the Windows native failover cluster feature provides high availability. For more information, see the following Windows OS resources:
If your landscape has VM instances that host multiple SAP systems with different system IDs, follow these high availability (HA) recommendations:
To provide high availability for SAP central services and database systems, configure high-availability mode by using one of Google Cloud's supported HA methods. See the High-availability planning guide for SAP NetWeaver or the SAP HANA high-availability planning guide.
To provide high availability for an IBM Db2 high-availability cluster in an SAP NetWeaver system, see the IBM Db2 high-availability cluster for SAP deployment guide.
To avoid associated complexities, do not run multiple software solutions in the same HA cluster. Instead, deploy software in the HA cluster (for example, SAP central services) on separate VMs that you've sized properly.
- Do not use different types of clustering software to manage resources on the same VM. The two cluster solutions might conflict with each other and could result in unexpected behavior.
- If you set up multiple services from different SAP
system IDs on the same high-availability VM cluster:
- The increased complexity hampers troubleshooting and recovery significantly.
- If a failure occurs, multiple systems can be impacted. Distributing resources reduces the extent of this impact.
If you choose a third-party failover solution for your SAP central services, document the setup and test it thoroughly.
For testing and rollout purposes, we recommend that you create a non-production HA system that is equivalent to your production environment.
- Although this might not be required by the business, you can use this test HA system to validate failover and maintenance procedures, perform extensive testing, and document the system for operational reference.
If you implement a standalone instance of SAP central services without high availability, make sure you document your manual procedure for the restore process and test it thoroughly.
- Note: SAP NetWeaver systems lacking high availability often result in longer service restoration times and unpredictable outages.
- Live migration and high-availability clusters:
- Enable Compute Engine Live Migration instance policies on your VM instances.
- Simulate a Live Migration maintenance event to assess the impact of Live Migration to your active workloads and high availability configuration.
- For more information about Live Migration, see Live Migration.
- Enable Compute Engine automatic restart instance policies on your VM instances.
- To ensure you've configured adequate cluster failover thresholds, see Testing your availability policies.