在 AWS 上部署 Pivotal Cloud Foundry 时遇到的问题
Troubles with deploying Pivotal Cloud Foundry on AWS
我一直在尝试在 AWS 上安装 Pivotal Cloud Foundry,但遇到了问题。
在 upload-cert 部分提到我需要为以下内容创建 SSL 证书:
- *.system.example.com
- *.login.system.example.com
- *.uaa.system.example.com
- *.apps.example.com
因此,我在 AWS Route53 上创建了域 xxxxx.com,并在 AWS ACM 上为域和子域创建了证书。
所以,我的问题是:
- 我是否需要在 AWS Route53 中创建子域(系统、登录、uaa、应用程序)
- 我是否需要以某种方式将我的域和子域绑定到 PCF?或者安装过程必须为我完成?
- 目前,如果我打开 http://login.xxxxx.com/,它会响应 503。可能是什么原因?
- 打开 PCF url 的正确方法是什么 UI?
- 我在 Ops Manager 中遇到这样的错误。出现这种错误的原因是什么?
- 日志也是如此。当我尝试下载失败服务的日志时,它也失败了。可能是什么原因?
感谢您的帮助!
do I need to create subdomains (system, login, uaa, apps) in AWS Route53
do I need to bound my domain and subdomain somehow to PCF? Or the installation process had to do it for me?
您可以使用此处的说明创建通配子域 (*.xxxxx.com) 和别名:https://docs.pivotal.io/pivotalcf/1-10/customizing/cloudform-er-config.html#cname
what is the correct url to open the PCF UI?
如果您指的是 Ops Manager,它是您在这一步中创建并指向 Ops Manager public IP 地址的任何 DNS 条目:https://docs.pivotal.io/pivotalcf/1-10/customizing/cloudform-om-deploy.html#create-dns
对于 ERT UI,有 Pivotal Apps Manager https://docs.pivotal.io/pivotalcf/1-10/console/index.html
通常是 apps.system.xxxx.com
您可以通过使用 CLI 连接到 Cloud Foundry 并查看系统组织中有哪些应用程序以及它们的路由是什么来查看部署了哪些系统应用程序。
for now, if I open http://login.xxxxx.com/ it responses with 503. what can be the reason?
如果尚未设置 DNS,我很惊讶您会收到任何响应。当连接到负载均衡器的路由器由于某种原因发生故障时,通常会收到 503s (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/ts-elb-error-message.html#ts-elb-errorcodes-http503)
I have such error in Ops Manager. What can be the reason of such error?
如果路由器不健康,这可以解释 503。我会通过 SSH 进入这些机器并查看日志(在 /var/vcap/sys/logs 中),这应该会告诉您出了什么问题。
状态页面出现红色实例的原因是我的AWS账户对实例数量有限制,未能为该节点创建虚拟机。
要查找更多信息,请打开更新日志 (https://ops_manager_host/change_log) 和失败设置的打开日志。
我一直在尝试在 AWS 上安装 Pivotal Cloud Foundry,但遇到了问题。
在 upload-cert 部分提到我需要为以下内容创建 SSL 证书:
- *.system.example.com
- *.login.system.example.com
- *.uaa.system.example.com
- *.apps.example.com
因此,我在 AWS Route53 上创建了域 xxxxx.com,并在 AWS ACM 上为域和子域创建了证书。
所以,我的问题是:
- 我是否需要在 AWS Route53 中创建子域(系统、登录、uaa、应用程序)
- 我是否需要以某种方式将我的域和子域绑定到 PCF?或者安装过程必须为我完成?
- 目前,如果我打开 http://login.xxxxx.com/,它会响应 503。可能是什么原因?
- 打开 PCF url 的正确方法是什么 UI?
- 我在 Ops Manager 中遇到这样的错误。出现这种错误的原因是什么?
- 日志也是如此。当我尝试下载失败服务的日志时,它也失败了。可能是什么原因?
感谢您的帮助!
do I need to create subdomains (system, login, uaa, apps) in AWS Route53 do I need to bound my domain and subdomain somehow to PCF? Or the installation process had to do it for me?
您可以使用此处的说明创建通配子域 (*.xxxxx.com) 和别名:https://docs.pivotal.io/pivotalcf/1-10/customizing/cloudform-er-config.html#cname
what is the correct url to open the PCF UI?
如果您指的是 Ops Manager,它是您在这一步中创建并指向 Ops Manager public IP 地址的任何 DNS 条目:https://docs.pivotal.io/pivotalcf/1-10/customizing/cloudform-om-deploy.html#create-dns
对于 ERT UI,有 Pivotal Apps Manager https://docs.pivotal.io/pivotalcf/1-10/console/index.html
通常是 apps.system.xxxx.com
您可以通过使用 CLI 连接到 Cloud Foundry 并查看系统组织中有哪些应用程序以及它们的路由是什么来查看部署了哪些系统应用程序。
for now, if I open http://login.xxxxx.com/ it responses with 503. what can be the reason?
如果尚未设置 DNS,我很惊讶您会收到任何响应。当连接到负载均衡器的路由器由于某种原因发生故障时,通常会收到 503s (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/ts-elb-error-message.html#ts-elb-errorcodes-http503)
I have such error in Ops Manager. What can be the reason of such error?
如果路由器不健康,这可以解释 503。我会通过 SSH 进入这些机器并查看日志(在 /var/vcap/sys/logs 中),这应该会告诉您出了什么问题。
状态页面出现红色实例的原因是我的AWS账户对实例数量有限制,未能为该节点创建虚拟机。 要查找更多信息,请打开更新日志 (https://ops_manager_host/change_log) 和失败设置的打开日志。