Hi,

i installed to Servers with Heartbeat (2.1.3-3.el5) and drbd (8.3.1).

my HA config:

node weisswasser.v121.dus1.th bayreuth.v121.dus1.th

ucast bond0.121 10.10.121.135
ucast bond0.121 10.10.121.136 

auto_failback off 

debugfile /var/log/ha-debug 
logfile /var/log/ha-log 

keepalive 2
warntime 10
deadtime 30
initdead 120


my haresources:

weisswasser.v121.dus1.th drbddisk::drbd0 
Filesystem::/dev/drbd0::/weisswasser::ext3 
bayreuth.v121.dus1.th drbddisk::drbd1 Filesystem::/dev/drbd1::/bayreuth::ext3

my drbd config:

resource drbd0 {
  protocol C;

  startup { 
    become-primary-on weisswasser.v121.dus1.th;
  }

  syncer {
   rate 50M; 
 } 

  on weisswasser.v121.dus1.th { 
    device     /dev/drbd0;
    disk       /dev/sda10; 
    address    10.10.121.135:7766; 
    meta-disk  internal;
  } 

  on bayreuth.v121.dus1.th { 
    device    /dev/drbd0; 
    disk      /dev/sda10; 
    address   10.10.121.136:7766; 
    meta-disk internal; 
  } 
} 

resource drbd1 { 
  protocol C; 

  startup { 
    become-primary-on bayreuth.v121.dus1.th;
  }

  syncer { 
    rate 50M; 
  } 

  on weisswasser.v121.dus1.th { 
    device     /dev/drbd1;
    disk       /dev/sda11; 
    address    10.10.121.135:7776; 
    meta-disk  internal; 
  } 

  on bayreuth.v121.dus1.th { 
    device    /dev/drbd1; 
    disk      /dev/sda11; 
    address   10.10.121.136:7776; 
    meta-disk internal; 
  }

Both servers have the same configfiles.

Heartbeat and drbd is enabled at Systemstart.

When i now reboot both Systems, my drbd devices are not mounted when the reboot 
is finished.

Here my ha-log after the reboot when the devices are not mounted:

heartbeat[3181]: 2009/05/28_14:58:16 info: Version 2 support: false
heartbeat[3181]: 2009/05/28_14:58:16 WARN: Logging daemon is disabled 
--enabling logging daemon is recommended
heartbeat[3181]: 2009/05/28_14:58:16 info: **************************
heartbeat[3181]: 2009/05/28_14:58:16 info: Configuration validated. Starting 
heartbeat 2.1.3
heartbeat[3182]: 2009/05/28_14:58:16 info: heartbeat: version 2.1.3
heartbeat[3182]: 2009/05/28_14:58:17 info: Heartbeat generation: 1243506542
heartbeat[3182]: 2009/05/28_14:58:17 info: glib: ucast: write socket priority 
set to IPTOS_LOWDELAY on bond0.121
heartbeat[3182]: 2009/05/28_14:58:17 info: glib: ucast: bound send socket to 
device: bond0.121
heartbeat[3182]: 2009/05/28_14:58:17 info: glib: ucast: bound receive socket to 
device: bond0.121
heartbeat[3182]: 2009/05/28_14:58:17 info: glib: ucast: started on port 694 
interface bond0.121 to 10.10.121.135
heartbeat[3182]: 2009/05/28_14:58:17 info: glib: ucast: write socket priority 
set to IPTOS_LOWDELAY on bond0.121
heartbeat[3182]: 2009/05/28_14:58:17 info: glib: ucast: bound send socket to 
device: bond0.121
heartbeat[3182]: 2009/05/28_14:58:17 info: glib: ucast: bound receive socket to 
device: bond0.121
heartbeat[3182]: 2009/05/28_14:58:17 info: glib: ucast: started on port 694 
interface bond0.121 to 10.10.121.136
heartbeat[3182]: 2009/05/28_14:58:17 info: G_main_add_TriggerHandler: Added 
signal manual handler
heartbeat[3182]: 2009/05/28_14:58:17 info: G_main_add_TriggerHandler: Added 
signal manual handler
heartbeat[3182]: 2009/05/28_14:58:17 info: G_main_add_SignalHandler: Added 
signal handler for signal 17
heartbeat[3182]: 2009/05/28_14:58:17 info: Local status now set to: 'up'
heartbeat[3182]: 2009/05/28_14:58:19 info: Link bayreuth.v121.dus1.th:bond0.121 
up.
heartbeat[3182]: 2009/05/28_14:58:19 info: Status update for node 
bayreuth.v121.dus1.th: status up
harc[3342]:     2009/05/28_14:58:19 info: Running /etc/ha.d/rc.d/status status
heartbeat[3182]: 2009/05/28_14:58:20 info: Comm_now_up(): updating status to 
active
heartbeat[3182]: 2009/05/28_14:58:20 info: Local status now set to: 'active'
heartbeat[3182]: 2009/05/28_14:58:20 info: Status update for node 
bayreuth.v121.dus1.th: status active
harc[3358]:     2009/05/28_14:58:20 info: Running /etc/ha.d/rc.d/status status
heartbeat[3182]: 2009/05/28_14:58:30 info: local resource transition completed.
heartbeat[3182]: 2009/05/28_14:58:30 info: Initial resource acquisition 
complete (T_RESOURCES(us))
heartbeat[3569]: 2009/05/28_14:58:30 info: Local Resource acquisition completed.
heartbeat[3182]: 2009/05/28_14:58:31 info: remote resource transition completed.

When i now stop / restart heartbeat everything looks fine and my drbd devices 
are mounted.

Has anyone of you an idea?

Thanks and regards
Sebastian 




_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to