Installation guide

Service
O p erat io n
Descrip t io n Co mman d Syn t ax
En ab le Start the service, optionally on a
preferred target and optionally according
to failover domain rules. In the absence
of either a preferred target or failover
domain rules, the local host where
cl usvcad m is run will start the service. If
the original start fails, the service
behaves as though a relocate operation
was requested (refer to Relo cat e in this
table). If the operation succeeds, the
service is placed in the started state.
cl usvcad m -e
<servi ce_name> or cl usvcad m
-e
<servi ce_name> -m <member>
(Using the -m option specifies the
preferred target member on which to start
the service.)
Disab le Stop the service and place into the
disabled state. This is the only
permissible operation when a service is
in the failed state.
cl usvcad m -d
<servi ce_name>
Relo cat e Move the service to another node.
Optionally, you may specify a preferred
node to receive the service, but the
inability of the service to run on that host
(for example, if the service fails to start or
the host is offline) does not prevent
relocation, and another node is chosen.
rg manager attempts to start the service
on every permissible node in the cluster.
If no permissible target node in the
cluster successfully starts the service, the
relocation fails and the service is
attempted to be restarted on the original
owner. If the original owner cannot restart
the service, the service is placed in the
stopped state.
cl usvcad m -r
<servi ce_name> or cl usvcad m
-r
<servi ce_name> -m <member>
(Using the -m option specifies the
preferred target member on which to start
the service.)
St o p Stop the service and place into the
stopped state.
cl usvcad m -s
<servi ce_name>
Freez e Freeze a service on the node where it is
currently running. This prevents status
checks of the service as well as failover
in the event the node fails or rgmanager
is stopped. This can be used to suspend
a service to allow maintenance of
underlying resources. Refer to the section
called Considerations for Using the
Freeze and Unfreeze Operations for
important information about using the
freeze and unfreeze operations.
cl usvcad m -Z <servi ce_name>
Un f reez e Unfreeze takes a service out of the freeze
state. This re-enables status checks.
Refer to the section called
Considerations for Using the Freeze and
Unfreeze Operations for important
information about using the freeze and
unfreeze operations.
cl usvcad m -U
<servi ce_name>
Red Hat Ent erprise Linux 6 Clust er Administ rat ion
14 4