How can I use the same script resource in multiple services in RHEL?

Solution Verified - Updated -

Issue

  • Is there a way to have multiple resources (across different services) on a Red Rat Cluster to point to the same 'file' parameter when using the script resource ?
  • After I setup multiple services to use the same script resource I get these errors in /var/log/messages:
rgmanager[1516]: Unique attribute collision. type=script attr=file value=/opt/script.sh

Environment

  • Red Hat Enterprise Linux 4 (Red Hat Cluster Suite)
  • Red Hat Enterprise Linux Server 5 (with the High Availability or Resilient Storage Add on)
  • Red Hat Enterprise Linux Server 6 (with the High Availability or Resilient Storage Add on)

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