-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated BOSH release to use BOSH2 linking. no static IP addresses are…
… required for any instances. linking shares this information in a deployment. Readme has been updated to be more useful.
- Loading branch information
Showing
15 changed files
with
200 additions
and
129 deletions.
There are no files selected for viewing
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
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
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
#!/bin/bash | ||
<% | ||
elasticsearch_master = link("elasticsearch") | ||
elasticsearch_master_host = elasticsearch_master.instances.first.address | ||
-%> | ||
|
||
set -e | ||
|
||
curl -s \ | ||
-X PUT \ | ||
-d '{"transient":{"cluster.routing.allocation.enable":"all"}}' \ | ||
'<%= p('elasticsearch.master_hosts').first %>:9200/_cluster/settings' \ | ||
'<%= elasticsearch_master_host %>:9200/_cluster/settings' \ | ||
> /dev/null |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
check process graylog | ||
with pidfile /var/vcap/sys/run/graylog/graylog.pid | ||
start program "/var/vcap/jobs/graylog/bin/monit_debugger graylog_ctl '/var/vcap/jobs/graylog/bin/graylog_ctl start'" with timeout 120 seconds | ||
stop program "/var/vcap/jobs/graylog/bin/monit_debugger graylog_ctl '/var/vcap/jobs/graylog/bin/graylog_ctl stop'" | ||
start program "/var/vcap/jobs/graylog/bin/monit_debugger ctl '/var/vcap/jobs/graylog/bin/ctl start'" with timeout 120 seconds | ||
stop program "/var/vcap/jobs/graylog/bin/monit_debugger ctl '/var/vcap/jobs/graylog/bin/ctl stop'" | ||
group vcap |
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
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
check process mongodb | ||
with pidfile /var/vcap/sys/run/mongodb/mongodb.pid | ||
start program "/var/vcap/jobs/mongodb/bin/monit_debugger mongodb_ctl '/var/vcap/jobs/mongodb/bin/mongodb_ctl start'" with timeout 120 seconds | ||
stop program "/var/vcap/jobs/mongodb/bin/monit_debugger mongodb_ctl '/var/vcap/jobs/mongodb/bin/mongodb_ctl stop'" | ||
start program "/var/vcap/jobs/mongodb/bin/monit_debugger ctl '/var/vcap/jobs/mongodb/bin/ctl start'" with timeout 120 seconds | ||
stop program "/var/vcap/jobs/mongodb/bin/monit_debugger ctl '/var/vcap/jobs/mongodb/bin/ctl stop'" | ||
group vcap |
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
--- | ||
name: graylog | ||
|
||
|
||
instance_groups: | ||
- name: mongodb | ||
azs: [z1] | ||
instances: 1 | ||
vm_type: default | ||
stemcell: default | ||
persistent_disk_type: default | ||
networks: [{name: default}] | ||
jobs: | ||
- name: mongodb | ||
release: graylog | ||
provides: | ||
mongodb: {as: mongodb} | ||
properties: | ||
mongodb: | ||
net: | ||
port: 27017 | ||
- name: elasticsearch-master | ||
azs: [z1] | ||
instances: 1 | ||
vm_type: default | ||
stemcell: default | ||
persistent_disk_type: default | ||
networks: [{name: default}] | ||
jobs: | ||
- name: elasticsearch | ||
release: graylog | ||
provides: | ||
elasticsearch: {as: elasticsearch-master} | ||
consumes: | ||
elasticsearch: {from: elasticsearch-master} | ||
properties: | ||
elasticsearch: | ||
cluster_name: graylog | ||
node: | ||
allow_data: false | ||
allow_master: true | ||
# exec: null | ||
exec: | ||
environment: | ||
ES_HEAP_SIZE: 500000K | ||
- name: elasticsearch-data | ||
azs: [z1] | ||
instances: 2 | ||
vm_type: default | ||
stemcell: default | ||
persistent_disk_type: default | ||
networks: [{name: default}] | ||
jobs: | ||
- name: elasticsearch | ||
release: graylog | ||
provides: | ||
elasticsearch: {as: elasticsearch-data} | ||
consumes: | ||
elasticsearch: {from: elasticsearch-master} | ||
properties: | ||
elasticsearch: | ||
cluster_name: graylog | ||
node: | ||
allow_data: false | ||
allow_master: true | ||
# exec: null | ||
exec: | ||
environment: | ||
ES_HEAP_SIZE: 500000K | ||
- name: graylog | ||
azs: [z1] | ||
instances: 1 | ||
vm_type: default | ||
stemcell: default | ||
persistent_disk_type: default | ||
networks: [{name: default}] | ||
jobs: | ||
- name: graylog | ||
release: graylog | ||
consumes: | ||
elasticsearch: {from: elasticsearch-master} | ||
mongodb: {from: mongodb} | ||
properties: | ||
graylog: | ||
root_email: [email protected] | ||
root_username: admin | ||
# default root_password = admin ; below is sha2 hash of it. | ||
root_password_sha2: 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918 | ||
|
||
|
||
update: | ||
canaries: 1 | ||
max_in_flight: 1 | ||
canary_watch_time: 1000-600000 | ||
update_watch_time: 1000-600000 | ||
|
||
stemcells: | ||
- alias: default | ||
os: ubuntu-trusty | ||
version: 3421.latest | ||
|
||
releases: | ||
- name: graylog | ||
version: latest |
Oops, something went wrong.