1
vote
2answers
97 views

How to clone a linux live server with no stopping it?

This is my current situation:+ A linux server containing several web applications that cannot be stopped, with no physical access to it, only via ssh. This is what I need: I need to replicate it to a ...
0
votes
3answers
589 views

Sync directory across two servers using rsync (or alternative for syncing directories)

I have two VMs that should have identical files in this directory: /var/www/owncloud/data/admin/files/ I initially thought that I could use rsync with cron to copy the files every two minutes: On ...
1
vote
1answer
381 views

Large lag on mysql replication (Relay_Log_Pos and Exec_Master_Log_Pos does not increase)

Today my two slave's (one mysql 5.1 and second MariaDB 5.5, master is mysql 5.1) started lagging. Similar situation are quite often with lags rises to even 10000 seconds, because slaves have worse ...
-1
votes
1answer
58 views

Replicate server to another enviroment

I am adopting a new enviroment for my application in production. My old env has a lot of configuration, like e-mail server, application server, database, java plataform, etc. I would like to replicate ...
1
vote
1answer
446 views

“Could not create IPv6 socket” postgresql standby error

I'm trying to create Postgresql 9.1 hot-standby using following steps: Configured 2 virtual linux machines. Master's ip: 10.10.10.1, Standby's ip: 10.10.10.2. Ping test passed. Restored the same db ...
0
votes
1answer
154 views

How can I synchronize users in a master-slave server setup on debian squeeze?

I'm currently setting up a 1:1 replication of a linux server. To simplify the process of updating users and groups I considered changing the uids and gids on the slave server to have them all like on ...
0
votes
1answer
165 views

Easiest way to replicate users between two (or more) servers?

I've got two webservers which takes part in a load balanced setup. The two webservers are in other words mirrors of each other. As it is right now I'm synchronizing data between these two servers ...
1
vote
1answer
85 views

Is failover with only two servers possible?

