Installation guide
Section 4.2:Displaying a Service Configuration 77
The /usr/share/cluster/doc/services/examples directory contains a template that
can be used to create service scripts, in addition to examples of scripts. See Section 5.1, Setting Up
an Oracle Service, Section 5.3, Setting Up a MySQL Service, Section 7.1, Setting Up an Apache
Service, and Section 5.4, Setting Up a DB2 Service for sample scripts.
4.1.3 Configuring Service Disk Storage
Prior to creating a service, set up the shared file systems and raw devices that the service will use. See
Section 2.4.4, Configuring Shared Disk Storage for more information.
If employing raw devices in a cluster service, it is possible to use the /etc/sysconfig/rawde-
vices file to bind the devices at boot time. Edit the file and specify the raw character devices and
block devices that are to be bound each time the system boots. See Section 3.1.1, Editing the
rawde-
vices
File for more information.
Note that software RAID, and host-based RAID are not supported for shared disk storage. Only cer-
tified SCSI adapter-based RAID cards can be used for shared disk storage.
Administrators should adhere to the following service disk storage recommendations:
• For optimal performance, use a 4 KB block size when creating file systems. Note that some of the
mkfs file system build utilities default to a 1 KB block size, which can cause long fsck times.
• To facilitate quicker failover times, it is recommended that the ext3 filesystem be used. Refer to
Creating File Systems in Section 2.4.4 for more information.
• For large file systems, use the mount command with the nocheck option to bypass code that
checks all the block groups on the partition. Specifying the nocheck option can significantly
decrease the time required to mount a large file system.
4.1.4 Verifying Application Software and Service Scripts
Prior to setting up a service, install any application that will be used in a service on each system.
After installing the application, verify that the application runs and can access shared disk storage. To
prevent data corruption, do not run the application simultaneously on both systems.
If using a script to start and stop the service application, install and test the script on both cluster
systems, and verify that it can be used to start and stop the application. See Section 4.1.2, Creating
Service Scripts for information.
4.2 Displaying a Service Configuration
Administrators can display detailed information about the configuration of a service. This information
includes the following:
• Service name