`
南京老油条
  • 浏览: 60703 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

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:
    - admin@vmware.com

  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

 

分享到:
评论
2 楼 南京老油条 2014-02-28  
heei3k 写道
请问下,这个文件中的template名称是固定的么?

我按照上面的配置,为啥部署时,报

Error 190012: Can't find template `vcap_redis'


还请指教?




检查你的cf-release的src目录下是否有vcap_redis
1 楼 heei3k 2014-02-24  
请问下,这个文件中的template名称是固定的么?

我按照上面的配置,为啥部署时,报

Error 190012: Can't find template `vcap_redis'


还请指教?

相关推荐

    JavaBuildpack的自动重新配置功能_Java_Shell_下载.zip

    1. **服务绑定**:当一个Java应用被推送到Cloud Foundry时,JavaBuildpack会检查manifest.yml或cf CLI命令行参数中指定的服务绑定。如果找到匹配的服务实例,它会自动将相应的连接字符串、用户名和密码等配置信息...

    用于运行 Java 应用程序的 Cloud Foundry 构建包.zip

    用法要使用此构建包,请在将应用程序推送到 Cloud Foundry 时指定存储库的 URI$ cf push <APP-NAME> -p <ARTIFACT> -b https://github.com/cloudfoundry/java-buildpack.git示例以下是部署我们支持的工件类型的非常...

    Java_Spring Boot的下一代工具,包括支持Cloud Foundry清单文件、Concourse CI管道.zip

    Cloud Foundry清单文件(manifest.yml)是与Cloud Foundry交互的关键,用于定义应用的部署属性,如应用名称、实例数量、内存限制以及绑定的服务等。支持Cloud Foundry清单文件意味着Spring Boot应用可以无缝地部署到...

    多结点DEA安装手册

    1. 下载VCAP库:通过`git clone https://github.com/cloudfoundry/vcap.git`命令获取。 2. 打包dev_setup:进入vcap目录,执行`tar czvf dev_setup.tar.gz dev_setup`。 3. 确定安装目录:将dev_setup.tar.gz移动到...

    Spring Cloud Dalston 中文文档 参考手册 中文版 带书签

    Spring Cloud专注于开箱即用的良好体验,并为扩展提供了机制,适用于各种分布式环境,从开发者的个人笔记本电脑到物理服务器,再到托管平台如CloudFoundry。 Spring Cloud Dalston.RELEASE版本是一个具体的Spring ...

    多结点UAA安装手册

    安装完成后,通过`git clone https://github.com/cloudfoundry/vcap.git`命令克隆VCAP库到本地。 ##### 2. 打包dev_setup - **步骤**:进入`vcap`目录,使用`tar czvf dev_setup.tar.gz dev_setup`命令对`dev_...

    has项目cloud foundry用的java web 的 buildpack

    Cloud Foundry是一个开源的平台即服务(PaaS)系统,由VMware(后被Pivotal Software接手,现为Salesforce的一部分)开发,用于构建、部署和管理应用程序。在这个场景中,"has项目"显然是一个基于Java Web的应用程序...

    docs-book-cloudfoundry:用于开源Cloud Foundry文档的bookbinder存储库

    Cloud Foundry文档该项目将Cloud Foundry文档发布为Web应用程序。 在本主题中:这个仓库里有什么此回购使用生成文档作为Web应用程序。 config.yml文件包含主题存储库的列表。 master_middleman文件夹包含用于创建...

    codenvy-cfrunner:Cloud-ide Codenvy 的 Cloud Foundry 运行器

    安装在上创建一个帐户在仪表板中创建或导入项目在 codenvy 的根目录项目上创建manifest.yml (请参阅: ://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html) 在您的环境中点击底部的标签runner 。...

    backman:备份您的数据库的Cloud Foundry应用程序

    :computer_disk: 后卫 的备份管理器应用程序支持的数据库MariaDB / MySQL PostgreSQLMongoDB的弹性搜索雷迪斯用法选择一个Cloud Foundry提供商。 我建议 创建兼容S3的对象存储的服务实例修改提供的manifest.yml ,...

    RabbitMQ-LogAppender-For-CF

    提供的manifest.yml文件将用于向 Cloud Foundry 提供应用程序参数。 一个唯一的 URL 将被分配给应用程序,它显示在“cf push”输出的末尾。 manifest.yml文件指定了在 Cloud Foundry 服务市场上可用的 RabbitMQ 服务...

    evaporator:简化部署到Cloud Foundry的瑰宝

    蒸发器安装将此行添加到您的应用程序的Gemfile中: gem 'evaporator' , github : 'pivotal/evaporator' 然后执行: $ bundle特征只需执行简单的rake任务即可将Rails应用程序部署到Cloud Foundry。 部署前检查您是否...

    chartmuseum-for-cloudfoundry:将ChartMuseum部署到任何Cloud Foundry

    面向Cloud Foundry的ChartMuseum 是一个开源,易于部署的Helm Chart存储库服务器。 该项目将ChartMuseum部署到任何Cloud Foundry。 它用于部署 。 helm repo add starkandwayne https://helm.starkandwayne.com ...

    eirinifs

    该软件包包含在Kubernetes上运行Cloud Foundry(CF)应用程序的所有必需代码。 Eirini的软件包使用它以Kubernetes StatefulSet的运行该应用程序。 如果一个应用程序CF没有设置启动命令,这个包解析startup_command...

    cf-symfony-example:Cloud Foundry 的 Symfony 示例

    Cloud Foundry 的 Symfony 示例 这是一个让 Symfony 应用程序在 Cloud Foundry 上运行的即用型示例。 这是用于此处提供的 php_buildpack 3.0 它不适用于 1.0 php buildpack。 您必须更改/添加以下内容才能使其...

    wikijs-cf-repo:为工具链创建

    IBM Cloud Foundry公共-Wiki.js部署 此仓库是IBM Cloud Continuous Delivery的Open Toolchain定义,用于将Wiki.js部署到IBM Cloud Foundry public。 此部署假定您具有。 有关Wiki.js的信息,包括详细的安装步骤,...

    cloudfoundry-deploy-buildkite-plugin:用于部署到Cloud Foundry的Buildkite插件

    `cloudfoundry-deploy-buildkite-plugin`是专门为Buildkite设计的一个插件,目的是简化将应用部署到Cloud Foundry的过程。 使用这个插件,开发团队可以在Buildkite的构建管道中直接执行部署步骤,这极大地提高了...

    Spring Cloud (Dalston)中文文档

    这一版本(Dalston.RELEASE)关注的是提供开箱即用的体验和可扩展性,以适应各种分布式环境,包括个人笔记本、数据中心以及像Cloud Foundry这样的云平台。 **核心特性** 1. **分布式/版本化配置**:Spring Cloud...

    java-buildpack:用于运行Java应用程序的Cloud Foundry buildpack

    $ cf push < APP> -p < ARTIFACT> -b https://github.com/cloudfoundry/java-buildpack.git 例子 以下是部署我们支持的工件类型的非常简单的示例。 配置和扩展 可以使用与要覆盖的配置文件相匹配的环境变量(减去....

    pcf_FORK_CHECK_GITLAB-源码.rar

    "pcf"可能代表“Platform Cloud Foundry”(一种云平台),但没有足够的上下文来确认这一点。由于标签为空,我们只能依赖标题和描述来推测内容。 源代码通常是程序员或开发者用来创建、维护和理解软件的基石。在...

Global site tag (gtag.js) - Google Analytics