[DRBD-user] drbdadm expects /usr/local/etc/drbd.conf but linbit:ocf tries /etc/drbd.conf

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Fri Oct 15 15:12:23 CEST 2010


On 09/30/2010 01:26 PM, Koch, Sebastian wrote:
> and saw that there were erros concerning the drbd.conf. The
> ocf:linbit:drbd uses /etc/drbd.conf as the OCF_RESKEY_drbdconf and my
> drbdadm tool always wanted to use /usr/local/etc/drbd.conf (maybe this
> is compiled into the drb-utils, I wasn’t able to figure that out)
> therefor the pacemaker always refused to let the secondary node connect
> to the drbd device.

hi,

what about doing something like this in drbd.ocf:

-OCF_RESKEY_drbdconf_default="/etc/drbd.conf"
+OCF_RESKEY_drbdconf_default="$(DESTDIR)$(sysconfdir)/drbd.conf"

and update these values via configure?

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________


More information about the drbd-user mailing list