arangodb #1

Description

ArangoDB is a native multi-model, open-source database with flexible
data models for documents, graphs, and key-values.


Overview

ArangoDB is a native multi-model, open-source database with flexible
data models for documents, graphs, and key-values. This charm installs and
configures ArangoDB.

Usage

Deploy the ArangoDB charm with the following:

juju deploy cs:~tengu-team/arangodb-1

The ArangoDB UI is then available at http://x.x.x.x:8592. If the root password is not provided in the config.yaml, then the root password will be auto-generated and will be shown in the status of the charm.

Clustering

The ArangoDB charm supports clustering but will need at least 3 units to work in cluster mode. This charm uses the default configuration for cluster where every unit will act as DB server and Coordinator.

2 units

If a model contains 2 units then there are two possible situations on how the charms will behave.

1) If a unit was added and the model upgraded from 1 to 2 units, then the first unit that was created will be available in standalone mode while the second unit will get in a blocked state.

2) If a unit was removed while ArangoDB was running in cluster mode, Then both of the units will get in a blocked state.

Limitations

  • When a unit is removed in cluster mode, The UI will still show this node in his cluster but with an exclamation mark next to it. The User can then choose to remove it from the list.

Contact Information

Authors

Configuration

port
(int) ArangoDB web UI port. This port will also be used in Cluster mode to access the UI.
8529
authentication
(boolean) Setting this option to false will turn off authentication on the server side so all clients can execute any action without authorization and privilege checks. The default value is true.
True
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
extra_packages
(string) Space separated list of extra deb packages to install.
root_password
(string) Administrator password is empty by default (username root). During the installation of the charm the user may choose a new password. If this action is not carried out, then a new password will be automatically generated. When the charm has been installed the user may change the admin password. We recommend to select a secure and robust password (please avoid passwords such as "root" or an empty string).
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.
- | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 mQINBFVtxt4BEAC4fnctqB2hfUi5SYzqeY3GOxo5Mj5jmqaxxNamO+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21vWA6GF p8yNHVry9IFfxsQRimvbbmPUJhoU7ejuPzcNbhM99eMTDmZLJQjSMSlENw/o3kgs ZSyCZleiRy6oZObX0og5HylCobpgQ6zOir1FMGp5YZWoLrktwhmNeBJl8nY4L8nn 196kJE2gn/21iPzschhMgrUYb94dplcBcxBEDpZXZlR80LY73TkVbONDMcq7tToV 6xrA4qPLQbNCJXKSK0tpQTTKFD+jyb6olQHC83YIIK/xfcJygw9wCqWph08jf0G3 Y5Du5R+g2tp/7Z9q4ap9tSIUxjMEbT4bb8rv0ZkfDglvcvZhxe4cYziU9QEdFMtU hI8qINaEAqu1NmAl/6KtCl0rYFKEfu5PbN8pvP5+nxskik142OWiTcsX2hOTeIqi wye+UAO89hOjHlVerdfwUzQleewCLC2PWnd6QcBJVpHU9K6TDUe+E3n4US9R2bPp eY60c0UBI3e1V9jpwGFp4Kel/usbaV+DpV6etF0+tIJsxgEEFTDHOA== =7TM0 -----END PGP PUBLIC KEY BLOCK-----
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.
- 'deb https://download.arangodb.com/arangodb32/xUbuntu_16.04/ /'