Installation guide

ccs -h host --rmfailoverdomainnode failoverdomain node
Note that when you have finished configuring all of the components of your cluster, you will need to
sync the cluster configuration file to all of the nodes, as described in Section 5.15, “ Propagating the
Configuration File to the Cluster Nodes .
5.9. Configuring Global Clust er Resources
You can configure two types of resources:
Global Resources that are available to any service in the cluster.
Service-specific — Resources that are available to only one service.
To see a list of currently configured resources and services in the cluster, execute the following
command:
ccs -h host --lsservices
To add a global cluster resource, execute the following command. You can add a resource that is
local to a particular service when you configure the service, as described in Section 5.10, “ Adding a
Cluster Service to the Cluster.
ccs -h host --addresource resourcetype [resource options]
For example, the following command adds a global file system resource to the cluster configuration
file on no d e0 1. example. co m. The name of the resource is web_fs, the file system device is
/d ev/sdd 2, the file system mountpoint is /var/www, and the file system type is ext3.
ccs -h node01.example.com --addresource fs name=web_fs device=/dev/sdd2
mountpoint=/var/www fstype=ext3
For information about the available resource types and resource options, see Appendix B, HA
Resource Parameters.
To remove a global resource, execute the following command:
ccs -h host --rmresource resourcetype [resource options]
If you need to modify the parameters of an existing global resource, you can remove the resource
and configure it again.
Note that when you have finished configuring all of the components of your cluster, you will need to
sync the cluster configuration file to all of the nodes, as described in Section 5.15, “ Propagating the
Configuration File to the Cluster Nodes .
5.10. Adding a Clust er Service t o t he Clust er
To configure a cluster service in a cluster, perform the following steps:
1. Add a service to the cluster with the following command:
ccs -h host --addservice servicename [service options]
Red Hat Ent erprise Linux 6 Clust er Administ rat ion
90