FusionCompute V100R005C00SPC300 搭建问题救助!

[复制链接]
发表于 : 2015-8-7 15:56:04 最新回复:2015-10-15 11:38:56
5743 11

现在学习fusioncomputer 搭建  实验环境是这样的 本机物理机IP地址为172.25.1.243 255.255.255.0
虚拟机wmware11  fusioncomputer 安装完毕  配置为8G内存 250G硬盘 IP地址为 172.25.1.10
255.255.255.0 物理机和CNA 互相可以ping通!
在部署VRM的时候 报错!发送消息到主机失败!
2015-08-07 15:36.148> [ERROR] Config host failed!

2015-08-07 15:36.744> [INFO] encrypt password successed
2015-08-07 15:36.744> [INFO] PostMessage : TM_OP_CHECK_HOST
2015-08-07 15:36.744> [INFO] PostMessage : TM_OP_REPORT_CONFIG_HOST_PROGRESS
2015-08-07 15:36.744> [INFO] RevcMessage : TM_OP_CHECK_HOST
2015-08-07 15:36.746> [INFO] ExecMessage : TM_OP_CHECK_HOST
2015-08-07 15:36.746> [DEBUG] Begin to check host [172.25.1.10] ...
2015-08-07 15:36.746> [DEBUG] Checking [172.25.1.10] whether is reachable...
2015-08-07 15:36.746> [INFO] RevcMessage : TM_OP_REPORT_CONFIG_HOST_PROGRESS
2015-08-07 15:36.746> [INFO] ExecMessage : TM_OP_REPORT_CONFIG_HOST_PROGRESS
2015-08-07 15:36.746> [INFO] Current progress is 1

2015-08-07 15:36.748> [DEBUG] Ping ip [172.25.1.10], status is [Success].
2015-08-07 15:36.748> [INFO] Begin to open [172.25.1.10]'s root ssh login access ...

2015-08-07 15:36.448> [INFO] on [172.25.1.10], excute cmd: [ls /home/GalaX8800/bin/sshRootLogin.sh]
2015-08-07 15:36.626> [INFO] encrypt password successed
2015-08-07 15:36.627> [INFO] PostMessage : TM_OP_CHECK_HOST
2015-08-07 15:36.627> [INFO] PostMessage : TM_OP_REPORT_CONFIG_HOST_PROGRESS
2015-08-07 15:36.627> [INFO] RevcMessage : TM_OP_CHECK_HOST

2015-08-07 15:36.628> [INFO] ExecMessage : TM_OP_CHECK_HOST
2015-08-07 15:36.629> [DEBUG] Begin to check host [172.25.1.10] ...
2015-08-07 15:36.629> [DEBUG] Checking [172.25.1.10] whether is reachable...
2015-08-07 15:36.629> [INFO] RevcMessage : TM_OP_REPORT_CONFIG_HOST_PROGRESS
2015-08-07 15:36.629> [INFO] ExecMessage : TM_OP_REPORT_CONFIG_HOST_PROGRESS
2015-08-07 15:36.629> [INFO] Current progress is 1

2015-08-07 15:36.630> [DEBUG] Ping ip [172.25.1.10], status is [Success].
2015-08-07 15:36.631> [INFO] Begin to open [172.25.1.10]'s root ssh login access ...

2015-08-07 15:36.984> [INFO] on [172.25.1.10], excute cmd: [ls /home/GalaX8800/bin/sshRootLogin.sh]
2015-08-07 15:36.347> [INFO] cmd result: [/home/GalaX8800/bin/sshRootLogin.sh
]
2015-08-07 15:36.447> [INFO] root ssh login script is already exist on the host!
2015-08-07 15:36.447> [DEBUG] Check [172.25.1.10]'s root ssh login access ...
2015-08-07 15:36.447> [INFO] on [172.25.1.10], excute cmd: [sh /home/GalaX8800/bin/sshRootLogin.sh check]

