【问题标题】:Unable to start the cf-mysql-broker in pcf-dev无法在 pcf-dev 中启动 cf-mysql-broker
【发布时间】:2016-09-08 04:32:48
【问题描述】:

我正在尝试在 AWS 实例 (m4.xlarge) 上设置 pcf-dev。我能够启动 48 个进程中的 46 个。其余进程无法启动。

剩余进程:cf-mysql-broker,quota-enforcer

root@agent-id-pcfdev-0:/var/vcap/sys/log/cf-mysql-broker# monit summary
The Monit daemon 5.2.5 uptime: 4h 8m

Process 'consul_agent'              running
Process 'mariadb_ctrl'              running
Process 'galera-healthcheck'        running
Process 'gra-log-purger-executable' running
Process 'cloud_controller_clock'    running
Process 'cloud_controller_ng'       running
Process 'cloud_controller_worker_local_1' running
Process 'cloud_controller_worker_local_2' running
Process 'nginx_cc'                  running
Process 'cloud_controller_migration' running
Process 'cloud_controller_worker_1' running
Process 'blobstore_nginx'           running
Process 'blobstore_url_signer'      running
Process 'doppler'                   running
Process 'gorouter'                  running
Process 'loggregator_trafficcontroller' running
Process 'metron_agent'              running
Process 'nats'                      running
Process 'route_registrar'           running
Process 'uaa'                       running
Process 'etcd'                      running
Process 'garden'                    running
Process 'auctioneer'                running
Process 'bbs'                       running
Process 'cc_uploader'               running
Process 'converger'                 running
Process 'file_server'               running
Process 'nsync_listener'            running
Process 'nsync_bulker'              running
Process 'rep'                       running
Process 'route_emitter'             running
Process 'ssh_proxy'                 running
Process 'stager'                    running
Process 'tps_listener'              running
Process 'tps_watcher'               running
Process 'syslog-configurator'       running
Process 'process-watcher'           running
Process 'cf-redis-broker'           running
Process 'broker-nginx'              running
Process 'cf-redis-route-registrar'  running
Process 'cf-mysql-broker'           not monitored
Process 'cf-mysql-route-registrar'  running
Process 'quota-enforcer'            not monitored
Process 'rabbitmq-broker'           running
Process 'rabbitmq-broker-route-registrar' running
Process 'rabbitmq-management-route-registrar' running
Process 'rabbitmq-server'           running
System 'system_localhost'           running
root@agent-id-pcfdev-0:/var/vcap/sys/log/cf-mysql-broker#

我验证了/var/vcap/sys/log/cf-mysql-broker路径中的日志,没有发现任何错误。

【问题讨论】:

    标签: paas cloud-foundry pivotal-web-services


    【解决方案1】:

    Pivotal 不正式支持在 AWS 上运行 PCF Dev。我们发布了一个 AWS Vagrant box,仅用于我们自己的 CI 系统。面向用户的 AWS 功能已在路线图中,但可能要几个月才能准备好。我们甚至可能在未来某个时候暂时停止发布 AWS 盒子。

    也就是说,我们的 CI 管道每天多次将 PCF 开发部署到 m4.xlarge 实例。你是如何开始 PCF 开发的?您是否使用不同的PCFDEV_DOMAIN 进行部署?您是否修改了 Vagrantfile?你能把vagrant up的输出贴出来吗?

    我们发现使用 400 GB EBS 根卷可以显着提高 I/O 性能。你可以试试运行AWS_EBS_DISK_SIZE=400 vagrant up --provider=aws吗?

    -斯蒂芬

    【讨论】:

      【解决方案2】:

      谢谢..斯蒂芬..

      我通过提供 aws 凭据和域,使用“vagrant up --provider=aws”运行 Vagrant。 Vagrant 将启动 48 CF 进程,因此在我的情况下,它盯着 46 进程并且无法启动 2 进程,并且它不断轮询消息说“正在启动 48 个进程中的 46 个”。当我签入 CF 实例“cf-mysql-broker,quota-enforcer”时,进程无法启动。

      【讨论】:

        猜你喜欢
        • 2020-03-15
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-10-23
        相关资源
        最近更新 更多