3.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. 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 . Click Add a Resource . Clicking Add a Resource causes the Add a Resource page to be displayed. 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. Click Submit . Clicking Submit causes a progress page to be displayed followed by the display of Resources for cluster name page. That page displays the added resource (and other resources).

Commands: