XenServer-8 to XCP-NG
-
Hi!
We have some hosts with XenServer-8 Trial Edition. XenServer limited the runtime to 90 days so we cannot update anymore to avoid this.
Is there an easy way to migrate to XCP-NG without Backup/Restore or Export/Import of the VMs?
We would prefere XCP-NG 8.2 but if this is not possible XCP-NG 8.3 is also an option.
I have already read to docs but i am not shure how the migration is when you come from Xenserver-8
We do not use any not supported fs (GFS,XFS). We use ext4XenServer Version according to XO: XenServer Trial Edition 8.4.0 (trial)
Greetings!
-
@rfx77 said in XenServer-8 to XCP-NG:
Hi!
We have some hosts with XenServer-8 Trial Edition. XenServer limited the runtime to 90 days so we cannot update anymore to avoid this.
Is there an easy way to migrate to XCP-NG without Backup/Restore or Export/Import of the VMs?
We would prefere XCP-NG 8.2 but if this is not possible XCP-NG 8.3 is also an option.
I have already read to docs but i am not shure how the migration is when you come from Xenserver-8
We do not use any not supported fs (GFS,XFS). We use ext4XenServer Version according to XO: XenServer Trial Edition 8.4.0 (trial)
Greetings!
There is a rather well documented approach to migrating which can be read here, https://docs.xcp-ng.org/installation/upgrade/#upgrade-from-xenserver.
To summarize, you should be able to simply connect your bootable USB to your existing server, run the upgrade process and then be good from there on.
Of course if you need to account for downtime or can't afford down time you'd have to move the VM's on a given host somewhere else first.
-
Having good backups of your VMs would be a smart choice before proceeding.
-
They only document the Upgrade from XenServer-7 in your link. I have XenServer 8.4. Thats why i am asking. XenServer-8.4 is ahead of XCP-NG 8.2 and maybe XCP-NG 8.3.
So is ist safe to "upgrade" from XenServer 8.4 to XCP-NG 8.2?
-
No, numbering was a total clusterfuck from XenServer marketing dpt.
XenServer 8.4 is in fact 8.3. A simple/easy way to check if you can upgrade: just insert XCP-ng 8.3 ISO and see if it tells you about upgrading. If it does, it's safe. If it's not, come back to us
-
@rfx77 said in XenServer-8 to XCP-NG:
Hi!
We have some hosts with XenServer-8 Trial Edition. XenServer limited the runtime to 90 days so we cannot update anymore to avoid this.
Is there an easy way to migrate to XCP-NG without Backup/Restore or Export/Import of the VMs?
We would prefere XCP-NG 8.2 but if this is not possible XCP-NG 8.3 is also an option.
I have already read to docs but i am not shure how the migration is when you come from Xenserver-8
We do not use any not supported fs (GFS,XFS). We use ext4XenServer Version according to XO: XenServer Trial Edition 8.4.0 (trial)
Greetings!
I tested in two different situations:
-
From XenServer 8 without upgrades and without the remaining time warning, just basic installation and 1 VM created, to XCP-ng 8.3: it worked OK, apparently.
-
From XenServer 8 with all available upgrades and with the remaining time warning to XCP-ng 8.3: IT DID NOT WORK.
Problems found: the management interface is not available;
other, on xsconsole, when try to access menu Virtual Machines > All VMs, an error message is shown: 'NoneType' object has no attribute 'xenapi'
Somebody can help solving these questions?
I am testing other options, like export all VMs, make a clean installation of XCP-ng and import all VMs back.
I tested using XCP-ng versions 8.2.1 and 8.3, and in both cases I could not import the VMs exported from the XenServer, this error message is shown:
The import failed because this export has been created by a different (incompatible) product versionI am using the .xva format, I did not try other format until this moment.
So, until now I could not migrate from most recen XenServer version to XCP-ng.
-
-
@ricardowz Are you able do attach the vhds (vdi) to a new vm after reinstalling with xcpng. so no import but using the old files.
if this works you could export the vdi to a vhd or raw and reimport it.
We didnt update to the latest xenserver version so according to your test we may be safe, but what i dont want is to reinstall with xcpng an than the vms are dead.
we have an old server so i may install xcpng there and migrate over from xenserver. than migrate back afterwards. but this is all very time-consuming in that situation.
-
@rfx77 said in XenServer-8 to XCP-NG:
@ricardowz Are you able do attach the vhds (vdi) to a new vm after reinstalling with xcpng. so no import but using the old files.
if this works you could export the vdi to a vhd or raw and reimport it.
We didnt update to the latest xenserver version so according to your test we may be safe, but what i dont want is to reinstall with xcpng an than the vms are dead.
we have an old server so i may install xcpng there and migrate over from xenserver. than migrate back afterwards. but this is all very time-consuming in that situation.
Is your XenCenter displaying the countdown message?
The current Trial Edition license expires in ... days. You will not be able to start VMs after expiry.
If it's, I think the in place migration is not gonna work for you to. For me, it looks like it does not matter if it's not on the latest version, but if you installed some upgrade after initial installation of XenServer.
-
@ricardowz
No Warning. Updates are from 2. April. I attached the Screenshot.Can someone confirm that we could just "upgrade" to XCP-NG 8.3 and the VMs will run?
Greetings