Appendix C. HA Resource Parameters

Appendix C. HA Resource Parameters

This appendix provides descriptions of HA resource parameters. You can configure the parameters with Luci, system-config-cluster, or by editing etc/cluster/cluster.conf. Table C.1, “HA Resource Summary” lists the resources, their corresponding resource agents, and references to other tables containing parameter descriptions. To understand resource agents in more detail you can view them in /usr/share/cluster of any cluster node.

Resource Resource Agent Reference to Parameter Description
Apache apache.sh Table C.2, “Apache Server”
File System fs.sh Table C.3, “File System”
GFS File System clusterfs.sh Table C.4, “GFS”
IP Address ip.sh Table C.5, “IP Address”
LVM lvm.sh Table C.6, “LVM”
MySQL mysql.sh Table C.7, “MySQL®”
NFS Client nfsclient.sh Table C.8, “NFS Client”
NFS Export nfsexport.sh Table C.9, “NFS Export”
NFS Mount netfs.sh Table C.10, “NFS Mount”
Open LDAP openldap.sh Table C.11, “Open LDAP”
Oracle 10g oracledb.sh Table C.12, “Oracle® 10g”
PostgreSQL 8 postgres-8.sh Table C.13, “PostgreSQL 8”
SAP Database SAPDatabase Table C.14, “SAP® Database”
SAP Instance SAPInstance Table C.15, “SAP® Instance”
Samba smb.sh Table C.16, “Samba Service”
Script script.sh Table C.17, “Script”
Service service.sh Table C.18, “Service”
Sybase ASE ASEHAagent.sh Table C.19, “Sybase® ASE Failover Instance”
Tomcat 5 tomcat-5.sh Table C.20, “Tomcat 5”
Virtual Machine vm.sh Table C.21, “Virtual Machine”

NOTE: Luci displays this as a virtual service if the host cluster can support virtual machines.

Table C.1. HA Resource Summary

Field cluster.conf Description
Name name The name of the Apache Service.
Server Root server_root The default value is /etc/httpd.
Config File config_file Specifies the Apache configuration file. The default valuer is /etc/httpd/conf.
httpd Options httpd_options Other command line options for httpd.
Shutdown Wait (seconds) shutdown_wait Specifies the number of seconds to wait for correct end of service shutdown.
Table C.2. Apache Server

Field cluster.conf Description
Name name Specifies a name for the file system resource.
File System Type fstype If not specified, mount tries to determine the file system type.
Mount Point mountpoint Path in file system hierarchy to mount this file system.
Device device Specifies the device associated with the file system resource. This can be a block device, file system label, or UUID of a file system.
Options options Mount options; that is, options used when the file system is mounted. These may be file-system specific. Refer to the mount(8) man page for supported mount options.
File System ID fsid

Note

File System ID is used only by NFS services.

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 commit the parameter during configuration. If you need to assign a file system ID explicitly, specify it in this field.

Force unmount force_unmount If enabled, forces the file system to unmount. The default setting is disabled. 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 self_fence If enabled, reboots the node if unmounting this file system fails. The default setting is disabled.
Check file system before mounting force_fsck If enabled, causes fsck to be run on the file system before mounting it. The default setting is disabled.
Table C.3. File System