Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.14' of https://github.com/JumpMind/symmetric-ds.git i…
…nto 3.14
- Loading branch information
Showing
71 changed files
with
1,175 additions
and
11,109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,34 @@ | ||
<a href="https://sourceforge.net/projects/symmetricds/files/latest/download" rel="nofollow"><img alt="Download SymmetricDS" src="https://img.shields.io/sourceforge/dt/symmetricds.svg"></a> | ||
|
||
[![Build Status](https://dev.azure.com/jumpmind/symmetricds/_apis/build/status/SymmetricDS?branchName=3.10)](https://dev.azure.com/jumpmind/symmetricds/_build/latest?definitionId=4&branchName=3.10) | ||
<a href="https://sourceforge.net/projects/symmetricds/files/latest/download" rel="nofollow"><img alt="Download SymmetricDS" src="https://img.shields.io/sourceforge/dt/symmetricds.svg"></a> [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) | ||
|
||
# SymmetricDS | ||
SymmetricDS is a database and file synchronization solution that is platform-independent, web-enabled, and database agnostic. SymmetricDS was built to make data replication across two to tens of thousands of databases and file systems fast, easy and resilient. We specialize in near real time, bi-directional data replication across large node networks over the WAN or LAN. | ||
|
||
SymmetricDS is sponsored by http://www.jumpmind.com. JumpMind also provides support and a professional version that features a web-based user interface that simplifies configuration and management. | ||
|
||
You can find articles on SymmetricDS at http://www.jumpmind.com/blog and https://medium.com/data-weekly. | ||
|
||
Open source downloads here: | ||
SymmetricDS is database replication and file synchronization software that is platform independent, web enabled, and database agnostic. It is designed to make bi-directional data replication fast, easy, and resilient. It scales to a large number of nodes and works in near real-time across WAN and LAN networks. | ||
|
||
<a href="https://sourceforge.net/projects/symmetricds/files/latest/download" rel="nofollow"><img alt="Download SymmetricDS" src="https://a.fsdn.com/con/app/sf-download-button"></a> | ||
|
||
Documentation is available at http://www.symmetricds.org/docs/overview. | ||
--- | ||
|
||
Professional downloads are available at http://www.jumpmind.com/products/symmetricds/download. Documentation is available at http://www.jumpmind.com/products/symmetricds/documentation. | ||
[Website](https://www.symmetricds.org) | [Documentation](https://www.symmetricds.org/docs/overview) | [Forum](https://sourceforge.net/p/symmetricds/discussion) | [Chat Room](https://gitter.im/symmetricds/Lobby) | [Issue Tracker](https://www.symmetricds.org/issues) | [Docker Hub](https://hub.docker.com/r/jumpmind/symmetricds) | ||
|
||
We also have developed a native SymmetricDS client. Check out the code in the [symmetric-client-clib](symmetric-client-clib) and [symmetric-client-native](symmetric-client-native). | ||
--- | ||
|
||
## Core Product Development | ||
We use Eclipse for development. | ||
## Developers | ||
Read the [Developer Overview](https://www.symmetricds.org/developer/overview) to get started. You will need Java JDK 8 or later and Eclipse IDE. To setup a development environment run the following commands: | ||
|
||
To setup a development environment run the following commands: | ||
``` | ||
cd symmetric-assemble | ||
./gradlew develop | ||
``` | ||
|
||
This will generate Eclipse project artifacts. You can then import the projects into your Eclipse workspace. | ||
This will generate Eclipse projects that can be imported into your workspace. To contribute code changes back to the community, make sure you sign and submit the [Contributor License Agreement](https://www.symmetricds.org/developer/contributor). | ||
|
||
## Join the Community | ||
- Discuss on Forums: https://sourceforge.net/p/symmetricds/discussion | ||
- Chat on Gitter: https://gitter.im/symmetricds/Lobby | ||
- Q&A on Stack Overflow: https://stackoverflow.com/questions/tagged/symmetricds | ||
- Read JumpMind's Data Blog: https://www.jumpmind.com/blog | ||
- Read JumpMind's Data Weekly on Medium: https://medium.com/data-weekly | ||
- Follow on Facebook: https://www.facebook.com/symmetricds | ||
- Follow on Twitter: https://twitter.com/symmetricds | ||
|
||
## Sponsors | ||
SymmetricDS is sponsored by [JumpMind](https://www.jumpmind.com), who provides professional support, services, and software on top of the core open source software. [SymmetricDS Pro](https://www.jumpmind.com/products/symmetricds/overview) is a professional version of the software that [adds enterprise features](https://www.jumpmind.com/products/symmetricds/editions), including a web user interface for configuration and management, support for clustering, bulk load performance, and enhanced security. It's backwards compatible with SymmetricDS, so it's easy to [try out SymmetricDS Pro](https://www.jumpmind.com/products/symmetricds/try). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[![SymmetricDS](https://www.jumpmind.com/images/common/symmetricds.png)](https://www.jumpmind.com/products/symmetricds/overview) | ||
- - - | ||
This repository contains the JumpMind Inc. official Docker image for SymmetricDS. This Docker image is based on the openjdk:alpine image. This installation contains the default web server configuration for SymmetricDS. | ||
|
||
Overview | ||
=== | ||
SymmetricDS is an open source database replication tool that is highly scalable and configurable. SymmetricDS supports a wide variety of database platforms such as MySQL, Microsoft SQL Server, PostgreSQL, SQLite, Oracle SQL, and more. Please visit the SymmetricDS website to learn more about the options and features: https://www.symmetricds.org/ | ||
|
||
Running a SymmetricDS Container | ||
=== | ||
To start SymmetricDS using HTTP run the following command: | ||
`docker run -p 31415:31415 --name sym jumpmind/symmetricds` | ||
|
||
***Please note that you must allow the IP of the Docker container to connect to the database in your database settings. If you are running locally, allowing localhost is not sufficient since the Docker container is on a separate subnet.*** | ||
|
||
Connecting to a Running Container | ||
=== | ||
SymmetricDS may require manual configuration on the file system via command line tools. To do this, run the following command to open a shell on a running container: | ||
`docker exec -it sym /bin/sh` | ||
|
||
This will open the default shell for Alpine Linux so that manual changes can be made on the container's file system. | ||
|
||
Volumes | ||
=== | ||
Volumes allow data and files to be persisted across multiple containers. This Docker image is configured to allow volumes for the engines, tmp, conf, and security directories so that configuration can be persisted. | ||
|
||
To mount a volume, add one or more of the following argument to the run command: | ||
`-v sym-engines:/opt/symmetric-ds/engines` | ||
`-v sym-tmp:/opt/symmetric-ds/tmp` | ||
`-v sym-conf:/opt/symmetric-ds/conf` | ||
`-v sym-security:/opt/symmetric-ds/security` | ||
|
||
As an example, the following run command can be used to start SymmetricDS using HTTP and create the sym-engines, sym-conf, and sym-security volumes: | ||
`docker run -p 31415:31415 --name sym -v sym-engines:/opt/symmetric-ds/engines -v sym-conf:/opt/symmetric-ds/conf -v sym-security:/opt/symmetric-ds/security jumpmind/symmetricds` | ||
|
||
The above command will allow the engines, conf, and security directories to be persisted in the sym-engines, sym-conf, and sym-security volumes respectively. If this container is stopped or deleted, a new container can be created using the same command and the configuration from the previous container will be retained. | ||
|
||
Building a SymmetricDS Image | ||
=== | ||
`docker build -t symmetricds .` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
=== SinglStore | ||
|
||
SingleStore is only available in the professional version of SymmetricDS. Supports bi-directional replication with SingleStore using log based data capture from the audit logs. | ||
|
||
==== Requirements | ||
|
||
User provided to connect SymmetricDS to the SingleStore database must be different than the user account used by applications writing to SingleStore. This is required for configurations where SingleStore is used as a source. | ||
|
||
Several database variables need to to be setup to support audit logging when SingleStore is a source node. These variables can be set using the sdb-admin tool. | ||
|
||
.Setting variables | ||
---- | ||
sdb-admin update-config --key auditlog_level --value ALL-QUERIES-PLAINTEXT --all | ||
sdb-admin update-config --key auditlog_disk_sync --value ON --all | ||
sdb-admin update-config --key auditlog_retention_period --value 7 --all | ||
---- |
Oops, something went wrong.