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

Cluster node standby mode


Pacemaker allows you to put the desired cluster node into standby mode. When a cluster node is in standby mode, it will no longer be able to host cluster resources and services. The standby mode is useful for cluster node maintenance operations.

The syntax to put a cluster node in standby mode is as follows:

pcs cluster standby node_name

Here, the node_name parameter is the name of the cluster node you want to put in standby mode as it appears when running the pcs status command.

The following is the syntax used to take a cluster node out of standby mode:

pcs cluster unstandby node_name

Here, the node_name parameter is the name of the cluster node you want to take out standby mode as it appears when running the pcs status command.

You can put a cluster node called node-4.geekpeek.net into standby mode with the following command:

pcs cluster standby node-4.geekpeek.net

In this screenshot, you can see the command used to put the node-4.geekpeek.net cluster node in standby...