[Linux-cluster] Help with cluster.conf

Ben Yarwood ben.yarwood at juno.co.uk
Mon Jun 16 09:49:56 UTC 2008

I'm not sure how to craft a service in my RHEL4 cluster.conf for the following:

I have 4 gfs file systems that I "combine" for use as one larger file system, joining them together using symlinks in another
directory.  The reason for this is size limitations with the 32bit OS we use and also they all contain a very large number of files.

I want to export this resulting combined file system using nfs.  This is a snippet of what I have so far in my cluster.conf, the
four file systems are all mounted in slightly different directories but the directory I want to export is a fifth one
"/mnt/encoded/audio/wav".  I need to somehow reflect this directory in the configuration so the nfs export knows what to export but
make sure the resource manager will not try to mount and unmount the directory as it's not an fs.

Any ideas would be appreciated?



   <clusterfs fstype="gfs" name="wavfs-0" mountpoint="/mnt/encoded/audio/wav-0" device="/dev/mapper/shared_disk-wav--0" options=""/>
   <clusterfs fstype="gfs" name="wavfs-4" mountpoint="/mnt/encoded/audio/wav-4" device="/dev/mapper/shared_disk-wav--4" options=""/>

   <clusterfs fstype="gfs" name="wavfs-8" mountpoint="/mnt/encoded/audio/wav-8" device="/dev/mapper/shared_disk-wav--8" options=""/>

   <clusterfs fstype="gfs" name="wavfs-C" mountpoint="/mnt/encoded/audio/wav-C" device="/dev/mapper/shared_disk-wav--C" options=""/>

   <nfsexport name="NFSexports"/>
   <nfsclient name="dmz" target="" options="ro,sync"/>
   <nfsclient name="data" target="" options="rw,sync,no_root_squash"/>
   <nfsclient name="web" target="" options="ro,sync"/>     


   <service name="wav" domain="a-priority">
      <ip address="" monitor_link="no"/>
      <ip address="" monitor_link="no"/>
      <clusterfs ref="wavfs-0"/>
      <clusterfs ref="wavfs-4"/>                        
	<clusterfs ref="wavfs-8"/>                        
	<clusterfs ref="wavfs-C"/>

      .... I need to include something here to tell nfs what to export! ....
      .... Along the lines of export directory /mnt/encoded/audio/wav ....
         <nfsexport ref="NFSexports">
            <nfsclient ref="dmz"/>
            <nfsclient ref="data"/>                                        
            <nfsclient ref="web"/>
	..... And close it here .... 


More information about the Linux-cluster mailing list