Installation guide
To remove a service and all of its subservices, execute the following command:
ccs -h host --rmservice servicename
To remove a subservice, execute the following command:
ccs -h host --rmsubservice servicename subservice [service options]
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.11. List ing Available Clust er Services and Resources
You can use the ccs command to print a list of resources and services that are available for a
cluster. You can also use the ccs command to print a list of the options you can specify for a
particular service or resource type.
To print a list of cluster services currently available for your cluster, execute either of the following
commands (--lsreso urceo pts is an alias to --l sservi ceo pts):
ccs -h host --lsserviceopts
ccs -h host --lsresourceopts
For example, the following command lists the cluster services and resources available on the cluster
node no d e1, showing sample output.
[root@ ask-03 ~]# ccs -h no d e1 --l sserviceo pts
service - Defines a service (resource group).
ASEHAagent - Sybase ASE Failover Instance
SAPDatabase - SAP database resource agent
SAPInstance - SAP instance resource agent
apache - Defines an Apache web server
clusterfs - Defines a cluster file system mount.
fs - Defines a file system mount.
ip - This is an IP address.
lvm - LVM Failover script
mysql - Defines a MySQL database server
named - Defines an instance of named server
netfs - Defines an NFS/CIFS file system mount.
nfsclient - Defines an NFS client.
nfsexport - This defines an NFS export.
nfsserver - This defines an NFS server resource.
openldap - Defines an Open LDAP server
oracledb - Oracle 10g Failover Instance
orainstance - Oracle 10g Failover Instance
oralistener - Oracle 10g Listener Instance
postgres-8 - Defines a PostgreSQL server
samba - Dynamic smbd/nmbd resource agent
script - LSB-compliant init script as a clustered resource.
tomcat-6 - Defines a Tomcat server
vm - Defines a Virtual Machine
action - Overrides resource action timings for a resource instance.
Chapt er 5. Configuring Red Hat Hig h Availabilit y Add- O n Wit h t he ccs Command
93