You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by toudsf <18...@163.com> on 2014/03/06 08:09:03 UTC
回复: Re: Re: Re: 4.2.1版本中,vmha功能无效
我有2台物理服务器,另外一台1个虚拟机也没有。
我现在创建新的虚拟机也是可以的。应该不是容量问题。
2014-03-06
toudsf
发件人:"linuxbqj@gmail.com" <li...@gmail.com>
发送时间:2014-03-06 14:59
主题:Re: Re: Re: 4.2.1版本中,vmha功能无效
收件人:"users-cn"<us...@cloudstack.apache.org>
抄送:
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 <18...@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
>
>
>
> 发件人:"linuxbqj@gmail.com" <li...@gmail.com>
> 发送时间:2014-03-06 14:11
> 主题:Re: Re: 4.2.1版本中,vmha功能无效
> 收件人:"users-cn"<us...@cloudstack.apache.org>
> 抄送:
>
> 你在关闭VM之后,系统有哪些日志?
>
>
> 在 2014年3月6日 下午2:08,toudsf <18...@163.com> 写道:
>> 到后台看了一下。没有再启动的相关日志。
>>
>> 2014-03-06
>>
>>
>>
>> toudsf
>>
>>
>>
>> 发件人:"linuxbqj@gmail.com" <li...@gmail.com>
>> 发送时间:2014-03-06 12:23
>> 主题:Re: 4.2.1版本中,vmha功能无效
>> 收件人:"users-cn"<us...@cloudstack.apache.org>
>> 抄送:
>>
>> 有相关的日志吗?建议提供一些日志信息
>>
>> 在 2014年3月6日 上午10:44,toudsf <18...@163.com> 写道:
>>> 虚拟化平台使用VMWARE
>>> 1、设置了全局设置中的ha.tag
>>> 2、设置了主机的host的主机标签
>>> 3、在服务器中增加计算方案,启用高可用性和设置主机标签
>>> 4、创建虚拟机选择HA的计算方案
>>> 5、关闭虚拟机后,没有新的虚拟机启动起来。
>>>
>>> 以前测试过4.1是好的,请各位大侠指教!
>>>
>>> 2014-03-06
>>>
>>>
>>>
>>> toudsf
>>
>>
>>
>> --
>> 白清杰 (Born Bai)
>>
>> 北京开源愿景信息技术有限公司
>>
>> Mail: linuxbqj@gmail.com
>
>
>
> --
> 白清杰 (Born Bai)
>
> 北京开源愿景信息技术有限公司
>
> Mail: linuxbqj@gmail.com
--
白清杰 (Born Bai)
北京开源愿景信息技术有限公司
Mail: linuxbqj@gmail.com
Re: Re: Re: Re: 4.2.1版本中,vmha功能无效
Posted by Wei ZHOU <us...@gmail.com>.
我的理解是,vmware自身有针对vm的ha机制,所以cloudstack把这块交给vmware自己来做了。
在 2014年3月6日 上午8:09,toudsf <18...@163.com>写道:
> 我有2台物理服务器,另外一台1个虚拟机也没有。
> 我现在创建新的虚拟机也是可以的。应该不是容量问题。
>
> 2014-03-06
>
>
>
> toudsf
>
>
>
> 发件人:"linuxbqj@gmail.com" <li...@gmail.com>
> 发送时间:2014-03-06 14:59
> 主题:Re: Re: Re: 4.2.1版本中,vmha功能无效
> 收件人:"users-cn"<us...@cloudstack.apache.org>
> 抄送:
>
> 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 <18...@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
> >
> >
> >
> > 发件人:"linuxbqj@gmail.com" <li...@gmail.com>
> > 发送时间:2014-03-06 14:11
> > 主题:Re: Re: 4.2.1版本中,vmha功能无效
> > 收件人:"users-cn"<us...@cloudstack.apache.org>
> > 抄送:
> >
> > 你在关闭VM之后,系统有哪些日志?
> >
> >
> > 在 2014年3月6日 下午2:08,toudsf <18...@163.com> 写道:
> >> 到后台看了一下。没有再启动的相关日志。
> >>
> >> 2014-03-06
> >>
> >>
> >>
> >> toudsf
> >>
> >>
> >>
> >> 发件人:"linuxbqj@gmail.com" <li...@gmail.com>
> >> 发送时间:2014-03-06 12:23
> >> 主题:Re: 4.2.1版本中,vmha功能无效
> >> 收件人:"users-cn"<us...@cloudstack.apache.org>
> >> 抄送:
> >>
> >> 有相关的日志吗?建议提供一些日志信息
> >>
> >> 在 2014年3月6日 上午10:44,toudsf <18...@163.com> 写道:
> >>> 虚拟化平台使用VMWARE
> >>> 1、设置了全局设置中的ha.tag
> >>> 2、设置了主机的host的主机标签
> >>> 3、在服务器中增加计算方案,启用高可用性和设置主机标签
> >>> 4、创建虚拟机选择HA的计算方案
> >>> 5、关闭虚拟机后,没有新的虚拟机启动起来。
> >>>
> >>> 以前测试过4.1是好的,请各位大侠指教!
> >>>
> >>> 2014-03-06
> >>>
> >>>
> >>>
> >>> toudsf
> >>
> >>
> >>
> >> --
> >> 白清杰 (Born Bai)
> >>
> >> 北京开源愿景信息技术有限公司
> >>
> >> Mail: linuxbqj@gmail.com
> >
> >
> >
> > --
> > 白清杰 (Born Bai)
> >
> > 北京开源愿景信息技术有限公司
> >
> > Mail: linuxbqj@gmail.com
>
>
>
> --
> 白清杰 (Born Bai)
>
> 北京开源愿景信息技术有限公司
>
> Mail: linuxbqj@gmail.com
>