Creating a clustered file system

The next step will be to configure a common mount point across all the nodes, mounted on the same storage. In order to simplify the examples given here, a single disk group containing all the disks and a single volume will be created. Depending on the application requirements the number of disk groups and volumes may vary.

The boot disk has been excluded from Volume Manger configuration, so the 5 available disks (vmdk0_1, vmdk0_2, vmdk0_3, vmdk0_4 and vmdk0_5) will be the ones added to the disk group. These are the steps:

To create a clustered file system

  1. Initialize the disks:

  2. Create a new disk group and add the disks.

  3. Verify the configuration. Note the DISK and GROUP information.

  4. Create a striped volume with the 5 disks available.

  5. Create a File System.

  6. Add the newly created file system to the cluster configuration. Given that this will be mounted by all the nodes at the same time, we will add it as a cluster resource, and commands cfsmntadm and cfsmount will be used.

  7. Finally, verify that the new directory is available in all the nodes by running the cfscluster status command or by verifying with df in each of the nodes.