beautypg.com

Avago Technologies Syncro CS 9271-8i User Manual

Page 31

background image

LSI Corporation

- 31 -

Syncro CS 9271-8i Solution User Guide
October 2013

Chapter 3: Creating the Cluster

Creating the Cluster in Red Hat Enterprise Linux (RHEL)

4.

Create a virtual drive volume from the volume group of size X (gigabytes) by entering the following command:

lvcreate --size XXXG vol_grp0

Best Practice: Use the command vgdisplay to display X size information for 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

Section 3.4.2,

Creating the Cluster

.

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.