Jump to: navigation, search

Difference between revisions of "HAGuideImprovements/TOC"

Line 62: Line 62:
  
 
== HA Intro and Concepts ==
 
== HA Intro and Concepts ==
 +
:# Redundancy and failover
 +
:# Stateless/stateful, active/passive, active/active
 +
:# Quorums; many services should use an odd number of nodes equal to or greater than 3
 +
:# Single-controller HA mode
  
 
== Hardware setup ==
 
== Hardware setup ==
 +
:# Minimal Architecture Example -- Network Layout, styled as in http://docs.openstack.org/juno/install-guide/install/apt/content/ch_basic_environment.html#basics-prerequisites for easy comparison
  
 
== Prerequisites ==
 
== Prerequisites ==
 
:# Link to Install Guide: Install O/S on each node
 
:# Link to Install Guide: Install O/S on each node
:# Install pacemaker, crmsh, corosync, cluster-glue, fence-agents (Fedora only), resource-agents  
+
:# Install pacemaker (or is this deprecated?), crmsh, corosync, cluster-glue, fence-agents (Fedora only), resource-agents  
 
:#  Set up and start Corosync and Pacemaker
 
:#  Set up and start Corosync and Pacemaker
 
:# Set basic cluster properties  
 
:# Set basic cluster properties  
 +
:# API services
 +
:# Schedulers
 +
:# Memcached service
  
 
== Configure network interface on each node ==
 
== Configure network interface on each node ==
Link to Networking Guide
+
:# Link to Networking Guide
 +
:# (Neutron agents should be described for active/active; deprecate single agent's instances case)
 +
:# For Kilo and beyond, focus on L3HA and DVR
  
 
== Install and Configure MySQL ==
 
== Install and Configure MySQL ==
Two nodes plus GARBD
+
:# Two nodes plus GARBD.
 +
:# MySQL with Galera
 +
:# Deprecate MySQL DRBD configuration because of split-brain issues
 +
 
 +
== RabbitMQ Message broker ==
 +
:# Oslo messaging for active/active
 +
:# No need for active/passive AMQP; consider mirrored two-node cluster instead
 +
:# Deprecate DRBD for RabbitMQ
 +
 
 +
== NTP ==
 +
:# Link to Install Guide
 +
== Keystone Identity services ==

Revision as of 06:17, 18 February 2015

We are planning to improve the networking section of the HA Guide. This is the proposed TOC.

NOTE: This is the original for us to depart from.

I. Introduction to OpenStack High Availability

  1. Stateless vs. Stateful services
  2. Active/Passive
  3. Active/Active

II. HA Using Active/Passive

1. The Pacemaker Cluster Stack

  1. Installing Packages
  2. Setting up Corosync
  3. Starting Corosync
  4. Starting Pacemaker
  5. Setting basic cluster properties

2. Cloud Controller Cluster Stack

  1. Highly available MySQL
  2. Highly available RabbitMQ

3. API Node Cluster Stack

  1. Configure the VIP
  2. Highly available OpenStack Identity
  3. Highly available OpenStack Image API
  4. Highly available Cinder API
  5. Highly available OpenStack Networking Server
  6. Highly available Ceilometer Central Agent
  7. Configure Pacemaker Group

4. Network Controller Cluster Stack

  1. Highly available Neutron L3 Agent
  2. Highly available Neutron DHCP Agent
  3. Highly available Neutron Metadata Agent
  4. Manage network resources

III. HA Using Active/Active

5. Database

  1. MySQL with Galera
  2. Galera Monitoring Scripts
  3. Other ways to provide a Highly Available database

6. RabbitMQ

  1. Install RabbitMQ
  2. Configure RabbitMQ
  3. Configure OpenStack Services to use RabbitMQ

7. HAproxy Nodes 8. OpenStack Controller Nodes

  1. Running OpenStack API & schedulers
  2. Memcached

9. OpenStack Network Nodes

  1. Running Neutron DHCP Agent
  2. Running Neutron L3 Agent
  3. Running Neutron Metadata Agent


Proposed Revision

Strategy and assumptions:

  1. Audience is people who have some experience installing OpenStack, not first time users
  2. Focus on installation of OpenStack core services
  3. Structure the guide sequentially -- the steps to take in a reasonable order
  4. Avoid redundancy with the Install Guide; for steps that are identical for HA and non-HA installations, link to appropriate sections in the Install Guide
  5. One guide for all Linux distros/platforms
  6. Emphasize a reasonable, standard deployment based on open source components. We can provide some notes about alternatives as appropriate (for example, using a commercial load-balancer might be a better alternative than relying on HAProxy) and perhaps a link to the OpenStack Marketplace.

HA Intro and Concepts

  1. Redundancy and failover
  2. Stateless/stateful, active/passive, active/active
  3. Quorums; many services should use an odd number of nodes equal to or greater than 3
  4. Single-controller HA mode

Hardware setup

  1. Minimal Architecture Example -- Network Layout, styled as in http://docs.openstack.org/juno/install-guide/install/apt/content/ch_basic_environment.html#basics-prerequisites for easy comparison

Prerequisites

  1. Link to Install Guide: Install O/S on each node
  2. Install pacemaker (or is this deprecated?), crmsh, corosync, cluster-glue, fence-agents (Fedora only), resource-agents
  3. Set up and start Corosync and Pacemaker
  4. Set basic cluster properties
  5. API services
  6. Schedulers
  7. Memcached service

Configure network interface on each node

  1. Link to Networking Guide
  2. (Neutron agents should be described for active/active; deprecate single agent's instances case)
  3. For Kilo and beyond, focus on L3HA and DVR

Install and Configure MySQL

  1. Two nodes plus GARBD.
  2. MySQL with Galera
  3. Deprecate MySQL DRBD configuration because of split-brain issues

RabbitMQ Message broker

  1. Oslo messaging for active/active
  2. No need for active/passive AMQP; consider mirrored two-node cluster instead
  3. Deprecate DRBD for RabbitMQ

NTP

  1. Link to Install Guide

Keystone Identity services