MobileFirst 容器映像不在操作控制台中显示运行时

MobileFirst Container Image doesn't show runtimes in Operations Console

我正在使用 Bluemix 的评估容器图像。我已经下载了图像,并为脚本配置了所有 .properties 文件。然后推送图像。我使用 Clouding 作为数据库。

当我启动容器时,我在操作控制台中没有看到任何运行时显示。当我打开 Cloudant 控制台时,我只能看到一个以我选择部署的项目名称创建的数据库。没有用于管理的数据库。

我无法检查日志,当我选择在 startsrver 脚本中创建卷时它抛出错误。尽管我在推送之前将 SSH public 密钥文件粘贴到 usr/ssh 中,但我也无法使用 SSH 登录。

运行ning 的标准流程是这样的:

./installcontainercli.sh
./initenv.sh args/initenv.properties
./prepareserverdbs.sh args/prepareserverdbs.properties
#this step you will repeat for each runtime you have to install.
./prepareserverdbs.sh args/prepareserverdbs.InvokingAdapterProcedures.properties
#steps to be repeated for deploys
./prepareserver.sh args/prepareserver.properties
./startserver.sh args/startserver.properties

这里的棘手之处在于,在 args/prepareserverdbs.properties 中 运行time 属性 被注释掉了。

文件args/prepareserverdbs.InvokingAdapterProcedures.properties与文件args/prepareserverdbs.properties相同,不加注释。

先说你运行:

./prepareserverdbs.sh args/prepareserverdbs.properties

然后你运行下面的命令来创建运行时间数据库:

./prepareserverdbs.sh args/prepareserverdbs.InvokingAdapterProcedures.properties

之后,您按照部署顺序进行操作:

#steps to be repeated for deploys

./prepareserver.sh args/prepareserver.properties

./startserver.sh args/startserver.properties

详细信息位于:https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/bluemix/run-foundation-on-bluemix/

应用属性示例:

#   Licensed Materials - Property of IBM 
#   5725-I43 (C) Copyright IBM Corp. 2011, 2013. All Rights Reserved.
#   US Government Users Restricted Rights - Use, duplication or
#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  

################################################################################################################################################
#  This file defines the various properties that needs to be provided for running the prepareserverdbs.sh script

#  Run prepareserverdbs.sh script to configure the management and runtime databases for the MobileFirst Platform projects. 

#  The Bluemix DB service type. The value can be either sqldb or cloudantNoSQLDB
DB_TYPE=cloudantNoSQLDB

#  Bluemix DB service instance name
DB_SRV_NAME=CloudantDB

#  Bluemix database service plan to create the service instance. For SQL DB, the accepted values are sqldb_small, sqldb_free, sqldb_premium.
#  For Cloudant DB, the accepted value is Shared
DB_SRV_PLAN=Shared

#  Bluemix application name to bind the DB service instance
APP_NAME=<your app name>

#  (Optional) The name of the runtime project to be deployed on MFPF server. Specified only for configuring runtime database
RUNTIME_NAME=FormBasedAuth 

#  (Optional) Database Schema Name. Defaults to WLADMIN for admin database and runtime name for runtime database
#SCHEMA_NAME=