mongodb #5

Supports: xenial trusty

Add to new model

Description

MongoDB is a high-performance, open source, schema-free document-
oriented data store that's easy to deploy, manage and use. It's
network accessible, written in C++ and offers the following features:

  • Collection oriented storage - easy storage of object-style data
  • Full index support, including on inner objects
  • Query profiling
  • Replication and fail-over support
  • Efficient storage of binary data including large objects (e.g. videos)
  • Auto-sharding for cloud-level scalability (Q209) High performance, scalability, and reasonable depth of functionality are the goals for the project.


MongoDB Charm

Build Status Coverage Status


Configuration

auth
(boolean) Turn on/off security
backup_copies_kept
(int) Number of backups to keep. Keeps one week's worth by default.
7
backup_directory
(string) Where can the backups be found.
/home/ubuntu/backups
backups_enabled
(boolean) Enable daily backups to disk.
bind_ip
(string) IP address that mongodb should listen for connections.
0.0.0.0
cpu
(boolean) Enables periodic logging of CPU utilization and I/O wait
dbpath
(string) The path where the data files will be kept.
/var/lib/mongodb
diaglog
(int) Set oplogging level where n is 0=off (default), 1=W, 2=R, 3=both, 7=W+some reads
extra_packages
(string) Space separated list of extra deb packages to install.
install_keys
(string) List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). The keys should be the full ASCII armoured GPG public keys. While GPG key ids are also supported and looked up on a keyserver, operators should be aware that this mechanism is insecure. null can be used if a standard package signing key is used that will already be installed on the machine, and for PPA sources where the package signing key is securely retrieved from Launchpad.
install_sources
(string) List of extra apt sources, per charm-helpers standard format (a yaml list of strings encoded as a string). Each source may be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives, or a distribution component to enable.
journal
(boolean) Enable journaling, http://www.mongodb.org/display/DOCS/Journaling
True
logappend
(boolean) Append log entries to existing log file
True
logpath
(string) The path where to send log data.
/var/log/mongodb/mongodb.log
logrotate-frequency
(string) How often should the logs be rotated. Use values from logrotate.
daily
logrotate-maxsize
(string) Maximum log size before rotating.
500M
logrotate-rotate
(int) Number of log files to keep.
5
mms-interval
(string) Ping interval for Mongo monitoring server ( in number of seconds )
disabled
mms-name
(string) Server name for Mongo monitoring server
disabled
mms-token
(string) Accout token for Mongo monitoring server
disabled
nocursors
(boolean) Diagnostic/debugging option
nohints
(boolean) Ignore query hints
noprealloc
(boolean) Disable data file preallocation
noscripting
(boolean) Turns off server-side scripting. This will result in greatly limited functionality
notablescan
(boolean) Turns off table scans. Any query that would do a table scan fails
nssize
(string) Specify .ns file size for new databases
default
objcheck
(boolean) Inspect all client data for validity on receipt (useful for developing drivers)
opIdMem
(string) Size limit for in-memory storage of op ids
default
oplogSize
(string) Custom size for replication operation log
default
package_status
(string) The status of service-affecting packages will be set to this value in the dpkg database. Valid values are "install" and "hold".
install
port
(int) Default MongoDB port
27017
quota
(boolean) Enable db quota management
replicaset
(string) Name of the replica set
myset
verbose
(boolean) Verbose logging output
version
(string) The version of MongoDB to install. By default the version from the Ubuntu Archive is installed. However, any upstream version since 2.0 can be installed if the exact version string is set.
archive
web_admin_ui
(boolean) Replica Set Admin UI (accessible via default_port + 1000)
True