LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices


Reply
 
Search this Thread
Old 09-24-2013, 01:32 AM   #1
newFreeBSD
Member
 
Registered: Mar 2006
Location: Malaysia, Putrajaya
Distribution: CentOS, Ubuntu, Fedora
Posts: 54

Rep: Reputation: 0
DRBD


Hi,

I want to ask who expert with suse here. Currently i have 2 environment, fail over and production. Production use SLES 11SP1 but fail over use SLES11SP2.

Both have application run on apache and database using mysql.

I want to replicate on block level but seem SP2 don't have it. Any idea where i get with complete tutorial?

Thanks.
 
Old 09-24-2013, 01:42 AM   #2
newFreeBSD
Member
 
Registered: Mar 2006
Location: Malaysia, Putrajaya
Distribution: CentOS, Ubuntu, Fedora
Posts: 54

Original Poster
Rep: Reputation: 0
I keep getting this error:
Code:
drc-db:/usr/local/drbd-8.3.11/etc/drbd.d # cat repdata.res
global {
    usage-count no;
}

common {
  syncer { rate 1M; }
}

resource repdata {
  protocol C;

  handlers {
    pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
    pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
    local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o > /proc/sysrq-trigger ; halt -f";
  }

  startup {
    degr-wfc-timeout 120;    # 2 minutes.
  }

  disk {
    on-io-error   detach;
  }

  net {
    after-sb-0pri disconnect;
    after-sb-1pri disconnect;
    after-sb-2pri disconnect;
    rr-conflict disconnect;
  }

  syncer {
    rate 1M;
    al-extents 257;
  }

  on drc-db {
    device     /dev/drbd8;
    disk       /dev/VolGroup01/Lvtemp;
    address    192.168.1.102:7788;
    flexible-meta-disk  internal;
  }

  on drc-apps1 {
    device     /dev/drbd8;
    disk       /dev/VolGroup01/Lvtemp;
    address    192.168.1.101:7788;
    flexible-meta-disk  internal;
  }
}
drc-db:/usr/local/drbd-8.3.11/etc/drbd.d # drbdadm create-md repdata
no resources defined!
drc-db:/usr/local/drbd-8.3.11/etc/drbd.d #
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
servers freeze at service drbd start / modprobe drbd Gil@LQ Linux - Networking 0 03-22-2013 02:44 PM
DRBD and Heartbeat baddah Linux - Software 0 07-06-2012 08:33 AM
Help with drbd KAOZ_IT Linux - Server 1 08-29-2007 01:31 AM
DRBD with Samba predatorz Linux - Software 2 08-22-2007 02:43 AM
Drbd vsergeev Linux - Networking 0 07-30-2007 10:35 AM


All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration