This MongoDB deployment is intended for use with BOSH deployment
- A deployment of BOSH
- Tested environment
Name | Version |
---|---|
MongoDB | 3 |
BOSH | 261.1 |
bosh-vsphere-cpi-release | v38 |
bosh-vsphere-esxi-ubuntu-trusty-go_agent | 3363.1 |
-
Bosh deployed
-
Single multi-tenant back-end cluster
-
service instances represent logical databases on the shared server
-
Authentication supported
-
You can follow the bosh document to install BOSH firstly
-
Create manifest file. You can find example mongodb3-release.manifest under examples folder as reference
-
Create and upload release
bosh create release --force
bosh upload release
-
Deploy
bosh deployment your_deployment_manifest_file
bosh -n deploy
bosh run errand replset --keep-alive
-
When it completes ,you can check mongodb node using
bosh vms
-
After some months usage, we suggest not to use haproxy to connect the mongo broker and app in the cloudfoudry.
Because the connection between app and mongo will not reconnect if some replset is down,
But can use the haproxy for date export/import.
- Dashboard
Welcome to contribute through pull request