top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Create a real-time replication of a partition between two servers with centos 6.4

0 votes
424 views

I need to create a real-time replication of a partition between two servers with centos 6.4, I am researching and finding difficulty with drbd, corosync, someone indicate material, do not need to run script automatically if a node drops only replicate.

posted Jul 15, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

What problem are you having with DRBD? I use DRBD on CentOS 6 with corosync + cman + rgmanager. If you need simple fail-over, it's easy. If you want concurrent access from both nodes, you'll need a cluster-aware filesystem like GFS2.

The only real trick is to be sure you use fencing. This prevents both nodes from trying to use the storage when they think the other node is dead (a condition called a "split-brain").

Check the tutorial that covers all of this. It's designed for running VMs on DRBD, but you can ignore the VM part; https://alteeve.ca/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

answer Jul 15, 2013 by anonymous
Similar Questions
+1 vote

I was just wondering, is there a "correct" or "preferred" way of setting up the path and other environment variables for Qt 4 development/build using qmake and all - on a CentOS 6 system?

I mean, this does not work out-of-the box, at least if you have build files that assume "qmake" may be executed just like that - as there is no Qt 4 qmake on the path, although "qmake-qt4" is available. Also, if
qt3-devel is installed, and the default path setup is used, "qmake" will point to the Qt 3 version, as the package includes a profile.d file that modify the path in such a way. Which also sets up other Qt related
variables, I believe. There is no such file in qt4-devel, however.

I know ways to set up everything so that this works as expected, of course, but it would be interesting to know how the packagers intended it to be done. Are you expected to edit login files by hand? That's sort
of surprising in this day and age... Or is the thinking that the suffixed ("-qt4") version of commands will always be used? Or that everyone will be using plain make with pkg-config? Or is there some other mechanism that should to be used to select the right Qt version?

+1 vote

Can't get yumex or xfce on centos 6.4, any suggestions...

+2 votes

I've installed CentOS 6.4, for which Emacs 23 is available; but I'd like to have Emacs 24. I've looked at rpmforge and epel, but neither seem to have Emacs 24 already packaged; and I've searched for every combination of emacs + 24 + centos without success.

While I could, of course, just do the ./configure && make && make install dance, I don't like having software installed that's not in the packaging system. I'd appreciate any pointer to a prepackaged Emacs 24, or failing that, a good tutorial on how to package software correctly for CentOS.

0 votes

I'm trying to install Centos 6.4 under Virtualbox on a Mac running Lion. I downloaded the 2 iso DVD files and set Virtualbox to boot from DVD 1

When I start the vm it puts out a lot of messages then asks me what kind of install I want to do. I select the basic install and it tells me it found the media ( the iso DVD file I downloaded) puts out a message about the anaconda ( I think) install starting then goes to a screen with the Centos 6 logo and appears to do nothing. No more messages appear.

Should I be using the minimal iso install file?

I have installed Windows XP, 7 and 8 under Virtualbox and they all work. I also installed Ubuntu but didn't like it so I removed it and thought I would try Centos

Does anyone know what might be going on and how to get it working?

0 votes

I have a problem with unix-samba password sync. It just doesnt work, when i use smbpasswd it changes only samba password, and not the unix password. In logs i cant find any error about passwd. Samba ver is 3.6.9-151.

Here is [global] in my smb.conf

[global]
workgroup = WORKGROUP
security = user
encrypt passwords = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New password* %nn *new password* %nn *success*
debug level = 100
passwd chat debug = yes
...