Managing cluster services
Once you have configured the cluster services as you like, you must learn how to manage them. We can manage cluster services with the clusvcadm
command and additional parameters. The syntax of the clusvcadm
command is as follows:
clusvcadm [parameter]
With the clusvcadm
command, you can perform the following actions:
- Disable service (syntax: clusvcadm -d <service_name>): This stops the cluster service and puts it into the disabled state. This is the only permitted operation if the service in question is in the failed state.
- Start service (syntax: clusvcadm -e <service_name> -m <cluster_node>): This starts a non-running cluster service. It optionally provides the cluster node name you would like to start the service on.
- Relocate service (syntax: clusvcadm -r <service_name> -m <cluster_node>): This stops the cluster service and starts it on a different cluster node as provided with the
-m
parameter. - Migrate service (syntax: clusvcadm -M ...