Difference between revisions of "Org.simantics.db.procore.server"

From Developer Documents
Jump to navigation Jump to search
m (Created page with 'ProCore is a semantic database. There are two network communication protocols: * ProCom * [http://www.opcfoundation.org/UA OPC Unified Architecture] === Random Q & As ==...')
(No difference)

Revision as of 14:16, 28 September 2010

ProCore is a semantic database.

There are two network communication protocols:


Random Q & As

The data written to a persistent store can be INVALUABLE.

Q: In case of DB corrupts, is there a recovery plan?

A: 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.

Q: Is there a backup plan?

A: 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:

TODO: gcc, g++, other tools?
$ apt-get install scons libace-dev liblzo2-dev uuid-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