我已经成功地在一个集合中启用了adminCenter功能,但我只能看到该集合的服务器配置。管理中心没有显示成员的配置。有人能告诉我可能出了什么问题吗?谢谢!
发布于 2016-01-20 04:17:03
当您使用管理中心工具箱中的server Config工具查看/编辑服务器上的服务器配置时,server Config工具会在幕后调用该服务器上的REST API。为了使该API工作,必须通过以下方式之一在服务器上找到JDK/JRE。
在集合updateHost命令中指定--hostJavaHome参数的主机主页。例如/collective_host=hostName_user=user_password=password_port=https_port--host wlp=/ updateHost /wlp/usr/ --hostJavaHome=/opt/ibm/java-i386-70
中导出路径
发布于 2015-12-19 05:34:56
我最好的猜测是,集合控制器尚未设置为具有正确的凭据,因此无法连接到运行集合成员的主机。某些操作(如读取文件、写入文件、启动或停止服务器)要求集合控制器能够在目标主机上执行命令。没有一种简单的方法来查看主机配置(这不是很好),在这种情况下,我通常要做的是运行updateHost以确保凭证设置正确。这可以在集合控制器或成员上完成。
collective updateHost <host name as registered with collective>
--host=<host of the collective controller> --port=<https port of the collective controller>
--user=<the admin center user> --password=<the admin center password>
--rpcUser=<a userid that can see/manage the collective member> --rpcUserPassword=<the password for the rpcUser>https://stackoverflow.com/questions/34320762
复制相似问题