@Biggen You can do this via cli...see if this doc is helpful (just make sure to back/move/copy any data before performing these steps): https://support.citrix.com/article/CTX131328
Best posts made by stevewest15
-
RE: XCP-ng 8.1 Release Candidate now available!
-
RE: Initial Backup only creates Delta Restore
Thank you @olivierlambert & @Danp . Greatly appreciate your assistance!
-
RE: S3 Backup Retention Not Deleting Old Backups
@olivierlambert Thank you, I've changed the settings on b2 to "Keep all versions of the file (default)".
-
RE: XO Error Loading Health Tab
I can confirm it's now working. Thank You! Health page loads fine w/ the latest commit.
Latest posts made by stevewest15
-
RE: Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr
@florent Thank you for your assistance!
I'm also running into this issue after upgrading to the latest build (Xen Orchestra, commit d3077):
{ "data": { "id": "349e7130-da43-6550-e7c0-aa0a84102e0f", "isFull": false, "name_label": "Local storage", "type": "SR" }, "id": "1690857015572:0", "message": "export", "start": 1690857015572, "status": "failure", "tasks": [ { "id": "1690857016890", "message": "transfer", "start": 1690857016890, "status": "success", "end": 1690857173019, "result": { "size": 8317447680 } }, { "id": "1690857209204:0", "message": "health check", "start": 1690857209204, "status": "failure", "end": 1690857209217, "result": { "message": "Cannot read properties of undefined (reading 'uuid')", "name": "TypeError", "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n at #isAlreadyOnHealthCheckSr (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17" } } ], "end": 1690857209217, "result": { "message": "Cannot read properties of undefined (reading 'uuid')", "name": "TypeError", "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n at #isAlreadyOnHealthCheckSr (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17" } } ], "end": 1690857647768 }, { "data": { "type": "VM", "id": "a0ba50c3-f6d3-32ff-cda7-9243d291a6c0", "name_label": "XOCE" }, "id": "1690857647776", "message": "backup VM", "start": 1690857647776, "status": "failure", "tasks": [ { "id": "1690857647781", "message": "clean-vm", "start": 1690857647781, "status": "success", "end": 1690857647865, "result": { "merge": false } }, { "id": "1690857647964", "message": "snapshot", "start": 1690857647964, "status": "success", "end": 1690857649748, "result": "a25a21f6-cfdd-5f8d-9753-36a7f1eb7302" }, { "data": { "id": "45ff0925-797b-43dd-a95c-7e298c61ad02", "isFull": false, "type": "remote" }, "id": "1690857649748:0", "message": "export", "start": 1690857649748, "status": "success", "tasks": [ { "id": "1690857651540", "message": "transfer", "start": 1690857651540, "status": "success", "end": 1690857709369, "result": { "size": 1015333376 } }, { "id": "1690857713360", "message": "health check", "start": 1690857713360, "status": "success", "tasks": [ { "id": "1690857713479", "message": "transfer", "start": 1690857713479, "status": "success", "end": 1690857820321, "result": { "size": 18864355840, "id": "2d68d34a-7a93-39fb-0095-a505a761c590" } }, { "id": "1690857820321:0", "message": "vmstart", "start": 1690857820321, "status": "success", "end": 1690857840697 } ], "end": 1690857842923 }, { "id": "1690857842923:0", "message": "clean-vm", "start": 1690857842923, "status": "success", "end": 1690857842950, "result": { "merge": true } } ], "end": 1690857842962 }, { "data": { "id": "349e7130-da43-6550-e7c0-aa0a84102e0f", "isFull": false, "name_label": "Local storage", "type": "SR" }, "id": "1690857649749", "message": "export", "start": 1690857649749, "status": "failure", "tasks": [ { "id": "1690857651536", "message": "transfer", "start": 1690857651536, "status": "success", "end": 1690857708807, "result": { "size": 1015333376 } }, { "id": "1690857713360:0", "message": "health check", "start": 1690857713360, "status": "failure", "end": 1690857713370, "result": { "message": "Cannot read properties of undefined (reading 'uuid')", "name": "TypeError", "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n at #isAlreadyOnHealthCheckSr (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17" } } ], "end": 1690857713370, "result": { "message": "Cannot read properties of undefined (reading 'uuid')", "name": "TypeError", "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n at #isAlreadyOnHealthCheckSr (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17" } } ], "end": 1690857842962 },
Thank you again!
SW
-
RE: MTU change
Hi,
I'm trying to change the MTU but keep getting "The uuid you supplied was invalid" error (see screenshot below). I'm copying the network uuid to use in the cli command. Any thoughts/recommendations?
Thx,
SW
-
RE: Migrate VM Error: VDI_NOT_IN_MAP
@Darkbeldin Thank you, I looked at the SMlog and searched for this snapshot where I only saw activity back in March 27 and yesterday (April 26). See attachment.
smlog.txt@olivierlambert Thank you! How do I add a new disk and ensure it doesn't use the same device id (/dev/xvdc) as that is currently used by the VM? The VM currently sees this:
/dev/xvda1 94G 18G 76G 19% /
/dev/xvdb1 12G 4.4G 7.7G 37% /var/lib
/dev/xvdc1 80G 23G 58G 28% /var/www
/dev/xvdd1 200G 54G 147G 27% /EmailsWhat does "Import VDI content" and "Export VDI content" do? Just trying to see if I can copy this snapshot and then attach it to the VM:
Thank You,
SW
-
Migrate VM Error: VDI_NOT_IN_MAP
Hi,
Trying to migrate VM from old XCP-NG (8.0.1) to a newer server running xcp-ng (8.2.1) and I'm getting the following error:
Xen Orchestra, commit d1f2e
xo-server 5.112.0vm.migrate { "vm": "012b07a1-24cf-6d59-5faf-804e0e187b7a", "mapVdisSrs": { "94396c87-11b4-4f0e-a996-985cb74d07bf": "088980d4-0fdd-18bf-4c36-a555c35b011b", "7a1a6cce-5143-4fd9-b311-6c82d5b26d02": "191299cb-bb3b-872b-3f42-6ae2c3ccab38", "220b6828-53d8-42d0-99b3-83e731f19904": "088980d4-0fdd-18bf-4c36-a555c35b011b" }, "mapVifsNetworks": { "f6b40ac2-0e4a-51a0-d478-b1c989be72d7": "3a0b3ba8-e6e9-c73c-d968-dde5511f98be", "7984e99e-c8df-2f72-fe93-ad1388e7f50f": "67982c5b-b56d-f9dc-0288-b369ee90e16b" }, "migrationNetwork": "3a0b3ba8-e6e9-c73c-d968-dde5511f98be", "sr": "47bdfc16-4832-a187-8c8a-0bb377b9e255", "targetHost": "675fbc71-a2c7-4301-856a-6dd6a1b9651e" } { "code": 21, "data": { "objectId": "012b07a1-24cf-6d59-5faf-804e0e187b7a", "code": "VDI_NOT_IN_MAP" }, "message": "operation failed", "name": "XoError", "stack": "XoError: operation failed at operationFailed (/opt/xen-orchestra/packages/xo-common/api-errors.js:26:11) at file:///opt/xen-orchestra/packages/xo-server/src/api/vm.mjs:561:15 at Xo.migrate (file:///opt/xen-orchestra/packages/xo-server/src/api/vm.mjs:547:3) at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:401:20)" }
This VM has four attached local storage but XO is only showing 3 local storage while XCP-ng Center (20.04.01) shows the correct number:
When I go in XO Health, it's reporting the following:
When I open up the disk in XO, I see the following:
After about 30 minutes, the list of disks changed and now it shows the following:
Any recommendations on what could be the issue(s)? And how best I should proceed to fix the issue(s)?
Thank You,
SW
-
RE: Recommendations on heterogeneous pools
@tjkreidl Thank you for your assistance and recommendation!
-
Recommendations on heterogeneous pools
Hi,
Hoping someone here can help me with if I can create a pool from the below hosts without negatively impacting VM stability / live migrations. I read the docs but it seems the doc are missing a link to "see Hosts and resource pools".
Here are my current hosts which are all currently not in a pool:
Host 1: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Host 2: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Host 3: Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz
Host 4: Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz
Host 5: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
Host 6: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHzShared NFS storage will be either TrueNAS or Synology depending on which storage offers best performance and VM reliability.
The goal is to build this pool for HA or have two different pools each setup as HA.
Thank You,
SW
-
RE: Troubleshooting Controll Domain High Memory Warning
@olivierlambert Thank You Oliver! I've been meaning to move these 2 VMs to newer servers running latest XCP-ng. The issue in trying to move them is the migration takes so long as the VMs are very large.
Any recommendations on how best to move large VMs that use a mix of local and network storage to a new XCP-ng?
-
Troubleshooting Controll Domain High Memory Warning
Hi,
I'm running an older version of XCP-ng (v 8.0.1) which I'm trying to figure out what is causing the Dom0 high memory usage:
Checking dmesg shows tons of the following messages but not sure what they mean:
[39998832.644126] block tdx: sector-size: 512/512 capacity: 167772160 [39998833.318498] block tdy: sector-size: 512/512 capacity: 209715200 [39998844.591972] block tdz: sector-size: 512/512 capacity: 25165824 [39998844.612378] block tdab: sector-size: 512/512 capacity: 209715200 [39998844.665207] block tdaa: sector-size: 512/512 capacity: 209715200 [39998844.825059] block tdac: sector-size: 512/512 capacity: 167772160 [39998847.072573] block tdad: sector-size: 512/512 capacity: 25165824 [39998847.342641] block tdae: sector-size: 512/512 capacity: 209715200 [39998847.382385] block tdaf: sector-size: 512/512 capacity: 209715200 [39998848.091827] block tdag: sector-size: 512/512 capacity: 167772160 [39999260.166570] block tdr: sector-size: 512/512 capacity: 62914560 [39999262.000706] block tds: sector-size: 512/512 capacity: 62914560 [39999277.792759] block tds: sector-size: 512/512 capacity: 8388608 [39999277.793975] block tdt: sector-size: 512/512 capacity: 31457280 [39999277.800976] block tdr: sector-size: 512/512 capacity: 104857600 [39999277.839117] block tdu: sector-size: 512/512 capacity: 419430400 [39999278.241445] block tdv: sector-size: 512/512 capacity: 629145600 [39999280.463193] block tdw: sector-size: 512/512 capacity: 31457280 [39999280.546328] block tdx: sector-size: 512/512 capacity: 104857600 [39999280.684838] block tdy: sector-size: 512/512 capacity: 8388608 [39999280.733995] block tdz: sector-size: 512/512 capacity: 419430400 [39999281.088353] block tdaa: sector-size: 512/512 capacity: 629145600
Any recommendations on what to check before I do a full restart of the server?
Thank You,
SW
-
RE: Backup started to fail
@Darkbeldin Thank you! I was able to get in after 1st logging to the xen-orchestra.com website, updating my profile, and then clicking on support from that portal.
Here is the Ticket#775709.
Look forward to your update!
Best Regards,
SW