2015-08-07 15:36.998> [INFO] cmd result: [[INFO] : root ssh access is opened.
]
2015-08-07 15:36.098> [DEBUG] Opened root ssh login host count = [1]
2015-08-07 15:36.098> [DEBUG] [172.25.1.10]'s root ssh login access is already opened!
2015-08-07 15:36.368> [INFO] on [172.25.1.10], excute cmd: [cat /etc/galax/eucalyptus/host_guid.conf]
2015-08-07 15:36.632> [INFO] Current progress is 2
2015-08-07 15:36.715> [INFO] cmd result: []
2015-08-07 15:36.815> [DEBUG] Get vrm's guid from host [172.25.1.10] is [NO_VRM_GUID]!
2015-08-07 15:36.815> [DEBUG] Host [172.25.1.10]'s guid is [NO_VRM_GUID],vrm guid is [2511b13fc4574d998a1385ba8fb5586c].
2015-08-07 15:36.815> [DEBUG] Host [172.25.1.10] does not has vrm guid, it is maybe not configed!
2015-08-07 15:36.815> [DEBUG] Checking host type ...
2015-08-07 15:36.815> [INFO] on [172.25.1.10], excute cmd: [rpm -qa | grep GalaX-VRM-NC]

2015-08-07 15:36.379> [INFO] cmd result: [GalaX-VRM-NC-100.5.00-300.90
]
2015-08-07 15:36.480> [DEBUG] Begin to get [172.25.1.10]'s hostname ...
2015-08-07 15:36.480> [INFO] on [172.25.1.10], excute cmd: [hostname]
2015-08-07 15:36.839> [INFO] cmd result: [fusioncomputer2
]
2015-08-07 15:36.938> [DEBUG] Begin to get [172.25.1.10]'s mask and gateway ...
2015-08-07 15:36.938> [INFO] on [172.25.1.10], excute cmd: [ifconfig | grep ":172.25.1.10 "| awk '{print $4}' | awk -F [':'] '{print $2}']

2015-08-07 15:36.295> [INFO] cmd result: [255.255.255.0
]
2015-08-07 15:36.395> [INFO] on [172.25.1.10], excute cmd: [route | grep default | awk '{print $2}']
2015-08-07 15:36.634> [INFO] Current progress is 3
2015-08-07 15:36.742> [INFO] cmd result: [172.25.1.254
]
2015-08-07 15:36.843> [DEBUG] Begin to get [172.25.1.10]'s user part storage name ...
2015-08-07 15:36.843> [INFO] on [172.25.1.10], excute cmd: [sh /usr/sbin/getuserpart.sh]

2015-08-07 15:36.303> [INFO] cmd result: [scsi-SATA_VMware_Virtual_00000000000000000001-part10
]
2015-08-07 15:36.403> [INFO] Get host [172.25.1.10]'s user partition storage name :[scsi-SATA_VMware_Virtual_00000000000000000001-part10]!
2015-08-07 15:36.403> [INFO] on [172.25.1.10], excute cmd: [cat /etc/galax/eucalyptus/172.25.1.10_workflow.xml]

2015-08-07 15:36.783> [INFO] cmd result: []
2015-08-07 15:36.883> [INFO] Begin to update site ip...
2015-08-07 15:36.884> [INFO] last local site ip is [172.25.1.243]
2015-08-07 15:36.884> [INFO] psql site ip is [172.25.1.243]
2015-08-07 15:36.884> [INFO] site ip is not changed!
2015-08-07 15:36.884> [DEBUG] Check host [172.25.1.10] successed!
2015-08-07 15:36.884> [DEBUG] Begin to save host config xml ...

2015-08-07 15:36.885> [DEBUG] Save host config xml successed

2015-08-07 15:36.888> [INFO] PostMessage : TM_OP_CONFIG_HOST
2015-08-07 15:36.888> [INFO] RevcMessage : TM_OP_CONFIG_HOST

2015-08-07 15:36.889> [INFO] ExecMessage : TM_OP_CONFIG_HOST
2015-08-07 15:36.889> [INFO] begin to config host ...
2015-08-07 15:36.889> [INFO] Config host cmd : java.exe -jar "F:\HedExDownload\华为云计算软件资料\FusionCompute V100R005C00SPC300_Tools\Installer\VrmAutoConfigTool.jar" installvrm "F:\CloudComponents\config\172.25.1.10_config.xml" 127.0.0.1 configHost zh_CN

