In my previous post, I described SAP ASE with HA Option. SAP ASE with HA Option provides enhancements as compared to vendor failover solutions. In this post, I will present another Business Continuity solution which offers additional enhancements and features: SAP ASE Cluster Edition.
SAP ASE Cluster Edition is a comprehensive High Availability solution. It was designed to overcome some limitations of other HA solutions (vendor failover, SAP ASE with HA option) and to provide additional Business Continuity features. I will dedicate several posts to SAP ASE Cluster Edition as there are interesting features to cover. I shall begin with a general overview of SAP ASE Cluster Edition.
Overview.
SAP ASE Cluster Edition allows you to configure multiple Adaptive Servers to run as a shared-disk cluster. Multiple machines connect to a shared set of disks and a high-speed private interconnection (for example, a gigabit ethernet), allowing Adaptive Server to “scale” using multiple physical and logical hosts.
In the cluster environment, each machine is referred to as a node and each Adaptive Server as an instance. Connected instances form a cluster, working together to manage a single set of databases on the shared disks. In each case, the instances present as a single system, with all data accessible from any instance.
The first purpose of ASE CE is a High Availability solution and it must not be considered as a pure performance scale-out solution.
Main features of SAP ASE Cluster Edition are:
Availability.
SAP ASE has 2 editions: regular (or nonclustered) SAP ASE and SAP ASE Cluster Edition. It is the same database server engine with the same SQL features, but different executables. SAP ASE Cluster Edition has built-in High Availability features. SAP ASE Cluster Edition is generally available since SAP ASE version 15.0. It is available with SAP ASE 15.7 on following UNIX platforms:
Note that SAP ASE Cluster Edition is not available for following contexts:
Terms.
SAP ASE Cluster Edition uses some terms previously defined for failover clusters (node, …). It has following additional specific terms.
Shared Disk Cluster:
SAP ASE Cluster Edition is a shared disk cluster. Data is hosted on a shared-disk storage. All members of the shared-disk cluster are able to access the shared-disk storage simultaneously. This differs from failover database cluster solution where only one node can access data.
Instances:
An instance is a database server. It is a member of the database cluster. Instances are usually hosted on different physical nodes.
Cluster coordinator.
The cluster coordinator is a particular instance of the shared-disk cluster. It handles specific tasks related to membership management and recovery. Any instance attempting to join an existing cluster first contacts the cluster coordinator. There are no start-up parameters to indicate that a particular instance is the cluster coordinator.
Public network:
Applications, clients connect to the cluster via a public network.
Private network:
Members of the shared-disk cluster rely on a high speed private network for their operations. Private network is used by members of the shared-disk cluster to internally check the states of other nodes and to exchange cluster information (for instance locking information).
Quorum device:
SAP ASE Cluster Edition has its own clusterware. It relies on a specific disk device named quorum device to hold cluster configuration, states of the instances and coordinate cluster instances. As shared data devices, the quorum device must be located on a shared disk storage in order to be accessible by all the nodes of the shared-disk cluster.
Logical cluster:
SAP ASE Cluster Edition has the ability to group its instances into logical clusters. A logical cluster is a subdivision of the global cluster. For instance, assume that we have defined a shared disk-cluster with 4 instances (ASE1 to ASE4). We can define 2 logical clusters (LOGICAL_CLUSTER_HR and LOGICAL_CLUSTER_FINACE) and associate them to particular instances : LOGICAL_CLUSTER_HR with ASE1, ASE2 and LOGICAL_CLUSTER_FINANCE with ASE3, SASE4. The purpose of logical cluster feature is to route client applications to prefered instances.
Key components and normal operations.
Diagram below depicts the main components of a shared-disk cluster architecture. It shows a shared-disk cluster named “mycluster” formed by 4 instances.
I will describe the components of each layer from the top to the bottom:
Failure management.
Diagram below depicts the behaviour in case of a failure of an instance or a node. ASE CE 15.5 and later is able to handle multiple simultaneous failures.
Here instance ASE1 (or physical node node1) is down. Following happens:
Conclusion.
We only scratched the surface of ASE Cluster Edition. In my next post I will present the installation setup and advanced features of shared-disk cluster like logical clusters and connections redirections.
References:
[1] “SAP Sybase Adaptive Server Enterprise Getting Started with the Sybase Database and the SAP System” http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0040e969-b4a1-2f10-998d-e0eeec6fb...
[2] SAP Note 1650511 SYB: High Availability Offerings with SAP ASE
[3] “Clusters Users Guide Adaptive Server® Enterprise 15.7” - DOCUMENT ID: DC00768-01-1570-01 LAST REVISED: Feburary 2012
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc00768.1570/pdf/ase_ce_ug.pdf
[4] "jConnect for JDBC 7.0 Programmers Reference > Programming Information > Working with database s > Implementing high availability failover support" - Chapter 2: Programming Information /Implementing failover in jConnect http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc39001.0700/html/prjdbc0700/x39002.htm
---
Stay in the conversation by following SAP Services on SCN
Check our Database Services Content Library
Follow along throughout the event on Twitter at @SAPServices