~jorge/charms/bundles/fix-mediawiki/trunk

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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
single: 
  series: precise
  services: 
    mediawiki: 
      charm: "cs:precise/mediawiki-10"
      num_units: 1
      options: 
        debug: false
        name: Please set name of wiki
        skin: vector
      annotations: 
        "gui-x": 609
        "gui-y": -15
    mysql: 
      charm: "cs:precise/mysql-28"
      num_units: 1
      options: 
        "binlog-format": MIXED
        "block-size": 5
        "dataset-size": "80%"
        flavor: distro
        "ha-bindiface": eth0
        "ha-mcastport": 5411
        "max-connections": -1
        "preferred-storage-engine": InnoDB
        "query-cache-size": -1
        "query-cache-type": "OFF"
        "rbd-name": mysql1
        "tuning-level": safest
        vip_cidr: 24
        vip_iface: eth0
      annotations: 
        "gui-x": 610
        "gui-y": 255
  relations: 
    - - "mediawiki:db"
      - "mysql:db"
scalable: 
  series: precise
  services: 
    mediawiki: 
      charm: "cs:precise/mediawiki-10"
      num_units: 1
      options: 
        debug: false
        name: Please set name of wiki
        skin: vector
      annotations: 
        "gui-x": 618
        "gui-y": -128
    memcached: 
      charm: "cs:precise/memcached-7"
      num_units: 1
      options: 
        "connection-limit": 1024
        "disable-auto-cleanup": "no"
        "disable-cas": "no"
        "disable-large-pages": "no"
        "extra-options": ""
        factor: 1.25
        "min-item-size": -1
        nagios_context: juju
        "request-limit": -1
        size: 768
        "slab-page-size": -1
        "tcp-port": 11211
        threads: -1
        "udp-port": 0
      annotations: 
        "gui-x": 926
        "gui-y": -125
    haproxy: 
      charm: "cs:precise/haproxy-35"
      num_units: 1
      options: 
        default_log: global
        default_mode: http
        default_options: "httplog, dontlognull"
        default_retries: 3
        default_timeouts: "queue 20000, client 50000, connect 5000, server 50000"
        enable_monitoring: false
        global_debug: false
        global_group: haproxy
        global_log: "127.0.0.1 local0, 127.0.0.1 local1 notice"
        global_maxconn: 4096
        global_quiet: false
        global_spread_checks: 0
        global_user: haproxy
        monitoring_allowed_cidr: 127.0.0.1/32
        monitoring_password: changeme
        monitoring_port: 10000
        monitoring_stats_refresh: 3
        monitoring_username: haproxy
        nagios_context: juju
        package_status: install
        services: "- service_name: haproxy_service\n  service_host: \"0.0.0.0\"\n  service_port: 80\n  service_options: [balance leastconn]\n  server_options: maxconn 100\n"
        sysctl: ""
      annotations: 
        "gui-x": 619
        "gui-y": -406
    mysql: 
      charm: "cs:precise/mysql-28"
      num_units: 1
      options: 
        "binlog-format": MIXED
        "block-size": 5
        "dataset-size": "80%"
        flavor: distro
        "ha-bindiface": eth0
        "ha-mcastport": 5411
        "max-connections": -1
        "preferred-storage-engine": InnoDB
        "query-cache-size": -1
        "query-cache-type": "OFF"
        "rbd-name": mysql1
        "tuning-level": safest
        vip_cidr: 24
        vip_iface: eth0
      annotations: 
        "gui-x": 926
        "gui-y": 123
    "mysql-slave": 
      charm: "cs:precise/mysql-28"
      num_units: 1
      options: 
        "binlog-format": MIXED
        "block-size": 5
        "dataset-size": "80%"
        flavor: distro
        "ha-bindiface": eth0
        "ha-mcastport": 5411
        "max-connections": -1
        "preferred-storage-engine": InnoDB
        "query-cache-size": -1
        "query-cache-type": "OFF"
        "rbd-name": mysql1
        "tuning-level": safest
        vip_cidr: 24
        vip_iface: eth0
      annotations: 
        "gui-x": 619
        "gui-y": 124
  relations: 
    - - "mediawiki:cache"
      - "memcached:cache"
    - - "haproxy:reverseproxy"
      - "mediawiki:website"
    - - "mysql-slave:slave"
      - "mysql:master"
    - - "mediawiki:slave"
      - "mysql-slave:db"