ronivay / XenOrchestraInstallerUpdater

Xen Orchestra install/update script
GNU General Public License v3.0
1.18k stars 189 forks source link

CentOS7 #98

Closed cdbessig closed 2 years ago

cdbessig commented 2 years ago

Kind of a bummer the newest version drops support for centos7, even though the OS is not eol'ed for another 3 years. Is that because of some build dependencies? Or because the project doesn't want to waste efforts testing another distro (there are alot of supported distros).

Any Migration instructions/tips for moving from a centos7 -> rocky 8 using the tool? Should just build fresh? Is there an import / export functionality?

vmpr commented 2 years ago

I would recommend building a new server and export the config from xen orchestra and import the config to the new xenorchestra. centos7 has some build dependencies, why we also switched to Debian as an operating system, which was really easy.

ronivay commented 2 years ago

Hi,

CentOS 7 had, and still has incompatible libraries which prevent Xen Orchestra from starting after installation. See: https://github.com/ronivay/XenOrchestraInstallerUpdater/issues/59. It's been unsupported for quite a while already.

There's a configuration option in xo-install.cfg to disable OS compatibility check if you want install to proceed with CentOS 7. Obviously you need to figure out the library issue manually. I unfortunately didn't want to implement anything that would poke around with that so i decided to drop support and favor other versions, as you said, there are plenty of those :)

Xen Orchestra has configuration export/import feature as mentioned above which makes moving to another installation quite trivial. Just create a new VM with Rocky linux, run this script on it to create new installation and then export/import the configuration from old one.

cdbessig commented 2 years ago

Thank you. I already got a rocky 8 up and running and got the export/import done easily. Things are working great. It was really a painless migration, once I got over the mental hurdle of starting.