Upgrading XCP-NG
Upgrade XCP Remotely
First you need to have an XCP ISO Image mounted somewhere on an HTTP accessable server!
1.get uuid of host
[root@xen-to-xcp-test2 ~]# xe host-list
uuid ( RO) : 7b2ebfd3-f33a-4025-b757-e91d26a46242
name-label ( RW): xen-to-xcp-test1
name-description ( RW): Default install
uuid ( RO) : 750d9176-6468-4a08-8647-77a64c09093e
name-label ( RW): xen-to-xcp-test2
name-description ( RW): Default install
- Test URL access
xe host-call-plugin plugin=prepare_host_upgrade.py host-uuid=750d9176-6468-4a08-8647-77a64c09093e fn=testUrl args:url=http://<ip-address>/xcp-ng/7.4.1/
Output must be true - Run the Upgrade/prepare function
xe host-call-plugin plugin=prepare_host_upgrade.py host-uuid=750d9176-6468-4a08-8647-77a64c09093e fn=main args:url=http://<ip-address>/xcp-ng/7.4.1/
Output should be true as well
This adds a temporary entry to grub bootloader which will automatically invoked on next reboot. This runs the upgrade to XCP-NG, it will do the normal backup to secondary partition as well.
It’s good to have some remote KVM access to the machine to watch the output.