-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathcf.yml
791 lines (710 loc) · 16.1 KB
/
cf.yml
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
---
name: cf.local
director_uuid: e923d26c-1623-4365-8de6-1b64b8da999a
release:
name: cf-dev
version: 120.1-dev
compilation:
workers: 3
network: default
cloud_properties:
ram: 4096
disk: 8096
cpu: 4
update:
canaries: 1
canary_watch_time: 3000-90000
update_watch_time: 3000-90000
max_in_flight: 1
max_errors: 1
networks:
- name: default
subnets:
- range: 10.40.97.0/24
reserved:
- 10.40.97.112 - 10.40.97.254
static:
- 10.40.97.51 - 10.40.97.110
gateway: 10.40.97.1
dns:
- 10.40.97.126
- 10.40.62.11
- 10.135.12.101
cloud_properties:
name: VM Network
resource_pools:
- name: small
network: default
size: 33
stemcell:
name: bosh-stemcell
version: 0.6.4
cloud_properties:
ram: 1024
disk: 8192
cpu: 1
env:
bosh:
password: $6$3BMC8bQ0$izpxW02mmcxUvxbW1vaMZV62sizWPR66G8KC1NuGVqyOPLsJNDqJhKvjPOwuHdqu8Vurhf3JhDlLSzPjFw9LF1
# c1oudc0w - password generated using mkpasswd -m sha-512
- name: medium
network: default
size: 4
stemcell:
name: bosh-stemcell
version: 0.6.4
cloud_properties:
ram: 2048
disk: 16384
cpu: 2
env:
bosh:
password: $6$3BMC8bQ0$izpxW02mmcxUvxbW1vaMZV62sizWPR66G8KC1NuGVqyOPLsJNDqJhKvjPOwuHdqu8Vurhf3JhDlLSzPjFw9LF1
# c1oudc0w - password generated using mkpasswd -m sha-512
- name: router
network: default
size: 2
stemcell:
name: bosh-stemcell
version: 0.6.4
cloud_properties:
ram: 512
disk: 8192
cpu: 1
env:
bosh:
password: $6$3BMC8bQ0$izpxW02mmcxUvxbW1vaMZV62sizWPR66G8KC1NuGVqyOPLsJNDqJhKvjPOwuHdqu8Vurhf3JhDlLSzPjFw9LF1
# c1oudc0w - password generated using mkpasswd -m sha-512
- name: mysql
network: default
size: 1
stemcell:
name: bosh-stemcell
version: 0.6.4
cloud_properties:
ram: 4096
disk: 8192
cpu: 1
env:
bosh:
password: $6$3BMC8bQ0$izpxW02mmcxUvxbW1vaMZV62sizWPR66G8KC1NuGVqyOPLsJNDqJhKvjPOwuHdqu8Vurhf3JhDlLSzPjFw9LF1
jobs:
- name: debian_nfs_server
template: debian_nfs_server
instances: 1
resource_pool: medium
persistent_disk: 16384
networks:
- name: default
static_ips:
- 10.40.97.51
- name: services_nfs
template: debian_nfs_server
instances: 1
resource_pool: small
persistent_disk: 8192
properties:
debian_nfs_server:
no_root_squash: true
networks:
- name: default
static_ips:
- 10.40.97.82 # Enter a static IP
- name: syslog_aggregator
template: syslog_aggregator
instances: 1
resource_pool: small
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.40.97.83 # Enter a static IP
- name: nats
template: nats
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.52
- name: hbase_slave
template: hbase_slave
instances: 1
resource_pool: small
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.40.97.99
- name: hbase_master
template: hbase_master
instances: 1
resource_pool: small
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.40.97.93
- name: opentsdb
template: opentsdb
instances: 1
resource_pool: small
persistent_disk: 8192
networks:
- name: default
static_ips:
- 10.40.97.85 # Enter a static IP
- name: collector
template: collector
instances: 1
resource_pool: small
networks:
- name: default # No static IP required here
static_ips:
- 10.40.97.86
- name: dashboard
template: dashboard
instances: 1
resource_pool: small
networks:
- name: default # No static IP required here
static_ips:
- 10.40.97.87
- name: ccdb
template: postgres
properties:
db: ccdb
instances: 1
resource_pool: small
persistent_disk: 8192
networks:
- name: default
static_ips:
- 10.40.97.53
- name: uaadb
template: postgres
properties:
db: uaadb
instances: 1
resource_pool: small
persistent_disk: 8192
networks:
- name: default
static_ips:
- 10.40.97.54
- name: vcap_redis
template: vcap_redis
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.55
- name: services_redis
template: vcap_redis
instances: 1
resource_pool: small
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.40.97.84 # Enter a static IP.
properties:
vcap_redis:
port: 3456
password: passwordpassword01
maxmemory: 2000000000
persistence:
dir: /var/vcap/store/vcap_redis
- name: uaa
template: uaa
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.56
- name: login
template: login
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.91
- name: acmdb
template: postgres
properties:
db: acmdb
instances: 1
resource_pool: small
persistent_disk: 8192
networks:
- name: default
static_ips:
- 10.40.97.57 # Enter a static IP.
- name: acm
template: acm
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.58 # Enter a static IP.
- name: cloud_controller
template: cloud_controller
instances: 1
resource_pool: medium
networks:
- name: default
static_ips:
- 10.40.97.59
- name: stager
template: stager
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.60
- name: router
template: router
instances: 2
resource_pool: router
networks:
- name: default
static_ips:
- 10.40.97.61
- 10.40.97.62
default: [dns, gateway]
#- name: lb
# static_ips:
# - 192.168.0.2 - 192.168.0.2
- name: health_manager
template: health_manager_next
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.63
- name: dea
template: dea
instances: 2
resource_pool: medium
networks:
- name: default
static_ips:
- 10.40.97.65
- 10.40.97.66
- name: mysql_node
template: mysql_node
instances: 1
resource_pool: mysql
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.40.97.67 # Enter a static IP for each instance.
- name: mysql_gateway
template: mysql_gateway
instances: 1
resource_pool: small
networks:
- name: default # No static IP required here
static_ips:
- 10.40.97.68
- name: mongodb_node
template: mongodb_node
instances: 1
resource_pool: small
persistent_disk: 4096
networks:
- name: default
static_ips:
- 10.40.97.69 # Enter a static IP for each instance.
- name: mongodb_gateway
template: mongodb_gateway
instances: 1
resource_pool: small
networks:
- name: default # No static IP required here
static_ips:
- 10.40.97.70
- name: redis_node
template: redis_node
instances: 1
resource_pool: small
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.40.97.71 # Enter a static IP for each instance.
- name: redis_gateway
template: redis_gateway
instances: 1
resource_pool: small
networks:
- name: default # No static IP required here
static_ips:
- 10.40.97.72
- name: rabbit_node
template: rabbit_node
instances: 1
resource_pool: small
persistent_disk: 4096
networks:
- name: default
static_ips:
- 10.40.97.73 # Enter a static IP for each instance.
- name: rabbit_gateway
template: rabbit_gateway
instances: 1
resource_pool: small
networks:
- name: default # No static IP required here
static_ips:
- 10.40.97.74
- name: postgresql_node
template: postgresql_node
instances: 1
resource_pool: small
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.40.97.75 # Enter a static IP for each instance.
- name: postgresql_gateway
template: postgresql_gateway
instances: 1
resource_pool: small
networks:
- name: default # No static IP required here
static_ips:
- 10.40.97.76
- name: vblob_node
template: vblob_node
instances: 1
resource_pool: small
persistent_disk: 1024
networks:
- name: default
static_ips:
- 10.40.97.77 # Enter a static IP.
- name: vblob_gateway
template: vblob_gateway
instances: 1
resource_pool: small
networks:
- name: default # No static IP required here
static_ips:
- 10.40.97.78
- name: backup_manager
template: backup_manager
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.79 # Enter a static IP.
- name: service_utilities
template: service_utilities
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.80 # Enter a static IP
- name: serialization_data_server
template: serialization_data_server
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.40.97.81
properties:
domain: cf.local
env:
networks:
apps: default
management: default
nats:
user: root
password: passwordpassword01
address: 10.40.97.52
port: 4222
ccdb:
address: 10.40.97.53
port: 5524
pool_size: 10
roles:
- tag: admin
name: root
password: passwordpassword01
databases:
- tag: cc
name: appcloud
uaadb:
address: 10.40.97.54
port: 2544
roles:
- tag: admin
name: root
password: passwordpassword01
databases:
- tag: uaa
name: uaa
acmdb:
address: 10.40.97.57
port: 2544
roles:
- tag: admin
name: root
password: passwordpassword01
databases:
- tag: acm
name: acm
cc:
srv_api_uri: http://api.cf.local
password: passwordpassword01
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
use_nginx: true
new_stager_percent: 100
new_stager_email_regexp: '.*@vmware.com'
staging_upload_user: root
staging_upload_password: passwordpassword01
allow_registration: true
logging_level: debug
uaa:
enabled: true
resource_id: cloud_controller
token_creation_email_filter: vmware.com
admins:
- admin1@vmware.com
- admin2@vmware.com
vcap_redis:
address: 10.40.97.55
port: 5454
password: passwordpassword01
maxmemory: 2000000000 # 2GB
router:
status:
port: 8080
user: root
password: passwordpassword01
dashboard:
uaa:
client_id: dashboard
client_secret: passwordpassword01
users:
- [root, admin]
dea:
max_memory: 4096
dea_next:
memory_mb: 8192
memory_overcommit_factor: 4
disk_mb: 16384
disk_overcommit_factor: 4
num_instances: 256
nfs_server:
address: 10.40.97.51
network: 10.40.97.0/24
hbase_master:
address: 10.40.97.93
hbase_master:
port: 60000
webui_port: 60010
heap_size: 1024
hbase_zookeeper:
heap_size: 1024
hadoop_namenode:
port: 9000
opentsdb:
address: 10.40.97.85
port: 4242
hbase_slave:
hbase_regionserver:
port: 60020
heap_size: 1024
addresses:
- 10.40.97.99
service_plans:
mysql:
free:
job_management:
high_water: 1400
low_water: 100
configuration:
allow_over_provisioning: true
capacity: 200
max_db_size: 128
max_long_query: 3
max_long_tx: 0
max_clients: 20
postgresql:
free:
job_management:
high_water: 1400
low_water: 100
configuration:
capacity: 200
max_db_size: 128
max_long_query: 3
max_long_tx: 30
max_clients: 20
mongodb:
free:
job_management:
high_water: 3000
low_water: 100
configuration:
allow_over_provisioning: true
capacity: 200
quota_files: 4
max_clients: 500
redis:
free:
job_management:
high_water: 1400
low_water: 100
configuration:
capacity: 200
max_memory: 16
max_swap: 32
max_clients: 500
rabbit:
free:
job_management:
low_water: 100
high_water: 1400
configuration:
max_memory_factor: 0.5
max_clients: 512
capacity: 200
vblob:
free:
job_management:
low_water: 100
high_water: 1400
configuration:
capacity: 200
serialization_data_server:
upload_token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
use_nginx: true
upload_timeout: 10
port: 8080
upload_file_expire_time: 600
purge_expired_interval: 30
service_lifecycle:
download_url: service-serialization.cf.local # Modify this url for your environment
mount_point: /var/vcap/service_lifecycle
tmp_dir: /var/vcap/service_lifecycle/tmp_dir
resque:
host: 10.40.97.84 # Change this IP address
port: 3456
password: passwordpassword01 # Create a secure password
nfs_server:
address: 10.40.97.82 # Change this IP address
export_dir: /var/vcap/store/shared
serialization_data_server:
- 10.40.97.81
mysql_gateway:
check_orphan_interval: 7200
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
supported_versions: ["5.1"]
version_aliases:
current: "5.1"
mysql_node:
production: true
password: $6$3BMC8bQ0$izpxW02mmcxUvxbW1vaMZV62sizWPR66G8KC1NuGVqyOPLsJNDqJhKvjPOwuHdqu8Vurhf3JhDlLSzPjFw9LF1
supported_versions: ["5.1"]
default_version: "5.1"
redis_gateway:
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
check_orphan_interval: 7200
supported_versions: ["2.2", "2.4", "2.6"]
version_aliases:
current: "2.2"
next: "2.6"
redis_node:
command_rename_prefix: sample
supported_versions: ["2.2", "2.4", "2.6"]
default_version: "2.2"
mongodb_gateway:
check_orphan_interval: 7200
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
supported_versions: ["1.8", "2.0"]
version_aliases:
current: "2.0"
deprecated: "1.8"
mongodb_node:
supported_versions: ["1.8", "2.0"]
default_version: "1.8"
rabbit_gateway:
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
check_orphan_interval: 7200
supported_versions: ["2.4"]
version_aliases:
current: "2.4"
rabbit_node:
supported_versions: ["2.4"]
default_version: "2.4"
postgresql_gateway:
check_orphan_interval: 7200
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
supported_versions: ["9.0"]
version_aliases:
current: "9.0"
postgresql_node:
production: true
supported_versions: ["9.0"]
default_version: "9.0"
vblob_gateway:
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7 # Change this to your own token string
acls:
wildcards: [*@cf.local]
supported_versions: ["0.51"]
version_aliases:
current: "0.51"
vblob_node:
vblobd_auth: s3
nfs_server:
address: 10.40.97.82 # Change this IP address. It should reference your services_nfs server.
export_dir: /var/vcap/store/shared
supported_versions: ["0.51"]
default_version: "0.51"
syslog_aggregator:
address: 10.40.97.83
port: 54321
stager:
max_staging_duration: 120
max_active_tasks: 20
queues:
- staging
uaa:
catalina_opts: -Xmx768m -XX:MaxPermSize=256m
cc:
token_secret: aaabxaiC371JM # Create your own token secret
client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK # Create your own client secret
clients:
dashboard:
secret: passwordpassword01
scope: openid,dashboard.user
authorities: uaa.admin,uaa.resource,tokens.read,scim.read,scim.write
authorized-grant-types: client_credentials,authorization_code,refresh_token
admin:
client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK # Create your own client secret
login:
client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK
batch:
username: root # Create a username
password: passwordpassword01 # Create a password
scim:
users:
- root|admin|openid,dashboard.user
acm:
user: root
password: passwordpassword01
login:
protocol: http