Backups-Admin Area

Trilio provides Backup-as-a-Service, which allows Openstack Users to manage and control their backups themselves. This doesn't eradicate the need for a Backup Administrator, who has an overview of the complete Backup Solution.

To provide Backup Administrators with the tools they need does Trilio for Openstack provide a Backup-Admin area in Horizon in addition to the API and CLI.

Access the Backups-Admin area

To access the Backups-Admin area follow these steps:

  1. Login to Horizon using admin user.

  2. Click on Admin Tab.

  3. Navigate to Backups-Admin Tab.

  4. Navigate to Trilio page.

The Backups-Admin area provides the following features.

It is possible to reduce the shown information down to a single tenant. That way seeing the exact impact the chosen Tenant has.

Status overview

The status overview is always visible in the Backups-Admin area. It provides the most needed information on a glance, including:

  • Storage Usage (nfs only)

  • Number of protected VMs compared to number of existing VMs

  • Number of currently running Snapshots

  • Status of TVault Nodes

  • Status of Contego Nodes

The status of nodes is filled when the services are running and in good status.

Workloads tab

This tab provides information about all currently existing Workloads. It is the most important overview tab for every Backup Administrator and therefor the default tab shown when opening the Backup-Admins area.

The following information are shown:

  • User-ID that owns the Workload

  • Project that contains the Workload

  • Workload name

  • Workload Type

  • Availability Zone

  • Amount of protected VMs

  • Performance information about the last 30 backups

    • How much data was backed up (green bars)

    • How long did the Backup take (red line)

  • Piechart showing amount of Full (Blue) Backups compared to Incremental (Red) Backups

  • Number of successful Backups

  • Number of failed Backups

  • Storage used by that Workload

  • Which Backup target is used

  • When is the next Snapshot run

  • What is the general intervall of the Workload

  • Scheduler Status including a Switch to deactivate/activate the Workload

Usage tab

Administrators often need to figure out, where a lot of resources are used up, or they need to quickly provide usage information to a billing system. This tab helps in these tasks by providing the following information:

  • Storage used by a Tenant

  • VMs protected by a Tenant

It is possible to drill down to see the same information per workload and finally per protected VM.

The Usage tab includes workloads and VMs that are no longer actively used by a Tenant, but exist on the backup target.

Nodes tab

This tab displays information about Trilio cluster nodes. The following information are shown:

  • Node name

  • Node ID

  • Trilio Version of the node

  • IP Address

  • Active Controller Node (True/False)

  • Status of the Node

The Virtual IP is shown as it's own node. It is typically shown directly below the current active Controller Node.

Data Movers tab (Trilio Data Mover Service)

This tab displays information about Trilio contego service. The following information are shown:

  • Service-Name

  • Compute Node the service is running on

  • Zone

  • Service Status from Openstack perspective (enabled/disabled)

  • Version of the Service

  • General Status

  • last time the Status was updated

Storage tab

This tab displays information about the backup target storage. It contains the following information:

  • Storage Name

Clicking on the Storage name provides an overview of all workloads stored on that storage.

  • Capacity of the storage

  • Total utilization of the storage

  • Status of the storage

  • Statistic information

    • Percentage all storages are used

    • Percentage how much storage is used for full backups

    • Amount of Full backups versus Incremental backups

Audit tab

Audit logs provide the sequence of workload related activities done by users, like workload creation, snapshot creation, etc. The following information are shown:

  • Time of the entry

  • What task has been done

  • Project the task has performed in

  • User that performed the task

The Audit log can be searched for strings to find for example only entries down by a specific user.

Additionally, can the shown timeframe be changed as necessary.

License tab

The license tab provides an overview over the current license and allows to upload new licenses, or validate the current license.

A license validation is automatically done, when opening the tab.

The following information about an active license are shown:

  • Organization (License name)

  • License ID

  • Purchase date - when was the license created

  • License Expiry Date

  • Maintenance Expiry Date

  • License value

  • License Edition

  • License Version

  • License Type

  • Description of the License

  • Evaluation (True/False)

Trilio will stop all activities once a license is no longer valid or expired.

Policy tab

