On Thu, 2009-12-03 at 14:27 -0600, James Perry wrote:

>         <rm>
>                 <failoverdomains>
>                         <failoverdomain name="fo_domain" nofailback="0" 
> ordered="0" restricted="0"/>
>                 </failoverdomains>
>                 <resources>
>                         <ip address="10.10.10.150" monitor_link="1"/>
>                         <postgres-8 
> config_file="/var/lib/pgsql/data/postgresql.conf" name="pgsql_db" 
> postmaster_user="postgres" shutdown_wait="0"/>
>                         <drbd name="res_drbd" resource="drbd_disk">
>                                 <fs device="/dev/drbd/by-res/drbd_disk" 
> fstype="ext3" mountpoint="/var/lib/pgsql/data" name="fs_pgsql" 
> options="noatime"/>
>                         </drbd>
>                 </resources>
>                 <service autostart="1" exclusive="0" name="mezeo_ha_db" 
> recovery="relocate">
>                         <drbd ref="res_drbd"/>
>                 </service>
>         </rm>

I think you're doing it wrong.
It should be like this:

<resources>
<ip/>
<drbd/>
<fs/>
</resources>

And then:

<service>
  <drbd ref="something">
    <fs ref="something2"/>
  </drbd>
</service>

You aren't supposed to make dependencies in resources section, just in
services section.

Try and please post comments back on the list for other people to see.


-- 
|    Jakov Sosic    |    ICQ: 28410271    |   PGP: 0x965CAE2D   |
=================================================================
|                                                               |


_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to