arangodb #2

Supports: bionic
Add to new model

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

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
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.
- | -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBFVtxt4BEAC4fnctqB2hfUi5SYzqeY3GOxo5Mj5jmqaxxNamO+qbsJpLarAn JnA2+TuH+HOdsZeqFHX1dVL0cmxgEq1Lm+vHgHVj/99O/KF/zCktLlk1qh20/3Qf +EHJ37GF7DfNcWalEmq5PByxVf8H2octZhUN3k4cyQxUN6RRKlWnAvS6tUG6KQ6w WOJdeeQ5S5O3d1y5cHc5Hb/oxSFgk6TDhI1UU/FVH5rt5rfcHbMMKSp9772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ttlWuwPCWbgaiVtB1GTTD2imIFu9WQgM3X0lqlkkhvO7Biw948s= =EK7h -----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/arangodb34/DEBIAN/ /'
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) ArangoDB web UI port. This port will also be used in Cluster mode to access the UI.
8529
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).