cloud_foundry.yml

---
name: cf.local
director_uuid: a0013f48-f2ba-40be-9b6f-70f07b0fc1ac

release:
  name: appcloud
  version: 127

compilation:
  workers: 4
  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: 4
  max_errors: 1

networks:

- name: default
  subnets:
  - range: 10.0.0.0/24
    reserved:
    - 10.0.0.2 - 10.0.0.29
    - 10.0.0.200 - 10.0.0.254
    static:
    - 10.0.0.30 - 10.0.0.100
    gateway: 10.0.0.1
    dns:
    - 202.119.32.12
    - 202.119.32.6
    cloud_properties:
      name: VM Network

resource_pools:

- name: small
  network: default
  size: 32
  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: 2
  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: 8192
  networks:
  - name: default
    static_ips:
    - 10.0.0.30

- 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.0.0.60

- name: syslog_aggregator
  template: syslog_aggregator
  instances: 1
  resource_pool: small
  persistent_disk: 600
  networks:
  - name: default
    static_ips:
    - 10.0.0.61

- name: nats
  template: nats
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.31

- name: opentsdb
  template: opentsdb
  instances: 1
  resource_pool: small
  persistent_disk: 8192
  networks:
  - name: default
    static_ips:
    - 10.0.0.63

#- name: collector
#  template: collector
#  instances: 1
#  resource_pool: small
#  networks:
#  - name: default
#    static_ips:
#    - 10.0.0.64

- name: dashboard
  template: dashboard
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.65

- name: ccdb
  template: postgres
  properties:
    db: ccdb
  instances: 1
  resource_pool: small
  persistent_disk: 2048
  networks:
  - name: default
    static_ips:
    - 10.0.0.32

- name: uaadb
  template: postgres
  properties:
    db: uaadb
  instances: 1
  resource_pool: small
  persistent_disk: 2048
  networks:
  - name: default
    static_ips:
    - 10.0.0.33

- name: vcap_redis
  template: vcap_redis
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.34

- name: services_redis
  template: vcap_redis
  instances: 1
  resource_pool: small
  persistent_disk: 2048
  networks:
  - name: default
    static_ips:
    - 10.0.0.62
  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.0.0.35

- name: acmdb
  template: postgres
  properties:
     db: acmdb
  instances: 1
  resource_pool: small
  persistent_disk: 2048
  networks:
  - name: default
    static_ips:
    - 10.0.0.36

- name: acm
  template: acm
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.37

- name: cloud_controller
  template: cloud_controller
  instances: 1
  resource_pool: medium
  networks:
  - name: default
    static_ips:
    - 10.0.0.38

- name: stager
  template: stager
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.39

- name: router
  template: router
  instances: 2
  resource_pool: router
  networks:
  - name: default
    static_ips:
    - 10.0.0.40
    - 10.0.0.41
    default: [dns, gateway]

- name: health_manager
  template: health_manager
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.42

- name: health_manager_next
  template: health_manager_next
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.66

- name: dea
  template: dea
  instances: 2
  resource_pool: medium
  networks:
  - name: default
    static_ips:
    - 10.0.0.43
    - 10.0.0.44

- name: mysql_node
  template: mysql_node
  instances: 1
  resource_pool: mysql
#  persistent_disk: 4096
  networks:
  - name: default
    static_ips:
    - 10.0.0.45

- name: mysql_gateway
  template: mysql_gateway
  instances: 1
  resource_pool: mysql
  networks:
  - name: default
    static_ips:
    - 10.0.0.89

- name: mongodb_node
  template: mongodb_node
  instances: 1
  resource_pool: small
  persistent_disk: 4096
  networks:
  - name: default
    static_ips:
    - 10.0.0.49

- name: mongodb_gateway
  template: mongodb_gateway
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.50

- name: redis_node
  template: redis_node
  instances: 1
  resource_pool: small
  persistent_disk: 2048
  networks:
  - name: default
    static_ips:
    - 10.0.0.47

- name: redis_gateway
  template: redis_gateway
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.48

- name: rabbit_node
  template: rabbit_node
  instances: 1
  resource_pool: small
  persistent_disk: 4096
  networks:
  - name: default
    static_ips:
    - 10.0.0.51

- name: rabbit_gateway
  template: rabbit_gateway
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.52

- name: postgresql_node
  template: postgresql_node
  instances: 1
  resource_pool: small
  persistent_disk: 2048
  networks:
  - name: default
    static_ips:
    - 10.0.0.53