2015-08-07 15:36.635> [INFO] Current progress is 31
2015-08-07 15:36.636> [INFO] Current progress is 32
2015-08-07 15:36.645> [INFO] Current progress is 33
2015-08-07 15:36.647> [INFO] Current progress is 34
2015-08-07 15:36.647> [INFO] Current progress is 35
2015-08-07 15:36.647> [INFO] Current progress is 36
2015-08-07 15:36.647> [INFO] Current progress is 37
2015-08-07 15:36.648> [INFO] Current progress is 38
2015-08-07 15:36.650> [INFO] Current progress is 39
2015-08-07 15:36.650> [INFO] Current progress is 40
2015-08-07 15:36.650> [INFO] Current progress is 41
2015-08-07 15:36.651> [INFO] Current progress is 42
2015-08-07 15:36.665> [INFO] Current progress is 43
2015-08-07 15:36.665> [INFO] Current progress is 44
2015-08-07 15:36.665> [INFO] Current progress is 45
2015-08-07 15:36.666> [INFO] Current progress is 46
2015-08-07 15:36.222> [DEBUG] Config host output :
stdout: [Start]: addHost
start to postForLocation:http://127.0.0.1:7070/service/sites/40A7079C/hosts
FAILED: AddHost
REASON: 10800104
DESCRIPTION: 发送消息到主机失败。
**ERRORCODE_VRM** 10800104 发送消息到主机失败。
errorCode:10300027,add host failed.,hostIp172.25.1.10

stderr:
2015-08-07 15:36.222> [ERROR] Config host failed!

  • x
  • 常规:

点评 回复

跳转到指定楼层
熊猫大人
熊猫大人  导师 发表于 2015-8-10 09:19:11 已赞(0) 赞(0)

你的CNA是安装在VMVarese虚拟机上的是吧?然后安装VRM?这样 java.exe -jar "F:\HedExDownload\华为云计算软件资料\FusionCompute 你先看下你的jave路径是否正确。我建议把环境变量中的java_home路径删除试下!

  • x
  • 常规:

点评 回复

笼包子
笼包子   发表于 2015-8-10 18:55:56 已赞(0) 赞(0)

好的 我这边试下!

  • x
  • 常规:

点评 回复

笼包子
笼包子   发表于 2015-8-10 22:03:48 已赞(0) 赞(0)

先这边没有添加JAVA的环境变量 ,添加完环境变量后 安装还是 报同样的错误!安装的是java1.7 文件来源C:\FusionCompute V100R005C00SPC300_Tools\PlugIn

JAVA环境变量如下:CLASSPAHT      .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar

                   JAVA_HOME      C:\Program Files (x86)\Java\jre7

                   PATH     后面添加  %JAVA_HOME%\bin;

在CMD中运行
C:\Users\Administrator>java.exe -jar "C:\FusionCompute V100R005C00SPC300_Tools\I
nstaller\VrmAutoConfigTool.jar
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
        at com.huawei.cloudos.vrm.tool.TestMain.main(TestMain.java:59)


     关键报错日志如下:2015-08-10 21:56.502> [INFO] begin to config host ...
2015-08-10 21:56.502> [INFO] Config host cmd : java.exe -jar "C:\FusionCompute V100R005C00SPC300_Tools\Installer\VrmAutoConfigTool.jar" installvrm "C:\CloudComponents\config\172.25.1.10_config.xml" 127.0.0.1 configHost zh_CN

