2.8. Adding Cluster Resources

2.8. Adding Cluster Resources

To add a cluster resource, follow the steps in this section. The starting point of the procedure is at the cluster-specific page that you navigate to from Choose a cluster to administer displayed on the cluster tab.

  1. At the detailed menu for the cluster (below the clusters menu), click Resources. Clicking Resources causes the display of resources in the center of the page and causes the display of menu items for resource configuration: Add a Resource and Configure a Resource.

  2. Click Add a Resource. Clicking Add a Resource causes the Add a Resource page to be displayed.

  3. At the Add a Resource page, click the drop-down box under Select a Resource Type and select the type of resource to configure. The resource options are described as follows:

    GFS

    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 Submit at the File System 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.

    File System

    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. system.

    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 Submit at the File System 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

    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

    NFS Mount

    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 version — Specify NFS protocol:

    • NFS3 — 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.

    NFS Client

    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.

    Options — Additional client access rights. For more information, refer to the exports(5) man page, General Options

    NFS Export

    Name — Enter a name for the NFS export resource.

    Script

    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)

    Samba Service

    Name — Enter a name for the Samba server.

    Workgroup — 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 service, not to a resource within a service.

  4. Click Submit. Clicking Submit causes a progress page to be displayed followed by the display of Resources forcluster name page. That page displays the added resource (and other resources).


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-4 because CentOS-4 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-4 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.