This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
manuals:vps:vpsadminos [2018/07/11 06:14] – rene.la | manuals:vps:vpsadminos [2020/04/10 22:44] – [vpsAdminOS] snajpa | ||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
====== vpsAdminOS ====== | ====== vpsAdminOS ====== | ||
- | Since [[information: | + | Since [[information: |
aren't supporting it, we had to find a way to upgrade our kernel, which | aren't supporting it, we had to find a way to upgrade our kernel, which | ||
meant choosing a different virtualization technology. Linux kernel now | meant choosing a different virtualization technology. Linux kernel now | ||
Line 31: | Line 31: | ||
- Developing vpsAdminOS into something usable | - Developing vpsAdminOS into something usable | ||
- Integration with vpsAdmin | - Integration with vpsAdmin | ||
- | - Opening of a staging environment with vpsAdminOS | + | - Opening of a staging environment with vpsAdminOS |
- Testing, fixing bugs, implementing missing features, preparing for production | - Testing, fixing bugs, implementing missing features, preparing for production | ||
- | - New production nodes are using vpsAdminOS, new VPS can be created only there | + | - New production nodes are using vpsAdminOS |
+ | - vpsAdminOS is available in Prague | ||
- Gradual migration of all VPS from OpenVZ nodes to vpsAdminOS, one node after another | - Gradual migration of all VPS from OpenVZ nodes to vpsAdminOS, one node after another | ||
- End of story | - End of story | ||
Line 47: | Line 48: | ||
===== Changes in VPS behaviour ===== | ===== Changes in VPS behaviour ===== | ||
- | ==== Network configuration ==== | ||
- | Linux kernel doesn' | ||
- | find a different way. Networking is done by a pair of veth interfaces: | ||
- | one on the host, the other in the VPS. IP addresses are routed through | ||
- | an interconnecting network that is assigned to every VPS. | ||
- | |||
- | For example, let's say the assigned interconnecting network is | ||
- | '' | ||
- | '' | ||
- | IP addresses are then routed via '' | ||
- | would be routed as '' | ||
- | in the VPS would be set as '' | ||
- | interface on the host is configured automatically by '' | ||
- | will also generate configuration files inside your VPS, depending on your | ||
- | distribution. The init system from your VPS will then read those files | ||
- | and setup the network interface. The first address on the interface will be | ||
- | the address from the interconnecting network, not the public address, as has | ||
- | been the case on OpenVZ. If you have some custom network configuration, | ||
- | you need to be aware of how the networking is supposed to work. | ||
- | |||
==== User namespaces ==== | ==== User namespaces ==== | ||
VPS in vpsAdminOS are using so called //user namespaces// | VPS in vpsAdminOS are using so called //user namespaces// | ||
Line 81: | Line 62: | ||
UID/GID maps for VPS and NAS datasets, which will let each member to isolate | UID/GID maps for VPS and NAS datasets, which will let each member to isolate | ||
his own VPS and yet share some chosen range of user/group IDs. | his own VPS and yet share some chosen range of user/group IDs. | ||
- | |||
- | The user namespace significantly changes how you can share data between VPS | ||
- | and NAS. At the moment, it is **not possible** to mount NAS to a VPS running | ||
- | on a vpsAdminOS node so that you'd have access to the data. This will become | ||
- | possible when custom UID/GID maps are properly implemented. | ||
==== General ==== | ==== General ==== | ||
Changes regarding VPS, but independent on the distribution used: | Changes regarding VPS, but independent on the distribution used: | ||
- | * ''/ | + | * ''/ |
- | * ''/ | + | |
* Swap is not shown in ''/ | * Swap is not shown in ''/ | ||
- | * '' | ||
==== Debian/ | ==== Debian/ | ||
Line 103: | Line 77: | ||
===== Behaviour changes in vpsAdmin ===== | ===== Behaviour changes in vpsAdmin ===== | ||
+ | * NAS and snapshots are not accessed using vpsAdmin [[manuals: | ||
+ | * IP address management is split into routed and interface addresses | ||
* Reinstalling VPS on vpsAdminOS no longer deletes subdatasets and does not reset its configuration to the initial state, e.g. VPS features remain as they were. | * Reinstalling VPS on vpsAdminOS no longer deletes subdatasets and does not reset its configuration to the initial state, e.g. VPS features remain as they were. | ||
* VPS features: bridge, iptables and NFS aren't configurable, | * VPS features: bridge, iptables and NFS aren't configurable, | ||
Line 110: | Line 86: | ||
In order for all members to test VPS on vpsAdminOS, we've created so called | In order for all members to test VPS on vpsAdminOS, we've created so called | ||
staging environment. It's similar to playground, where everyone can create a | staging environment. It's similar to playground, where everyone can create a | ||
- | VPS. When creating a VPS, just select location **Staging** and the VPS will be | + | VPS. When creating a VPS, just select location **Staging** and deselect **Keep platform**. |
- | created on a vpsAdminOS node. | + | The VPS will be created on a vpsAdminOS node. |
It's terms of use are similar to [[manuals: | It's terms of use are similar to [[manuals: | ||
Line 119: | Line 95: | ||
resources among 4 VPS. | resources among 4 VPS. | ||
- | It is not possible to clone or swap production VPS with VPS in the staging | + | You can either create a new VPS or clone an existing |
- | environment. Migration | + | All mounts are removed when cloning, because NAS isn't acessible as of yet, |
- | Access to the NAS is also restricted, | + | see [[# |
==== Supported distributions ==== | ==== Supported distributions ==== | ||
- | * Alpine 3.6, 3.7 | + | * Alpine 3.8, 3.9 |
* Arch | * Arch | ||
- | * CentOS 7.5 | + | * CentOS 7, 8 |
- | * Debian | + | * Debian 9, 10 |
- | * Fedora | + | * Fedora |
* Gentoo | * Gentoo | ||
* NixOS | * NixOS | ||
+ | * openSUSE Leap 15.1, Tumbleweed | ||
+ | * Slackware 14.2 | ||
* Ubuntu 16.04, 18.04 | * Ubuntu 16.04, 18.04 | ||
- | + | * Void Linux | |
- | ==== Other distributions ==== | + | |
- | + | ||
- | In case your distribution isn't supported yet, you can help us make | + | |
- | it happen, or wait until someone does it for you, see | + | |
- | [[https:// | + | |
- | + | ||
- | Distribution templates installable from vpsAdmin are built using scripts at | + | |
- | [[https:// | + | |
- | If your distribution isn't there, it has to be added. | + | |
- | + | ||
- | When the built script is done, it is necessary to add support for your | + | |
- | distribution into '' | + | |
- | resolvers, etc., see [[https:// | + | |
==== Features ==== | ==== Features ==== | ||
Line 154: | Line 119: | ||
{{ : | {{ : | ||
- | * Docker (experimental) - Enables | + | * Docker (experimental) - Enables support for Docker. |
* FUSE - " | * FUSE - " | ||
* KVM - " | * KVM - " |