LogoLogo
T4O-5.x
T4O-5.x
  • About Trilio for OpenStack
    • Welcome to Trilio for OpenStack
    • T4O Architecture
    • Release Notes
    • Compatibility Matrix
    • Resources
      • 5.2.4
      • 5.2.3
      • 5.2.2
      • 5.2.1
      • 5.2.0
      • 5.1.0
      • 5.0.0
  • Getting Started
    • Requirements
      • Network Considerations
      • Installation Strategy and Preparation
    • Getting started with Trilio on Red-Hat OpenStack Platform (RHOSP)
      • Post Installation Health-Check
    • Getting started with Trilio on Kolla-Ansible OpenStack
    • Getting started with Trilio on Canonical OpenStack
    • Software Driven Migration: VMware to OpenStack
      • Trilio's Approach
      • Supported Environments
      • Preparations
      • Deployment & Configuration
      • VM Migration Tool
      • Limitations
    • Licensing
    • Installing WorkloadManager CLI client
    • Uninstall Trilio
      • Uninstalling from RHOSP
  • Upgrading to T4O-5.x from older supported versions
    • Supported Trilio Upgrade Path
    • Upgrading on RHOSP
    • Upgrading on Kolla
    • Enabling T4O 4.1 or older backups when using NFS backup target
  • Advanced Configuration
    • Switching NFS Backing file
    • Multi-IP NFS Backup target mapping file configuration
    • Advanced Ceph configurations
      • Additions for multiple CEPH configurations
    • Multi-Region Deployments
  • User Guide
    • Workloads
    • Snapshots
    • Restores
    • File Search
    • Snapshot Mount
    • Schedulers
    • E-Mail Notifications
    • VMware migration
      • Migration Plans
        • How-to Guide: Creating a Migration Plan
      • Migrations
        • How-to Guide: Initiating a Migration
  • Admin Guide
    • Backups-Admin Area
    • Workload Policies
    • Workload Quotas
    • Managing Trusts
    • Workload Import & Migration
    • Disaster Recovery
      • Example runbook for Disaster Recovery using NFS
      • Example runbook for Disaster Recovery using S3
    • Migrating encrypted Workloads
    • Rebasing existing workloads
  • Troubleshooting
    • Frequently Asked Questions
    • General Troubleshooting Tips
    • Important log files
  • API GUIDE
    • Workloads
    • Snapshots
    • Restores
    • File Search
    • Snapshot Mount
    • Schedulers
    • E-Mail Notification Settings
    • Workload Policies
    • Workload Quotas
    • Managing Trusts
    • Workload Import and Migration
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Advanced Configuration

Multi-Region Deployments

This document discusses OpenStack multi-region deployments and how Trilio (or T4O, which stands for Trilio For OpenStack) can be deployed in multi-region OpenStack clouds.

PreviousAdditions for multiple CEPH configurationsNextWorkloads

Last updated 1 year ago

Was this helpful?

OpenStack is designed to be scalable. To manage scale, OpenStack supports various resource segregation constructs: Regions, cells, and availability zones to manage OpenStack resources. Resource segregation is essential to define fault domains and localize network traffic.

Regions

From an end user's perspective, OpenStack regions are equivalent to regions in Amazon Web Services. Regions live in separate data centers, often named after their location. If your organization has a data center in Chicago and one in Boston, you'll have at least a CHG and a BOS region. Users who want to disperse their workloads geographically will place some in CHG and some in BOS. Regions have separate API endpoints for all services except for Keystone. Users, Tenants, and Domains are shaped across regions through a single Keystone deployment.

Availability Zones

Availability Zones are an end-user visible logical abstraction for partitioning a cloud without knowing the physical infrastructure. Availability zones can partition a cloud on arbitrary factors, such as location (country, data center, rack), network layout, and power source. Because of the flexibility, the names and purposes of availability zones can vary massively between clouds.

In addition, other services, such as the and the , also provide an availability zone feature. However, the implementation of these features differs vastly between these different services. Please look at the documentation for these other services for more information on their implementation of this feature.

Cells

Cells functionality enables OpenStack to scale the compute in a more distributed fashion without using complicated technologies like database and message queue clustering. It supports vast deployments.

Cloud architects can partition OpenStack Compute Cloud into groups called cells. Cells are configured as a tree. The top-level cell should have a host that runs a nova-api service but no nova-compute services. Each child cell should run all the typical nova-* services in a regular Compute cloud except for nova-api. You can think of cells as a regular Compute deployment in that each cell has its database server and message queue broker.

