Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
CentOS High Availability

You're reading from   CentOS High Availability Leverage the power of high availability clusters on CentOS Linux, the enterprise-class, open source operating system

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781785282485
Length 174 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Preface 1. Getting Started with High Availability FREE CHAPTER 2. Meet the Cluster Stack on CentOS 3. Cluster Stack Software on CentOS 6 4. Resource Manager on CentOS 6 5. Playing with Cluster Nodes on CentOS 6 6. Fencing on CentOS 6 7. Testing Failover on CentOS 6 8. Two-node Cluster Considerations on CentOS 6 9. Cluster Stack Software on CentOS 7 10. Resource Manager on CentOS 7 11. Playing with Cluster Nodes on CentOS 7 12. STONITH on CentOS 7 13. Testing Failover on CentOS 7 14. Two-node Cluster Considerations on CentOS 7 Index

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 ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image