未加星标

os_type property for Windows images on KVM

字体大小 | |
[系统(windows) 所属分类 系统(windows) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

The OpenStack images have a long list of properties which can set to describe the image meta data. The full list is described in the documentation . This blog reviews some of these settings for windows guests running on KVM, in particular for Windows 7 and Windows 2008R2.

At CERN, we've used a number of these properties to help users filter images such as the OS distribution and version but also added some additional properties for specific purposes such as

when the image was released (so the images can be sorted by date) whether the image is the latest recommended one (such as setting the CentOS 7.2 image to not recommended when CentOS 7.3 comes out) which CERN support team provided the image

For a typical Windows image, we have

$ glance image-show 9e194003-4608-4fe3-b073-00bd2a774a57

+-------------------+----------------------------------------------------------------+

| Property | Value |

+-------------------+----------------------------------------------------------------+

| architecture | x86_64 |

| checksum | 27f9cf3e1c7342671a7a0978f5ff288d |

| container_format | bare |

| created_at | 2017-01-27T16:08:46Z |

| direct_url | rbd://b4f463a0-c671-43a8-bd36-e40ab8d233d2/images/9e194003-4 |

| disk_format | raw |

| hypervisor_type | qemu |

| id | 9e194003-4608-4fe3-b073-00bd2a774a57 |

| min_disk | 40 |

| min_ram | 0 |

| name | Windows 10 - With Apps [2017-01-27] |

| os | WINDOWS |

| os_distro | Windows |

| os_distro_major | w10entx64 |

| os_edition | DESKTOP |

| os_version | UNKNOWN |

| owner | 7380e730-d36c-44dc-aa87-a2522ac5345d |

| protected | False |

| recommended | true |

| release_date | 2017-01-27 |

| size | 37580963840 |

| status | active |

| tags | [] |

| updated_at | 2017-01-30T13:56:48Z |

| upstream_provider | https://cern.service-now.com/service-portal/function.do?name |

| virtual_size | None |

| visibility | public |

+-------------------+----------------------------------------------------------------+

Recently, we have seen some cases of Windows guests becoming unavailable with the BSOD error "CLOCK_WATCHDOG_TIMEOUT (101)". On further investigation, these tended to occur around times of heavy load on the hypervisors such as another guest doing CPU intensive work.

Windows 7 and Windows Server 2008 R2 were the guest OSes where these problems were observed. Later OS levels did not seem to show the same problem.

We followed the standard processes to make sure the drivers were all updated but the problem still occurred.

Looking into the root cause, the Red Hat support articles were a significant help.

"In the environment described above, it is possible that 'CLOCK_WATCHDOG_TIMEOUT (101)' BSOD errors could be due to high load within the guest itself. With virtual guests, tasks may take more time that expected on a physical host. If Windows guests are aware that they are running on top of a Microsoft Hyper-V host, additional measures are taken to ensure that the guest takes this into account, reducing the likelihood of the guest producing a BSOD due to time-outs being triggered."

These suggested to use the os_type parameter to help inform the hypervisor to use some additional flags. However, the OpenStack documentation explained this was a XenAPI only setting (which would not therefore apply for KVM hypervisors).

It is not always clear which parameters to set for an OpenStack image. Setting os_distro has a value such as ' windows - Microsoft Windows' or ' ubuntu - Ubuntu', which implies a linux flavored OS but does not lead to the setting of os_type .


Thus, in order to get the best behaviour for Windows guests, from our experience, we would recommend setting both the os_distro and os_type as follows. os_distro = 'windows' os_type = 'windows' When the os_type parameter is set, some additional XML is added to the KVM configuration following the

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

分页:12
转载请注明
本文标题:os_type property for Windows images on KVM
本站链接:http://www.codesec.net/view/531940.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(48)