更新服务 MongoDB 失败

Update service MongoDB failed

我正在尝试用

更新我的 mongodb-2 服务

cf update-service $serviceInstance -p $newPlan

但我得到:

FAILED

Server error, status code: 400, error code: 110004, message: The service does not support changing plans.

这是否意味着 mongodb-2 计划永远无法更改?或者我应该在更改计划之前取消绑定应用程序吗?

cf update-service 不受任何 Swisscom 服务的支持。您现在需要手动执行此操作。 Swisscom 正在开发 cf update-service 功能。请订阅时事通讯以了解该功能何时投入生产。

  • 转储旧服务实例的数据mongodump
  • 使用其他计划创建新服务实例
  • mongorestore 数据恢复到新服务实例
  • 删除旧服务实例

带有cf ssh隧道的详细指南here