summaryrefslogtreecommitdiffstats
path: root/environments/docker-ha.yaml
blob: 442262b31588ae0550cc70650364a138a878a192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Environment file to deploy the HA services via docker
# Add it *after* -e docker.yaml:
# ...deploy..-e docker.yaml -e docker-ha.yaml
resource_registry:
  # Pacemaker runs on the host
  OS::TripleO::Tasks::ControllerPreConfig: ../extraconfig/tasks/pre_puppet_pacemaker.yaml
  OS::TripleO::Tasks::ControllerPostConfig: ../extraconfig/tasks/post_puppet_pacemaker.yaml
  OS::TripleO::Tasks::ControllerPostPuppetRestart: ../extraconfig/tasks/post_puppet_pacemaker_restart.yaml
  OS::TripleO::Services::Pacemaker: ../puppet/services/pacemaker.yaml
  OS::TripleO::Services::PacemakerRemote: ../puppet/services/pacemaker_remote.yaml

  # Services that are disabled for HA deployments with pacemaker
  OS::TripleO::Services::Keepalived: OS::Heat::None

  # HA Containers managed by pacemaker
  OS::TripleO::Services::CinderVolume: ../docker/services/pacemaker/cinder-volume.yaml
  OS::TripleO::Services::CinderBackup: ../docker/services/pacemaker/cinder-backup.yaml
  OS::TripleO::Services::Clustercheck: ../docker/services/pacemaker/clustercheck.yaml
  OS::TripleO::Services::HAproxy: ../docker/services/pacemaker/haproxy.yaml
  OS::TripleO::Services::MySQL: ../docker/services/pacemaker/database/mysql.yaml
  OS::TripleO::Services::RabbitMQ: ../docker/services/pacemaker/rabbitmq.yaml
  OS::TripleO::Services::Redis: ../docker/services/pacemaker/database/redis.yaml