Re: Re: Re: Re: 4.2.1版本中,vmha功能无效
我的理解是,vmware自身有针对vm的ha机制,所以cloudstack把这块交给vmware自己来做了。 在 2014年3月6日 上午8:09,toudsf <18600601...@163.com>写道: > 我有2台物理服务器,另外一台1个虚拟机也没有。 > 我现在创建新的虚拟机也是可以的。应该不是容量问题。 > > 2014-03-06 > > > > toudsf > > > > 发件人:"linux...@gmail.com" > 发送时间:2014-03-06 14:59 > 主题:Re: Re: Re: 4.2.1版本中,vmha功能无效 > 收件人:"users-cn" > 抄送: > > DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) VM state > transitted from :Stopping to Stopped with event: > OperationSucceededvm's original host id: 2 new host id: null host id > before state transition: 2 > DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) Hosts's > actual total CPU: 47880 and CPU after applying overprovisioning: 47880 > DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) Hosts's > actual total RAM: 12842033152 and RAM after applying overprovisioning: > 12842033152 > > 你的VM的资源请求是不是超过了主机可以提供的范围? > > 在 2014年3月6日 下午2:55,toudsf <18600601...@163.com> 写道: > > > 刚才在/cloud-server/src/com/cloud/ha/HighAvailabilityManagerImpl.java文件中发现348-351行 > > 有以下语句 > > > >if(vm.getHypervisorType() == HypervisorType.VMware) { > > s_logger.info("Skip HA for VMware VM " + > vm.getInstanceName()); > > return; > > } > > > > > > 难道现在不支持虚拟化平台时vmare的vm ha功能了? > > > > > > > > 2014-03-06 > > > > > > > > toudsf > > > > > > > > 发件人:"linux...@gmail.com" > > 发送时间:2014-03-06 14:11 > > 主题:Re: Re: 4.2.1版本中,vmha功能无效 > > 收件人:"users-cn" > > 抄送: > > > > 你在关闭VM之后,系统有哪些日志? > > > > > > 在 2014年3月6日 下午2:08,toudsf <18600601...@163.com> 写道: > >> 到后台看了一下。没有再启动的相关日志。 > >> > >> 2014-03-06 > >> > >> > >> > >> toudsf > >> > >> > >> > >> 发件人:"linux...@gmail.com" > >> 发送时间:2014-03-06 12:23 > >> 主题:Re: 4.2.1版本中,vmha功能无效 > >> 收件人:"users-cn" > >> 抄送: > >> > >> 有相关的日志吗?建议提供一些日志信息 > >> > >> 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: > >>> 虚拟化平台使用VMWARE > >>> 1、设置了全局设置中的ha.tag > >>> 2、设置了主机的host的主机标签 > >>> 3、在服务器中增加计算方案,启用高可用性和设置主机标签 > >>> 4、创建虚拟机选择HA的计算方案 > >>> 5、关闭虚拟机后,没有新的虚拟机启动起来。 > >>> > >>> 以前测试过4.1是好的,请各位大侠指教! > >>> > >>> 2014-03-06 > >>> > >>> > >>> > >>> toudsf > >> > >> > >> > >> -- > >> 白清杰 (Born Bai) > >> > >> 北京开源愿景信息技术有限公司 > >> > >> Mail: linux...@gmail.com > > > > > > > > -- > > 白清杰 (Born Bai) > > > > 北京开源愿景信息技术有限公司 > > > > Mail: linux...@gmail.com > > > > -- > 白清杰 (Born Bai) > > 北京开源愿景信息技术有限公司 > > Mail: linux...@gmail.com >
回复: Re: Re: Re: 4.2.1版本中,vmha功能无效
我有2台物理服务器,另外一台1个虚拟机也没有。 我现在创建新的虚拟机也是可以的。应该不是容量问题。 2014-03-06 toudsf 发件人:"linux...@gmail.com" 发送时间:2014-03-06 14:59 主题:Re: Re: Re: 4.2.1版本中,vmha功能无效 收件人:"users-cn" 抄送: DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) VM state transitted from :Stopping to Stopped with event: OperationSucceededvm's original host id: 2 new host id: null host id before state transition: 2 DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) Hosts's actual total CPU: 47880 and CPU after applying overprovisioning: 47880 DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) Hosts's actual total RAM: 12842033152 and RAM after applying overprovisioning: 12842033152 你的VM的资源请求是不是超过了主机可以提供的范围? 在 2014年3月6日 下午2:55,toudsf <18600601...@163.com> 写道: > 刚才在/cloud-server/src/com/cloud/ha/HighAvailabilityManagerImpl.java文件中发现348-351行 > > 有以下语句 > >if(vm.getHypervisorType() == HypervisorType.VMware) { > s_logger.info("Skip HA for VMware VM " + vm.getInstanceName()); > return; > } > > > 难道现在不支持虚拟化平台时vmare的vm ha功能了? > > > > 2014-03-06 > > > > toudsf > > > > 发件人:"linux...@gmail.com" > 发送时间:2014-03-06 14:11 > 主题:Re: Re: 4.2.1版本中,vmha功能无效 > 收件人:"users-cn" > 抄送: > > 你在关闭VM之后,系统有哪些日志? > > > 在 2014年3月6日 下午2:08,toudsf <18600601...@163.com> 写道: >> 到后台看了一下。没有再启动的相关日志。 >> >> 2014-03-06 >> >> >> >> toudsf >> >> >> >> 发件人:"linux...@gmail.com" >> 发送时间:2014-03-06 12:23 >> 主题:Re: 4.2.1版本中,vmha功能无效 >> 收件人:"users-cn" >> 抄送: >> >> 有相关的日志吗?建议提供一些日志信息 >> >> 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: >>> 虚拟化平台使用VMWARE >>> 1、设置了全局设置中的ha.tag >>> 2、设置了主机的host的主机标签 >>> 3、在服务器中增加计算方案,启用高可用性和设置主机标签 >>> 4、创建虚拟机选择HA的计算方案 >>> 5、关闭虚拟机后,没有新的虚拟机启动起来。 >>> >>> 以前测试过4.1是好的,请各位大侠指教! >>> >>> 2014-03-06 >>> >>> >>> >>> toudsf >> >> >> >> -- >> 白清杰 (Born Bai) >> >> 北京开源愿景信息技术有限公司 >> >> Mail: linux...@gmail.com > > > > -- > 白清杰 (Born Bai) > > 北京开源愿景信息技术有限公司 > > Mail: linux...@gmail.com -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com
Re: Re: Re: 4.2.1版本中,vmha功能无效
DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) VM state transitted from :Stopping to Stopped with event: OperationSucceededvm's original host id: 2 new host id: null host id before state transition: 2 DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) Hosts's actual total CPU: 47880 and CPU after applying overprovisioning: 47880 DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) Hosts's actual total RAM: 12842033152 and RAM after applying overprovisioning: 12842033152 你的VM的资源请求是不是超过了主机可以提供的范围? 在 2014年3月6日 下午2:55,toudsf <18600601...@163.com> 写道: > 刚才在/cloud-server/src/com/cloud/ha/HighAvailabilityManagerImpl.java文件中发现348-351行 > 有以下语句 > >if(vm.getHypervisorType() == HypervisorType.VMware) { > s_logger.info("Skip HA for VMware VM " + vm.getInstanceName()); > return; > } > > > 难道现在不支持虚拟化平台时vmare的vm ha功能了? > > > > 2014-03-06 > > > > toudsf > > > > 发件人:"linux...@gmail.com" > 发送时间:2014-03-06 14:11 > 主题:Re: Re: 4.2.1版本中,vmha功能无效 > 收件人:"users-cn" > 抄送: > > 你在关闭VM之后,系统有哪些日志? > > > 在 2014年3月6日 下午2:08,toudsf <18600601...@163.com> 写道: >> 到后台看了一下。没有再启动的相关日志。 >> >> 2014-03-06 >> >> >> >> toudsf >> >> >> >> 发件人:"linux...@gmail.com" >> 发送时间:2014-03-06 12:23 >> 主题:Re: 4.2.1版本中,vmha功能无效 >> 收件人:"users-cn" >> 抄送: >> >> 有相关的日志吗?建议提供一些日志信息 >> >> 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: >>> 虚拟化平台使用VMWARE >>> 1、设置了全局设置中的ha.tag >>> 2、设置了主机的host的主机标签 >>> 3、在服务器中增加计算方案,启用高可用性和设置主机标签 >>> 4、创建虚拟机选择HA的计算方案 >>> 5、关闭虚拟机后,没有新的虚拟机启动起来。 >>> >>> 以前测试过4.1是好的,请各位大侠指教! >>> >>> 2014-03-06 >>> >>> >>> >>> toudsf >> >> >> >> -- >> 白清杰 (Born Bai) >> >> 北京开源愿景信息技术有限公司 >> >> Mail: linux...@gmail.com > > > > -- > 白清杰 (Born Bai) > > 北京开源愿景信息技术有限公司 > > Mail: linux...@gmail.com -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com
回复: Re: Re: 4.2.1版本中,vmha功能无效
刚才在/cloud-server/src/com/cloud/ha/HighAvailabilityManagerImpl.java文件中发现348-351行 有以下语句 if(vm.getHypervisorType() == HypervisorType.VMware) { s_logger.info("Skip HA for VMware VM " + vm.getInstanceName()); return; } 难道现在不支持虚拟化平台时vmare的vm ha功能了? 2014-03-06 toudsf 发件人:"linux...@gmail.com" 发送时间:2014-03-06 14:11 主题:Re: Re: 4.2.1版本中,vmha功能无效 收件人:"users-cn" 抄送: 你在关闭VM之后,系统有哪些日志? 在 2014年3月6日 下午2:08,toudsf <18600601...@163.com> 写道: > 到后台看了一下。没有再启动的相关日志。 > > 2014-03-06 > > > > toudsf > > > > 发件人:"linux...@gmail.com" > 发送时间:2014-03-06 12:23 > 主题:Re: 4.2.1版本中,vmha功能无效 > 收件人:"users-cn" > 抄送: > > 有相关的日志吗?建议提供一些日志信息 > > 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: >> 虚拟化平台使用VMWARE >> 1、设置了全局设置中的ha.tag >> 2、设置了主机的host的主机标签 >> 3、在服务器中增加计算方案,启用高可用性和设置主机标签 >> 4、创建虚拟机选择HA的计算方案 >> 5、关闭虚拟机后,没有新的虚拟机启动起来。 >> >> 以前测试过4.1是好的,请各位大侠指教! >> >> 2014-03-06 >> >> >> >> toudsf > > > > -- > 白清杰 (Born Bai) > > 北京开源愿景信息技术有限公司 > > Mail: linux...@gmail.com -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com
回复: Re: Re: 4.2.1版本中,vmha功能无效
d4-481d-8393-bc57e052cc52&response=json&sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086962637 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:) Async job-77 = [ 1219fffc-fcd4-481d-8393-bc57e052cc52 ] completed DEBUG [cloud.api.ApiServlet] (catalina-exec-20:) ===END=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json&sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086962637 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:) ===START=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json&sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086965633 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-15:) Async job-77 = [ 1219fffc-fcd4-481d-8393-bc57e052cc52 ] completed DEBUG [cloud.api.ApiServlet] (catalina-exec-15:) ===END=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json&sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086965633 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:) ===START=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json&sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086968629 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-25:) Async job-77 = [ 1219fffc-fcd4-481d-8393-bc57e052cc52 ] completed DEBUG [cloud.api.ApiServlet] (catalina-exec-25:) ===END=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json&sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086968629 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-10:) SeqA 3-22509: Processing Seq 3-22509: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-10:) SeqA 3-22509: Sending Seq 3-22509: { Ans: , MgmtId: 90520735180840, via: 3, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-03-06 toudsf 发件人:"linux...@gmail.com" 发送时间:2014-03-06 14:11 主题:Re: Re: 4.2.1版本中,vmha功能无效 收件人:"users-cn" 抄送: 你在关闭VM之后,系统有哪些日志? 在 2014年3月6日 下午2:08,toudsf <18600601...@163.com> 写道: > 到后台看了一下。没有再启动的相关日志。 > > 2014-03-06 > > > > toudsf > > > > 发件人:"linux...@gmail.com" > 发送时间:2014-03-06 12:23 > 主题:Re: 4.2.1版本中,vmha功能无效 > 收件人:"users-cn" > 抄送: > > 有相关的日志吗?建议提供一些日志信息 > > 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: >> 虚拟化平台使用VMWARE >> 1、设置了全局设置中的ha.tag >> 2、设置了主机的host的主机标签 >> 3、在服务器中增加计算方案,启用高可用性和设置主机标签 >> 4、创建虚拟机选择HA的计算方案 >> 5、关闭虚拟机后,没有新的虚拟机启动起来。 >> >> 以前测试过4.1是好的,请各位大侠指教! >> >> 2014-03-06 >> >> >> >> toudsf > > > > -- > 白清杰 (Born Bai) > > 北京开源愿景信息技术有限公司 > > Mail: linux...@gmail.com -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com
回复: Re: Re: 4.2.1版本中,vmha功能无效
Result&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=jso n&sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086905632 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-16:) Async job-77 = [ 1219fffc-fcd4-481d-8393-bc57e052cc52 ] completed DEBUG [cloud.api.ApiServlet] (catalina-exec-16:) ===END=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json& sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086905632 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:) ===START=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json &sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086908630 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-8:) Async job-77 = [ 1219fffc-fcd4-481d-8393-bc57e052cc52 ] completed DEBUG [cloud.api.ApiServlet] (catalina-exec-8:) ===END=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json&s essionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086908630 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:) SeqA 3-22501: Processing Seq 3-22501: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.ag ent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:) SeqA 3-22501: Sending Seq 3-22501: { Ans: , MgmtId: 90520735180840, via: 3, Ver: v1, Flags: 100010, [ {"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } DEBUG [cloud.api.ApiServlet] (catalina-exec-18:) ===START=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=jso n&sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086911626 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-18:) Async job-77 = [ 1219fffc-fcd4-481d-8393-bc57e052cc52 ] completed DEBUG [cloud.api.ApiServlet] (catalina-exec-18:) ===END=== 192.168.0.241 -- GET command=queryAsyncJobResult&jobId=1219fffc-fcd4-481d-8393-bc57e052cc52&response=json& sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D&_=1394086911626 2014-03-06 toudsf 发件人:"linux...@gmail.com" 发送时间:2014-03-06 14:11 主题:Re: Re: 4.2.1版本中,vmha功能无效 收件人:"users-cn" 抄送: 你在关闭VM之后,系统有哪些日志? 在 2014年3月6日 下午2:08,toudsf <18600601...@163.com> 写道: > 到后台看了一下。没有再启动的相关日志。 > > 2014-03-06 > > > > toudsf > > > > 发件人:"linux...@gmail.com" > 发送时间:2014-03-06 12:23 > 主题:Re: 4.2.1版本中,vmha功能无效 > 收件人:"users-cn" > 抄送: > > 有相关的日志吗?建议提供一些日志信息 > > 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: >> 虚拟化平台使用VMWARE >> 1、设置了全局设置中的ha.tag >> 2、设置了主机的host的主机标签 >> 3、在服务器中增加计算方案,启用高可用性和设置主机标签 >> 4、创建虚拟机选择HA的计算方案 >> 5、关闭虚拟机后,没有新的虚拟机启动起来。 >> >> 以前测试过4.1是好的,请各位大侠指教! >> >> 2014-03-06 >> >> >> >> toudsf > > > > -- > 白清杰 (Born Bai) > > 北京开源愿景信息技术有限公司 > > Mail: linux...@gmail.com -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com
Re: Re: 4.2.1版本中,vmha功能无效
你在关闭VM之后,系统有哪些日志? 在 2014年3月6日 下午2:08,toudsf <18600601...@163.com> 写道: > 到后台看了一下。没有再启动的相关日志。 > > 2014-03-06 > > > > toudsf > > > > 发件人:"linux...@gmail.com" > 发送时间:2014-03-06 12:23 > 主题:Re: 4.2.1版本中,vmha功能无效 > 收件人:"users-cn" > 抄送: > > 有相关的日志吗?建议提供一些日志信息 > > 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: >> 虚拟化平台使用VMWARE >> 1、设置了全局设置中的ha.tag >> 2、设置了主机的host的主机标签 >> 3、在服务器中增加计算方案,启用高可用性和设置主机标签 >> 4、创建虚拟机选择HA的计算方案 >> 5、关闭虚拟机后,没有新的虚拟机启动起来。 >> >> 以前测试过4.1是好的,请各位大侠指教! >> >> 2014-03-06 >> >> >> >> toudsf > > > > -- > 白清杰 (Born Bai) > > 北京开源愿景信息技术有限公司 > > Mail: linux...@gmail.com -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com
回复: Re: 4.2.1版本中,vmha功能无效
到后台看了一下。没有再启动的相关日志。 2014-03-06 toudsf 发件人:"linux...@gmail.com" 发送时间:2014-03-06 12:23 主题:Re: 4.2.1版本中,vmha功能无效 收件人:"users-cn" 抄送: 有相关的日志吗?建议提供一些日志信息 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: > 虚拟化平台使用VMWARE > 1、设置了全局设置中的ha.tag > 2、设置了主机的host的主机标签 > 3、在服务器中增加计算方案,启用高可用性和设置主机标签 > 4、创建虚拟机选择HA的计算方案 > 5、关闭虚拟机后,没有新的虚拟机启动起来。 > > 以前测试过4.1是好的,请各位大侠指教! > > 2014-03-06 > > > > toudsf -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com
Re: 4.2.1版本中,vmha功能无效
有相关的日志吗?建议提供一些日志信息 在 2014年3月6日 上午10:44,toudsf <18600601...@163.com> 写道: > 虚拟化平台使用VMWARE > 1、设置了全局设置中的ha.tag > 2、设置了主机的host的主机标签 > 3、在服务器中增加计算方案,启用高可用性和设置主机标签 > 4、创建虚拟机选择HA的计算方案 > 5、关闭虚拟机后,没有新的虚拟机启动起来。 > > 以前测试过4.1是好的,请各位大侠指教! > > 2014-03-06 > > > > toudsf -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com
4.2.1版本中,vmha功能无效
虚拟化平台使用VMWARE 1、设置了全局设置中的ha.tag 2、设置了主机的host的主机标签 3、在服务器中增加计算方案,启用高可用性和设置主机标签 4、创建虚拟机选择HA的计算方案 5、关闭虚拟机后,没有新的虚拟机启动起来。 以前测试过4.1是好的,请各位大侠指教! 2014-03-06 toudsf