Difference between revisions of "Org.simantics.db.procore.server"
m |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Simantics Core is a semantic database server application. | |
− | |||
− | |||
− | |||
− | |||
+ | === Backup Plan === | ||
The data written to a persistent store can be '''INVALUABLE'''. | The data written to a persistent store can be '''INVALUABLE'''. | ||
− | + | Change set data combined with transaction journaling provides safety against crashes and power outages etc. If data gets corrupted anyway, backups must be used to recover data. | |
− | + | Periodical full binary backup of the database can be done. Critical parts of the data can also be stored periodically as Transferable Graphs (this format does not depend on the ProCore version). | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Arguments to Server === | === Arguments to Server === | ||
Line 23: | Line 14: | ||
=== Linux 32/64-bit === | === Linux 32/64-bit === | ||
Install prerequisites: | Install prerequisites: | ||
− | + | $ apt-get install gcc g++ scons libace-dev liblzo2-dev uuid-dev libboost-all-dev | |
− | $ apt-get install scons libace-dev liblzo2-dev uuid-dev | ||
Checkout source: | Checkout source: | ||
$ svn co https://www.simulationsite.net/svn/simantics/db/trunk/org.simantics.db.procore.server | $ svn co https://www.simulationsite.net/svn/simantics/db/trunk/org.simantics.db.procore.server |
Latest revision as of 12:47, 20 July 2011
Simantics Core is a semantic database server application.
Backup Plan
The data written to a persistent store can be INVALUABLE. Change set data combined with transaction journaling provides safety against crashes and power outages etc. If data gets corrupted anyway, backups must be used to recover data. Periodical full binary backup of the database can be done. Critical parts of the data can also be stored periodically as Transferable Graphs (this format does not depend on the ProCore version).
Arguments to Server
The only argument the server accepts is name of file containing configuration arguments. If an argument is not given the name server.cnfg is used. If file is not found or there is error during parsing of the file server does not start. An example of configuration file, which also documents the parameters that can be given, is found in org.simantics.db.undocore.OS.ARCH plugin.
Compiling
Linux 32/64-bit
Install prerequisites:
$ apt-get install gcc g++ scons libace-dev liblzo2-dev uuid-dev libboost-all-dev
Checkout source:
$ svn co https://www.simulationsite.net/svn/simantics/db/trunk/org.simantics.db.procore.server
Compile ProCoreServer
$ cd org.simantics.db.procore.server $ scons install
VS2008
Get VS2008.zip from org.simantics.db.procore.server.win32 (SVN) and extract to location X
load org.simantics.db.procore.server/procore/ProCoreServer/ProCoreServer.sln
in Tools/Options/Projects and Solutions/VC++ Directories
- add X\VS2008\inc to 'Include files' first entry
- add x\VS2008\x86\$(ConfigurationName) to 'Library files' last entry
in ProCoreServer project options
- add ..\$(ConfigurationName).cnfg to Debugging/CommandArguments
- add $(ConfigurationName) to Debugging/Working Directory
- add PATH=X/VS2008/x86/$(ConfigurationName) to Debugging/Environment