This document discusses OpenStack multi-region deployments and how Trilio can be deployed in multi-region OpenStack clouds.

Multi-Region OpenStack Deployments

OpenStack offers lots of flexibility with multi-region deployments, and each organization architects the OpenStack that meets their business needs. OpenStack only suggests that the Keystone service is shared between regions, and the rest of the service endpoints differ for different regions. RabbitMQ and MySQL databases can be shared or deployed independently.

The following code section is a snippet of OpenStack services endpoints in two regions.

region=RegionOne
Network Subnet: 172.21.6/23

| neutron     | network      | RegionOne                                                                |
|             |              |   public: https://172.21.6.20:9696                                       |
|             |              | RegionOne                                                                |
|             |              |   internal: https://172.21.6.20:9696                                     |
|             |              | RegionOne                                                                |
|             |              |   admin: https://172.21.6.20:9696                                        |
|             |              |                                                                          |                                    |
|             |              |                                                                          |
| nova        | compute      | RegionOne                                                                |
|             |              |   public: https://172.21.6.21:8774/v2.1                                  |
|             |              | RegionOne                                                                |
|             |              |   admin: https://172.21.6.21:8774/v2.1                                   |
|             |              | RegionOne                                                                |
|             |              |   internal: https://172.21.6.21:8774/v2.1                                |
|             |              |                                                                          |
+-------------+--------------+--------------------------------------------------------------------------+

region=RegionTwo
Network Subnet: 172.21.31/23

| neutron     | network      | RegionTwo                                                                |
|             |              |   public: https://172.31.6.20:9696                                       |
|             |              | RegionTwo                                                                |
|             |              |   internal: https://172.31.6.20:9696                                     |
|             |              | RegionTwo                                                                |
|             |              |   admin: https://172.31.6.20:9696                                        |
|             |              |                                                                          |                                   |
|             |              |                                                                          |
| nova        | compute      | RegionTwo                                                                |
|             |              |   public: https://172.31.6.21:8774/v2.1                                  |
|             |              | RegionTwo                                                                |
|             |              |   admin: https://172.31.6.21:8774/v2.1                                   |
|             |              | RegionTwo                                                                |
|             |              |   internal: https://172.31.6.21:8774/v2.1                                |
|             |              |                                                                          |
+-------------+--------------+--------------------------------------------------------------------------+

Trilio in a Multi-Region OpenStack

Trilio backup and recovery service is architecturally similar to OpenStack services. It has an API endpoint, a scheduler service, and workload services. Cloud architects must deploy Trilio similarly to Nova or Cinder service with an instance of Trilio in each region, as shown below. Trilio deployment must support any OpenStack multi-region deployments compatible with OpenInfra recommendations.

Trilio services endpoints in a multi-region OpenStack deployment are shown below.

region=RegionOne
Network Subnet: 172.21.6/23

| neutron     | network      | RegionOne                                                                |
|             |              |   public: https://172.21.6.20:9696                                       |
|             |              | RegionOne                                                                |
|             |              |   internal: https://172.21.6.20:9696                                     |
|             |              | RegionOne                                                                |
|             |              |   admin: https://172.21.6.20:9696                                        |
|             |              |                                                                          |
| workloadmgr | workloads    | RegionOne                                                                |
|             |              |   internal: https://172.21.6.23:8780/v1/38bd7aa9b55944ebb3578c251a1b785b |
|             |              | RegionOne                                                                |
|             |              |   public: https://172.21.6.23:8780/v1/38bd7aa9b55944ebb3578c251a1b785b   |
|             |              | RegionOne                                                                |
|             |              |   admin: https://172.21.6.23:8780/v1/38bd7aa9b55944ebb3578c251a1b785b    |
|             |              |                                                                          |
| dmapi       | datamover    | RegionOne                                                                |
|             |              |   internal: https://172.21.6.22:8784/v2                                  |
|             |              | RegionOne                                                                |
|             |              |   public: https://172.21.6.22:8784/v2                                    |
|             |              | RegionOne                                                                |
|             |              |   admin: https://172.21.6.22:8784/v2                                     |
|             |              |                                                                          |
| nova        | compute      | RegionOne                                                                |
|             |              |   public: https://172.21.6.21:8774/v2.1                                  |
|             |              | RegionOne                                                                |
|             |              |   admin: https://172.21.6.21:8774/v2.1                                   |
|             |              | RegionOne                                                                |
|             |              |   internal: https://172.21.6.21:8774/v2.1                                |
|             |              |                                                                          |
+-------------+--------------+--------------------------------------------------------------------------+

