SymmetricDS unidirectional replication - centos7

I'm implementing SymmetricDS (vs 3.9.4), one way replication (server => client), and I have some questions:
server and client are Oracle 12c in 2 different CentOS 7 machines.
On client I need only to install and start symmetric service,
right?
I need to create the SYM tables on client? Since this
replication is only from server to client I think it is not
necessary. right?
how client communicate with server? just based on
the sync.url property on engine file?
thanks

on client you'll need to install the symmetricDs service
you can create the sym_* tables or leave symmetricDs to create them. sym_* tables are necessary for symmetricDs to function
yes, the client will use the sync.url to connect to the server, register and request the initial load. Then the server will either push new syncing data to the client or the client will pull the new data from server. It depends how this communication is configured

Related

Transfer data from server to server SAS without SAS/CONNECT license

We need to transfer a file (.sashdata) from server to another. The limit is to not use SAS/CONNECT.
Is it possibile to perform this task with SAS code?
Is it possibile to perform this task with FTP/SFTP?
Server to Server transfer can be performed, but that requires host side actions. SAS Servers by default have option NOXCMD active which mean SAS code run on the server cannot perform host side actions.
You should coordinate with your SAS admins to effectuate a server-to-server transfer (i.e. host side scp or winscp)
The alternative is to have a client machine that receives a download from host A and then uploads to host B. The client would need access to both hosts and the security rights to download and upload the data set in question. The client machine app can be Enterprise Guide.

Insert data from 1 mysql database on a local server to a different one on a remote server

I have two database one is at client side and one is running at another machine (which i am using a remote database). I have to send a table data from client database to my remote database. But problem is if I use this code:
mysql_query(con, " select * from DB.Table1")
this function only works for Database (client side) and don't connect with my remote database. Its mean only 1 connection is possible at a time. I am doing it in C++ do you have any solution. ?

Create Topic in Foswiki server based on JSON input from external system

I want to create a topic on foswiki instance running on web server on local machine based on data coming from external system. The new topic data will be sent via POST request from external system (client) to this local machine's (server URL) port XXXX. When the data arrives at the port XXXX some how a new topic or update topic (if exist) event should be triggered on foswiki local instance. How can I achieve this? (any programming language)
The client and server machines are on LAN.
Have a look at WebDAVContrib. It has got a json view for topics. So you might simply upload a MyNewTopic.json to a webdav drive and the topic will be created accordingly.

How to avoid Hyper ledger Composer Rest server restart while upgrading(with change in model files) composer network installed?

We have a working setup of 3 peer nodes and a multi user rest server running on 1 of the peers. Now there are multiple user cards created and imported in the rest server(using web based client) which is working fine. I can trigger transactions and query the blockchain with it.
However In case I need to upgrade my network and there is some change in model file(i.e. any participant/asset/transaction parameters changes). I need to restart rest server so that effect can be observed by WEB based client application. So my questions are:
1. Is there a way to upgrade Rest interfaces without restarting the server.
2. In case Rest server crashed or restarted is there some way to use the old cards that were created before server shutdown.
When the REST server starts you can see that it "discovers" the Business Network and then generates the End Points. The discovery is not dynamic, so that when you change the model or other element of a BNA you need to restart the REST server to re-discover the updated network. (In a live scenario I would think changes to the model are infrequent.)
Are you using multi-user mode for the REST server? Assuming that you are, then Configuring the REST server with a persistent Data Source as described in the documentation, or this tutorial should solve the problem of re-importing the cards. You could also "backup" the cards after they have been used the first time by Exporting them.

Filtering data with Microsoft Sync Framework

Context: I'm working on a project that use Offline Application Architecture. Our client program has 2 modes: connected and disconnected. When user in disconnected mode, they will use their local database (SQL CE) for retrieving and storing data. When user connects to application server again, the local database will be synchronized with central database as well. The transport layer in this project is WCF, we implement a proxy class to expose SQLSyncProvider on client for Sync Framework to sync data.
Question: How could I implement data filtering with MSF? In our project, each client will has a role, and each role will have access to different number of tables as well as rows in table. As far as I know, MSF allows us to filter data with a parameter column however, the provision for users will be same. In my case, the provision for each user will be so different, it depends on user's role.
Thanks.
You can use adapter filters on server side, and can send some parameter to fetch data on client bases from client.
Client
this.Configuration.SyncParameters.Add(
new SyncParameter("#CustomerName", "Sharp Bikes"));
Server
SqlSyncAdapterBuilder