Oracle VM works in concert with Oracle OCFS2 to provide shared access to server pool resources residing in an OCFS2 file system. This shared access feature is crucial in the implementation of high availability (HA) for virtual machines running on x86 Oracle VM Servers that belong to a server pool with clustering enabled.
OCFS2 is a cluster file system developed by Oracle for Linux, which allows multiple nodes (Oracle VM Servers) to access the same disk at the same time. OCFS2, which provides both performance and HA, is used in many applications that are cluster-aware or that have a need for shared file system facilities. With Oracle VM, OCFS2 ensures that Oracle VM Servers belonging to the same server pool access and modify resources in the shared repositories in a controlled manner.
The OCFS2 software includes the core file system, which offers the standard file system interfaces and behavioral semantics and also includes a component which supports the shared disk cluster feature. The shared disk component resides mostly in the kernel and is referred to as the O2CB cluster stack. It includes:
- A disk heartbeat to detect live servers.
- A network heartbeat for communication between the nodes.
- A Distributed Lock Manager (DLM) which allows shared disk resources to be locked and released by the servers in the cluster.
When you create a server pool, you have a choice to activate the cluster function which offers these benefits:
- Shared access to the resources in the repositories accessible by all Oracle VM Servers in the cluster.
- Protection of virtual machines in the event of a failure of any Oracle VM Server in the server pool.
As Oracle VM Servers are added to a newly created server pool, Oracle VM:
- Selects a Master Oracle VM Server.
- Configures the Virtual IP address selected during pool creation as a virtual network interface on top of the management interface for the Master Oracle VM Server.
- Creates the cluster configuration file and the cluster time-out file.
- Pushes the configuration files to all Oracle VM Servers in the server pool.
- Starts the cluster.
/etc/ocfs2/cluster.conf
, and
the cluster time-out file is located at
/etc/sysconfig/o2cb
. Cluster timeout can be
configured during server pool creation.With this information in mind, the description provided in Section 6.8.1, “Clustering for x86 Server Pools” largely applies equally to clustering on SPARC, although the implementation does not use OCFS2.
No comments:
Post a Comment