OpennebulaCommand execution fail: /var/tmp/one/vmm/kvm/shutdown
故障现象:Thu Oct 17 16:10:19 2013 : New VM state is SHUTDOWN
Thu Oct 17 16:15:28 2013 : Command execution fail: /var/tmp/one/vmm/kvm/shutdown one-126 node01 126 node01Thu Oct 17 16:15:28 2013 : Timed out shutting down one-126
Thu Oct 17 16:15:28 2013 : ExitCode: 255
Thu Oct 17 16:15:28 2013 : Failed to execute virtualization driver operation: shutdown.
Thu Oct 17 16:15:28 2013 : Error shuting down VM: Timed out shutting down one-126
Thu Oct 17 16:15:28 2013 : Fail to shutdown VM. Assuming that the VM is still RUNNING (will poll VM).
Thu Oct 17 16:15:28 2013 : ExitCode: 0
Thu Oct 17 16:15:28 2013 : Monitor Information: 问题原因:
1.Opennebula使用ACPI功能实现虚拟机电源管理,ACPI功能没有开启,故出现上述问题。
2.虚拟机需要安装ACPI。
acpi下载地址(适用于CentOS6):
http://mirror.centos.org/centos/6.4/os/x86_64/Packages/acpid-1.0.10-2.1.el6.x86_64.rpm
解决办法:
办法1:
1.在虚拟机模版中添加:
FEATURES=[
ACPI="yes", //开启ACPI功能。
PAE="yes" ] //PAE为内存地址扩展,可让32位系统主机使用超过4G的内存。
2.虚拟机需要安装acpi:
#yum -y install acpid
办法2:
1.创建模式时做如下设置:
http://c.hiphotos.bdimg.com/album/pic/item/42166d224f4a20a4d427afe292529822720ed0de.jpg
2.虚拟机需要安装acpi:
#yum -y install acpid
*****************************************************************************************
页:
[1]