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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content