Last active
March 9, 2020 05:03
-
-
Save ytooyama/a17dcd980f9a19718293121b41822ed1 to your computer and use it in GitHub Desktop.
OpenStack Base HA Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
series: bionic | |
applications: | |
ntp: | |
charm: 'cs:ntp-36' | |
series: bionic | |
annotations: | |
gui-x: '1000' | |
gui-y: '0' | |
rabbitmq-server: | |
charm: 'cs:rabbitmq-server-97' | |
num_units: 3 | |
options: | |
access-network: 172.17.28.0/24 | |
min-cluster-size: 1 | |
series: bionic | |
annotations: | |
gui-x: '500' | |
gui-y: '250' | |
to: | |
- 'lxd:ceph-osd/0' | |
- 'lxd:ceph-osd/1' | |
- 'lxd:ceph-osd/2' | |
ceph-osd: | |
charm: 'cs:ceph-osd-294' | |
num_units: 3 | |
options: | |
autotune: true | |
bluestore: false | |
max-sectors-kb: 10485760 | |
osd-devices: /srv/ceph-osd | |
osd-format: btrfs | |
series: bionic | |
annotations: | |
gui-x: '1000' | |
gui-y: '500' | |
to: | |
- '0' | |
- '1' | |
- '2' | |
nova-compute: | |
charm: 'cs:nova-compute-309' | |
num_units: 2 | |
options: | |
openstack-origin: distro | |
config-flags: default_ephemeral_format=ext4 | |
enable-live-migration: true | |
enable-resize: true | |
series: bionic | |
annotations: | |
gui-x: '250' | |
gui-y: '250' | |
to: | |
- '1' | |
- '2' | |
cinder-ceph: | |
charm: 'cs:cinder-ceph-251' | |
series: bionic | |
annotations: | |
gui-x: '750' | |
gui-y: '250' | |
ceph-mon: | |
charm: 'cs:ceph-mon-44' | |
num_units: 3 | |
options: | |
expected-osd-count: 3 | |
series: bionic | |
annotations: | |
gui-x: '750' | |
gui-y: '500' | |
to: | |
- 'lxd:ceph-osd/0' | |
- 'lxd:ceph-osd/1' | |
- 'lxd:ceph-osd/2' | |
mysql: | |
charm: 'cs:percona-cluster-281' | |
num_units: 3 | |
options: | |
max-connections: 5000 | |
min-cluster-size: 3 | |
vip: 172.17.28.201 | |
series: bionic | |
annotations: | |
gui-x: '0' | |
gui-y: '250' | |
to: | |
- 'lxd:ceph-osd/0' | |
- 'lxd:ceph-osd/1' | |
- 'lxd:ceph-osd/2' | |
ceph-radosgw: | |
charm: 'cs:ceph-radosgw-283' | |
num_units: 3 | |
series: bionic | |
options: | |
vip: 172.17.28.204 | |
annotations: | |
gui-x: '1000' | |
gui-y: '250' | |
to: | |
- 'lxd:ceph-osd/0' | |
- 'lxd:ceph-osd/1' | |
- 'lxd:ceph-osd/2' | |
openstack-dashboard: | |
charm: 'cs:openstack-dashboard-297' | |
num_units: 3 | |
options: | |
openstack-origin: distro | |
default-create-volume: false | |
default-domain: admin_domain | |
vip: 172.17.28.200 | |
series: bionic | |
annotations: | |
gui-x: '500' | |
gui-y: '-250' | |
to: | |
- 'lxd:ceph-osd/0' | |
- 'lxd:ceph-osd/1' | |
- 'lxd:ceph-osd/2' | |
neutron-api: | |
charm: 'cs:neutron-api-281' | |
num_units: 3 | |
options: | |
openstack-origin: distro | |
flat-network-providers: physnet1 | |
l2-population: false | |
neutron-security-groups: true | |
worker-multiplier: 0.25 | |
quota-network: 50 | |
quota-port: 30 | |
quota-router: 30 | |
quota-security-group: 30 | |
quota-subnet: 30 | |
vip: 172.17.28.203 | |
series: bionic | |
annotations: | |
gui-x: '500' | |
gui-y: '500' | |
to: | |
- 'lxd:ceph-osd/0' | |
- 'lxd:ceph-osd/1' | |
- 'lxd:ceph-osd/2' | |
cinder: | |
charm: 'cs:cinder-297' | |
num_units: 3 | |
options: | |
openstack-origin: distro | |
block-device: None | |
worker-multiplier: 0.25 | |
series: bionic | |
annotations: | |
gui-x: '750' | |
gui-y: '0' | |
to: | |
- 'lxd:ceph-osd/0' | |
- 'lxd:ceph-osd/1' | |
- 'lxd:ceph-osd/2' | |
neutron-openvswitch: | |
charm: 'cs:neutron-openvswitch-269' | |
series: bionic | |
annotations: | |
gui-x: '250' | |
gui-y: '500' | |
glance: | |
charm: 'cs:glance-290' | |
num_units: 1 | |
options: | |
openstack-origin: distro | |
ceph-osd-replication-count: 2 | |
image-size-cap: 50GB | |
worker-multiplier: 0.25 | |
series: bionic | |
annotations: | |
gui-x: '250' | |
gui-y: '0' | |
to: | |
- '0' | |
keystone: | |
charm: 'cs:keystone-309' | |
num_units: 3 | |
options: | |
token-provider: fernet | |
openstack-origin: distro | |
admin-password: password5656 | |
admin-token: ubuntuopenstack | |
os-admin-network: 172.17.28.0/24 | |
os-public-network: 172.17.28.0/24 | |
preferred-api-version: 3 | |
worker-multiplier: 0.25 | |
vip: 172.17.28.202 | |
series: bionic | |
annotations: | |
gui-x: '500' | |
gui-y: '0' | |
to: | |
- 'lxd:ceph-osd/0' | |
- 'lxd:ceph-osd/1' | |
- 'lxd:ceph-osd/2' | |
nova-cloud-controller: | |
charm: 'cs:nova-cloud-controller-339' | |
num_units: 1 | |
options: | |
openstack-origin: distro | |
console-access-protocol: novnc | |
network-manager: Neutron | |
worker-multiplier: 0.25 | |
series: bionic | |
annotations: | |
gui-x: '0' | |
gui-y: '500' | |
to: | |
- 'lxd:ceph-osd/0' | |
neutron-gateway: | |
charm: 'cs:neutron-gateway-275' | |
num_units: 1 | |
options: | |
openstack-origin: distro | |
bridge-mappings: 'physnet1:br-ex' | |
data-port: 'br-ex:eno50' | |
worker-multiplier: 0.25 | |
series: bionic | |
annotations: | |
gui-x: '0' | |
gui-y: '0' | |
to: | |
- '0' | |
sql-hacluster: | |
charm: 'cs:hacluster-62' | |
series: bionic | |
options: | |
cluster_count: 3 | |
annotations: | |
gui-x: '600' | |
gui-y: '300' | |
keystone-hacluster: | |
charm: 'cs:hacluster-62' | |
series: bionic | |
options: | |
cluster_count: 3 | |
annotations: | |
gui-x: '600' | |
gui-y: '300' | |
neutron-api-hacluster: | |
charm: 'cs:hacluster-62' | |
series: bionic | |
options: | |
cluster_count: 3 | |
annotations: | |
gui-x: '600' | |
gui-y: '300' | |
openstack-dashboard-hacluster: | |
charm: 'cs:hacluster-62' | |
series: bionic | |
options: | |
cluster_count: 3 | |
annotations: | |
gui-x: '300' | |
gui-y: '300' | |
ceph-radosgw-hacluster: | |
charm: 'cs:hacluster-62' | |
series: bionic | |
options: | |
cluster_count: 3 | |
annotations: | |
gui-x: '600' | |
gui-y: '300' | |
relations: | |
- - 'nova-compute:amqp' | |
- 'rabbitmq-server:amqp' | |
- - 'neutron-gateway:amqp' | |
- 'rabbitmq-server:amqp' | |
- - 'keystone:shared-db' | |
- 'mysql:shared-db' | |
- - 'nova-cloud-controller:identity-service' | |
- 'keystone:identity-service' | |
- - 'glance:identity-service' | |
- 'keystone:identity-service' | |
- - 'neutron-api:identity-service' | |
- 'keystone:identity-service' | |
- - 'neutron-openvswitch:neutron-plugin-api' | |
- 'neutron-api:neutron-plugin-api' | |
- - 'neutron-api:shared-db' | |
- 'mysql:shared-db' | |
- - 'neutron-api:amqp' | |
- 'rabbitmq-server:amqp' | |
- - 'neutron-gateway:neutron-plugin-api' | |
- 'neutron-api:neutron-plugin-api' | |
- - 'glance:shared-db' | |
- 'mysql:shared-db' | |
- - 'glance:amqp' | |
- 'rabbitmq-server:amqp' | |
- - 'nova-cloud-controller:image-service' | |
- 'glance:image-service' | |
- - 'nova-compute:image-service' | |
- 'glance:image-service' | |
- - 'nova-cloud-controller:cloud-compute' | |
- 'nova-compute:cloud-compute' | |
- - 'nova-cloud-controller:amqp' | |
- 'rabbitmq-server:amqp' | |
- - 'nova-cloud-controller:quantum-network-service' | |
- 'neutron-gateway:quantum-network-service' | |
- - 'nova-compute:neutron-plugin' | |
- 'neutron-openvswitch:neutron-plugin' | |
- - 'neutron-openvswitch:amqp' | |
- 'rabbitmq-server:amqp' | |
- - 'openstack-dashboard:identity-service' | |
- 'keystone:identity-service' | |
- - 'openstack-dashboard:shared-db' | |
- 'mysql:shared-db' | |
- - 'nova-cloud-controller:shared-db' | |
- 'mysql:shared-db' | |
- - 'nova-cloud-controller:neutron-api' | |
- 'neutron-api:neutron-api' | |
- - 'cinder:image-service' | |
- 'glance:image-service' | |
- - 'cinder:amqp' | |
- 'rabbitmq-server:amqp' | |
- - 'cinder:identity-service' | |
- 'keystone:identity-service' | |
- - 'cinder:cinder-volume-service' | |
- 'nova-cloud-controller:cinder-volume-service' | |
- - 'cinder-ceph:storage-backend' | |
- 'cinder:storage-backend' | |
- - 'ceph-mon:client' | |
- 'nova-compute:ceph' | |
- - 'nova-compute:ceph-access' | |
- 'cinder-ceph:ceph-access' | |
- - 'cinder:shared-db' | |
- 'mysql:shared-db' | |
- - 'ceph-mon:client' | |
- 'cinder-ceph:ceph' | |
- - 'ceph-mon:client' | |
- 'glance:ceph' | |
- - 'ceph-osd:mon' | |
- 'ceph-mon:osd' | |
- - 'ntp:juju-info' | |
- 'ceph-osd:juju-info' | |
- - 'ceph-radosgw:mon' | |
- 'ceph-mon:radosgw' | |
- - 'ceph-radosgw:identity-service' | |
- 'keystone:identity-service' | |
#HA | |
- - 'openstack-dashboard-hacluster:ha' | |
- 'openstack-dashboard:ha' | |
- - 'openstack-dashboard-hacluster:peer-availability' | |
- 'openstack-dashboard:juju-info' | |
- - 'openstack-dashboard-hacluster:juju-info' | |
- 'openstack-dashboard:juju-info' | |
- - 'sql-hacluster:ha' | |
- 'mysql:ha' | |
- - 'sql-hacluster:peer-availability' | |
- 'mysql:juju-info' | |
- - 'sql-hacluster:juju-info' | |
- 'mysql:juju-info' | |
- - 'keystone-hacluster:ha' | |
- 'keystone:ha' | |
- - 'keystone-hacluster:peer-availability' | |
- 'keystone:juju-info' | |
- - 'keystone-hacluster:juju-info' | |
- 'keystone:juju-info' | |
- - 'neutron-api-hacluster:ha' | |
- 'neutron-api:ha' | |
- - 'neutron-api-hacluster:peer-availability' | |
- 'neutron-api:juju-info' | |
- - 'neutron-api-hacluster:juju-info' | |
- 'neutron-api:juju-info' | |
- - 'ceph-radosgw-hacluster:ha' | |
- 'ceph-radosgw:ha' | |
- - 'ceph-radosgw-hacluster:peer-availability' | |
- 'ceph-radosgw:juju-info' | |
- - 'ceph-radosgw-hacluster:juju-info' | |
- 'ceph-radosgw:juju-info' | |
machines: | |
'0': | |
series: bionic | |
constraints: "tags=bay15" | |
'1': | |
series: bionic | |
constraints: "tags=bay10" | |
'2': | |
series: bionic | |
constraints: "tags=bay13" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment