This commit is contained in:
Thorsten Sommer 2015-07-16 20:35:43 +02:00
parent 4dfda5a807
commit 47fc86f490

View File

@ -49,11 +49,11 @@ The second configuration file is **configuration.json**. It contains the configu
```JSON ```JSON
{ {
"ConfigDBHostname" : "127.0.0.1:27017", "ConfigDBHostname" : "127.0.0.1:27017",
"ConfigDBDatabase" : "MyOcean", "ConfigDBDatabase" : "MyOcean",
"ConfigDBConfigurationCollection" : "Configuration", "ConfigDBConfigurationCollection" : "Configuration",
"ConfigDBConfigurationCollectionUsername" : "MyOceanConfig", "ConfigDBConfigurationCollectionUsername" : "MyOceanConfig",
"ConfigDBConfigurationCollectionPassword" : "PWD" "ConfigDBConfigurationCollectionPassword" : "PWD"
} }
``` ```
The `ConfigDBConfigurationCollection` collection gets automatically created. After both files are present and the MongoDB database or database cluster is running, Ocean is able to start. The database can and should be empty. Ocean does the configuration automatically. Due to this minimal local configuration and the distributed configuration database, the deployment of additional Ocean servers can be achieved by using e.g. data center scripts, etc. The `ConfigDBConfigurationCollection` collection gets automatically created. After both files are present and the MongoDB database or database cluster is running, Ocean is able to start. The database can and should be empty. Ocean does the configuration automatically. Due to this minimal local configuration and the distributed configuration database, the deployment of additional Ocean servers can be achieved by using e.g. data center scripts, etc.
@ -91,7 +91,10 @@ exit
* Finnaly, start Ocean again. The system should now run fine. Please have a look at the ICCC startup logging messages. * Finnaly, start Ocean again. The system should now run fine. Please have a look at the ICCC startup logging messages.
### Use Ocean as distributed messaging broker ### Use Ocean as distributed messaging broker
For this case, you can now start your other ICCC components. This are e.g. some Java, Python or C# programs which are using the Ocean ICCC drivers. These drivers currently under development and they will be available soon. For this case, you can now start your other ICCC components. This are e.g. some Java, Python or C# programs which are using the Ocean ICCC drivers. These drivers currently under development and they will be available soon. **The next priority:** OceanPy, the ICCC driver for Python.
**Available ICCC drivers:**
- [OceanNET - ICCC with .NET and C#](https://github.com/SommerEngineering/OceanNET)
### Use Ocean as framework e.g. for websites ### Use Ocean as framework e.g. for websites
For this case, an example project with documentation is available here: https://github.com/SommerEngineering/Example003 For this case, an example project with documentation is available here: https://github.com/SommerEngineering/Example003