Installing the Cluster Software

This task shows you how to install OCFS2. For greatest efficiency, use the same version of OCFS2 and a compatible UEK release on all cluster nodes. In a rolling update of a cluster, the nodes can have different versions of OCFS2 and UEK. When this is the case, the cluster node running the earliest version sets the usable features of the software for the entire cluster.

For a tutorial on how to configure OCFS2, see Use Oracle Cluster File System Tools on Oracle Linux.

Important:

Perform the following procedure on each cluster node.
  1. Check which version of the kernel the node is running.
    uname -r

    If required, update each node to ensure that all nodes are running the same kernel version.

  2. Install the OCFS2 packages.
    sudo dnf install -y ocfs2-tools
  3. Configure the firewall.

    Configure the firewall to provide access on the interface that the cluster uses for private cluster communication.

    By default, the cluster uses both TCP and UDP over port 7777.

    sudo firewall-cmd --permanent --add-port=7777/tcp --add-port=7777/udp
  4. Disable SELinux.

    Edit the /etc/selinux/config file to disable SELinux, by entering the setting shown in bold:

    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled