CentOS 5 :: Different Replication Using DRBD 8.3.2?

Apr 13, 2010

I'm running RHEL 5.5 on two workstation for test DRBD and I get something that sound strange ...[URL] Quote:Protocol C. Synchronous replication protocol. Local write operations on the primary node are considered completed only after both the local and the remote disk write have been confirmed. As a result, loss of a single node is guaranteed not to lead to any data loss. Data loss is, of course, inevitable even with this replication protocol if both nodes (or their storage subsystems) are irreversibly destroyed at the same time. By far, the most commonly used replication protocol in DRBD setups is protocol C.

View 15 Replies


ADVERTISEMENT

CentOS 5 :: Integration Of Drbd 8.0.16 In 5.3

Aug 19, 2010

Iam trying to integrate drbd 8.0.16 in 5.3 release.

Installation of drbd was successful but modinfo fails to identify drbd kernel module.

[root@inccishh0884 usbs]# /sbin/modinfo drbd
modinfo: could not find module drbd
[root@inccishh0884 usbs]#
[root@inccishh0884 usbs]# ls -l `find /lib/modules -name drbd.ko`

[Code].....

how i can make the modinfo to identify the drbd modules present in 2.6.18-128.4.1/extra folder.

Is there a drbd module available that matches exactly with the kernel version 2.6.18-128.el5

View 2 Replies View Related

CentOS 5 :: DRBD Mounted Partition Not Updating?

Nov 4, 2009

I've been working at creating a highly available set of host servers for a linux diskless boot cluster.Each host machine is fitted with redundant power supplies and two 1TB drives in a Raid-1 configuration.When I first started this project they each had twin 160GB drives. In my original setup I had both nodes acting as primary systems so that I could mount /dev/drbd0 to my /data directory and see changes immediately.It had worked in the past where I could make a file in /data on the first machine and it would show up in the /data directory on the second machine. One day this had stopped working where if I made a file on the first machine it would display on the second one until I unmounted /data and remounted it to the /dev/drbd0 disk.

This is when I bought the new disks and decided to start from scratch. The weird thing is that if I make a file on the primary and remount on the secondary to see it and then delete it from the secondary and THEN delete it on the primary, the primary throws no error however it goes into read-only mode because it knows that file was already gone.Below is my configuration file, sda8 is an 820GB partition which is used for all of the data I want to replicate, currently populated with ~10GB of data. Sda7 is my metadisk partition which is 500MB large clearly more than needed by drbd.Also you will notice "incon-degr-cmd "halt -f";" is commented out. This is because when I go to actually use it drbd throws an error when reloading the configuration and I'm not sure why that is either

resource r0 {
protocol C;
#incon-degr-cmd "halt -f";

[code]....

View 3 Replies View Related

CentOS 5 :: Save To Update A Production System With Xen/drbd?

Jun 23, 2009

i have problems with my failover machines and cant locate the cause. The last update is quite some time ago.So will it hurt my configuration when I do an yum-update? I have 5 Xen VM on each machine, also they replicate with drbd and heartbeat. Can I just update the dom0 and leave the VM untouched inside?

View 5 Replies View Related

CentOS 5 :: Configure An ISCSI / DRBD High-availability Cluster

Jul 23, 2010

I'm trying to configure an ISCSI/DRBD high-availability cluster and I'd like to know what is the best option between OpenAIS and Heartbeat. I've seen they both are included in Centos Repos, yet OpenAIS requires installing 2 addition repos to install Pacemaker (EPEL and Clusterlab repos).

View 1 Replies View Related

Server :: Unable To Setup Replication In MySQL 5.0.77 On CentOS 5.5

Jun 21, 2010

I am looking into setting up replication in a production environment but currently this is on two test machines. I am following the documentation at [URL] but I am unable to get past "16.1.1.10 Setting the Master Configuration on the Slave". When I do the CHANGE MASTER TO I am getting a syntax error for some reason. What am I doing wrong? These servers run "CentOS release 5.5 (Final)" and "MySQL 5.0.77-log Source distribution" installed via yum. The only changes from default are that I created a single database on the master before doing the table lock and dump, then everything else has been done exactly to what the documentation states, but is still failing.

The option skip-networking is not in the config file on either server and neither one runs SELinux or any firewall.

mysql> CHANGE MASTER TO
-> MASTER_HOST='192.168.1.220'
-> MASTER_USER='repl'
-> MASTER_PASSWORD='removed'

[Code]....

View 3 Replies View Related

CentOS 5 :: Real-time File Replication For User Accounts?

Nov 22, 2009

this idea to me right now seems stupid and impractical so I'm also looking for solutions outside of this one. I'm creating a set of highly available servers. They currently utilize pacemaker to manage a shared IP address, apache management, mysql management and also drbd handling. They currently replicate, properly failover and run fine. However, this is a shared web hosting setup and everytime a new user is added to the system a username and password is created and the httpd.conf file is updated for their site. I need a way to replicate those changes to the other server. For httpd.conf I'm pretty sure I can just stick it on the apache drbd resource and create a symbolic link. However, for the passwd and shadow files that is not a realistic solution.

View 1 Replies View Related

Ubuntu Servers :: Drbd Not Available In 10.10?

Oct 15, 2010

It seems to be drbd is not available in ubuntu 10.10 at all. I just installed the drbd8-utils package thinking the kernel module would already be built-in. But I guess not, because here is the error I get:

Code:
# drbdadm syncer r0
Could not stat("/proc/drbd"): No such file or directory
do you need to load the module?
try: modprobe drbd
Command 'drbdsetup 1 syncer --set-defaults --create-device' terminated with exit code 20
drbdadm syncer r0: exited with code 20

[Code]...

View 1 Replies View Related

Server :: DRBD Can't Mount On Secondary

Dec 6, 2010

I'm gonna set up a HA-cluster with the help of DRBD. I have installed DRBD and it's working on the Primary node, I synced them and formated it to ext3 and mounted it successfully on the Primary.

When I'm gonna mount it on the Secondary node it just tells me that I need to specify a filesystem.. so it looks like is hasn't been synced properly or something but both nodes are up to date.

This is my drbd.conf:

Code:
global {
usage-count no;
}
resource dbcluster {

[Code].....

and could mount it without any problems on dbcluster1, but it doesn't work on dbcluster2.. according to the documentation and various howtos I'm suppose to be able to use it, mount it on both nodes etc. unless I've missed something.

Does anyone know if there is something else I need to do to get it running properly on the Secondary?

View 2 Replies View Related

Server :: Drbd Failed To Install In Debian Lenny

Apr 21, 2010

i tried installing the drbd for replication of data.. i found some tutorials but when i tried installing it i spits out an error of

Code:

E: Package drbd8-module-source has no installation candidate this is what i use to install it

Code:

apt-get install drbd8-utils drbd8-module-source drbd8-source build-essential

View 9 Replies View Related

Server :: Drbd Active-passive Cluster Change Primary One?

May 21, 2011

i have a two node drbd cluster, while drbd1 is primary and drbd2 is slave i should make drbd1 slave and unmount drbd partition and make make drbd2 primary and mount drbd partition to see content on drbd2is it any way to automate it so as drbd1 goes down, drbd1 make itself primary and mount the partition?

View 2 Replies View Related

Hardware :: Unable To Check The Replication?

Jan 18, 2011

I have a fedora 8 server and I just wanted to install fedora directory server I got it install and running, but I'm unable to check the replication and also it seems that I has no database when I user fedora-console-idm.[URL].. Also the same thing happens at the web tool. Any ideas? I think there is no db set, but I have no idea how to do this on fedora-ds. I'm new to it.

View 1 Replies View Related

Networking :: File Replication Between Two Servers

Feb 10, 2011

I am using Debian as mail server and proxy server. I need to configure one backup server for the same. Mainly I need to replicate/sync the files on both machines. So I can avoid the failure time.

View 3 Replies View Related

Networking :: Directory Replication Between 2 Or More Servers?

May 6, 2010

How to directory replication between 2 or more servers?

View 1 Replies View Related

General :: Replication Data Os Level From 1 Pc To Other Pc?

Feb 24, 2010

i do wish to read study learn from linux world. sites to refer always for command, practice,tutorials etc.say like replication data os level from 1 pc to other pc,without using any outside linux software, only os level, linux to linux, linux to windows/macchannel bonding, using 2 network ethernet card, double the speed of network card and failover netowkr card alsosyncronize data 1pc to 2pc

View 1 Replies View Related

Server :: 2 Mysql Replication To 1 Machine?

Apr 5, 2010

If I have 2 MySQL server and I want to replicate their database to only 1 server, is it possible? I cannot afford to have master-to-master only because I still need to replicate one more machine but I do not have anymore more machine for replication so I'm thinking if these 2 MySQL server can be replicate to only 1 machine. If this is not possible, I guess I've no choice but to have two mysql daemon on that machine

View 5 Replies View Related

Programming :: File Replication Routine?

Mar 1, 2011

I have been scripting Inotify to work as file replication.It works very well for casual use when editing or uploading files. But I have to make sure it stands up against a "tar bomb" when we install a new package. EG: tar -xzf really_big_php_project.tar.gz

Code:
#!/bin/sh
# get the current path

[code]....

View 1 Replies View Related

OpenSUSE Network :: 11.0 - Configuring OpenLDAP 2.4 Replication?

Jun 29, 2009

I have been using OpenLDAP 2.4 with OpenSuse 11 without any issues but I now want to configure replication and can't see how it's done . The OpenLDAP 2.4 admin guide refers to the slapd.conf configuration file but this is not used by YaST.

View 4 Replies View Related

Ubuntu :: Brainstorm Website Replication - PHP Framework?

Jul 27, 2010

I'm thinking of producing a website for a project at uni which would resemble the brainstorm website [URL]. I plan to write it in PHP with a mysql database. How I could start to plan such a project, suggest any PHP frameworks which may make the job easier, any code already available to start me off etc??

View 1 Replies View Related

General :: Fail Over Scenario In MySQL Replication?

Sep 12, 2010

i had configured a MySQl Replication Server with 2 DB Servers.Now we are planning to implement a failover Scenario.If Master fails The slave should act as a Master and we have a addition server.It will be going to act as slve.i had mentioned the points below..

Replication
(Master Server)----->----(Slave Server)-----------(Additional Server)
DBS 1 DBS 2 DBS 3

1.Replication is made between Master (DBS 1) and Slave (DBS 2) (successfully done)

2.If Master (DBS 1) failed Slave (DBS 2) should act as a Master and Additional Server (DBS 3) needs to be Slave

3.Whenever Orginal Master (DBS 1) became online the current Master ie ..Slave (DBS 2) should go back to Slave position and all lost data will be replicated to Master DBS 1.

View 5 Replies View Related

General :: Master And Slave DNS Server Replication

Nov 29, 2010

I configured a master DNS server 192.168.2.10 working OK. After that I configure a DNS Slave Server (92.168.2.11)the initial replication worked fine. This is test environment for my certification. I see how the zones from my master are transferred
zones in Master
training.com.db
transferred zone to my slave when I started named service
sec.training.com.db

That's Ok but I added some IPs to resolve to my master zone
webserver IN A 192.168.2.30
fileserver IN A 192.168.2.31

I restart/reload named on master and after that I go to slave and restart/reload but zones wuth the new values are not replicated. How long does it take for slave to take the changes from master? how is the procedure manual or automatic? I see If I go to slave and delete sec.training.com and restart named the zone with the changes is transferred but that is very manual... I am including my DNS Configuration so you can take a look.

View 4 Replies View Related

Server :: User Privileges In Mysql Replication

Sep 27, 2010

Might this is silly question but I am not much familiar to database.I am doing master slave Mysql replication for load balancing. On master server different database has different user privileges. I create backup using mysqldump command and restore on slave server instead of using load data from master; command.When i replicate database from master to slave will i require to set user privileges same as master ?One more question: How to lock all database in mysql?

View 2 Replies View Related

Red Hat :: Remote Copy And Replication From JBoss RHQ Console

May 14, 2011

I want to copy a file to all RHQ-Agents through out RHQ-Console.

View 1 Replies View Related

OpenSUSE Network :: Setup Samba File Replication Between Two 10.3

Feb 2, 2010

i would like to know how to setup Samba file replication between two Opensuse 10.3 servers,

View 7 Replies View Related

Ubuntu Servers :: MySQL - Multi-Master Replication?

Aug 8, 2011

I have two computers (one tower, one laptop). On both the computers, I have apache & PHP & mysql running, so i can program/script anywhere I like. With a simple sync'ing program, the PHP scripts are synced between the PC's, thought the databases arent. Therefor I'm looking for a method to sync (replicate) the databases between the PC's. thought after setting up some configuration, i'm stuck... now with how to, but what to

Option 1) Multi-master replication between the PC and the laptop. With this setup, the database can ONLY sync once both the devices are turned on. Also it can only sync if they are turned on on my LAN, since they do not have an external static IP address. if I turn on both PC's on my LAN, with static IP's (from the DHCP server), this option will work. Thought, I basically never have both pc's turned on in my own home... cuz i can use only one at the time anyway.So I was thinking of another setup

Option 2) Multi-master replication with: online Server, PC and Laptop. The server basically contains the most up to date database. for example, the laptop updates the server and the server can update the PC later, once the PC is turned on. Also the other way around, the PC can update the server which can than update the Laptop.

There is, if i'm correct, only one problem: the only multi master replications setups I found, use a circulair setup... (1 updates 2, 2 updates 3, 3 updates 1) What I need is to have the PC update the server, but ALSO have the server update the PC (same for the laptop)

than there is another (little) problem: the PC and laptop cannot be reached from behind the modem, nor do they have a static IP. My question: Is it possible to sync the server with the laptop (that has no static IP), the laptop with the server (that has a static IP), and the same for the PC

PC <====> Server <====> Laptop

View 1 Replies View Related

General :: Open Source File Replication - Backup ?

Jun 5, 2010

I am IT Manager. Currently I am responsible for a mostly IBM shop, running a mix of AIX, OS/400. VMware, and Windows.

My P-series running AIX and Oracle and my AS/400 both back up to tape drives daily.
But my VMware system is not being backed up, the virtual machines are, but my tape drive just broke down.

I just ordered a server grade machine with an i5 CPU, running 3 2TB SATA drives in RAID5, this is going to be my new backup server.

I am hoping I can put Linux on it, and some sort of open source file replications, real time backup software that will back up my Windows servers, and my Windows desktops in real time.... any sort of animal exist?

View 5 Replies View Related

General :: Purging Binary Logs In MySQL Replication?

Sep 15, 2010

I had Configured a MySQL Master-Slave replication.It seems that the binary logs steals so much space of My storage.

