-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquick-manual-test.yaml
More file actions
47 lines (40 loc) · 1.31 KB
/
quick-manual-test.yaml
File metadata and controls
47 lines (40 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
location: jclouds:aws-ec2:eu-west-1
name: testmysql
brooklyn.config:
provisioning.properties:
osVersionRegex: 16.04
services:
- type: org.apache.brooklyn.entity.software.base.SameServerEntity
name: MySQL Master
brooklyn.children:
- type: mysql-server
id: dbserver
brooklyn.config:
root.password: password
login.user: someuser
login.password: password
replication.password: password
server.id: 1
- type: mysql-database
name: Classic Models
id: database
brooklyn.config:
login.user: someuser
server: dbserver
latch.start: $brooklyn:component("repl-slave").attributeWhenReady("service.isUp")
databaseName: classicmodels
schema.create.url: https://raw.githubusercontent.com/brooklyncentral/brooklyn-mysql-yaml/master/classicmodels.schema
- type: org.apache.brooklyn.entity.software.base.SameServerEntity
name: MySQL Slave
brooklyn.children:
- type: mysql-slave
id: repl-slave
name: replication slave
brooklyn.config:
latch.start: $brooklyn:component("dbserver").attributeWhenReady("service.isUp")
server: dbserver
root.password: password
login.user: someuser
login.password: password
server.id: 2
replication.password: $brooklyn:component("dbserver").config("replication.password")