trilio data mover #37

Supports: xenial bionic
Add to new model

Description

TrilioVault provides a backup and recovery solution that natively
integrates with OpenStack Clouds.
.
This charm provides the TrilioVault Data Mover Service which
forms part of the TrilioVault solution.


Overview

This charm provides the TrilioVault Data Mover Service which forms
part of the TrilioVault Cloud Backup solution.

Usage

TrilioVault Data Mover relies on services from nova-compute and rabbitmq-server.

Steps to deploy the charm:

juju deploy trilio-data-mover --config user-config.yaml
juju deploy nova-compute
juju deploy rabbitmq-server
juju add-relation trilio-data-mover rabbitmq-server
juju add-relation trilio-data-mover nova-compute

Configuration

Please provide below configuration options using a config file:

python-version: "Openstack base python version(2 or 3)"

NOTE - Default value is set to "3". Please ensure to update this based on
python version since installing python3 packages on python2 based setup
might have unexpected impact.

backup-target-type: nfs or s3

For NFS backup target:

nfs-shares: NFS Shares IP address only for nfs backup target

For Amazon S3 backup target:

tv-s3-secret-key: S3 secret access key

tv-s3-access-key: S3 access key

tv-s3-region-name: S3 region name

tv-s3-bucket: S3 bucket name

For non-AWS S3 backup target:

tv-s3-secret-key: S3 secret access key

tv-s3-access-key: S3 access key

tv-s3-endpoint-url: S3 endpoint URL

tv-s3-region-name: S3 region name

tv-s3-bucket: S3 bucket name

The configuration options need to be updated based on the S3 specific
requirements and the parameters that are not needed can be omitted.

TrilioVault Packages are downloaded from the repository added in
below config parameter. Please change this only if you wish to download
TrilioVault Packages from a different source.

triliovault-pkg-source: Repository address of triliovault packages

Bugs

Please report bugs on Launchpad.


Configuration

backup-target-type
(string) backup target type - nfs or s3
nfs
debug
(boolean) Enable debug logging
nfs-options
(string) NFS Options
nolock,soft,timeo=180,intr,lookupcache=none
nfs-shares
(string) NFS Shares mount source path
python-version
(int) THIS OPTION IS DEPRECATED AND HAS NO EFFECT
3
ssl_ca
(string) TLS CA to use to communicate with other components in a deployment. . __NOTE__: This configuration option will take precedence over any certificates received over the ``certificates`` relation.
ssl_cert
(string) TLS certificate to install and use for any listening services. . __NOTE__: This configuration option will take precedence over any certificates received over the ``certificates`` relation.
ssl_key
(string) TLS key to use with certificate specified as ``ssl_cert``. . __NOTE__: This configuration option will take precedence over any certificates received over the ``certificates`` relation.
triliovault-pkg-source
(string) Repository address of triliovault packages
deb [trusted=yes] https://apt.fury.io/triliodata-4-0/ /
tv-data-dir
(string) TrilioVault data mount point
/var/triliovault-mounts
tv-data-dir-old
(string) Old TrilioVault data dir
/var/triliovault
tv-datamover-max-commit-pending
(int) max_commit_pending parameter value in /etc/tvault-contego/tvault-contego.conf
3
tv-datamover-max-uploads-pending
(int) max_uploads_pending parameter value in /etc/tvault-contego/tvault-contego.conf
3
tv-datamover-qemu-agent-ping-timeout
(int) qemu_agent_ping_timeout parameter value in /etc/tvault-contego/tvault-contego.conf
600
tv-s3-access-key
(string) S3 access key
sample_s3_access_key
tv-s3-bucket
(string) S3 bucket name
sample_s3_bucket_name
tv-s3-endpoint-url
(string) S3 endpoint URL
tv-s3-region-name
(string) S3 region name
tv-s3-secret-key
(string) S3 secret access key
sample_s3_secret_key
use-internal-endpoints
(boolean) Openstack mostly defaults to using public endpoints for internal communication between services. If set to True this option will configure services to use internal endpoints where possible.
use-syslog
(boolean) Setting this to True will allow supporting services to log to syslog.
verbose
(boolean) Enable verbose logging