replication

Suggestions for replication of data from MS Sql 2005 and MySql

只谈情不闲聊 提交于 2019-12-06 04:37:50
My company currently has a transactional db running on Sql Server 2005. We are going to add a MySql (running on linux) reporting db. We'll need to get replication running from the MS-Sql db to the MySql db. It doesn't have to be real time but should be within a few minutes. I've got pretty good MSSql Dev skills and so-so dba skills but no MySql background. The MySql guy on our team has no MSSql experience. I was wondering if anybody has setup anything similar and might have some suggestions. I've seen some things on migrating data between the two but not much for on-going replication. Right

How to configure replication? - This database is not enabled for publication

有些话、适合烂在心里 提交于 2019-12-06 04:10:44
问题 I'm trying to configure replication on SQL Server 2005. I can do it using wizard. But when I'm trying to run generated scripts by this wizard the error message appears: Msg 14013, Level 16, State 1, Procedure sp_MSrepl_addpublication, Line 159 This database is not enabled for publication. Msg 18757, Level 16, State 1, Procedure sp_MSrepl_addpublication_snapshot, Line 66 Unable to execute procedure. The database is not published. Execute the procedure in a database that is published for

ehcache auto-discovery (via multicast) between 2 instances on the same host

心已入冬 提交于 2019-12-06 02:36:50
问题 I run 2 tomcat instances on the same host. Each instance runs the same web application which tries to communicate some ehcache caches via RMI replication. I use the autodiscovery configuration in ehcache so I don't have to explicitly define which are the hosts and which are the caches I want to replicate. The ehcache instances do not manage to find each other and communicate: DEBUG (RMIBootstrapCacheLoader.java:211) - cache peers: [] DEBUG (RMIBootstrapCacheLoader.java:133) - Empty list of

MongoDB Multiple Masters in ReplicaSet

三世轮回 提交于 2019-12-06 01:42:41
问题 I've got a question concerning multiple masters in a replicaSet with MongoDB. I have the following layout: Server A --> with MongoDB & several applications Server B --> with MongoDB & several applications Both instances of MongoDB are organised in the same replica Set (Server A as Primary, Server B as Secondary). But now there is the problem. Both databases should contain data from the applications on the server. Is it possible to deploy a replica Set with two masters so that the data from

Gerrit replicating to gitolite fails

两盒软妹~` 提交于 2019-12-06 01:32:30
I have configured the replication with following configurations $cat /var/gerrit/review_site/etc/replication.config [gerrit] autoReload=true [remote "bt-git"] projects = ^vt-(.*)$ push = refs/heads/*:refs/heads/* url = git@git.something.com:/${name}.git My ssh config file looks like this one, Host git HostName git.something.com User git IdentityFile /var/gerrit/.ssh/id_rsa StrictHostKeyChecking no UserKnownHostsFile /dev/null Although I have already added the right set of hostkeys in my ~/.ssh/known_hosts the replication plugin fails with the following stacktrace [2017-08-02 13:08:55,194]

Failover support for a DB

只谈情不闲聊 提交于 2019-12-06 00:12:08
We are currently evaluating failover support in different databases. We were earlier using HSQLDB but it seems that it does not have clustering/replication support. Our requirement is simply to have two database servers, one being only for synchronous backup but if the primary server is down, then the secondary should automatically start acting as the primary server. Has anyone evaluated MySQL, PostgreSQL or any other DB server for such a use case? Edit: We had thought of using MySQL cluster but it now seems that it is under GPL license which we won't be able to work with. Could anyone please

Consolidate data from many different databases into one with minimum latency

筅森魡賤 提交于 2019-12-05 23:46:20
I have 12 databases totaling roughly 1.0TB, each on a different physical server running SQL 2005 Enterprise - all with the same exact schema. I need to offload this data into a separate single database so that we can use for other purposes (reporting, web services, ect) with a maximum of 1 hour latency. It should also be noted that these servers are all in the same rack, connected by gigabit connections and that the inserts to the databases are minimal (Avg. 2500 records/hour). The current method is very flakey: The data is currently being replicated (SQL Server Transactional Replication) from

Node js / MongoDB replica set array in javascript

前提是你 提交于 2019-12-05 23:34:50
Warning: I'm a novice programmer (more of sysadmin). We were given an node js application that's using MongoDB. From what I can tell, the mongo.js file is using mongojs and monq java classes. It was setup with only one MongoDB and I'm trying to setup a new HA environment to use a replica set. Here is what they provided: var mongojs = require('mongojs'); var monq = require('monq'); var dbName = 'exampledb'; var db = mongojs(dbName, ['collections']); var client = monq('mongodb://127.0.0.1/exampledb', { w: 1 }); exports.db = db; exports.ObjectId = mongojs.ObjectId; exports.monqClient = client;

MongoDB for C# and iPhone app

随声附和 提交于 2019-12-05 23:07:49
I'm in the initial phase of designing an application that will have a backend implemented in C# that will provide data for other platforms using WCF web services hosted on IIS. One of the platforms will the the iPhone. Since it's a personal project, I want to use it to learn MongoDB. I already know that there are community developed drivers for MongoDB and C#, so I could handle the persistence on the server side using MongoDB. Without even knowing the replications models offered by MongoDB, I was thinking about some kind of simple synchronization model to keep data local if the iPhone is not

cassandra sharding and replication

吃可爱长大的小学妹 提交于 2019-12-05 19:05:23
I am new to Cassandra was going though this Article explaining sharding and replication and I am stuck at a point that is - I have a cluster with 6 Cassandra nodes configured at my local machine. I create a new keyspace "TestKeySpace" with replication factor as 6 and a table in keyspace "employee" and primary key is auto-increment-number named RID. I am not able to understand how this data will be partitioned and replicated. What I want to know is since I am keeping my replication factor to be 6, and data will be distributed on multiple nodes, then will each node will be having exactly same