Avago Technologies Syncro CS 9286-8e User Manual
Page 33
Avago Technologies
- 33 -
Syncro CS 9286-8e Solution User Guide
November 2014
Chapter 3: Creating the Cluster
Creating the Cluster in Red Hat Enterprise Linux (RHEL)
8.
Select the check box for the Enable Share Storage Support option.
9.
Click Create Cluster to complete.
3.4.3
Configure the Logical Volumes and Apply GFS2 File System
Perform the following steps to create a virtual drive volume that can be managed by the Linux kernel Logical Volume
Manager. All of the commands in the following procedure are entered in the command line prompt.
1.
Create a virtual drive with Shared access policy based on the steps defined in
2.
Create a physical volume label for use with LVM by entering the following command:
pvcreate /dev/sdb
3.
Create a volume group (vol_grp0) and map /dev/sdb to the volume group by entering the following command:
create vol_grp0 /dev/sdb
4.
Create a virtual drive volume from the volume group of size X (gigabytes) by entering the following command:
lvcreate --size XXXG vol_grp0
NOTE
Best Practice: Use the command vgdisplay to display X size
information of the volume group.
The system now has the following device file (BlockDevice): /dev/vol_grp0/lvol0. The GFS2 file system is a
cluster file system that allows for shared storage access.
NOTE
The Cluster Name is the name that you specified in
5.
Perform the following step to apply this file system to the virtual drives created in the previous step.
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:
mkfs.gfs2 -p lock_dlm -t YOUR_CLUSTER_NAME:V1 -j 2 /dev/vol_grp0/lvol0.
6.
Create mount points from each server node.
For example, you can create a mount point by entering the following command: /root/mnt/vol1.