Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

3.8. Adding Cluster Resources

download PDF
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).
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.