This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag


About Us

Contact Us

Legal Info

How To Contribute

Security Issues

This web page is no longer maintained. Information presented here exists only to avoid breaking historical links.
The Project stays maintained, and lives on: see the Linux-HA Reference Documentation.
To get rid of this notice, you may want to browse the old wiki instead.

1 February 2010 Hearbeat 3.0.2 released see the Release Notes

18 January 2009 Pacemaker 1.0.7 released see the Release Notes

16 November 2009 LINBIT new Heartbeat Steward see the Announcement

Last site update:
2021-03-08 06:44:50

An Active/Active Two IP address Configuration

A common configuration is that of a high-availability server which simply provides two IP addresses (, and to be failed over between the nodes of our cluster. We will set this up as an active/active configuration.

Version 1 Configuration in /etc/ha.d/haresources


Version 2 Configuration in /var/lib/heartbeat/crm/cib.xml

      <primitive id="ip_resource_1" class="ocf" type="IPaddr" provider="heartbeat">
            <nvpair name="ip" value=""/>
      <primitive id="ip_resource_2" class="ocf" type="IPaddr" provider="heartbeat">
            <nvpair name="ip" value=""/>
      <rsc_location id="run_ip_resource_1" rsc="ip_resource_1">
        <rule id="pref_run_ip_resource_1" score="100">
          <expression attribute="#uname" operation="eq" value="paul"/>
      <rsc_location id="run_ip_resource_2" rsc="ip_resource_2">
        <rule id="pref_run_ip_resource_2" score="100">
          <expression attribute="#uname" operation="eq" value="silas"/>


See Also