Tag Archives: Replication

Git repository cluster setup – Part 2

A git cluster with more then two servers with the approach described in Git repository cluster setup will increase the time you need to push changes to the cluster. This is because of the mirroring back. To solve this a more advanced version of the script is needed to avoid that the mirror-server would try to mirror the changes back to the master-server. Continue reading

Posted in Linux Administration, Version control system | Tagged , , , , | Comments Off on Git repository cluster setup – Part 2

MySQL Could not find first log file name

When MySQL shows the error “Could not find first log file name in binary log index file” it means that mysql is looking for a bin-log file that is not shown in the bin-log index file. This does not necessary mean the replication is completely broken. Continue reading

Posted in Database | Tagged , | Comments Off on MySQL Could not find first log file name

Restore MySQL replication after error

When you have a replication error that does not allow you to fix it as described in Fix MySQL replication error you need to repair it by restoring the replication completely. Continue reading

Posted in Database | Tagged , | Comments Off on Restore MySQL replication after error

Fix MySQL replication error

When you setup replication you need to make sure that no other data is available in the slave that can cause the data to be inconsistent. But if you run into problems like I had, you might notice that the … Continue reading

Posted in Database | Tagged , | Comments Off on Fix MySQL replication error

Git repository cluster setup

When you have gitosis and a number of repositories installed on a server and need to move them to another server or you want to build a cluster to have more then one server having serving the repository. This will describe how I solved this with my gitosis repositories. Continue reading

Posted in Linux Administration, Version control system | Tagged , , , , | Comments Off on Git repository cluster setup

Setup mysql master slave replication

MySQL server provides replication functionality to replicate data from a master server to multiple slave servers. The concept behind it is that there is one master server that allows read and write access and one or more slave servers that … Continue reading

Posted in Database | Tagged , | Comments Off on Setup mysql master slave replication