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.
ip
resources should be started before script resources. Theip
resources however come up after thescript
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 anip
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.