Modifying a Service

All properties that were specified when a service was created can be modified. For example, specified IP addresses can be changed. More resources can also be added to a service (for example, more file systems). See the Section called Gathering Service Information for information.

A service must be disabled before it can be modified. If an attempt is made to modify a running service, the cluster manager will prompt to disable it. See the Section called Disabling a Service for more information.

Because a service is unavailable while being modified, be sure to gather all the necessary service information before disabling it in order to minimize service down time. In addition, back up the cluster database before modifying a service. See the Section called Backing Up and Restoring the Cluster Database in Chapter 8 for more information.

To modify a disabled service, invoke the cluadmin utility and specify the service modify service_name command.

cluadmin> service modify web1

Service properties and resources can also be modified, as needed. The cluster will check the service modifications and allow correction of any mistakes. The cluster will verify the submitted service modification and then start the service, unless prompted to keep the service disabled. If changes are not submitted, the service will be started, if possible, using the original configuration.