{"id":46,"date":"2014-09-22T07:16:00","date_gmt":"2014-09-22T07:16:00","guid":{"rendered":"http:\/\/onlinelab.info\/2014\/09\/22\/what-is-xen\/"},"modified":"2014-09-22T07:16:00","modified_gmt":"2014-09-22T07:16:00","slug":"what-is-xen","status":"publish","type":"post","link":"https:\/\/www.asianux.org.vn\/index.php\/2014\/09\/22\/what-is-xen\/","title":{"rendered":"What is Xen\u00ae?"},"content":{"rendered":"<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><b>What is Xen\u00ae?<\/b><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">The Xen\u00ae hypervisor, the most powerful open source industry standard for virtualization, it offers&nbsp; powerful, efficient, and secure feature set for virtualization of x86, x86_64, IA64, ARM, and other CPU architectures. It supports a wide range of guest operating systems including Windows\u00ae, Linux\u00ae, Solaris\u00ae, and various versions of the BSD operating systems.<span><\/span><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><b>Getting Started:<\/b><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">In Xen systems the Xen hypervisor is the lowest and most privileged software layer. This layer supports one or more guest operating systems, scheduled on the physical CPUs. The first guest operating system, called in Xen terminology<span>&nbsp;<\/span><i>domain 0<\/i><span>&nbsp;<\/span>(dom0) is executed automatically when the hypervisor boots and receives special management privileges and direct access to all physical hardware by default. The system administrator can log into dom0 in order to manage any additional guest operating systems, called user domains (<i>domU<\/i>) in Xen terminology.<\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">The dom0 domain is typically a modified version of Linux, NetBSD or Solaris. User domains may either be unmodified copies of open-source or proprietary operating systems, such as Microsoft Windows, if the host processor supports x86 virtualization, e.g., Intel VT-x and AMD-V),<sup>[3]<\/sup><span>&nbsp;<\/span>or modified,<span>&nbsp;<\/span><i>para-virtualized<\/i><span>&nbsp;<\/span>operating system with special drivers that support enhanced Xen features.<\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><b>Features:<\/b><\/div>\n<ul style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; list-style: none; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">consolidation<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">increased utilization<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">rapid provisioning<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">dynamic fault tolerance against software failures (through rapid bootstrapping or rebooting)<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">hardware fault tolerance (through migration of a virtual machine to different hardware)<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">the ability to securely separate virtual operating systems<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">the ability to support legacy software as well as new OS instances on the same computer<\/li>\n<\/ul>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><b>Types of Virtualization:<\/b><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">It supports following two types of virtualization.<\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><b>Para Virtualization:<\/b><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">In the paravirtualization the kernel of the guest operating system modified to run on the hypervisor, hypervisor is a program that runs on the host system at ring 0. The task of the hypervisor is to handle resource and memory allocation for the virtual machines in addition to providing interfaces for higher level administrati<br \/>\non and monitoring tool. (From<span>&nbsp;<\/span><a href=\"http:\/\/shortrecipes.blogspot.com\/2009\/03\/xen-performance-of-full-virtualization.html\" style=\"color: #326693; text-decoration: none;\" target=\"_blank\" title=\"Para - Virtualized\" rel=\"noopener\">Here<\/a>)<\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><b>Fully Virtualization:<\/b><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">This is called hardware assisted virtualization, provides support for unmodified guest operating systems. The term unmodified refers to operating system kernels which have not been altered to run on a hypervisor and therefore still execute privileged operations as though running in ring 0 of the CPU. In this scenario, the hypervisor provides CPU emulation to handle and modify privileged and protected CPU operations made by unmodified guest operating system kernels (From<span>&nbsp;<\/span><a href=\"http:\/\/shortrecipes.blogspot.com\/2009\/03\/xen-performance-of-full-virtualization.html\" style=\"color: #326693; text-decoration: none;\" target=\"_blank\" title=\"Full - Virtualized\" rel=\"noopener\">Here<\/a>)<\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><b>Supporting Hosts:<\/b><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">Xen under Linux runs on x86, with Pentium II or newer processors, x86-64 based systems, as well as on IA-64 and PowerPC. Xen supports up to 64-way symmetric multiprocessing. Xen boots from a bootloader such as GNU GRUB, and then usually loads a modified host operating system into the host domain (dom0). As of 2009, most Linux distributions had included Xen packages to interact with the Xen hypervisor and start additional domains, but because Xen was not accepted into the mainline Linux kernel and installation required several kernel patches, some distros such as Red Hat Enterprise Linux 6 and Ubuntu 8.10 dropped out-of-the-box support for dom0 in subsequent releases. With the inclusion of the most significant parts of Xen in the Linux 2.6.37 mainline kernel in early 2011, several distributions are again considering dom0 support. Version 3.0 of the Linux kernel supports dom0 and domU in the mainline kernel.<\/div>\n<ul style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; list-style: none; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Novell\u2019s SUSE Linux Enterprise Server release 10 pioneered the first commercial implementation of Xen in this form.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Red Hat Enterprise Linux 5 also offers support for Xen, but in RHEL 6 there is no support for dom0.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Fedora has host support for Xen from the FC4 to Fedora 8 releases, but as of September 2010 Fedora doesn\u2019t support dom0.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Ubuntu included Xen packages from Ubuntu 8.04 (Hardy Heron), supporting Xen versions 3.2 and 3.1. Note however that Ubuntu doesn\u2019t include or support a dom0-capable kernel from Intrepid Ibex (Ubuntu 8.10) onward.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Debian includes Xen 4.0.1 in its stable release 6.0 (codename \u201cSqueeze\u201d), and Xen 3.2.1 in its oldstable release 5.0 (codename \u201cLenny\u201d).<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Gentoo and Arch Linux both have packages available to support Xen.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">openSUSE 10.x and 11.x includes Xen 3.1 support. YaST and virt-man offer graphical VM management.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">OpenSolaris-based distributions can function as dom0 and domU from Nevada build 75 onwards.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">As of 2009 support for OpenBSD self-hosting required the correction of a lock-up bug before its release.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">NetBSD 3.x. includes host support for Xen 2, with host support for Xen 3.0 available from NetBSD 4.0.<\/li>\n<\/ul>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><b>Supporting Guests:<\/b><\/div>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">Guest systems can run fully virtualized (which requires hardware support) or paravirtualized (which requires a modified guest operating system). The following systems have patches allowing them to operate as paravirtualized Xen guests:<\/div>\n<ul style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; list-style: none; margin: 0px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Linux, paravirtualization integrated in 2.6.23, patches for other versions exist<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Minix<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Plan 9 from Bell Labs<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">NetBSD (NetBSD 2.0 has support for Xen 1.2, NetBSD 3.0 has support for Xen 2.0, NetBSD 3.1 supports Xen 3.0, NetBSD 5.0 features Xen 3.3)<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">OpenBSD, announced in a, now dead, blog entry Archived August<br \/>\n28, 2006 at the Wayback Machine The support has since been discontinued.<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">FreeBSD (Limited, experimental support for Xen 3 in 8-CURRENT [1])<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">OpenSolaris (See The Xen Community On OpenSolaris)<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">NetWare (at Brainshare 2005, Novell showed a port that can run as a Xen guest)<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">GNU\/Hurd\/Mach<\/li>\n<li style=\"font-family: 'Open Sans', arial, sans-serif; margin: 0px; padding: 0px;\">Xen version 3.0 introduced the capability to run Microsoft Windows as a guest operating system unmodified if the host machine\u2019s processor supports hardware virtualization provided by Intel VT-x (formerly codenamed Vanderpool) or AMD-V (formerly codenamed Pacifica).<\/li>\n<\/ul>\n<p><span style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.8199996948242px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\"><\/p>\n<p>Read more:<span>&nbsp;<\/span><a href=\"http:\/\/www.itzgeek.com\/tech-infos\/virualization\/what-is-xen%C2%AE.html#ixzz3E1hfSV7E\" style=\"color: #003399; text-decoration: none;\" target=\"_blank\" rel=\"noopener\">http:\/\/www.itzgeek.com\/tech-infos\/virualization\/what-is-xen%c2%ae.html#ixzz3E1hfSV7E<\/a><span>&nbsp;<\/span><br \/>\u00a9 2012 Geek Site. All rights reserved.<span> <\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Xen\u00ae? The Xen\u00ae hypervisor, the most powerful open source industry standard for virtualization, it offers&nbsp; powerful, efficient, and secure feature set for virtualization of x86, x86_64, IA64, ARM, and other CPU architectures. It&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"_links":{"self":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":0,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}