MongoDB servicene skal bo i folderen /etc/systemd/system/ som
- mongodb.service
Når man i MongoDB verden sætter et kloster (Replica Set) op, så kan der være op til 50 noder i klosteret, men det er kun én node der er primær.
Man kan kun skrive til den primære og skulle den primære node forsvinde/dø, så tager en af de andre over som primær.
Det er muligt at benytte Sharding og her kan man skrive til flere klostere, men det er et helt andet og noget større setup.
Opsætning MongoDB
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/
Replication
https://docs.mongodb.com/manual/replication/
Sharding
https://docs.mongodb.com/manual/sharding/
Sikkerhed
https://docs.mongodb.com/manual/security/
https://docs.mongodb.com/manual/tutorial/create-users/
Certifikat
https://docs.mongodb.com/manual/tutorial/configure-ssl/
https://docs.mongodb.com/manual/tutorial/configure-ssl-clients/
http://mongodb.github.io/mongo-java-driver/3.4/driver/tutorials/ssl/
Download software
MongoDB (Version 3.4.2 frigivet 2/1-2017)
3 ways you can connect to MongoDB from WildFly - JBoss EAP
Developing applications with MongoDB and PrimeFaces on WildFly
How to Connect to MongoDB from a Java EE Stateless Application
How to install MongoDB on a Raspberry Pi…Really!
How to install Node.js, MongoDB and heimcontrol.js on your Raspberry PI
Building Web Applications with MongoDB: An Introduction
Getting Started with Java Driver
Install MongoDB on Red Hat Enterprise, CentOS, or Fedora Linux
JPA on NoSQL: an approach with Hibernate OGM [VIDEO]
Java Persistence Frameworks for MongoDB
How to use Hibernate OGM in Jboss AS 7
Configuring EclipseLink 2.3.1 in JBoss 7.1
MongoDB Persistence via EclipseLink NoSql JBoss AS 7.1.1.Final
Java EE 6 and NoSQL/MongoDB on GlassFish using JPA and EclipseLink 2.4 (TOTD #175)
Porting seam hotel booking example to OGM
Hibernate OGM - JPA for NoSQL?
PowerPoint Presentation - day2track2session3.pdf
EclipseLink/Examples/JPA/NoSQL
Configuring HibernateOGM for your JBoss app using MongoDB on OpenShift PaaS
Java Persistence Performance - EclipseLink JPA supports MongoDB