trilio data mover #2

Supports: xenial bionic
Add to new model

Description

Trilio-Data-Mover plugin installation on all compute nodes


Overview

TrilioVault Data Mover provides service for TrilioVault Datamover
on each compute node.

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: Backup target type e.g. 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

Contact Information

Trilio Support support@trilio.com


Configuration

backup-target-type
(string) Type of backup target. Valid types are- - nfs - s3
nfs
nfs-options
(string) NFS Options
nolock,soft,timeo=180,intr,lookupcache=none
nfs-shares
(string) NFS Shares mount source path
python-version
(int) Openstack base python version(2 or 3)
3
triliovault-pkg-source
(string) Repository address of triliovault packages
deb [trusted=yes] https://apt.fury.io/triliodata-3-3/ /
tv-data-dir
(string) TrilioVault data mount point
/var/triliovault-mounts
tv-data-dir-old
(string) Old TrilioVault data dir
/var/triliovault
tv-datamover-conf
(string) Trilio Vault Datamover config file location
/etc/tvault-contego/tvault-contego.conf
tv-datamover-debug
(boolean) debug parameter value in /etc/tvault-contego/tvault-contego.conf
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-datamover-verbose
(boolean) verbose parameter value in /etc/tvault-contego/tvault-contego.conf
True
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
tvault-datamover-ext-group
(string) nova service group name
nova
tvault-datamover-ext-usr
(string) nova service user name
nova
tvault-datamover-virtenv
(string) Trilio Vault home directory
/home/tvault
tvault-datamover-virtenv-path
(string) Trilio Vault Datamover virtual env
/home/tvault/.virtenv
tvault-datamover-virtenv-url
(string) Downloadable URL of triliovault contego virtual environment