Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Tricircle overview

421 views

Published on

This is a quick overview about the multi-region networking OpenStack solution named Tricircle

Published in: Engineering
  • Be the first to comment

Tricircle overview

  1. 1. OpenStack Tricircle Overview Victor Morales irc: electrocucaracha
  2. 2. Agenda • Single Point of Failure • Segregating a Cloud • OpenStack Tricircle • What it is? • How to configure it? • How to setup a cluster with Tricircle • TODO
  3. 3. Single Point of Failure (SPoF) It is a part of a system that, if it fails, will stop the entire system from working. They are undesirable in any system with a goal of high availability or reliability. “Put all your eggs in one basket and then watch that basket” - Mark Twain
  4. 4. Segregating OpenStack Clouds http://docs.openstack.org/ops-guide/arch-scaling.html#segregating-your-cloud Regions Availability zones Host aggregates Use when you need Discrete regions with separate API endpoints and no coordination between regions. Logical separation within your nova deployment for physical isolation or redundancy. To schedule a group of hosts with common features. Example A cloud with multiple sites, where you schedule VMs to a particular site and you want a shared infrastructure. A single-site cloud with equipment fed by separate power supplies. Scheduling to hosts with trusted hardware support. Overhead A different API endpoint for every region. Each region has a full nova installation. Configuration changes to nova.conf. Configuration changes to nova.conf. Shared services Keystone Keystone, All nova services Keystone, All nova services
  5. 5. What’s a cluster? It is a group of independent computers that work together to increase the availability of applications and services. If one of the cluster nodes fails, another node begins to provide service (a process known as failover). Users experience a minimum of disruptions in service.
  6. 6. What’s OpenStack Tricircle?
  7. 7. Tricircle Architecture Provides networking automation across Neutron servers in multi-region OpenStack clouds deployment.
  8. 8. Multi-region installation with Devstack [[local|localrc]] HOST_IP=10.0.0.55 ADMIN_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password SERVICE_PASSWORD=password REGION_NAME=RegionOne TRICIRCLE_START_SERVICES=True enable_plugin tricircle https://github.com/openstack/tricircle/ [[local|localrc]] HOST_IP=10.0.0.63 ADMIN_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password SERVICE_PASSWORD=password REGION_NAME=RegionTwo KEYSTONE_SERVICE_HOST=10.0.0.55 KEYSTONE_AUTH_HOST=10.0.0.55 KEYSTONE_REGION_NAME=RegionOne SERVICE_HOST=$HOST_IP TRICIRCLE_START_SERVICES=False enable_plugin tricircle https://github.com/openstack/tricircle/ http://docs.openstack.org/developer/tricircle/installation-guide.html#multi-pod-installation-with-devstack
  9. 9. Setup a Cluster with Tricircle $ export OS_REGION_NAME=CentralRegion $ neutron net-create --provider:network_type vlan --provider:physical_network extern --availability-zone-hint az1 phy_net1 $ neutron subnet-create phy_net1 202.96.1.0/24 $ neutron net-create --provider:network_type vlan --provider:physical_network extern --availability-zone-hint az2 phy_net2 $ neutron subnet-create phy_net2 202.96.2.0/24 $ neutron net-create --provider:network_type vlan --provider:physical_network bridge --availability-zone-hint az1 --availability-zone-hint az2 net1 $ neutron subnet-create net1 10.0.1.0/24 $ nova --os-region-name=RegionOne boot --flavor 1 --image <image> --nic net-id=<net1-id> --nic net-id=<phy_net1_id> Instance1 $ nova --os-region-name=RegionTwo boot --flavor 1 --image <image> --nic net-id=<net1-id> --nic net-id=<phy_net2_id> Instance1 http://docs.openstack.org/developer/tricircle/networking-guide.html
  10. 10. TODO(electrocucaracha) : • OpenStack Tricircle CLI • http://docs.openstack.org/infra/manual/creators.html • https://github.com/electrocucaracha/python-tricircleclient • OpenStack Tricircle UI • Volunteers?

×