[Help] Openfiler 2.3 Active/Passive Cluster (heartbeat,DRBD) With Offsite Replication

Discussion in 'Installation/Configuration' started by cfwong.86, Mar 26, 2011.

  1. cfwong.86

    cfwong.86 New Member

    Hi,

    i am stuck on one of the step in the guide of Openfiler 2.3 Active/Passive Cluster (heartbeat,DRBD) With Offsite Replication Node

    [root@openfiler1 ~]# drbdadm create-md meta
    'meta' ignored, since this host (openfiler1.local) is not mentioned with an 'on' keyword.

    i understand the this might be some error in my /etc/drbd.conf file, but where is it?

    anyhelp will be appreciate.

    thank you.
     
  2. Yvan Lafrite

    Yvan Lafrite New Member

    check if the names of the hosts of your ressources in drbd.conf file match with the cmd "uname -n"
     
  3. ShineCardozo

    ShineCardozo New Member

    Suppose you have server1 and server2,

    Then in server1's drbd.conf mention 'on server1' as second resource

    and in server2's drbd.conf mention 'on server2' as second resource


    eg
    server1 drbd.conf:
    resource <resname> {
    ...
    on server2{...}
    on server1{...}
    }


    server2 drbd.conf:
    resource <resname> {
    ...
    on server1{...}
    on server2{...}
    }


    It works for me, I know these files should be exactly the same on both/all
    machines but they seem to not detect the resource conf if the current host
    is mentioned first.
     

Share This Page