Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

Active-Passive (Cold) Failover Configuration

Introduction

An active-passive cluster consists of at least two independent server nodes. The primary server node performs all operations. A secondary node acts as a so called "standby system."
In case of a system failure of the primary node, the cluster software fails over automatically to the standby server node, which starts the processes and resumes the work of the primary server node. Cluster groups are only active on one server node at the same time.

Failover is referred to as the process of an unplanned switchover from a primary server to a standby server system in case of a system fail of the primary server node. Unlike a switchover, a failover is performed automatically by the cluster software. Some cluster software, such as Microsoft Cluster Service, also provides an option for manual failover used for testing purposes.

For more information regarding High Availability on SAP systems, please consult High Availability - Frequently Asked Questions.

Prerequisites

  • You should have created a HANA Streaming project in HANA Studio
  • The “System” connected to must have at least two SDS nodes already installed

Configuration via HANA Studio

     1. In the HANA Streaming Development perspective in HANA Studio, under the “Project Explorer” tab on the left side, expand your project.

     2. Open <project-name>.ccr by double clicking it. This will open the “Project Configurations” window.

    

     3. With the “Project Configurations” window open, navigate to the “Advanced” tab.

     4. Expand the “Project Deployment (Non-HA)” advanced configuration and click “Instance” to view the “Instance Details”.

     5. To enable Failover, select “enable” from the Failover dropdown menu.

     6. With Failover enabled, it is now possible to set FailureInterval and FailuresPerInterval according to your needs. The following table (source) describes the Instance Details fields in detail.

Note: If the Failure interval and Failures per interval fields are still disabled (greyed out and not editable), close the <project>.ccr tab and reopen it.












Table 1. Instance Details

Field

Description

Failover

Valid values are enabled or disabled. When disabled, project failover restarts are not permitted. When enabled, failure interval and failures per interval fields can be accessed.

Failures per interval

Specifies the number of restarts the project can attempt within a given interval. This count resets to zero if you restart the project manually, or if failures are dropped from the list because they are older than the size of the interval.

Failure interval

(Optional) Specifies the time, in seconds, of an interval. If unspecified, the interval time is infinite.