region=RegionTwo
Network Subnet: 172.21.31/23

| neutron     | network      | RegionTwo                                                                |
|             |              |   public: https://172.31.6.20:9696                                       |
|             |              | RegionTwo                                                                |
|             |              |   internal: https://172.31.6.20:9696                                     |
|             |              | RegionTwo                                                                |
|             |              |   admin: https://172.31.6.20:9696                                        |
|             |              |                                                                          |
| workloadmgr | workloads    | RegionTwo                                                                |
|             |              |   internal: https://172.31.6.23:8780/v1/38bd7aa9b55944ebb3578c251a1b785b |
|             |              | RegionTwo                                                                |
|             |              |   public: https://172.31.6.23:8780/v1/38bd7aa9b55944ebb3578c251a1b785b   |
|             |              | RegionTwo                                                               |
|             |              |   admin: https://172.31.6.23:8780/v1/38bd7aa9b55944ebb3578c251a1b785b    |
|             |              |                                                                          |
| dmapi       | datamover    | RegionTwo                                                                |
|             |              |   internal: https://172.31.6.22:8784/v2                                  |
|             |              | RegionTwo                                                                |
|             |              |   public: https://172.31.6.22:8784/v2                                    |
|             |              | RegionTwo                                                                |
|             |              |   admin: https://172.31.6.22:8784/v2                                     |
|             |              |                                                                          |
| nova        | compute      | RegionTwo                                                                |
|             |              |   public: https://172.31.6.21:8774/v2.1                                  |
|             |              | RegionTwo                                                                |
|             |              |   admin: https://172.31.6.21:8774/v2.1                                   |
|             |              | RegionTwo                                                                |
|             |              |   internal: https://172.31.6.21:8774/v2.1                                |
|             |              |                                                                          |
+-------------+--------------+--------------------------------------------------------------------------+

A Reference Deployment on Kolla-Ansible OpenStack

Deployment of Trilio on the Kolla multi-region cloud is straightforward. We need to deploy Trilio in every region of the Kolla OpenStack cloud using the Kolla-ansible deploy command.

Please take a look at the Trilio install document for Kolla.

For example, the Kolla OpenStack cloud has three regions.

  1. RegionOne

  2. RegionTwo

  3. RegionThree

To deploy Multi-Region Trilio on this cloud, we need to install Trilio in each region.

Please follow the below steps:

  1. Identify the kolla ansible inventory file for each region.

  2. Identify the kolla-ansible deploy command that was used for OpenStack deployment for each region(Most probably, this is the same for all regions)

  3. The customer might have used a separate “/etc/kolla/globals.yml“ file for each region deployment. Please check those details.

  4. Now, for the following region deployment (RegionTwo), you can identify an ansible inventory file and the '/etc/kolla/globals.yml' file for that region. Also, could you identify the kolla-ansible deploy command used for that region?

  5. Populate all Trilio config parameters in the ‘/etc/kolla/globals.yml’ file of RegionTwo. Or you can copy them from RegionOne’s '/etc/kolla/globals.yml' file.

  6. Append Trilio inventory to the RegionTwo inventory file. Please take a look at section 3.4 of the Trilio install document.

  7. If you use separate Kolla Ansible servers for each region, you must perform all the steps mentioned in the Trilio install document for Kolla again for RegionTwo. Using the same Kolla Ansible server for all region deployments, you can skip this for RegionTwo and all subsequent regions.

  8. Review the Trilio install document, and if any other standard config file(like /etc/kolla/passwords.yml) is defined separately for each region, we need to check that Trilio uses that config file and perform any related steps from the Trilio install document.

  9. Run the Kolla-ansible deploy command, which will deploy Trilio on RegionTwo.

References

Reference Document:

Deploy Trilio for the first region ( In our example, ‘RegionOne' ). Use it’s globals.yml. Follow the Trilio for Kolla-ansible. No other configuration changes are needed for this deployment.

Append the appropriate Trilio globals yml file to the/etc/kolla/globals.yml file; refer to section 3.1 from the Trilio install .

Repeat (Pull Trilio container images) from the Trilio install document for RegionTwo.

OpenStack Docs: Multiple Regions Deployment with Kolla
Getting started with Trilio on Kolla-Ansible OpenStack
install guide
document
step 7
OpenStack Docs: Multiple Regions Deployment with Kolla
Evaluation of OpenStack Multi-Region Keystone Deployments
networking service
block storage service
Multi-Region OpenStack Deployment
Multi-Region OpenStack with Trilio Services