XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Kajetan321
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 20
    • Posts 65
    • Groups 0

    Kajetan321

    @Kajetan321

    Hello Everyone. I'm just getting started with Xcp-ng. I have some experience in VMware.

    6
    Reputation
    5
    Profile views
    65
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Kajetan321 Unfollow Follow

    Best posts made by Kajetan321

    • Feature Request: Folder structure in data store left behind after backup is deleted

      I deleted backups of VMs I no longer need (Backups > Restore > Delete backups). No problems so far, but when I want to look at the backup data store, I noticed that there are still directory structures left behind that are associated with those deleted backups (though they are empty). It would be nice if those folders were also deleted so that there is less folders to worry about when creating off site backups.

      posted in Xen Orchestra
      K
      Kajetan321
    • RE: Manual Backup (no schedule and no automatic deletion of old backups) Please?

      @Forza Actually not all is lost. I have off site backups, so I could restore the backup target remote from it's off site backup.

      I'm wondering if I power off XO, then restore the contents of the directory where my backup target remote points to, will XO then be able to see the old backups, before they were wiped? Or, will it be very confused because it's metadata is not stored on the remote but rather on the XO VM.

      posted in Xen Orchestra
      K
      Kajetan321
    • Manual Backup (no schedule and no automatic deletion of old backups) Please?

      Hello, so I screwed up. I was playing with backups and I wanted to see if I can do a manual backup (triggered by me, no schedule). Well apparently this is not sported. I realized this after I deleted the schedule and the backup job would not save, saying I need a schedule. So I created a (default) schedule and then disabled it. I then manually triggered the backup to test this approach. Of course the backup went through just fine. Soon after I realized that I messed things up good. The default backup schedule defaults to only retaining one copy. My half a dozen previous backups have now been automatically removed. The problem is I need my first backup in case I want to start over working on my VM. Well, that gone now 😞

      I get that I caused this myself. I'm wondering if a function for manually triggered backups without deleting any previous backups can be added.

      My use case is as follows. You start working on a new VM, you get the basic setup done. Now I want to be able to get back to this point at any time should the changes I make next not work out so I'd like to trigger a manual backup. Next few weeks are keeping me busy with other work. I finally come back to what I started earlier and continue my configuration. In the next few days I realize that what I have done is not going to work. At this point I would like to simply restore my first backup that already has the basic configuration done and I can go for attempt two.

      I guess another way of saying this is I would like to tag certain backups as protected so that they will never be erased automatically to reclaim storage space. Does anyone agree that this would be useful?

      Cheers.

      posted in Xen Orchestra
      K
      Kajetan321
    • RE: Issues synchronizing LDAP groups (Active Directory)

      @thenorthernlight Thanks! It appears I had two problems with the configuration I posted earlier that were causing the Test plugin to fail:

      Use StartTLS should be off
      User filter should be (userPrincipalName={{name}})

      Now onto testing if actual AD logons are working.

      Cheers.

      posted in Xen Orchestra
      K
      Kajetan321

    Latest posts made by Kajetan321

    • RE: Pass Through of USB Storage Adapters Not Working

      @olivierlambert The enclosure works fine on an old computer with only USB 2. I'm not sure I understand what you mean.

      posted in Hardware
      K
      Kajetan321
    • RE: Pass Through of USB Storage Adapters Not Working

      It looks like I'm not the only one with this issue. Someone on Reddit is having the same problem.

      https://www.reddit.com/r/xcpng/comments/1getxr8/xcpng_83_cant_add_usb_drive_to_vm/

      Just for fun, I tried passing through my devices in VMware, it seems to work there.

      posted in Hardware
      K
      Kajetan321
    • RE: Pass Through of USB Storage Adapters Not Working

      @DustinB Sure, here we go:

      USB Mass Storage Device 	VLI Manufacture String-VLI Product String-ABCDEFA74602	VIA Labs, Inc. [0x2109]	VL817 SATA Adaptor [0x0715]	Super Speed - USB 3.0 [5Gb/s], Port: 1, Address: 4, Revision: 0x0000	USB\VID_2109&PID_0715\ABCDEFA74602
      USB Mass Storage Device 	F:\ - VLI Manufacture String-VLI Product String-ABCDEFA74566	VIA Labs, Inc. [0x2109]	VL817 SATA Adaptor [0x0715]	Super Speed - USB 3.0 [5Gb/s], Port: 1, Address: 4, Revision: 0x0148	USB\VID_2109&PID_0715\ABCDEFA74566
      USB Mass Storage Device 	F:\ - JMicron-External USB 3.0-201703310007F	JMicron Technology [0x152D]	External Disk 3.0 [0x0578]	Super Speed - USB 3.0 [5Gb/s], Port: 1, Address: 4, Revision: 0x0204	USB\VID_152D&PID_0578\201703310007F
      USB Mass Storage Device 	F:\ - General-USB to SATA/PCIe Bridge-0123456789ABCDEF	JMicron Technology [0x152D]	0x0581	Super Speed - USB 3.0 [5Gb/s], Port: 1, Address: 4, Revision: 0x4204	USB\VID_152D&PID_0581\0123456789ABCDEF
      
      posted in Hardware
      K
      Kajetan321
    • RE: Pass Through of USB Storage Adapters Not Working

      @DustinB

      USB 3.0 to 2.5-Inch SATA Adapter
      EC-SSHD
      https://sabrent.com/products/ec-sshd?srsltid=AfmBOorOY1TDHQ8ZTa6qt2w2b-yWNkj3sa10l1AomEChZ1wSecDe1iNJ

      Fideco M.2 SATA External SSD Enclosure
      Similar to this
      https://www.ebay.ca/itm/394615203827

      ORICO 2.5 Inch SATA to USB Transparent HDD Enclosure
      https://oricotechs.com/products/orico-2-5-inch-sata-to-usb-transparent-hdd-enclosure

      RIITOP NVMe to USB Docking Station, M.2 SSD Enclosure for Both NVMe and (B+M Key SATA) SSD
      https://www.riitop.com/en-ca/collections/msata-ssd-adapter/products/nvme-to-usb-docking-station-riitop-m-2-ssd-enclosure-for-both-nvme-and-b-m-key-sata-ssd

      posted in Hardware
      K
      Kajetan321
    • Pass Through of USB Storage Adapters Not Working

      I’m able to pass through USB thumb drives and external hard drives no problem. However then I try to pass through a USB hard drive enclosure or adapter the guest OS doesn’t seem to see the deice. I have tried two enclosures and two USB storage adapters so far and none of them seem to work. I’m using the GUI in XO to do the pass through. I’m running Xen Orchestra, commit 83a69, XCP-ng 8.3 and Windows 11 as guest OS. Is this a known issue or am I doing something wrong?

      posted in Hardware
      K
      Kajetan321
    • RE: Unable to migrate VM: HANDLE_INVALID(SR, OpaqueRef:e8fd26cd-3470-4ef8-9738-8c056e034394)

      Update: I was able to move the VM to a different host that is also xcp-ng 8.2. When I tried moving the VM back to where it came from now I'm getting: NO_HOSTS_AVAILABLE()

      vm.migrate
      {
        "mapVdisSrs": {
          "f4d88025-9e26-44a1-8028-4d5d9c11c994
      
      ": "18850841-5eb8-6b28-73ba-cae1c40af157"
        },
        "mapVifsNetworks": {
          "b56126a8-85ab-80de-9db8-4864ec5618e5
      
      ": "99b40169-8dab-6e9d-db96-23277b405b4a
      
      "
        },
        "migrationNetwork": "99b40169-8dab-6e9d-db96-23277b405b4a
      
      ",
        "sr": "18850841-5eb8-6b28-73ba-cae1c40af157",
        "targetHost": "69c0c257-a547-4d49-8270-b49eafe35c2c",
        "vm": "78938c32-eb52-491f-1fbf-3ad5d2e374f0"
      }
      {
        "code": "NO_HOSTS_AVAILABLE",
        "params": [],
        "task": {
          "uuid": "4eb56a28-ffa7-cee6-31e1-87209af8de75
      
      ",
          "name_label": "Async.VM.migrate_send",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20250131T20:51:54Z",
          "finished": "20250131T20:51:54Z",
          "status": "failure",
          "resident_on": "OpaqueRef:72cbec6b-d489-49ca-a8a8-e623e3c5f4e4",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "NO_HOSTS_AVAILABLE"
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_placement.ml)(line 104))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 1199))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/helpers.ml)(line 1356))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 1191))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2279))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
        },
        "message": "NO_HOSTS_AVAILABLE()",
        "name": "XapiError",
        "stack": "XapiError: NO_HOSTS_AVAILABLE()
          at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1068:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1102:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1092:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1265:14)"
      }
      

      I rebooted XO and tried moving the VM to the xcp-ng 8.3 machine again. It looks like the task started but now it's hung at "Connection to VM console (on xcp-m83) 0%" and I can't "Cancel" or "Destroy" the task 😞

      posted in Management
      K
      Kajetan321
    • Unable to migrate VM: HANDLE_INVALID(SR, OpaqueRef:e8fd26cd-3470-4ef8-9738-8c056e034394)

      I'm trying to migrate a powered off VM from one host to another and when I try to migrate I get the error below:

      The source host is xcp-ng 8.2 and the destination host is xcp-ng 8.3

      vm.migrate
      {
        "vm": "78938c32-eb52-491f-1fbf-3ad5d2e374f0",
        "mapVifsNetworks": {
          "b56126a8-85ab-80de-9db8-4864ec5618e5
      
      ": "99b40169-8dab-6e9d-db96-23277b405b4a
      
      "
        },
        "migrationNetwork": "99b40169-8dab-6e9d-db96-23277b405b4a
      
      ",
        "sr": "18850841-5eb8-6b28-73ba-cae1c40af157",
        "targetHost": "69c0c257-a547-4d49-8270-b49eafe35c2c"
      }
      {
        "code": "HANDLE_INVALID",
        "params": [
          "SR",
          "OpaqueRef:e8fd26cd-3470-4ef8-9738-8c056e034394
      
      "
        ],
        "task": {
          "uuid": "b0365bf6-8275-0194-fa8d-463cd966463c
      
      ",
          "name_label": "Async.VM.migrate_send",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20250131T19:17:57Z",
          "finished": "20250131T19:17:58Z",
          "status": "failure",
          "resident_on": "OpaqueRef:e3f0dcf1-42a7-4ed2-afed-1d387e305657",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "HANDLE_INVALID",
            "SR",
            "OpaqueRef:e8fd26cd-3470-4ef8-9738-8c056e034394
      
      "
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 1573))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 131))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 1228))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2298))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
        },
        "message": "HANDLE_INVALID(SR, OpaqueRef:e8fd26cd-3470-4ef8-9738-8c056e034394
      
      )",
        "name": "XapiError",
        "stack": "XapiError: HANDLE_INVALID(SR, OpaqueRef:e8fd26cd-3470-4ef8-9738-8c056e034394
      
      )
          at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1068:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1102:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1092:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1265:14)"
      }
      

      I tried to move the VM between hosts using XCP-ng Center and also got an error:

      Migrating VM 'IPM-ova on 'xcp-m90t'' to 'xcp-m83 in 'xcp-m83''
      Object has been deleted.SR:OpaqueRef:e8fd26cd-3470-4ef8-9738-8c056e034394
      Time: 00:00:01	xcp-m83	Jan 31, 2025 2:35 PM	Dismiss
      

      I'm able to move other VMs around just fine.

      posted in Management
      K
      Kajetan321
    • What OS is XCP-ng 8.3 based on?

      Is XCP-ng 8.3 based on CentOS 8.5 or something else? I'm having problems getting NUT to work and I'd like to try to get it working on the "parent" OS first.

      posted in Development
      K
      Kajetan321
    • RE: block tdc: sector-size: 512/512 capacity: 20938752

      @apz I see. Thanks.

      posted in XCP-ng
      K
      Kajetan321
    • block tdc: sector-size: 512/512 capacity: 20938752

      I'm getting a lot of this message when examining output of dmesg. Would anyone know what this means?

      posted in XCP-ng
      K
      Kajetan321