Book Image

CentOS High Availability

Book Image

CentOS High Availability

Overview of this book

Table of Contents (21 chapters)
CentOS High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Removing cluster resources and services


Removing cluster resources and services is the reverse of adding them. Resources and services are removed by editing the CMAN configuration file and removing the lines that define the resources or services you would like to remove. When removing cluster resources, it is important to verify that the resources are not being used within any of the configured or running cluster services. As always, when editing the CMAN configuration file, the config_version parameter must be increased. Once the CMAN configuration file is edited, you must run the CMAN configuration validation check for errors. When the CMAN configuration file validation succeeds, you can distribute it to all other cluster nodes.

The procedure for removing cluster resources and services is as follows:

  1. Remove the desired cluster resources and services and increase the config_version number.

  2. Validate the CMAN configuration file.

  3. Distribute the CMAN configuration file to all other nodes.

We can...