[vpsFree.cz: news-list] Přechod z OpenVZ na vpsAdminOS a spuštění testovacího prostředí / Migration from OpenVZ to vpsAdminOS

Jakub Skokan jakub.skokan at vpsfree.cz
Mon May 21 09:41:21 CEST 2018


Ahoj,

(English version below)

aktuálně na všech nodech k provozu VPS používáme kontejnerovou
virtualizaci OpenVZ Legacy. Protože už dosluhuje, vývoj skončil a nové
distribuce jej přestávají podporovat, řešíme přechod na novější řešení
v podobě vpsAdminOS [1,2]. Jedná se o distribuci založenou na NixOS [3]
a not-os [4], která bude na nodech sloužit jako hypervizor pro provoz VPS.

Pro správu VPS (kontejnerů) jsme vytvořili vlastní utilitu `osctl`,
která se funkcemi vyrovná `vzctl` z OpenVZ, popř. LXD [5]. Řeší hlavně
nastavení user namespaces [6] pro správnou izolaci VPS a cgroups pro
limity paměti, CPU, atd. Ke spouštění kontejnerů se používá LXC [5].
vpsAdminOS není omezen jen na infrastrukturu vpsFree.cz. Pokud někde
provozujete OpenVZ Legacy a nevíte co dál, můžete zvážit vpsAdminOS,
který je na migraci kontejnerů z OpenVZ připraven [7].

Na vpsAdminOS pracujeme zhruba od podzimu 2017 a nyní si všichni členové
mohou vyzkoušet, jak VPS nad novým systémem fungují. Naším cílem je, aby
migrace VPS z OpenVZ na vpsAdminOS proběhly bezpovšimnutí, nicméně
záleží na tom, co ve VPS provozujete. Doporučujeme všem, aby si novou
VPS vyzkoušeli a hlásili nám případné problémy a nedostatky. Než
přistoupíme k migraci produkčních VPS, je potřeba ten OS a integraci
s vpsAdminem vyladit.

V podstatě máte k dispozici další playground VPS, podmínky jsou podobné.
Jen to může být trochu divočejší -- nehlášené výpadky, restarty když
budeme potřebovat něco aktualizovat, atd. Ve vpsAdminu ve formuláři na
vytvoření VPS vyberte lokaci *Staging*. K dispozici jsou zatím tyto
distribuce: Alpine, Arch, CentOS, Debian, Fedora, Gentoo, NixOS, Ubuntu.
Časem budou přibývat další.

Na testování a hlášení chyb máte cca několik týdnů až měsíců, podle toho
jak nám to půjde. Více informací o změnách v OS, vpsAdminu a plánu
přechodu viz KB:

  https://kb.vpsfree.cz/navody/vps/vpsadminos


ENGLISH:

We're currently using container virtualization OpenVZ Legacy to run VPS.
Since it's slowly dying, isn't developed anymore and modern
distributions stopped supporting it, we're going to upgrade to a newer
solution we've called vpsAdminOS [1,2]. It's a Linux distribution based
on NixOS [3] and not-os [4], which will serve as a hypervisor for VPS
on our nodes.

VPS are managed using our own utility called `osctl`, which is
comparable to `vzctl` from OpenVZ or LXD [5]. It's main purpose
is to set up user namespaces [8] to isolate VPS and to configure cgroups
for resource management, such as CPU or memory. Under the hood,
it's using LXC [5] to start containers. vpsAdminOS is not limited
to vpsFree.cz, it's designed to be independent of the specifics of our
infrastructure. If you're using OpenVZ Legacy on some servers
and you're looking for a replacement, you can consider vpsAdminOS.
We've also made a tool [7] which can convert containers from OpenVZ into
vpsAdminOS.

We've been working on vpsAdminOS since the fall of 2017 and now all
members can finally give it a try and test VPS on the new system. Our
goal is to make the transition from OpenVZ to vpsAdminOS as seamless
as possible, but it depends on what programs and configuration
you're using. That's why we're giving everyone the opportunity to try
out a VPS on the new system and report issues. Before we can start
migrating production VPS, we need to implement missing functions
and iron it out.

Essentialy, what you get is another playground VPS, the terms of use
are very similar. It can be a bit rougher though, there may be
unexpected reboots and outages when we need to fix issues and deploy new
system versions. To create a VPS on vpsAdminOS, select location
*Staging* in the form for VPS creation. The following distributions
are supported: Alpine, Arch, CentOS, Debian, Fedora, Gentoo, NixOS,
Ubuntu. More will be added in the future.

The staging environment will remain open for several weeks or months,
depending on how many issues we'll discover. You can read more
information about changes in the OS and vpsAdmin in KB:

  https://kb.vpsfree.org/manuals/vps/vpsadminos

[1] https://vpsadminos.org

[2] https://github.com/vpsfreecz/vpsadminos

[3] https://nixos.org

[4] https://github.com/cleverca22/not-os

[5] https://linuxcontainers.org

[6] https://kb.vpsfree.cz/navody/vps/vpsadminos#user_namespaces

[7] https://vpsadminos.org/migration-paths/openvz-legacy/

[8] https://kb.vpsfree.org/manuals/vps/vpsadminos#user_namespaces

Jakub


More information about the News-list mailing list