Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
5.7. Adding Cluster Resources
To specify a device for a cluster service, follow these steps:
- On the property of the Cluster Configuration Tool, click the button. Clicking the button causes the Resource Configuration dialog box to be displayed.
- At the Resource Configuration dialog box, under , click the drop-down box. At the drop-down box, select a resource to configure. The resource options are described as follows:
- GFS
- — Create a name for the file system resource.— Choose the path to which the file system resource is mounted.— Specify the device file associated with the file system resource.— Mount options.— 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 at the Resource Configuration dialog box. If you need to assign a file system ID explicitly, specify it in this field.checkbox — If checked, forces the file system to unmount. The default setting is unchecked. 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.
- File System
- — Create a name for the file system resource.— Choose the file system for the resource using the drop-down menu.— Choose the path to which the file system resource is mounted.— Specify the device file associated with the file system resource.— Mount options.— 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 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):
- — If checked, forces the file system to unmount. The default setting is unchecked. kills all processes using the mount point to free up the mount when it tries to unmount.
- — If checked, reboots the node if unmounting this file system fails. The default setting is unchecked.
- — If checked, causes
fsckto be run on the file system before mounting it. The default setting is unchecked.
- IP Address
- — Type the IP address for the resource.checkbox — Check the box to enable or disable link status monitoring of the IP address resource
- NFS Mount
- — Create a symbolic name for the NFS mount.— Choose the path to which the file system resource is mounted.— Specify the NFS server name.— NFS export on the server.and options — Specify NFS protocol:
- — Specifies using NFSv3 protocol. The default setting is .
- — Specifies using NFSv4 protocol.
— Mount options. For more information, refer to the nfs(5) man page.checkbox — If checked, forces the file system to unmount. The default setting is unchecked. kills all processes using the mount point to free up the mount when it tries to unmount. - NFS Client
- — Enter a name for the NFS client resource.— Enter a target for the NFS client resource. Supported targets are hostnames, IP addresses (with wild-card support), and netgroups.and options — Specify the type of access rights for this NFS client resource:
- — Specifies that the NFS client has read-write access. The default setting is .
- — Specifies that the NFS client has read-only access.
— Additional client access rights. For more information, refer to the exports(5) man page, General Options - NFS Export
- — Enter a name for the NFS export resource.
- Script
- — Enter a name for the custom user script.— Enter the path where this custom script is located (for example,
/etc/init.d/userscript) - Samba Service
- — Enter a name for the Samba server.— Enter the Windows workgroup name or Windows NT domain of the Samba service.
Note
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 or ; do not use or .
- When finished, click .
- Choose => to save the change to the
/etc/cluster/cluster.confconfiguration file.