Oracle Database can be configured in two basic ways: as a single instance (SI) database (non-cluster) or a Real Application Clusters (RAC) database. A single instance database has the Oracle software, database files, memory, and processes on one server. (link to database technical architecture diagram). A single-instance database has a one-to-one relationship between the instance (memory and processes) and the database (database files). Oracle RAC environments, however, have a one-to-many relationship between the database and instances. An Oracle RAC database can have up to 100 instances, all of which access one database. All the servers for a single database in the Oracle RAC environment must belong to the same Oracle Real Application Cluster.
Fig 1.1: Real Application Clusters (RAC) Overview
All application clusters have some common features, each cluster has Grid Infrastructure (GI) installed locally on each node. Grid Infrastructure includes several products: Automatic Storage Management, Oracle Clusterware, and others.
Each instance in an Oracle RAC cluster accesses the database files stored on shared storage. Each Node is also available and requires local storage that is used to store GI software and Oracle databases.
Each node needs at least a public interface and a private interface. Each network may use multiple network interface cards to increase bandwidth, availability, or fault tolerance. Oracle Corp. recommends that each network use multiple network interface cards (NICs) per node and multiple network switches in each network to avoid a single point of failure.
A cluster consists of several connected computers or servers that appear as they are a single server to end users and applications. Oracle RAC has an Oracle database option that allows you to connect to Oracle databases. Oracle RAC uses Oracle Clusterware for infrastructure to connect multiple servers together to work as one system
What is Oracle Real Application Clusters
- Multiple instances of accessing the same database
- One instance per node
- Physical or logical access to each database file
- Software-controlled data access
- Multiple instances have the same OS, the same database version, and the same network with shared storage.
• LMD0: Global Enqueue Service Daemon
• LMSx: Global Cache Service Processes, where x can range from 0 to j
• LCK0: Lock process
The first Oracle cluster database was released with Oracle 6 for the digital VAX, this was the first cluster database on the market. With Oracle 6.2 Oracle Parallel Server (OPS) was born, which used Oracle's own DLM (Distributed Lock Manager). Oracle 7 used vendor-supplied clusterware but this was complex to set up and manage, Oracle 8 introduced a general lock manager and this was a direction for Oracle to create its own clusterware product. Oracle's lock manager is integrated with Oracle code with an additional layer called OSD (Operating System Dependent), this was soon integrated within the kernel and became known as IDLM (Integrated Distributed Lock Manager) in later Oracle versions. Oracle Real Application Clusters 9i (Oracle RAC) used the same IDLM and relied on external clusterware software (Sun Cluster, Veritas Cluster, etc).
No comments:
Post a Comment