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> ...

Get CentOS High Availability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.