1 create a gfs2 file system, 4 add a fence device – Avago Technologies Syncro 9361-8i User Manual
Page 28

Avago Technologies
- 28 -
Syncro CS 9361-8i and Syncro CS 9380-8e Solution User Guide
October 2014
Chapter 2: Creating the Cluster
Creating the Cluster in Red Hat Enterprise Linux (RHEL) and CentOS
2.3.3.1
Create a GFS2 File System
The GFS2 file system is a cluster file system that allows for shared storage access.
Perform the following steps to create a GFS2 file system.
1.
To apply this file system to the virtual drives created in the previous procedure, enter the following command:
mkfs.gfs2 -p lock_dlm -t ClusterName:FSName -j NumberJournals BlockDevice
For example, using the virtual drive created in the previous step, the result is as follows:
mkfs.gfs2 -p lock_dlm -t YOUR_CLUSTER_NAME:V1 -j 3 /dev/mr_v1/v0.
2.
Create mount points from each server node.
For example, you can create a mount point by entering the following command:
/root/mnt/vol1
.
2.3.4
Add a Fence Device
Fencing ensures data integrity on the shared storage file system by removing any problematic nodes from the
cluster before the node compromises a shared resource. The system is powered down so it does not attempt to
write to the storage device.
Perform the following steps to add a Fence Device.
1.
Select the Fence Device > Add on the Cluster Management window.
The Add Fence Device dialog appears, as shown in the following figure.
2.
Select SCSI Reservation Fencing.
3.
Return to the Nodes tab on the Cluster Management window, and then perform the following steps for both
nodes.
4.
Select a cluster node name.
5.
In the section for Fencing Devices, select Add Fence Method > Submit.
6.
Select Add Fence Instance > Choose Fence Devices.
7.
Select Create > Submit.
Figure 15 Add Fence Device Window