hi,
Because the internet not available at all times, the costumer ask me if he can work offline (local host) in his PCs (PC1, PC2, PC3, …), then when the internet available Synchronizes data between offline and online openemr.
are you have any ideas, how I can do that?
Great question! I work under same circumstances. HOW to be sure not loosing INPUT of the Local or Web-site installations. This has nothing to do with OpenEMR, but everything with implementation of a great feature. Hope “THEY” jump in to show to way.
3 computers work on same database (same site) but in different locations.
My idea: install openemr locally if I have on 1 computer, or install openemr on local server and the other client computers connect to that server to work on openemr, after that the computer (or server) which has openemr may connect automatically when internet available to update database and update “sites” folder.
but the question what if 3 computers (for example) cannot connect locally because it far.
Ok, so you really are talking about multiple locations.
The Multiple Sites Module was built for computers which are too far to connect by wire or outside the range of the router. The connection between the computers would be the Internet when it is available.
As stated in the article cited above, there are security risks associated with this method of connecting the computers.
When the Internet connection becomes available, synchronization of the Default folders and MySql database would occur over an intranet or a virtual private network.
I am talking about synchronization
the Default folders and MySql database on intranet or a virtual private network
and
the Default folders and MySql database on intrnet
A fundamental problem is that OpenEMR uses auto-increment columns for just about every single new data record. So if actions are happening at more than one site at a time, ID’s are going to conflict. There’s definitely no way to handle this problem just using “off the shelf” replication strategies at present.