The Oracle® Cluster File System (OCFS2) is the file system used for setting up the Oracle® VM Server (OVS) repository partition for shared disk access across all your OVM Server nodes. OCFS2 uses a heartbeat mechanism across all your OVM nodes via the network to maintain data consistency.

In order to setup your OCFS2 repository, the setup of the o2cb cluster service must be done on all your OVM Servers. From each node, run the following setup script using the command and insert the following inputs:

service o2cb configure

Load O2CB driver on boot (y/n) [y]: y
Cluster stack backing O2CB [o2cb]: o2cb
Cluster to start on boot (Enter “none” to clear) [ocfs2]: ocfs2
Specify heartbeat dead threshold (>=7) [100]: 100
Specify network idle timeout in ms (>=5000) [30000]: 30000
Specify network keepalive delay in ms (>=1000) [2000]: 2000
Specify network reconnect delay in ms (>=2000) [2000]: 2000