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

Managing resources


You can manage the configured cluster resources in many ways. The following actions can apply:

  • Start resource (syntax: pcs resource enable <resource_name> --wait=[n]): Start a non running cluster resource where the --wait parameter is optional and n is the number of seconds to wait for the resource to start. The following command provides more information:

    pcs resource enable --help
    
  • Stop resource (syntax: pcs resource disable <resource_name> --wait=[n]): Start a running cluster resource where the --wait parameter is optional and n is the number of seconds to wait for the resource to stop. The following command provides more information:

    pcs resource disable --help
    
  • Debug start resource (syntax: pcs resource debug-start <resource_name> --full): Start a non running cluster resource on the current node; ignoring the cluster recommendations where the --full parameter is optional will give a more detailed output. The following command provides more information...