bosh.yml

---
name: bosh-dev11
director_uuid: 531a321e-24e4-4c8d-be7e-e1100130e10e
release:
  name: bosh
  version: 11

networks:
- name: default
  subnets:
  - reserved:
    - 10.0.0.10 - 10.0.0.19
    static:
    - 10.0.0.20 - 10.0.0.27
    range: 10.0.0.0/24
    gateway: 10.0.0.1
    dns:
   # - 10.0.0.8
    - 202.119.32.6
    cloud_properties:
      name: VM Network

resource_pools:
- name: small
  stemcell:
    name: bosh-stemcell
    version: 0.6.4 #bosh version
  network: default
  size: 5
  cloud_properties:
    ram: 1024
    disk: 2048
    cpu: 1
# - name: medium
#   stemcell:
#     name: bosh-stemcell
#     version: 0.6.4
#   network: default
#   size: 2
#   cloud_properties:
#     ram: 1024
#     disk: 8192
#     cpu: 1
- name: director		
  stemcell:
    name: bosh-stemcell
    version: 0.6.4
  network: default
  size: 1
  cloud_properties:
    ram: 2048
    disk: 8192
    cpu: 2

compilation:
  workers: 6
  network: default
  cloud_properties:
    ram: 2048
    disk: 4048
    cpu: 4

update:
  canaries: 1
  canary_watch_time: 60000
  update_watch_time: 60000
  max_in_flight: 1
  max_errors: 1

jobs:
- name: nats
  template: nats
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.20
- name: postgres
  template: postgres
  instances: 1
  resource_pool: small
  persistent_disk: 2048
  networks:
  - name: default
    static_ips:
    - 10.0.0.21
- name: redis
  template: redis
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.22
- name: director
  template: director
  instances: 1
  resource_pool: director
  persistent_disk: 2048
  networks:
  - name: default
    static_ips:
    - 10.0.0.23
- name: blobstore
  template: blobstore
  instances: 1
  resource_pool: small
  persistent_disk: 20480
  networks:
  - name: default
    static_ips:
    - 10.0.0.24
- name: health_monitor
  template: health_monitor
  instances: 1
  resource_pool: small
  networks:
  - name: default
    static_ips:
    - 10.0.0.25

properties:
  env:

  blobstore:
    address: 10.0.0.24
    port: 25251
    backend_port: 25552
    agent:
      user: agent
      password: AgenT
    director:
      user: director
      password: DirectoR
  networks:
    apps: default
    management: default
  nats:
    user: nats
    password: NatS
    address: 10.0.0.20
    port: 4222
  postgres:
    user: postgre
    password: PostgrE
    address:  10.0.0.21
    port: 5432
    database: bosh
  redis:
    address: 10.0.0.22
    port: 25255
    password: RediS
  director:
    name: bosh_director
    address: 10.0.0.23
    port: 25555
    encryption: false
  hm:
    http:
      port: 25923
      user: root
      password: password
    director_account:
      user: root
      password: password
    intervals:
      poll_director: 60
      poll_grace_period: 30
      log_stats: 300
      analyze_agents: 60
      agent_timeout: 180
      rogue_agent_alert: 180
    loglevel: info
    email_notifications: false
    email_recipients:
    - [email protected]
    smtp:
      from: [email protected]
      host: smtp.vmware.com
      port: 25
      auth: plain
      user: root
      password: password
      domain: localdomain
    tsdb_enabled: false
    tsdb:
      address: 10.0.0.63 # opentsdb static IP from your Cloud Foundry deploy (optional)
      port: 4242

  vcenter:
    address: 10.0.0.6
    user: administrator
    password: QWEqwe123@
    datacenters:
      - name: vDataCenter
        vm_folder: vm_folder_bosh
        template_folder: template_folder_bosh
        disk_path: myboshdeployer_bosh
        datastore_pattern: NFSDataStore
        persistent_datastore_pattern: NFSDataStore	
        allow_mixed_datastores: true
        clusters:
        - vCluster
 

 

你可能感兴趣的:(OS)