cloudfoundry.yml

谷梁星雨
2023-12-01
---  
name: testcf
director_uuid: 13c71e48-b749-48d4-b66a-e3b3ebb924c4

release:  
  name: appcloud  
  version: 131 
  
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: 192.168.1.0/24  
    reserved:  
    - 192.168.1.2 - 192.168.1.29  
    - 192.168.1.200 - 192.168.1.254  
    static:  
    - 192.168.1.30 - 192.168.1.100  
    gateway: 192.168.1.1  
    dns:  
    - 61.147.37.1
    - 218.2.135.1
    cloud_properties:  
      name: VM Network  
  
resource_pools:  
  
- name: small  
  network: default  
  size: 30  
  stemcell:  
    name: bosh-stemcell  
    version: 0.6.4  
  cloud_properties:  
    ram: 1024  
    disk: 8192  
    cpu: 1  
  env:  
    bosh:  
      password: $6$3BMC8bQ0$izpxW02mmcxUvxbW1vaMZV62sizWPR66G8KC1NuGVqyOPLsJNDqJhKvjPOwuHdqu8Vurhf3JhDlLSzPjFw9LF1  
 
  
- 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  

  
- 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   
  
- 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:  
    - 192.168.1.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:  
    - 192.168.1.60  
  
- name: syslog_aggregator  
  template: syslog_aggregator  
  instances: 1  
  resource_pool: small  
  persistent_disk: 600  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.61  
  
- name: nats  
  template: nats  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.31  
  
- name: opentsdb  
  template: opentsdb  
  instances: 1  
  resource_pool: small  
  persistent_disk: 8192  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.63 
  
- name: dashboard  
  template: dashboard  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.65  
  
- name: ccdb  
  template: postgres  
  properties:  
    db: ccdb  
  instances: 1  
  resource_pool: small  
  persistent_disk: 2048  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.32  
  
- name: uaadb  
  template: postgres  
  properties:  
    db: uaadb  
  instances: 1  
  resource_pool: small  
  persistent_disk: 2048  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.33  
  
- name: vcap_redis  
  template: vcap_redis  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.34  
  
- name: services_redis  
  template: vcap_redis  
  instances: 1  
  resource_pool: small  
  persistent_disk: 2048  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.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:  
#    - 192.168.1.35  
  
#- name: acmdb  
#  template: postgres  
#  properties:  
#     db: acmdb  
#  instances: 1  
#  resource_pool: small  
#  persistent_disk: 2048  
#  networks:  
#  - name: default  
#    static_ips:  
#    - 192.168.1.36  
  
#- name: acm  
#  template: acm  
#  instances: 1  
#  resource_pool: small  
#  networks:  
#  - name: default  
#    static_ips:  
#    - 192.168.1.37  
  
- name: cloud_controller  
  template: cloud_controller  
  instances: 1  
  resource_pool: medium  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.38  
  
- name: stager  
  template: stager  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.39  
  
- name: router  
  template: router  
  instances: 2  
  resource_pool: router  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.40  
    - 192.168.1.41  
    default: [dns, gateway]  
  
#- name: health_manager  
#  template: health_manager  
#  instances: 1  
#  resource_pool: small  
#  networks:  
#  - name: default  
#    static_ips:  
#    - 192.168.1.42  
  
- name: health_manager_next  
  template: health_manager_next  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.66  
  
- name: dea  
  template: dea  
  instances: 2  
  resource_pool: medium  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.43  
    - 192.168.1.44  
  
- name: mysql_node  
  template: mysql_node  
  instances: 1  
  resource_pool: mysql  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.45  
  
- name: mysql_gateway  
  template: mysql_gateway  
  instances: 1  
  resource_pool: mysql  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.89  
  
- name: mongodb_node  
  template: mongodb_node  
  instances: 1  
  resource_pool: small  
  persistent_disk: 4096  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.49  
  
- name: mongodb_gateway  
  template: mongodb_gateway  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.50  
  
- name: redis_node  
  template: redis_node  
  instances: 1  
  resource_pool: small  
  persistent_disk: 2048  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.47  
  
- name: redis_gateway  
  template: redis_gateway  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.48  
  
- name: rabbit_node  
  template: rabbit_node  
  instances: 1  
  resource_pool: small  
  persistent_disk: 4096  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.51  
  
- name: rabbit_gateway  
  template: rabbit_gateway  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.52  
  
- name: postgresql_node  
  template: postgresql_node  
  instances: 1  
  resource_pool: small  
  persistent_disk: 2048  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.53  
  
- name: postgresql_gateway  
  template: postgresql_gateway  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.54  
  
- name: vblob_node  
  template: vblob_node  
  instances: 1  
  resource_pool: small  
  persistent_disk: 1024  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.55  

  
- name: vblob_gateway  
  template: vblob_gateway  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.56  
  
- name: backup_manager  
  template: backup_manager  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.57  
  
- name: service_utilities  
  template: service_utilities  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.58  
  
- name: serialization_data_server  
  template: serialization_data_server  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.59  
  
- name: hbase_slave  
  template: hbase_slave  
  instances: 3  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.67  
    - 192.168.1.68  
    - 192.168.1.69  
  
- name: hbase_master  
  template: hbase_master  
  instances: 1  
  resource_pool: small  
  networks:  
  - name: default  
    static_ips:  
    - 192.168.1.70  
  
properties:  
  domain: cf.local  
  
  env:  
  
  networks:  
    apps: default  
    management: default  
  
  nats:  
    user: root  
    password: passwordpassword01  
    address: 192.168.1.31  
    port: 4222  
  
  ccdb:  
    address: 192.168.1.32  
    port: 5524  
    pool_size: 10  
    roles:  
    - tag: admin  
      name: root  
      password: passwordpassword01  
    databases:  
    - tag: cc  
      name: appcloud  
  
  uaadb:  
    address: 192.168.1.33  
    port: 2544  
    roles:  
    - tag: admin  
      name: root  
      password: passwordpassword01  
    databases:  
    - tag: uaa  
      name: uaa  
  
  acmdb:  
    address: 192.168.1.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:  
    - admin@vmware.com  
  
  vcap_redis:  
    address: 192.168.1.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: 192.168.1.60  
    network: 192.168.1.0/24  
  
  opentsdb:  
    address: 192.168.1.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: 192.168.1.62  
      port: 3456  
      password: passwordpassword01  
    nfs_server:  
      address: 192.168.1.60  
      export_dir: /var/vcap/store/shared  
      serialization_data_server:   
        - 192.168.1.59  
  
  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:     
      - '2.0'  
    version_aliases:  
      current: 2.0  
      deprecated: 2.0  
  mongodb_node:  
    supported_versions:     
      - '2.0'  
    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: 192.168.1.60  
      export_dir: /var/vcap/store/shared  
    supported_versions:   
      - "0.51"  
    default_version: 0.51  
  
  syslog_aggregator:  
    address: 192.168.1.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: 192.168.1.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:  
    - 192.168.1.67  
    - 192.168.1.68  
    - 192.168.1.69 

 类似资料:

相关阅读

相关文章

相关问答