- Turnkey Open Source Hypervisor
- Turnkey Server Virtualization
- Modern Web UI
- Live migration
- Scale
- Secure
- Join our fast growing community
- Easy To Install
- No physical access to the XenServer host?
- XCP-ng is a Xen Project incubation project
- Success Story — From Kickstarter to Datacenter
- Commercial Support
- Our Platinum Sponsors
- XCP-ng 7.4.1
- What’s new
- More features unlocked
- Repository deployed on install
- Better license compliance
- XenCenter fork inside
- New install
- Update existing XCP-ng
- Pro support incoming
- Subscribe to our newsletter
- XCP-ng Pro
- Turnkey Open Source virtualization with Pro support
- Standard
- Enterprise
- Other services
- XCP-ng in the Cloud
- XCP-ng Long Term Support
- Our Pro services
- XCP-ng founders
- Optimized for Xen Orchestra
- Pro support, no licenses
- Subscribe to our newsletter
- Compare us to XenServer
- Исследуем XCP-ng (Xen Cloud Platform)
Turnkey Open Source Hypervisor
Based on XenServer, XCP-ng is the result of massive cooperation between individuals and companies, to deliver a product without limits. No restrictions on features and every bit available on GitHub!
Turnkey Server Virtualization
Modern Web UI
Live migration
Scale
Secure
Use the powerful web based Xen Orchestra to manage your hosts
Live migrate your VMs all around the world, without interruption
Grow your own Cloud with more hosts when needed
Control your VMs on your own baremetal, no neighbors
With Xen Orchestra Web UI
A glance on your whole XCP-ng infrastructure on a dashboard page!
With Xen Orchestra Web UI
List your VMs with statistics, IP addresses, CPU/RAM count…
Join our fast growing community
Where the community is the most active! Tons of good advice, use cases and people to help you.
Don’t miss anything and follow XCP-ng on Twitter! Want to chat? Go to #xcp-ng on Freenode.
GitHub is the place to report issues and contribute to the project. PRs are very welcome!
Spread the word by checking our store for XCP-ng swag: shirts, stickers, mugs and so on.
Easy To Install
Grab the 8.2 ISO here, then create your bootable USB key with:
Then just boot on it!
On Windows, you can use Rufus to create the bootable USB stick.
Download the Net install ISO (150MiB), then create your bootable USB key:
Then just boot on it!
On Windows, you can use Rufus to create the bootable USB stick.
Just insert the ISO and follow instructions. You’ll have an upgrade panel, just select it and that’s it!
After a reboot, you’ll be on XCP-ng while keeping all your previous settings (Storage, VMs…)
No physical access to the XenServer host?
Please check our documentation for advanced upgrade cases.
Security matters: all our repositories, ISOs and packages are signed with a GPG key. This key is available here:
Then, you can follow our guide on how to check authenticity of our ISO, and even any XCP-ng RPM repository or mirror.
Found a security problem in XCP-ng? Please email us on security at xcp-ng dot org
We strongly suggest to download only the current release. This is only for historical purpose.
You can find all previous XCP-ng releases here:
Just go on this web page and follow instructions:
This will deploy a small VM doing all the management and backup for your XCP-ng. Follow instructions given on the screen, and you’re up and running!
If you want to learn more about Xen Orchestra, please visit the official website.
XCP-ng is a Xen Project incubation project
XCP-ng virtualization platform is a Xen Project incubation project hosted in the Linux Foundation.XCP-ng aims to be the bridge between the users community and the developers and is the default entry point for any user.
Success Story — From Kickstarter to Datacenter
Initially a fork of XenServer, XCP-ng made something some people thought would be impossible: gathering a large community around a new virtualization platform in those modern days.
Commercial Support
Vates is the main company that supports the development of XCP-ng. They provide professional service to assure that businesses get the most out of the solution.
Our Platinum Sponsors
XCP-ng is a Xen Project incubation project hosted by the Linux Foundation
Copyright© The Linux Foundation®. All rights reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use
XCP-ng 7.4.1
Here is a new version of XCP-ng, with various improvements. Still based on XenServer 7.4.0, but embedding new cool stuff and more future-proof!
You can download the new ISO from the download page.
What’s new
This ISO contains some new things. Let’s explore what’s in there.
Note: the installer will display 7.4.0 : that’s perfectly normal. The numbering is strictly matching XenServer for compatibility reasons. But no worries, you are using the second release of XCP-ng 😉
More features unlocked
It seems we missed to unlock some features in our first release, so we fixed the featured daemon, that now unlocks all features (like a XenServer with full options/licenses).
Repository deployed on install
If you install it from scratch (or doing an upgrade), it will also deploy automatically a RPM repository, that will allow to just yum upgrade for our next releases. We are future-proof!
Better license compliance
To comply with Citrix licenses, we removed some trademarks, and also some packages that weren’t Open Source. Regarding the Windows PV tools, they aren’t directly embed but you can rely on Windows Update if necessary. See how in this previous blog post: future of VM tools in XCP-ng.
vGPU live migration is not Open Source. If you need that feature, please consider to subscribe to XenServer Enterprise.
XenCenter fork inside
It’s «XCP-ng Center», and it works natively with both XenServer AND XCP-ng. Thanks to the fantastic community work on GitHub, with the help of a small but efficient team!
You can download it here:
New install
Please refer to our install procedure, nothing changes, and it’s pretty straightforward: download and install XCP-ng.
Update existing XCP-ng
The best option for now to update, is to insert the new ISO and follow instruction to upgrade it:
Note: all your VMs, storage and configuration will be preserved!
Our next release will be able to deal with yum upgrade directly instead of using the upgrade process, but it was too soon to make it safe for this release.
Pro support incoming
We are currently working to deliver a 100% support oriented service for XCP-ng (no feature limitations, RedHat-like support). If you want to work with us on how we’ll deliver it, please go on xcp-ng.com, and register. This way we could build a pricing that’s fair for everyone!
Subscribe to our newsletter
Get the latest posts delivered right to your inbox.
XCP-ng Pro
Turnkey Open Source virtualization with Pro support
XCP-ng downloads
Messages on the forum
Contributors on the forum
Standard
- 6 support tickets/year
- SSH pro support
- 1 business day response time
Enterprise
- unlimited support tickets
- SSH pro support
- 1 hour response time (critical issues)
- Initial setup assistance
- Linux drivers integration on demand
- Upgrade assistance
- XCP-ng devs direct access
Other services
XCP-ng in the Cloud
We are hosting dedicated XCP-ng infrastructure bundled with pro support and validated hardware.
XCP-ng Long Term Support
XCP-ng 8.2 LTS edition will be supported during 5 years, including security patches, and critical bugfix.
Our Pro services
We’ve got your back. From upgrading your XenServer nodes to XCP-ng, to any incident/question and optimizations. We are here and dedicated to helping you get the best out of your hardware infrastructure.
XCP-ng founders
We are the company behind XCP-ng. It means we are 100% dedicated to assist you whenever you need.
Optimized for Xen Orchestra
Xen Orchestra Appliance, the complete web solution for XCP-ng management is optimized to work with XCP-ng!
Pro support, no licenses
We believe in Open Source. Our value is in the service we provide, not in a license number. Simple and efficient.
Subscribe to our newsletter
Want to stay up to date with news regarding XCP-ng pro? Please subscribe, we’ll keep you in the loop 🙂
Compare us to XenServer
Top Features | Description | XCP-ng | XenServer Free ed. |
---|---|---|---|
Maximum pool size | Number of hosts you can have in a unique pool | 64 | 3 |
Dynamic Memory Control (DMC) | Automatically adjusts the amount of memory available for use by a guest VM’s operating system | ✔ | ❌ |
Live storage migration | Enables administrators to select a new storage repository for a VM’s disks then moving them live without downtime | ✔ | ❌ |
Live patching | Enables administrators to patch hypervisors without needing to migrate, shut down or suspend VMs (no host reboots required) | ✔ | ❌ |
USB Passthrough | Pass through individual, physical USB devices to a VM. The VM’s OS can use it as a local USB device | ✔ | ❌ |
SR-IOV Networking | Enables Single Root I/O Virtualization (SR-IOV) — allows a single PCI device to appear as multiple PCI devices on the physical system | ✔ | ❌ |
GPU Passthrough | Enables 3D graphics deployment within VMs and VDI for various utilization (CAD, CAM. ) | ✔ | ❌ |
Please use our contact form on the left. We’ll come back to you as soon as possible!
Исследуем XCP-ng (Xen Cloud Platform)
Предыстория. Ранее для своих экспериментов я пользовался сервером виртуализации на базе Citrix XenServer, который был бесплатным с шестой версии. Сначала я использовал версию 6.2, затем перешёл на 6.5, затем на 7.1 — с тех пор утекло много воды и два из трёх своих сервачков пришлось продать: сильно были нужны деньги.
Ну и несколько напрягло, что последующие версии Citrix XenServer снова стали платными. К счастью, появилась группа энтузиастов, которые стали делать бесплатную версию этого продукта — причём, по возможности совместимую с платной версией. Подробнее об этом можно прочитать здесь . Аббревиатура расшифровывается как «Xen Cloud Platform», что на русском языке можно понять как «Облачная платформа виртуализации Xen». В качестве базовой системы гипервизора используется CentOS-7.
Тем временем финансовые вопросы стали потихоньку решаться и я приобрёл сначала материнскую плату с сокетом am4, две планки памяти по 16 гигабайт и вот, наконец, недавно осилил покупку Ryzen 7 2700X .
8 ядер, 16 потоков, 32 гигабайта оперативки, SSD на 240 гигабайт и жёсткий диск на 3 терабайта — самое время заняться настройкой сервера.
Немного забавно, но образ на 800 мегабайт запросто убирается на флешку объёмом меньше гигабайта. Там же авторы любезно дают ссылку на Rufus.
После разгребания авгиевых конюшен старых виртуалок старый сервер тоже пошёл на обновление — и вот перед нами открылся интерфейс удалённого администрирования.
Специально для тех, кто не понимает, что такое виртуалки и не любит смотреть скучные графики нагрузок, я приготовил чуть более интересные картинки . Возможно, это кого-то заинтересует.
Возможно, найдутся те, кто скажет, что семёрка уже не поддерживается, что надо десятку ставить. Десятку тоже можно, но она и ресурсов жрёт больше. Для моих задач пока хватает возможностей семёрки.
Можно ли майнить в виртуалке или играть в игры? Обычно виртуальное железо слабое, но производители материнской платы и авторы чуда XCP (Xen Cloud Platform) даже обещают полноценную поддержку IOMMU (это новая технология проброса в виртуальную машину физических устройств, например видеокарт).
Впрочем, есть операции, которые из центра управления не сделаешь. Например, у меня видно диски для хранения виртуалок Local storage 1 и Local storage 2 — изначально я переименовал Local Storage во второй, а затем подсоединил первый. Команды присоединения хранилища (SR — Storage Repository) описаны на сайте Citrix и отдавать их можно через консоль SSH, например, PuTTY.
Вот, к примеру, процесс установки Midnight Commander
Из подводных камней: если виртуальные машины находятся не в основной сети, а в созданном Вами интерфейсе VLAN — к ним применяются правила файрволла. Да, тут есть файрволл и он даже не отключен. И это не родной CentOS firewalld, а старый добрый iptables — так что не забудьте добавить в правила разрешения для порта 53 UDP, иначе фиг вам, а не разрешение имён в службе DNS. Да, без него и интернет не работает, и пакеты из внешних репозиториев не устанавливаются.
И уж, конечно, не забудьте в sysctl добавить ip_forward=1 Не хотите? Вас устраивают все виртуалки в одной сети? Ну. хозяин-барин. Кстати, мощности процессорных потоков тут тоже регулируются — полной производительности гипервизор виртуалкам не даёт. Вы сами должны решить, давать ли «полную мощность» или позволять делить ресурсы одного потока с другими виртуалками.
Из других проблем — стоит отметить почти полное отсутствие драйверов виртуализации. Поиск в гугле по «Xen PV Tools» или «Xen PV Drivers» даёт удручающую картину.
Вы спросите — а разве в комплекте с системой нет виртуального диска? Есть. но драйверы на нём только для Linux. Под Windows есть только это . Я пробовал брать диски от XenServer-7.4, но. На старой системе под Intel они ещё работали, а на новой под AMD стали падать с синим экраном и руганью по поводу xenbus.sys — так что всё грустно. Я нашёл ещё один вариант: ставить драйверы отсюда , а агент управления запускать вручную — хотя я бы не сказал, что такой геморрой меня сильно порадовал. Да, раньше с бесплатным Citrix всё было намного проще — эх, было времечко.
К сожалению, я не занимался нагрузочным тестированием, но на этом железе полтора десятка виртуальных машин чувствуют себя вполне уверенно — и даже почти не тормозят. Впрочем, возможно это я просто придираюсь — процессор довольно дорогой и я ожидал от него большего. Кстати, установка драйверов Xen PV реально сильно помогает ускорить эти виртуалки.
Хотя здесь кто-то может просто пожать плечами по поводу цен. Но если на канале будет достаточно посетителей, возможно я смогу позволить себе AMD Ryzen 9 3950x — если на плате будет 16 ядер, 32 потока и 64 гигабайта оперативки, можно будет развернуться на полную.
Кто-то может спросить — а зачем мне столько виртуалок? В своё время у меня был внешний статический IP-адрес, а привязанные к Яндекс-Коннект домены есть и сейчас. Как минимум можно развернуть веб-сервер и выставить свой сайт в интернет. Или предлагать другим развёртывать сайты на своём домашнем компьютере. Или не сайты, а полноценный сервер терминалов с установленной 1С. Разумеется, RDP наружу напрямую выставлять нельзя, но через VPN-то можно. Кстати, сейчас многие роутеры — даже из домашнего сегмента — могут работать в качестве PPTP-сервера.
Ну и. Как же я мог забыть про геймеров? Развернуть сервер игры CS:GO Steam или No-Steam — нет проблем. Или Майнкрафт. Или ГТА Сан-Андреас мультиплеер (SAMP).
Человек, который хочет стать специалистом, никогда не будет ставить эксперименты на железе, которое в продакшене. И если вы думаете, что для учёбы достаточно Oracle VirtualBox, то я вас разочарую.
В принципе кто хочет — может по-прежнему использовать Citrix XenServer старых версий. Но в них не поддерживаются Windows 10 (при желании можно, но не факт) и загрузка UEFI Boot (бывает нужно). С новыми версиями Linux тоже всё печально. Допустим, сервер CS:GO для сына я развёртывал на базе Ubuntu-16.04: более новые версии просто не поддерживались. И эта-то встала чудом, поддержка была только для версии то ли 12, то ли 14. Зато нам скоро обещают новую версию XCP — 8.2 и в ней уже не будет поддерживаться Windows 2008 R2. Зато более тонко можно будет настраивать производительность. А ещё ей обещают длительную поддержку (LTS — Long-Time Support) в течение пяти лет.
Итак, это у нас был краткий обзор бесплатной системы виртуализации. Если дочитали до конца, то спасибо за внимание.
В следующем обзоре постараюсь рассказать про «клетки» FreeBSD Jail и контейнеры Linux Containers (LXC). Почему я думаю, что это может быть кому-то интересно? Потому что тему можно озвучить в таком ключе: «как в виртуалке на 1-2 потока выполнения развернуть ещё кучу полноценных виртуалок с дополнительными задачами». У Вас в сети сколько хостов? Ну пусть мы по одному ядру (2 потока) у зтого процессора отберём. Не все восемь ядер — надо и гипервизору что-то оставить. Пусть будет семь.
А теперь в каждой из этих семи виртуалок запустим по дюжине контейнеров — это уже 84 хоста в сети. И это дома! Почти сотня компьютеров в одном системном блоке! Если мощности позволяют, то почему бы и нет?