2015-08-10 21:56.493> [INFO] Current progress is 32
2015-08-10 21:56.493> [INFO] Current progress is 33
2015-08-10 21:56.493> [INFO] Current progress is 34
2015-08-10 21:56.495> [INFO] Current progress is 35
2015-08-10 21:56.496> [INFO] Current progress is 36
2015-08-10 21:56.496> [INFO] Current progress is 37
2015-08-10 21:56.496> [INFO] Current progress is 38
2015-08-10 21:56.498> [INFO] Current progress is 39
2015-08-10 21:56.019> [DEBUG] Config host output :
stdout: [Start]: addHost
start to postForLocation:http://127.0.0.1:7070/service/sites/46BA0997/hosts
FAILED: AddHost
REASON: 10800104
DESCRIPTION: 发送消息到主机失败。
**ERRORCODE_VRM** 10800104 发送消息到主机失败。
errorCode:10300027,add host failed.,hostIp172.25.1.10

stderr:
2015-08-10 21:56.019> [ERROR] Config host failed!


  • x
  • 常规:

点评 回复

笼包子
笼包子   发表于 2015-8-11 15:42:08 已赞(0) 赞(0)

补充说明:
参考

华为服务器虚拟化:Fusion Compute基础视频课程

这边在虚拟机里面安装了一个win7系统 IP为172.25.1.8  和CNA 可以互相ping通!

尝试了3种网络模式   wmnet0 自动桥接  wmnet1 仅主机模式  wmnet8 NET模式  都可以互相ping 通!


2015-08-11 15:40.541> [INFO] Config host cmd : java.exe -jar "C:\Users\hukai\Desktop\FusionCompute V100R005C00SPC300_Tools\Installer\VrmAutoConfigTool.jar" installvrm "C:\CloudComponents\config\172.25.1.10_config.xml" 127.0.0.1 configHost zh_CN

另询问下  是否是只有在wmware虚拟机搭建VRM会出现问题 实际搭建不会出现这样的问题!



  • x
  • 常规:

点评 回复

熊猫大人
熊猫大人  导师 发表于 2015-8-12 14:19:39 已赞(0) 赞(0)

嗯,CNA安装在物理服务器上,然后安装VRM不会出这个问题。现在看来网络是通的,但是发消息给CNA一直没响应的话你能排查下CNA和VRM的版本是否配套吗

  • x
  • 常规:

点评 回复

笼包子
笼包子   发表于 2015-8-12 16:50:28 已赞(0) 赞(0)

    CNA版本为FusionCompute V100R005C00SPC300_CNA    VRM是用FusionCompute V100R005C00SPC300_Tools工具部署的!

VRM版本为FusionCompute V100R005C00SPC300_VRM  询问是否有版本配套问题?

  • x
  • 常规:

点评 回复

熊猫大人
熊猫大人  导师 发表于 2015-10-10 14:53:54 已赞(0) 赞(0)

不是版本配套问题。能否使用服务器安装CNA,后安装VRM。直接在VMvare的虚拟机上安装可能存在问题,而且这也不是我们推荐的安装方式。

  • x
  • 常规:

点评 回复

Mr.V
Mr.V 官方号 发表于 2015-8-7 17:06:47 已赞(0) 赞(0)

帮忙顶一下
  • x
  • 常规:

点评 回复

nick_wong
nick_wong   发表于 2015-10-15 10:59:22 已赞(0) 赞(0)

我是在VMWARE WORKSTATION 11上安装的CNA及VRM,安装完成后,在WEB中登录VRM 后,新建集群是OK的,但在集群中添加CNA主机报错:发送消息到主机失败。想必也是因为把CNA主机安装到了VM上的原因 ?
  • x
  • 常规:

点评 回复

12
返回列表
发表回复
您需要登录后才可以回帖 登录 | 注册

警告 内容安全提示:尊敬的用户您好,为了保障您、社区及第三方的合法权益,请勿发布可能给各方带来法律风险的内容,包括但不限于政治敏感内容,涉黄赌毒内容,泄露、侵犯他人商业秘密的内容,侵犯他人商标、版本、专利等知识产权的内容,侵犯个人隐私的内容等。也请勿向他人共享您的账号及密码,通过您的账号执行的所有操作,将视同您本人的行为,由您本人承担操作后果。详情请参看“隐私声明
如果附件按钮无法使用,请将Adobe Flash Player 更新到最新版本!
登录参与交流分享

登录参与交流分享

登录