Installation guide
80 Chapter 4:Service Configuration and Administration
4.5 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 Section 4.1.1, 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 Section 4.3, 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 Section 8.5, Backing Up and Restoring the Cluster Database
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.
4.6 Relocating a Service
In addition to providing automatic service failover, a cluster enables administrators to cleanly stop a
service on one cluster system and then start it on the other cluster system. This service relocation
functionality allows administrators to perform maintenance on a cluster system while maintaining
application and data availability.
To relocate a service by using the cluadmin utility, invoke the service relocate command.
For example:
cluadmin> service relocate nfs1
If a specific service is not designated, then a menu of running services will appear to choose from.
If an error occurs while attempting to relocate a service, a useful diagnostic approach would be to try
to disable the individual service and then enable the service on the other cluster member.