Página 1 de 2 12 ÚltimoÚltimo
+ Responder ao Tópico



  1. #1
    fredaodepaula
    Sempre antes de inicializar o heartbeat eu tenho que montar manualmente a partição espelhada pelo drbd: mount /dev/drbd0 ... ?

  2. Bem, eu acho que você pode utilizar o arquivo /etc/fstab pra isso. Ou fazer uso do automount.


    Abraços!



  3. #3
    fredaodepaula
    No meu fstab tá desse jeito:

    /dev/drbd0 /mnt/dados ext3 defaults,noauto 0 0

    E não tá montando de maneira nenhuma.

  4. Bom vc configurou o haresourses do heartbeat para montar o drbd0?

    Seu haresources tem q esta +/- desta maneira aki:
    dominou.servidorIPaddr::192.168.XXX.XXX drbddisk Filesystem::/dev/drbd0::/ponto_de_montagem::ext3

    Esta maneira e utilizada na versão superior do heartbeat 2.0

    Espero ter ajudado.
    Qualquer coisa tamos ai.



  5. #5
    fredaodepaula
    Eu já fiz isso mas na hora de iniciar o heartbeat diz que drbd0 não pode ser montado.

    heartbeat: 2006/05/31_14:55:31 info: Configuration validated. Starting heartbeat 1.2.4
    heartbeat: 2006/05/31_14:55:31 info: heartbeat: version 1.2.4
    heartbeat: 2006/05/31_14:55:31 info: Heartbeat generation: 129
    heartbeat: 2006/05/31_14:55:31 info: UDP multicast heartbeat started for group 2 25.0.0.0 port 694 interface eth0:0 (ttl=1 loop=0)
    heartbeat: 2006/05/31_14:55:31 info: pid 18146 locked in memory.
    heartbeat: 2006/05/31_14:55:31 info: Local status now set to: 'up'
    heartbeat: 2006/05/31_14:55:32 info: pid 18149 locked in memory.
    heartbeat: 2006/05/31_14:55:32 info: pid 18150 locked in memory.
    heartbeat: 2006/05/31_14:55:32 info: pid 18151 locked in memory.
    heartbeat: 2006/05/31_14:57:31 WARN: node debian-cdtc: is dead
    heartbeat: 2006/05/31_14:57:31 info: Local status now set to: 'active'
    heartbeat: 2006/05/31_14:57:31 WARN: No STONITH device configured.
    heartbeat: 2006/05/31_14:57:31 WARN: Shared disks are not protected.
    heartbeat: 2006/05/31_14:57:31 info: Resources being acquired from debian-cdtc.
    heartbeat: 2006/05/31_14:57:31 info: Running /etc/ha.d/rc.d/status status
    heartbeat: 2006/05/31_14:57:31 info: /usr/lib/heartbeat/mach_down: nice_failback : foreign resources acquired
    heartbeat: 2006/05/31_14:57:31 info: mach_down takeover complete.
    heartbeat: 2006/05/31_14:57:31 info: Initial resource acquisition complete (mach _down)
    heartbeat: 2006/05/31_14:57:31 info: mach_down takeover complete for node debian -cdtc.
    heartbeat: 2006/05/31_14:57:31 info: Local Resource acquisition completed.
    heartbeat: 2006/05/31_14:57:31 info: Running /etc/ha.d/rc.d/ip-request-resp ip-r equest-resp
    heartbeat: 2006/05/31_14:57:31 received ip-request-resp IPaddr::10.0.0.100 OK ye s
    heartbeat: 2006/05/31_14:57:31 info: Acquiring resource group: debian1 IPaddr::1 0.0.0.100 drbddisk Filesystem::/dev/drbd0::/mnt/dados::ext3 apache2
    heartbeat: 2006/05/31_14:57:31 info: Running /etc/ha.d/resource.d/IPaddr 10.0.0. 100 start
    heartbeat: 2006/05/31_14:57:32 info: /sbin/ifconfig eth0:1 10.0.0.100 netmask 25 5.255.255.0 broadcast 10.0.0.255
    heartbeat: 2006/05/31_14:57:32 info: Sending Gratuitous Arp for 10.0.0.100 on et h0:1 [eth0]
    heartbeat: 2006/05/31_14:57:32 /usr/lib/heartbeat/send_arp -i 1010 -r 5 -p /var/ lib/heartbeat/rsctmp/send_arp/send_arp-10.0.0.100 eth0 10.0.0.100 auto 10.0.0.10 0 ffffffffffff
    heartbeat: 2006/05/31_14:57:32 info: Running /etc/ha.d/resource.d/drbddisk star t
    heartbeat: 2006/05/31_14:57:32 info: Running /etc/ha.d/resource.d/Filesystem /de v/drbd0 /mnt/dados ext3 start
    heartbeat: 2006/05/31_14:57:32 ERROR: Couldn't mount filesystem /dev/drbd0 on /m nt/dados
    heartbeat: 2006/05/31_14:57:32 ERROR: Return code 1 from /etc/ha.d/resource.d/Fi lesystem
    heartbeat: 2006/05/31_14:57:32 CRIT: Giving up resources due to failure of Files ystem::/dev/drbd0::/mnt/dados::ext3
    heartbeat: 2006/05/31_14:57:32 info: Releasing resource group: debian1 IPaddr::1 0.0.0.100 drbddisk Filesystem::/dev/drbd0::/mnt/dados::ext3 apache2
    heartbeat: 2006/05/31_14:57:32 info: Running /etc/init.d/apache2 stop
    heartbeat: 2006/05/31_14:57:32 info: Running /etc/ha.d/resource.d/Filesystem /de v/drbd0 /mnt/dados ext3 stop
    heartbeat: 2006/05/31_14:57:32 WARNING: Filesystem /mnt/dados not mounted?
    heartbeat: 2006/05/31_14:57:32 info: Running /etc/ha.d/resource.d/drbddisk stop
    heartbeat: 2006/05/31_14:57:32 info: Running /etc/ha.d/resource.d/IPaddr 10.0.0. 100 stop
    heartbeat: 2006/05/31_14:57:32 info: /sbin/route -n del -host 10.0.0.100
    heartbeat: 2006/05/31_14:57:32 info: /sbin/ifconfig eth0:1 down
    heartbeat: 2006/05/31_14:57:32 info: IP Address 10.0.0.100 released
    heartbeat: 2006/05/31_14:57:43 info: Local Resource acquisition completed. (none )
    heartbeat: 2006/05/31_14:57:43 info: local resource transition completed.






Tópicos Similares

  1. Respostas: 4
    Último Post: 22-08-2009, 04:08
  2. xp não acha dominio ve se meu smb.conf ta certo
    Por davidcortez no fórum Servidores de Rede
    Respostas: 6
    Último Post: 28-11-2008, 09:38
  3. GRUB> que é isso nao liga mais ?
    Por no fórum Servidores de Rede
    Respostas: 1
    Último Post: 25-09-2005, 12:11
  4. Site não deve passar pelo Squid!!!
    Por Michael no fórum Servidores de Rede
    Respostas: 6
    Último Post: 02-05-2005, 07:35
  5. Meu squid barra o que não deve!!!
    Por NoiseMaster no fórum Servidores de Rede
    Respostas: 2
    Último Post: 27-09-2002, 08:59

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L