从lxd迁移到incus

2024-02-27 作者:

Let’s talk about migration from lxd to incus. As for the reason, well I guess we have seen too much of this kinda “show” in the past half decade (just like CentOS to Rocky) so here is what happened in case you’re interested.

Technically I won’t take this as a tutorial since with the well-prepared tool lxd-to-incus by Stéphane Graber (Author of both lxd and incus) there’s nothing to do but simply running it, then everything seems working well.

PS: Tested PASS on both Debian Bookworm AMD64 (on Linux KVM based vm) and Armbian Bookworm ARM64 (on RK3566 based SBC).

这些年,同类剧本真是没少看。一言不合就闭源,一言不合就拉分支,完全不新鲜,具体就不多说了,开工干活。其实吧,作者给了迁移工具 lxd-to-incus ,所以实话说没啥可干的,执行一下就可以验证迁移后的结果了。


先检查系统现状。Check the system status at first.

然后根据文档,安装incus。Now install the incus (by Zabbly) according to the documentation.

从安装过程看,至少创建了一个用户,两个组,以及不少于6个systemd服务。

接下来就比较容易了,直接运行迁移工具即可。Now the only thing necessary is to run  lxd-to-incus and it’s done.

在容器内执行点啥,测试一下。Feel free to test something within the container.

大佬干活真是,除停服不到4分钟外,妥妥的无缝迁移,没毛病。有时间可以把profile、network、storage等配置都检查一遍,我看了确实暂时没发现啥问题,关键我单机使用,存储也是本地硬盘,这要是都能出问题,大佬的名声就毁了。

The tool  lxd-to-incus reminds me about  migrate2rocky , which was also used on some of my cloud instances before another show started, kinda funny, right? The real world always could be far more absurd than fictions.

Anyway, still got some time? You’re encouraged to check the further configurations, such as profiles, network and backend storages – my test env is quite simple & straight forward, there should be no problem at all.

原创文章,转载请注明: 转载自渔人小径

本文链接地址: 从lxd迁移到incus

打赏 PayPal

文章的脚注信息由WordPress的wp-posturl插件自动生成

打赏 赞(0)
微信
支付宝
微信二维码图片

微信扫描二维码打赏

支付宝二维码图片

支付宝扫描二维码打赏

最近文章

分享

发表评论

电子邮件地址不会被公开。 必填项已用*标注