I'm trying to set up a basic high-availability solution with HAproxy and mysql. Currently it looks like this In case of host1 failing, the host2 is supposed to get it's IP and traffic (using feature ...
4
votes
1answer
185 views

MySQL Master - Master Broken

I've Inherited a Mysql master master system, I've noticed the second master (lets call it slave from now on as it's running on a 'slave' machine) stopped getting its db's updated. I saw that Master: ...
2
votes
1answer
121 views

For a simple replication over 2 server computers, should I use glassfish replication or ubuntu replication, or something else?

I want to set up a simple replication or exact mirroring, using 2 server computers I just bought, for the following purpose: I want to set up some websites, which, by design, may eventually need to ...
7
votes
4answers
3k views

Is DRBD the only viable block replication solution for Linux?

I've found myself needing redundant storage at a block level. File-level replication (Gluster, GFS, etc) does not work for my use case. It looks like DRBD is the go-to solution for block ...
3
votes
1answer
290 views

MySQL slave server restart

What's the secure/proper way of restarting the MySQl slave server. I need to reboot the machine in order to update the kernel and apply some configuration changes. I've tested it on my lab and ...
2
votes
3answers
176 views

Create a full replica of web server using different hosting company, is it logical?

Is it logical to create a full replica of our webserver, just on a less powerful machine, using other hosting provider ( just because its cheaper ). The idea is to have a plan B, in case main server ...
2
votes
1answer
4k views

DRBD Not syncing between my nodes

Some version info: Operating system is Ubuntu 11.10, on EC2, kernel is 3.0.0-16-virtual and the application info is: Version: 8.3.11 (api:88) GIT-hash: 0de839cee13a4160eed6037c4bddd066645e23c5 build ...
0
votes
1answer
1k views

Memcache Master and slaves

I'm using memcached-1.4.5-1.el5 & memcache-2.2.6 as php extension and memcached-1.2.8-repcached-2.2.1 for replication. The above packages are installed on 4 servers. How can I do the following? ...
2
votes
1answer
164 views

MySQL Replication: Move slave to be slave of another slave, without any (or least possible) downtime

I have the following setup: M1 = Master 1 S1 = Slave 1 S2 = Slave 2 S3 = Slave 3 Where all slaves are replicating directly from M1. I would like to move S2 and S3 to be slaves of S1. I'm not sure ...
1
vote
1answer
1k views

How can I provide live replication of a Linux server?

I need to be able to do live replication of a running Ubuntu server, so if the main machine goes down I can automatically failover to the other machine. I found mklivecd, but that seems to only get ...
0
votes
1answer
73 views

Aggregating data from multiple MySQL servers

I have 10 MySQL servers and each one holds a database that needs to be replicated to a single, centralised MySQL server. The complexity is that each server must replicate its database to the same ...
0
votes
1answer
128 views

switching master with minimal downtime

Currently have a MySQL replication setup in which Master A is replicated on another server db Slave B. I'm shutting down the server that hosts Master A and need to start a new server that houses ...
0
votes
1answer
54 views

Bind slave creating domain without any records

i have the same version of Bind running on two different host. When a new domain is created it is also created on the slave but there are no records within the domain. I am not sure what i need to do ...
0
votes
1answer
61 views

how mysql replication

I'm doing mysql replication (master - slave). There are a few questions Can I assign replication for some databases and not all databases that are on master (for example, ON master server there are ...
0
votes
1answer
31 views

add additional mysql master

I currently have 2 mysql servers running, 1 as master and 1 as slave as in the mysql manual http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html master->slave What I want to do is add a new ...
2
votes
5answers
3k views

mirrored filesystem across a few servers

I'm looking for a solution to mirror or replicate one directory (or one filesystem) across a few Linux servers. Ideal solution would be one, which permits all servers read-write access. I also want it ...
3
votes
3answers
1k views

BestReplicated File System - Small, Static Files

As part of our development workflow, we would like to have our build server publish our compiled binaries and other build artifacts to some LAN-based, replicated file system. Ideally, we'd just have ...
1
vote
1answer
2k views

Linux-based file replication: file-level or block-level?

I am currently re-architecting our backup solution and would like some input on how to do the replication portion. We have two sites, one much larger than the other, that we need to back up. I have ...
6
votes
3answers
836 views

What are the typical methods used to scale up/out email storage servers?

What I've tried: I have two email storage architectures. Old and new. Old: courier-imapds on several (18+) 1TB-storage servers. If one of them show signs of running out of disk space, we migrate ...
0
votes
1answer
167 views

Self-replicating Linux [closed]

Looking for a project that aims at creating a self-replicating Linux distro, i.e. a distro that when connected to other devices, attempts to replicate itself on those devices. Is there such a thing?
0
votes
1answer
321 views

Best way for Linux site and Database redundancy

I am looking to set up a redundant network that uses a load balancing solution to redirect traffic between two servers. The load balancer I will use is HaProxy. Example: Traffic -> Haproxy -> Server1 ...
4
votes
2answers
3k views

Create kickstart configuration file from existing configuration

Is there a script or another way to automatically generate a kickstart configuration file from the system state of an existing server so that the file can be use to replicate (not clone) the ...
2
votes
2answers
473 views

LVM, Soft RAID1, and Replication?

I am practicing putting together a HA file server. It is a linux server with 2 1.5TB Hard drives. My plan is to use LVM to manage the physical volumes into logical volumes for /, /home, and /var. ...
0
votes
1answer
99 views

Why is it that during my replication (master-slave), it keeps inserting data, then deleting data, then inserting data?

I followed this tutorial for master-slave replication: http://www.howtoforge.com/mysql%5Fmaster%5Fmaster%5Freplication Basically, this is what I did. Uninstalled mysql on both servers. Installed ...
0
votes
4answers
88 views

What is the best way to set up a master-master rig?

Because everyone says master-master is not recommended. But if you think about it...1 write server is hardly enough! So, how would you set it up (high-level, not tutorial-level) so that it works out ...
0
votes
1answer
785 views

MySQL auto-increment problem on master-master replication , and the logic to solve it

I had a auto-increment duplication issue for master-master replication. Then, I set: SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 99999; This skips 9999 queries. Then I did: SHOW SLAVE STATUS\G ...
0
votes
2answers
162 views

Lots of tiny mysql-bin.NNNN files

We're using mysql 5.0.somethin with a binary log and replication. However /var/log/mysql is full of lots of tiny 141 byte sized mysql-bin.NNNNN files. using mysqlbinlog I can see that they are empty ...
1
vote
4answers
311 views

What is the better way to add extra servers for reliability in our case?

We have the following servers: A. 1 x web server running MySQL (a forum). B. 1 x web server running RT with Postgres. C. 1 x web server running a home grown app with MonetDB as the backend Now of ...
40
votes
10answers
5k views

PostgreSQL Replication

We constantly bat this around the office, and the question continues to come up. How do you deal with PostgreSQL replication? I'm not even necessarily talking about advanced clusters, just keeping it ...