`
南京老油条
  • 浏览: 55808 次
  • 性别: 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'


还请指教?

相关推荐

    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的信息,包括详细的安装步骤,...

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

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

    cf-vLab-event:cloud Foundry django应用程序,用于处理事件的EMC vLab自动登录链接

    Cloud Foundry django应用程序示例,用于处理事件的EMC vLab自动登录链接。 已通过Pivotal Web服务进行测试 阅读更多: 要求: 一个Cloud Foundry帐户(可以在这里找到60天的免费试用版: : ) Cloud Foundry ...

    sslproxy-boshrelease:SSL 代理负载均衡器。 在 Cloud Foundry 前很有用

    在任何基础架构上运行的 CloudFoundry 路由器前获取 SSL 代理的最快方法之一是部署此 bosh 版本。 用法 要使用此 BOSH 版本,请先将其上传到您的 bosh: bosh upload release ...

    cf-fed-wiki:Cloud Foundry 的联合 wiki 版本

    cf-fed-wiki - Cloud Foundry 的联合 wiki 版本 cf-fed-wiki软件包是为部署到 Cloud Foundry 而定制的版本。 了解 Federated Wiki 的最佳方式是访问。 在 Bluemix 上部署 您可以通过单击下面的“部署到 Bluemix”...

    spring-sendgrid:在 Cloud Foundry 上使用 Spring 和 SendGrid 的示例应用程序

    在 Cloud Foundry 上运行应用程序 在的“cf”安装、定位 Cloud Foundry 实例并登录后,可以使用以下命令推送应用程序: $ ./gradlew assemble $ cf push --path=build/libs/spring-sendgrid.war 如果提示为您的...

    horouter:Cloud Foundry 的替代路由器实现

    这是 Cloud Foundry 的替代路由器实现。 它主要是为了好玩而写的,但它似乎可以很好地工作。 用法 cabal update cabal install # run it runhaskell Main.hs # ...or build then run cabal build ./dist/build/...

    doppler-simulator:Cloudfoundry多普勒服务器模拟器

    gradle build (如果要更快地构建,请跳过使用-x test的测试,测试会运行一些基准测试并可能减慢速度)配置服务器具有默认的application.yml ,如果您需要使用自己的值覆盖它,请将其复制到单独的文件夹中,然后...

    maven-push-plugin:`cf maven-push`将Maven工件传输到Cloud Foundry

    是否想要将特定版本的Maven工件部署到Cloud Foundry,但没有本地副本? 使用cf maven-push 。 cf maven-push是cf push替代品,它具有以下特点: 根据清单将Maven工件下载到临时文件 使用传递给cf maven-push的参数...

    spring-postgresql-demo:由PostgreSQL支持的Spring Boot 2.0应用程序,旨在部署到Pivotal Cloud Foundry(PCF)

    Spring Boot 2.0 PostgreSQL应用程序演示此项目最初用于Programmatic Ponderings博客文章,,于2018年3月发布.Spring Boot 2.0应用程序,由PostgreSQL支持,旨在部署到Pivotal Cloud Foundry( PCF)。 数据库更改由...

    stackato-buildpack-ruby:用于Stackato的替代rubyrails buidpack

    只需运行bundle install来安装依赖项,而不是在CloudFoundry插件执行的Gemfile.lock中获取每个gem,以及其他复杂的事情。 还要使用绑定的服务(mysql或postgres)信息修补database.yml 。 示例stackato.yml name: ...

    nginx_status-boshrelease

    nginx_status 的 BOSH 版本用法要使用此 bosh 版本,请先将其上传到您的 bosh: bosh target BOSH_HOSTgit clone ...status-1.yml对于 ,您可以快速创建部署清单并部署集群: templates/make_manifest wardenbosh -n ...

Global site tag (gtag.js) - Google Analytics