My Oracle Support Banner

How to Add a New OCFS2 Node to an Online Cluster (Doc ID 761020.1)

Last updated on JULY 03, 2023

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version 1.2.5-1 and later
Linux x86-64
Linux x86
Linux Kernel - Version: 1.2.5-1 to 1.2.9-1


Goal

This document provides an example of steps to add a new ocfs2 node to a cluster without having to offline it to other nodes. It also provides troubleshooting tips.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1 Preparation job
 1.1 Check 'Max Node Slots' of the current ocfs2 volume
 1.2 Check ocfs2 status on the online nodes rac1,rac2
 1.3 Check /etc/ocfs2/cluster.conf on the online nodes
 1.4 Check if the new node rac3 already exists in the online ocfs2 cluster
 2 Add the new node to the online ocfs2 cluster
 2.1 Run command o2cb_ctl to add the node rac3 to the online ocfs2 cluster
 2.2 Check the in-memory filesystems configfs to see if  node rac3 has been added
 3 Jobs on the new node rac3
 3.1 scp the new created file /etc/ocfs2/cluster.conf to new node rac3
 3.2 Start o2cb service on new node rac3
 3.3 Mount the ocfs2 volumes on new node rac3
 4 Troubleshooting
 4.1 Issue of 'o2cb_ctl reports 'Node "rac3" already exists''
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.