How to configure `resource-discovery` option using `pcs` command?

Solution Unverified - Updated -

Issue

  • How to configure the resource-discovery location constraint option mentioned in RHEL 7 High Availability Add-On Reference?
  • Using pcs command produces following error when attempting to setup the resource-discovery location constraint option:

    # pcs constraint location my_test_resource avoids node1 resource-discovery=never
    Error: invalid score 'never', use integer or INFINITY or -INFINITY
    

Environment

  • Red Hat Enterprise Linux 7 with High-Availability or Resilient storage Add-on
  • pcs-0.9.137-13.el7 or later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.