Red Hat Cluster Suite: Configuring and Managing a Cluster | ||
---|---|---|
Prev | Chapter 6. Network File Sharing Services | Next |
The Bulk Load NFS feature allows you to import all the entries from an /etc/exports file without having to create the entries individually as children of a device. This can be convenient for administrators who are transitioning from traditional NFS server systems to a high-availability cluster. To use the Bulk Load NFS feature, follow these steps:
Stop all non-clustered NFS exports (for example, /sbin/service nfs stop).
Unmount the file systems on which the exports reside (for example, /bin/umount /mnt/nfs/, where /mnt/nfs is the directory on which the NFS exported partitions are mounted).
Start the Cluster Configuration Tool.
On the Services tab, select the device(s) to be loaded by the /etc/exports file.
Choose File => Bulk Load NFS.
Select the exports file that you want to load into the selected device (by default, the Bulk Load NFS dialog attempts to load /etc/exports), and click OK.
All entries in the file specified in the Bulk Load NFS dialog box are subjected to the same validation as when an NFS export directory is manually specified. Any entries in the imported file that fail validation are displayed in a message box. Only entries that pass validation are loaded into the selected device.
If the bulk load successfully completed, you must then remove all exports from the /etc/exports file so that it does not affect the cluster NFS services.
Choose File => Save to save the change to the /etc/cluster.xml configuration file.