Installation guide
Section 4.1:Configuring a Service 73
4 Service Configuration and
Administration
The following sections describe how to configure, display, enable/disable, modify, relocate, and delete
a service, as well as how to handle services which fail to start.
4.1 Configuring a Service
The cluster systems must be prepared before any attempts to configure a service. For example, set up
disk storage or applications used in the services. Then, add information about the service properties
and resources to the cluster database by using the cluadmin utility. This information is used as
parameters to scripts that start and stop the service.
To configure a service, follow these steps:
1. If applicable, create a script that will start and stop the application used in the service. See Section
4.1.2, Creating Service Scripts for information.
2. Gather information about service resources and properties. See Section 4.1.1, Gathering Service
Information for information.
3. Set up the file systems or raw devices that the service will use. See Section 4.1.3, Configuring
Service Disk Storage for information.
4. Ensure that the application software can run on each cluster system and that the service script, if
any, can start and stop the service application. See Section 4.1.4, Verifying Application Software
and Service Scripts for information.
5. Back up the /etc/cluster.conf file. See Section 8.5, Backing Up and Restoring the Cluster
Database for information.
6. Invoke the cluadmin utility and specify the service add command. The cluadmin utility
will prompt for information about the service resources and properties obtained in Step 2. If the
service passes the configuration checks, it will be started on the user-designated cluster system,
unless the user wants to keep the service disabled. For example:
cluadmin> service add
For more information about adding a cluster service, see the following:
• Section 5.1, Setting Up an Oracle Service
• Section 5.3, Setting Up a MySQL Service