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
Issue
- We need the IP address to be available before our script starts, but the cluster service starts the script first.
ipresources should be started before script resources. Theipresources however come up after thescriptresources.
Environment
- Red Hat Enterprise Linux (RHEL) 5 or 6 with the High Availability Add On
- One or more cluster services in
/etc/cluster/cluster.confwith anipresource 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.