i.)My Master

show master status;

+------------------+----------+--------------+------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+------------------+----------+--------------+------------------+
| mysql-bin.000144 | 475823 | | |
+------------------+----------+--------------+------------------+
1 row in set (0.00 sec)

ii.)My Slave.

mysql> SHOW SLAVE STATUSG;
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 10.277.55.141

[code]....

If i remove all binary files up tp mysql-bin.000144 using "PURGE",will it affect my existing database/any data loss.

View 14 Replies View Related

Ubuntu Servers :: LDAP - Cannot Get The Replication Server Operating Correctly

Jun 7, 2010

I have successfully installed Openldap and am able to authenticate to it, but I can not get the replication server operating correctly. I have followed all of the steps in doing so from this guide, [URL], but there are a few things i don't understand. when creating the consumer_sync.ldif file on the consumer server it says to replace ldap01.example.com to your server's hostname.

would this be the provider or consumer? My porvider is ldap@tech.local and my consumer is ldap-backup@tech.local.... so what one are they refurring to with the ldap01? And is there a way to push, or sync the two server manually? How do I know if they are backing up properly? How do I test?

View 1 Replies View Related

General :: Mysql Replication Fails After Reading Large Table?

Oct 15, 2010

My MySQL replication slave failed,while reading a large size table from master.Thhe information from error.logError 'Unknown table engine 'InnoDB'' on query. Default database: 'test'. Query: I am sure that table is a Big size table..

View 11 Replies View Related

Software :: Master And Slave OpenLDAP Setup Using Replication Method

May 13, 2011

I'm setting up a Master and Slave OpenLDAP (ver. 2.4.25) use Replication method following {URL]. When I used slapdcat (slapdcat -l master_dump.ldif), I got a message:

root@ldap:/usr/local/openldap/sbin# ./slapcat -l master_dump.ldif
/usr/local/openldap/etc/openldap/slapd.conf: line 89: <replogfile> keyword is obsolete (ignored)
/usr/local/openldap/etc/openldap/slapd.conf: line 91: <replica> keyword is obsolete (ignored)
bdb_db_open: warning - no DB_CONFIG file found in directory /usr/local/openldap/var/openldap-data: (2).
Expect poor performance for suffix "dc=abc,dc=com".
bdb_monitor_db_open: monitoring disabled; configure monitor database to enable

My Master slapd.conf is:
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate

# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
# if no access controls are present, the default policy allows anyone and everyone to read anything but restricts updates to rootdn. (e.g., "access to * by * read") .....

My Slave slapd.conf is similar configuration to the Master Server...

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved