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