Resource in cluster service requires IP address to be available first, but ip resource seems to start after the resource in RHEL 5 or 6

Solution Unverified - Updated -

Issue

  • We need the IP address to be available before our script starts, but the cluster service starts the script first.
  • ip resources should be started before script resources. The ip resources however come up after the script resources.

Environment

  • Red Hat Enterprise Linux (RHEL) 5 or 6 with the High Availability Add On
  • One or more cluster services in /etc/cluster/cluster.conf with an ip resource and another resource configured as "siblings", for instance:
<service ...>
   <ip .../>
   <lvm ...>
        <fs ...>
            <script .../>
        </fs>
   </lvm>
</service>

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