Skip to content

Instantly share code, notes, and snippets.

@odyssey4me
Last active August 20, 2016 07:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odyssey4me/3e92f90cf6431432b8cb to your computer and use it in GitHub Desktop.
Save odyssey4me/3e92f90cf6431432b8cb to your computer and use it in GitHub Desktop.
Implementing MariaDB on a host (ie on metal) with OSA
---
# This should be implemented in /etc/openstack_deploy/env.d/
component_skel:
galera:
belongs_to:
- galera_all
container_skel:
galera_container:
belongs_to:
- galera_containers
contains:
- galera
properties:
log_directory: mysql_logs
service_name: galera
container_release: trusty
# This line is added to inform the inventory that the service is running 'on metal'
is_metal: true
physical_skel:
galera_containers:
belongs_to:
- all_containers
galera_hosts:
belongs_to:
- hosts
---
# This is only a partial configuration of openstack_user_config.yml for illustrative purposes
galera_hosts:
mariadb1:
ip: 172.29.236.4
mariadb1:
ip: 172.29.236.5
mariadb1:
ip: 172.29.236.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment