To specify a device for a cluster service, follow these steps:
On the Resources property of the Cluster Configuration Tool, click the Create a Resource button. Clicking the Create a Resource button causes the Resource Configuration dialog box to be displayed.
At the Resource Configuration dialog box, under Select a Resource Type, click the drop-down box. At the drop-down box, select a resource to configure. The resource options are described as follows:
Name — Create a name for the file system resource.
Mount Point — Choose the path to which the file system resource is mounted.
Device — Specify the device file associated with the file system resource.
Options — Mount options.
File System ID — When creating a new file system resource, you can leave this field blank. Leaving the field blank causes a file system ID to be assigned automatically after you click OK at the Resource Configuration dialog box. If you need to assign a file system ID explicitly, specify it in this field.
Force Unmount checkbox — If checked, forces the file system to unmount. The default setting is unchecked. Force Unmount kills all processes using the mount point to free up the mount when it tries to unmount. With GFS resources, the mount point is not unmounted at service tear-down unless this box is checked.
Name — Create a name for the file system resource.
File System Type — Choose the file system for the resource using the drop-down menu.
Mount Point — Choose the path to which the file system resource is mounted.
Device — Specify the device file associated with the file system resource.
Options — Mount options.
File System ID — When creating a new file system resource, you can leave this field blank. Leaving the field blank causes a file system ID to be assigned automatically after you click OK at the Resource Configuration dialog box. If you need to assign a file system ID explicitly, specify it in this field.
Checkboxes — Specify mount and unmount actions when a service is stopped (for example, when disabling or relocating a service):
Force unmount — If checked, forces the file system to unmount. The default setting is unchecked. Force Unmount kills all processes using the mount point to free up the mount when it tries to unmount.
Reboot host node if unmount fails — If checked, reboots the node if unmounting this file system fails. The default setting is unchecked.
Check file system before mounting — If checked, causes fsck to be run on the file system before mounting it. The default setting is unchecked.
IP Address — Type the IP address for the resource.
Monitor Link checkbox — Check the box to enable or disable link status monitoring of the IP address resource
Name — Create a symbolic name for the NFS mount.
Mount Point — Choose the path to which the file system resource is mounted.
Host — Specify the NFS server name.
Export Path — NFS export on the server.
NFS and NFS4 options — Specify NFS protocol:
NFS — Specifies using NFSv3 protocol. The default setting is NFS.
NFS4 — Specifies using NFSv4 protocol.
Options — Mount options. For more information, refer to the nfs(5) man page.
Force Unmount checkbox — If checked, forces the file system to unmount. The default setting is unchecked. Force Unmount kills all processes using the mount point to free up the mount when it tries to unmount.
Name — Enter a name for the NFS client resource.
Target — Enter a target for the NFS client resource. Supported targets are hostnames, IP addresses (with wild-card support), and netgroups.
Read-Write and Read Only options — Specify the type of access rights for this NFS client resource:
Read-Write — Specifies that the NFS client has read-write access. The default setting is Read-Write.
Read Only — Specifies that the NFS client has read-only access.
Options — Additional client access rights. For more information, refer to the exports(5) man page, General Options
Name — Enter a name for the NFS export resource.
Name — Enter a name for the custom user script.
File (with path) — Enter the path where this custom script is located (for example, /etc/init.d/userscript)
Name — Enter a name for the Samba server.
Workgroup — Enter the Windows workgroup name or Windows NT domain of the Samba service.
When creating or editing a cluster service, connect a Samba-service resource directly to the service, not to a resource within a service. That is, at the Service Management dialog box, use either Create a new resource for this service or Add a Shared Resource to this service; do not use Attach a new Private Resource to the Selection or Attach a Shared Resource to the selection.
When finished, click OK.
Choose File => Save to save the change to the /etc/cluster/cluster.conf configuration file.