- name: postgresql_gateway
  template: postgresql_gateway
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.54

- name: vblob_node
  template: vblob_node
  instances: 1
  resource_pool: small
  persistent_disk: 1024
  networks:
  - name: default
    static_ips:
    - 10.0.0.55

- name: vblob_gateway
  template: vblob_gateway
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.56

- name: backup_manager
  template: backup_manager
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.57

- name: service_utilities
  template: service_utilities
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.58

- name: serialization_data_server
  template: serialization_data_server
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.59

- name: hbase_slave
  template: hbase_slave
  instances: 3
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.67
    - 10.0.0.68
    - 10.0.0.69

- name: hbase_master
  template: hbase_master
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.70

properties:
  domain: cf.local

  env:

  networks:
    apps: default
    management: default

  nats:
    user: root
    password: passwordpassword01
    address: 10.0.0.31
    port: 4222

  ccdb:
    address: 10.0.0.32
    port: 5524
    pool_size: 10
    roles:
    - tag: admin
      name: root
      password: passwordpassword01
    databases:
    - tag: cc
      name: appcloud

  uaadb:
    address: 10.0.0.33
    port: 2544
    roles:
    - tag: admin
      name: root
      password: passwordpassword01
    databases:
    - tag: uaa
      name: uaa

  acmdb:
    address: 10.0.0.36
    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:
    - [email protected]

  vcap_redis:
    address: 10.0.0.34
    port: 5454
    password: passwordpassword01
    maxmemory: 2000000000

  router:
    status:
      port: 8080
      user: root
      password: passwordpassword01

  dashboard:
    users:
      - [root, admin]
    uaa:
      client_id: dashboard
      client_secret: YsLuKyUCZF53kBKS

  dea:
    logging_level: debug
    max_memory: 4096
    secure: false
    enforce_ulimit: false

  nfs_server:
    address: 10.0.0.60
    network: 10.0.0.0/24

  opentsdb:
    address: 10.0.0.63
    port: 4242

  stager:
    max_staging_duration: 120
    max_active_tasks: 20
    queues:
    - staging

  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: 8f7COGvTlXT7l8IzAgOHxMXurBrG364k
    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
    mount_point: /var/vcap/service_lifecycle
    tmp_dir: /var/vcap/service_lifecycle/tmp_dir
    resque:
      host: 10.0.0.62
      port: 3456
      password: passwordpassword01
    nfs_server:
      address: 10.0.0.60
      export_dir: /var/vcap/store/shared
      serialization_data_server: 
        - 10.0.0.59

  mysql_gateway:
    check_orphan_interval: 7200
    token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
    supported_versions: 
     # - "5.5"
      - "5.1"
    version_aliases:
      current: 5.1

  mysql_node:
    production: true
    password: $6$3BMC8bQ0$izpxW02mmcxUvxbW1vaMZV62sizWPR66G8KC1NuGVqyOPLsJNDqJhKvjPOwuHdqu8Vurhf3JhDlLSzPjFw9LF1
    supported_versions: 
     # - "5.5"
      - "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: 1.8
      current: 2.0
#      deprecated: 1.8
      deprecated: 2.0
  mongodb_node:
    supported_versions: 
    #  - "1.8"
      - '2.0'
 #   default_version: 1.8
    default_version: 2.0
  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
    supported_versions: ["0.51"]
    version_aliases:
      current: "0.51"

  vblob_node:
    vblobd_auth: s3
    nfs_server:
      address: 10.0.0.60
      export_dir: /var/vcap/store/shared
    supported_versions: 
      - "0.51"
    default_version: 0.51

  syslog_aggregator:
    address: 10.0.0.61
    port: 54321

  uaa:
    cc:
      token_secret: aaabxaiC371JM
      client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK
    admin:
      client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK
    batch:
      username: root
      password: passwordpassword01
    login:
      client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK

  acm:
    user: root
    password: passwordpassword01

  hbase_master:
    address: 10.0.0.70
    hbase_master:
      port: 60000
      webui_port: 60010
      heap_size: 1024
    hbase_zookeeper:
      heap_size: 1024
    hadoop_namenode:
      port: 9000

  hbase_slave:
    hbase_regionserver:
      port: 60020
      heap_size: 1024
    addresses:
    - 10.0.0.67
    - 10.0.0.68
    - 10.0.0.69

 

你可能感兴趣的:(cloud)