The policy tab gives Administrators the possibility to work with workload policies.

Please use Workload Policies in the Admin guide to learn more about how to create and use Workload Policies.

Settings tab

This tab manages all global settings for the whole cloud. Trilio has two types of settings:

  1. Email settings

  2. Job scheduler settings.

Email Settings¶

These settings will be used by Trilio to send email reports of snapshots and restores to users.

Configuring the Email settings is a must-have to provide Email notification to Openstack users.

The following information are required to configure the email settings:

  • SMTP Server

  • SMTP username

  • SMTP password

  • SMTP port

  • SMTP timeout

  • Sender email address

A test email can be sent directly from the configuration page.

To work with email settings through CLI use the following commands:

To set an email setting for the first time or after deletion use:

workloadmgr setting-create [--description <description>]
                           [--category <category>]
                           [--type <type>]
                           [--is-public {True,False}]
                           [--is-hidden {True,False}]
                           [--metadata <key=value>]
                           <name> <value>
  • --description➡️Optional description (Default=None) ➡️ Not required for email settings

  • --category➡️Optional setting category (Default=None) ➡️ Not required for email settings

  • --type➡️settings type ➡️ set to email_settings

  • --is-public➡️sets if the setting can be seen publicly ➡️ set to False

  • --is-hidden➡️sets if the setting will always be hidden ➡️ set to False

  • --metadata➡️sets if the setting can be seen publicly ➡️ Not required for email settings

  • <name>➡️name of the setting ➡️ Take from the list below

  • <value>➡️value of the setting ➡️ Take value type from the list below

To update an already set email setting through CLI use:

workloadmgr setting-update [--description <description>]
                           [--category <category>]
                           [--type <type>]
                           [--is-public {True,False}]
                           [--is-hidden {True,False}]
                           [--metadata <key=value>]
                           <name> <value>
  • --description➡️Optional description (Default=None) ➡️ Not required for email settings

  • --category➡️Optional setting category (Default=None) ➡️ Not required for email settings

  • --type➡️settings type ➡️ set to email_settings

  • --is-public➡️sets if the setting can be seen publicly ➡️ set to False

  • --is-hidden➡️sets if the setting will always be hidden ➡️ set to False

  • --metadata➡️sets if the setting can be seen publicly ➡️ Not required for email settings

  • <name>➡️name of the setting ➡️ Take from the list below

  • <value>➡️value of the setting ➡️ Take value type from the list below

To show an already set email setting use:

workloadmgr setting-show [--get_hidden {True,False}] <setting_name>
  • --get_hidden➡️show hidden settings (True) or not (False) ➡️ Not required for email settings, use False if set

  • <setting_name>➡️name of the setting to show➡️ Take from the list below

To delete a set email setting use:

workloadmgr setting-delete <setting_name>
  • <setting_name>➡️name of the setting to delete ➡️ Take from the list below

Setting nameValue typeexample

smtp_default___recipient

String

admin@example.net

smtp_default___sender

String

admin@example.net

smtp_port

Integer

587

smtp_server_name

String

Mailserver_A

smtp_server_username

String

admin

smtp_server_password

String

password

smtp_timeout

Integer

10

smtp_email_enable

Boolean

True

Disable/Enable Job Scheduler

The Global Job Scheduler can be used to deactivate all scheduled workloads without modifying each one of them.

To activate/deactivate the Global Job Scheduler through the Backups-Admin area:

  1. Login to Horizon using admin user.

  2. Click on Admin Tab.

  3. Navigate to Backups-Admin Tab.

  4. Navigate to Trilio page.

  5. Navigate to the Settings tab

  6. Click "Disable/Enable Job Scheduler"

  7. Check or Uncheck the box for "Job Scheduler Enabled"

  8. Confirm by clicking on "Change"

The Global Job Scheduler can be controlled through CLI as well.

To get the status of the Global Job Scheduler use:

workloadmgr get-global-job-scheduler

To deactivate the Global Job Scheduler use:

workloadmgr disable-global-job-scheduler

To activate the Global Job Scheduler use:

workloadmgr enable-global-job-scheduler

Last updated